Public Types | |
| enum | BoxType { VERTICAL, HORIZONTAL } |
An enum corresponding to the type of Box alignment. More... | |
Public Member Functions | |
| META_Object (osgWidget, Box) | |
| Box (const std::string &="", BoxType=HORIZONTAL, bool=false) | |
| Box (const Box &, const osg::CopyOp &) | |
Protected Member Functions | |
| virtual void | _resizeImplementation (point_type, point_type) |
| virtual Sizes | _getWidthImplementation () const |
| virtual Sizes | _getHeightImplementation () const |
The Box object is a Window subclass that can be configured to uniformly (or non-uniformly) position it's children either vertically or horizontally. It is the most basic Window implementation, though there is some difficulty when positioning children such that each child object ends up pixel-aligned.
An enum corresponding to the type of Box alignment.
| osgWidget::Box::Box | ( | const std::string & | = "", |
|
| BoxType | = HORIZONTAL, |
|||
| bool | = false | |||
| ) |
The main constructor; takes the string name, the BoxType orientation, and a boolean indicating whether or not all of the Box regions should be uniformly sized.
| osgWidget::Box::Box | ( | const Box & | , | |
| const osg::CopyOp & | ||||
| ) |
| virtual Sizes osgWidget::Box::_getHeightImplementation | ( | ) | const [protected, virtual] |
Reimplemented from osgWidget::Window.
| virtual Sizes osgWidget::Box::_getWidthImplementation | ( | ) | const [protected, virtual] |
Reimplemented from osgWidget::Window.
| virtual void osgWidget::Box::_resizeImplementation | ( | point_type | , | |
| point_type | ||||
| ) | [protected, virtual] |
Implements osgWidget::Window.
| osgWidget::Box::META_Object | ( | osgWidget | , | |
| Box | ||||
| ) |
1.7.1