[OgreKit Lua]

Public Member Functions | Protected Attributes | List of all members
gsGUI3DElement Class Reference
Inheritance diagram for gsGUI3DElement:
gsGUI3DButton gsGUI3DCaption gsGUI3DCheckbox gsGUI3DCombobox gsGUI3DListbox gsGUI3DProgressbar gsGUI3DRectangle gsGUI3DScrollbar gsGUI3DTextField

Public Member Functions

 gsGUI3DElement (tsPanel *panel, Gui3D::PanelElement *elem)
 
 ~gsGUI3DElement ()
 
void setSize (int width, int height)
 
void setPosition (int width, int height)
 
gsVector3 getPosition ()
 
void setName (const gkString &name)
 
const gkString & getName ()
 
bool isHovered ()
 
bool isFocused ()
 
void setFocus (bool b)
 
template<class T >
cast ()
 
GuiType getType ()
 

Protected Attributes

Gui3D::PanelElement * m_elem
 
tsPanelm_container
 
gkString m_name
 

Constructor & Destructor Documentation

gsGUI3DElement::gsGUI3DElement ( tsPanel panel,
Gui3D::PanelElement *  elem 
)
inline
gsGUI3DElement::~gsGUI3DElement ( )
inline

Member Function Documentation

template<class T >
T gsGUI3DElement::cast ( )
inline
const gkString& gsGUI3DElement::getName ( )
inline
gsVector3 gsGUI3DElement::getPosition ( )
inline
GuiType gsGUI3DElement::getType ( )
inline
bool gsGUI3DElement::isFocused ( )
inline
bool gsGUI3DElement::isHovered ( )
inline
void gsGUI3DElement::setFocus ( bool  b)
inline
void gsGUI3DElement::setName ( const gkString &  name)
inline
void gsGUI3DElement::setPosition ( int  width,
int  height 
)
inline
void gsGUI3DElement::setSize ( int  width,
int  height 
)
inline

Member Data Documentation

tsPanel* gsGUI3DElement::m_container
protected
Gui3D::PanelElement* gsGUI3DElement::m_elem
protected
gkString gsGUI3DElement::m_name
protected