OpenSceneGraph  3.0.1
Classes | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
osgWidget::Frame Class Reference
Inheritance diagram for osgWidget::Frame:
Inheritance graph
[legend]

List of all members.

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 *)
EmbeddedWindowgetEmbeddedWindow ()
const EmbeddedWindowgetEmbeddedWindow () const
CornergetCorner (CornerType c)
const CornergetCorner (CornerType c) const
BordergetBorder (BorderType b)
const BordergetBorder (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 FramecreateSimpleFrame (const std::string &, point_type, point_type, point_type, point_type, unsigned int=0, Frame *=0)
static FramecreateSimpleFrameWithSingleTexture (const std::string &, osg::Image *, point_type, point_type, unsigned int=0, Frame *=0)
static FramecreateSimpleFrameFromTheme (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

Member Enumeration Documentation

Enumerator:
BORDER_LEFT 
BORDER_RIGHT 
BORDER_TOP 
BORDER_BOTTOM 
Enumerator:
CORNER_LOWER_LEFT 
CORNER_LOWER_RIGHT 
CORNER_UPPER_LEFT 
CORNER_UPPER_RIGHT 
Enumerator:
FRAME_RESIZE 
FRAME_MOVE 
FRAME_TEXTURE 
FRAME_ALL 

Constructor & Destructor Documentation

osgWidget::Frame::Frame ( const std::string &  = "",
unsigned  int = 0 
)
osgWidget::Frame::Frame ( const Frame ,
const osg::CopyOp  
)

Member Function Documentation

Widget* osgWidget::Frame::_getBorder ( BorderType  ) const [protected]
Widget* osgWidget::Frame::_getCorner ( CornerType  ) const [protected]
static std::string osgWidget::Frame::borderTypeToString ( BorderType  ) [static]
bool osgWidget::Frame::canMove ( ) const [inline]
bool osgWidget::Frame::canResize ( ) const [inline]
bool osgWidget::Frame::canTexture ( ) const [inline]
static std::string osgWidget::Frame::cornerTypeToString ( CornerType  ) [static]
static Frame* osgWidget::Frame::createSimpleFrame ( const std::string &  ,
point_type  ,
point_type  ,
point_type  ,
point_type  ,
unsigned  int = 0,
Frame = 0 
) [static]
void osgWidget::Frame::createSimpleFrame ( point_type  cw,
point_type  ch,
point_type  w,
point_type  h 
) [inline]
static Frame* osgWidget::Frame::createSimpleFrameFromTheme ( const std::string &  ,
osg::Image ,
point_type  ,
point_type  ,
unsigned  int = 0,
Frame = 0 
) [static]
static Frame* osgWidget::Frame::createSimpleFrameWithSingleTexture ( const std::string &  ,
osg::Image ,
point_type  ,
point_type  ,
unsigned  int = 0,
Frame = 0 
) [static]
void osgWidget::Frame::createSimpleFrameWithSingleTexture ( osg::Image image,
point_type  w,
point_type  h 
) [inline]
Border* osgWidget::Frame::getBorder ( BorderType  b) [inline]
const Border* osgWidget::Frame::getBorder ( BorderType  b) const [inline]
Corner* osgWidget::Frame::getCorner ( CornerType  c) [inline]
const Corner* osgWidget::Frame::getCorner ( CornerType  c) const [inline]
EmbeddedWindow* osgWidget::Frame::getEmbeddedWindow ( ) [inline]
const EmbeddedWindow* osgWidget::Frame::getEmbeddedWindow ( ) const [inline]
unsigned int osgWidget::Frame::getFlags ( ) const [inline]
osgWidget::Frame::META_Object ( osgWidget  ,
Frame   
)
bool osgWidget::Frame::resizeFrame ( point_type  ,
point_type   
)
void osgWidget::Frame::setFlags ( unsigned int  flags) [inline]
bool osgWidget::Frame::setWindow ( Window )

Member Data Documentation

unsigned int osgWidget::Frame::_flags [protected]

The documentation for this class was generated from the following file:

osg logo
Generated at Mon Oct 3 2011 12:39:51 for the OpenSceneGraph by doxygen 1.7.5.