[OgreKit Lua]

Classes | Macros | Typedefs | Enumerations
gsGUI3D.h File Reference

Classes

class  gsGUI3DScriptCallback
 
class  tsPanel
 
class  tsPanelNotifier
 
class  gsGUI3DElement
 
class  gsRectangleDesigned
 
class  gsGUI3DButton
 
class  gsGUI3DCaption
 
class  gsGUI3DCheckbox
 
class  gsGUI3DTextField
 
class  gsGUI3DRectangle
 
class  gsGUI3DProgressbar
 
class  gsGUI3DScrollbar
 
class  gsGUI3DCombobox
 
class  gsGUI3DListbox
 
class  gsGUI3D
 
class  gsSprite
 
class  gsGorillaText
 
class  gsGorillaLineList
 
class  gkGorillaRectangle
 
class  gsGorillaRectangle
 
class  gsTextureAtlas
 
class  gsGorillaScreenFunctions
 
class  gsGorillaScreen
 
class  gsGorillaScreen3D
 
class  gsGorillaScreen3D::gkGorillaGameObjectCallback
 
class  gsGorilla
 

Macros

#define GS_DEBUG(x)   gkLogger::write(x,true);
 
#define CastPanelElement(type)   Gui3D::type* elem = static_cast<Gui3D::type*>(element);
 
#define SCRIPT_CALLBACKS(TYPE, CALLBACKNAME, SCRIPT_CALLBACKNAME)
 

Typedefs

typedef Gorilla::Screen gkGorillaScreen
 
typedef Gorilla::ScreenRenderable gkGorillaScreen3D
 
typedef Gorilla::TextureAtlas gkTextureAtlas
 
typedef Gorilla::Sprite gkSprite
 
typedef Gorilla::MarkupText gkGorillaText
 
typedef Gorilla::LineList gkGorillaLineList
 

Enumerations

enum  GuiType {
  ENONE =0, EButton, ECaption, ECheckbox,
  ECombobox, EListbox, EScrollbar, ETextzone,
  EProgressBar, ERectangle
}
 

Macro Definition Documentation

#define CastPanelElement (   type)    Gui3D::type* elem = static_cast<Gui3D::type*>(element);
#define GS_DEBUG (   x)    gkLogger::write(x,true);
#define SCRIPT_CALLBACKS (   TYPE,
  CALLBACKNAME,
  SCRIPT_CALLBACKNAME 
)
Value:
void SCRIPT_CALLBACKNAME(gsFunction func,const gkString& data="") {\
gsGUI3DScriptCallback* callback = new gsGUI3DScriptCallback(func,data);\
cast<Gui3D::TYPE*>()->CALLBACKNAME<gsGUI3DScriptCallback>(callback,&gsGUI3DScriptCallback::execute);\
m_container->addCallback(callback);\
}\
void SCRIPT_CALLBACKNAME(gsSelf self,gsFunction func,const gkString& data="") {\
gsGUI3DScriptCallback* callback = new gsGUI3DScriptCallback(self,func,data);\
cast<Gui3D::TYPE*>()->CALLBACKNAME<gsGUI3DScriptCallback>(callback,&gsGUI3DScriptCallback::execute);\
m_container->addCallback(callback);\
}
bool execute(Gui3D::PanelElement *element)
Definition: gsGUI3D.h:56
gkLuaCurState gsSelf
Definition: gsCommon.h:93
gkLuaCurState gsFunction
Definition: gsCommon.h:92

Typedef Documentation

typedef Gorilla::LineList gkGorillaLineList
typedef Gorilla::Screen gkGorillaScreen
typedef Gorilla::ScreenRenderable gkGorillaScreen3D
typedef Gorilla::MarkupText gkGorillaText
typedef Gorilla::Sprite gkSprite
typedef Gorilla::TextureAtlas gkTextureAtlas

Enumeration Type Documentation

enum GuiType
Enumerator
ENONE 
EButton 
ECaption 
ECheckbox 
ECombobox 
EListbox 
EScrollbar 
ETextzone 
EProgressBar 
ERectangle