25 #ifndef WCUSTOMWIDGET_H
26 #define WCUSTOMWIDGET_H
30 #include <boost/shared_ptr.hpp>
32 #include <osg/ref_ptr>
34 #include "../graphicsEngine/WGEViewer.h"
44 using osgGA::GUIEventAdapter::EventType;
45 using osgGA::GUIEventAdapter::MouseButtonMask;
46 using osgGA::GUIEventAdapter::KeySymbol;
47 using osgGA::GUIEventAdapter::ModKeyMask;
48 using osgGA::GUIEventAdapter::MouseYOrientation;
49 using osgGA::GUIEventAdapter::ScrollingMotion;
50 using osgGA::GUIEventAdapter::TabletPointerType;
70 typedef boost::shared_ptr< WCustomWidget >
SPtr;
75 typedef boost::shared_ptr< const WCustomWidget >
ConstSPtr;
94 virtual osg::ref_ptr< WGEGroupNode >
getScene()
const = 0;
101 virtual boost::shared_ptr< WGEViewer >
getViewer()
const = 0;
108 virtual std::string
getTitle()
const;
115 virtual size_t height()
const = 0;
122 virtual size_t width()
const = 0;
139 #endif // WCUSTOMWIDGET_H