Classes |
| class | Border |
| class | Corner |
Public Types |
| enum | CornerType { CORNER_LOWER_LEFT,
CORNER_LOWER_RIGHT,
CORNER_UPPER_LEFT,
CORNER_UPPER_RIGHT
} |
| enum | BorderType { BORDER_LEFT,
BORDER_RIGHT,
BORDER_TOP,
BORDER_BOTTOM
} |
| enum | FrameOptions { FRAME_RESIZE = 1,
FRAME_MOVE = 2,
FRAME_TEXTURE = 4,
FRAME_ALL = FRAME_RESIZE | FRAME_MOVE | FRAME_TEXTURE
} |
Public Member Functions |
| | META_Object (osgWidget, Frame) |
| | Frame (const std::string &="", unsigned int=0) |
| | Frame (const Frame &, const osg::CopyOp &) |
| void | createSimpleFrame (point_type cw, point_type ch, point_type w, point_type h) |
| void | createSimpleFrameWithSingleTexture (osg::Image *image, point_type w, point_type h) |
| bool | setWindow (Window *) |
| EmbeddedWindow * | getEmbeddedWindow () |
| const EmbeddedWindow * | getEmbeddedWindow () const |
| Corner * | getCorner (CornerType c) |
| const Corner * | getCorner (CornerType c) const |
| Border * | getBorder (BorderType b) |
| const Border * | getBorder (BorderType b) const |
| bool | resizeFrame (point_type, point_type) |
| unsigned int | getFlags () const |
| void | setFlags (unsigned int flags) |
| bool | canResize () const |
| bool | canMove () const |
| bool | canTexture () const |
Static Public Member Functions |
| static std::string | cornerTypeToString (CornerType) |
| static std::string | borderTypeToString (BorderType) |
| static Frame * | createSimpleFrame (const std::string &, point_type, point_type, point_type, point_type, unsigned int=0, Frame *=0) |
| static Frame * | createSimpleFrameWithSingleTexture (const std::string &, osg::Image *, point_type, point_type, unsigned int=0, Frame *=0) |
| static Frame * | createSimpleFrameFromTheme (const std::string &, osg::Image *, point_type, point_type, unsigned int=0, Frame *=0) |
Protected Member Functions |
| Widget * | _getCorner (CornerType) const |
| Widget * | _getBorder (BorderType) const |
Protected Attributes |
| unsigned int | _flags |