[OgreKit Lua]

Public Member Functions | List of all members
gsGUI3DRectangle Class Reference
Inheritance diagram for gsGUI3DRectangle:
gsGUI3DElement

Public Member Functions

 gsGUI3DRectangle (tsPanel *panel, Gui3D::Rectangle *rect)
 
void setBackground (const gsVector4 &col)
 
void setBackground (float r, float g, float b, float a)
 
void setBackground (const gkString &spriteName)
 
void setBorder (float width, const gsVector4 &col)
 
void setBorder (float width, float r, float g, float b, float a)
 
- Public Member Functions inherited from gsGUI3DElement
 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 ()
 

Additional Inherited Members

- Protected Attributes inherited from gsGUI3DElement
Gui3D::PanelElement * m_elem
 
tsPanelm_container
 
gkString m_name
 

Constructor & Destructor Documentation

gsGUI3DRectangle::gsGUI3DRectangle ( tsPanel panel,
Gui3D::Rectangle *  rect 
)
inline

Member Function Documentation

void gsGUI3DRectangle::setBackground ( const gsVector4 col)
inline
void gsGUI3DRectangle::setBackground ( float  r,
float  g,
float  b,
float  a 
)
inline
void gsGUI3DRectangle::setBackground ( const gkString &  spriteName)
inline
void gsGUI3DRectangle::setBorder ( float  width,
const gsVector4 col 
)
inline
void gsGUI3DRectangle::setBorder ( float  width,
float  r,
float  g,
float  b,
float  a 
)
inline