// -*-c++-*- osgWidget - Code by: Jeremy Moles (cubicool) 2007-2008 // $Id: Canvas 66 2008-07-14 21:54:09Z cubicool $ #ifndef OSGWIDGET_CANVAS #define OSGWIDGET_CANVAS #include namespace osgWidget { class OSGWIDGET_EXPORT Canvas: public Window { protected: virtual void _resizeImplementation(point_type, point_type); public: META_Object (osgWidget, Canvas); META_UIObject (Canvas); Canvas (const std::string& = ""); Canvas (const Canvas&, const osg::CopyOp&); // This would conflict with the normal addWidget if there were default values. :( virtual bool addWidget(Widget*, point_type, point_type); }; } #endif