[OgreKit Lua]

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

Public Member Functions

 gsGUI3DCaption (tsPanel *panel, Gui3D::Caption *cap)
 
 ~gsGUI3DCaption ()
 
void setText (const gkString &txt)
 
void setBackgroundImage (const gkString &backgroundSpritename)
 
void setTextColor (float r, float g, float b, float a)
 
void setTextColor (const gsVector4 &col)
 
void setFont (int fontIdx)
 
- 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

gsGUI3DCaption::gsGUI3DCaption ( tsPanel panel,
Gui3D::Caption *  cap 
)
inline
gsGUI3DCaption::~gsGUI3DCaption ( )
inline

Member Function Documentation

void gsGUI3DCaption::setBackgroundImage ( const gkString &  backgroundSpritename)
inline
void gsGUI3DCaption::setFont ( int  fontIdx)
inline
void gsGUI3DCaption::setText ( const gkString &  txt)
inline
void gsGUI3DCaption::setTextColor ( float  r,
float  g,
float  b,
float  a 
)
inline
void gsGUI3DCaption::setTextColor ( const gsVector4 col)
inline