c2b77aa08e
Notes from Robert Osfield, I've merged osgWidget trunk, and added/changed CMakeLists.txt file to make it suitable for inclusion in the core OSG, and moved imagery/scripts/shaders out into OpenSceneGraph-Data
29 lines
648 B
C++
29 lines
648 B
C++
// -*-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 <osgWidget/Window>
|
|
|
|
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
|