SGBaseElement - base class for gui elements. More...
Public Types | |
enum | State { Normal = 0x0, Active = 0x1, Click = 0x2, Disable = 0x3, SGE_Set = 0x100 , SGE_SetButton = 0x0000, SGE_SetSelect = 0x1000, SGE_SetSwitch = 0x2000, SGE_SetOpen = 0x3000, SGE_Opened = 0x10000 , SGE_Vertical = 0x00000, SGE_Horisontal = 0x80000, SGE_End = 0x100000 } |
Additional Inherited Members | |
Public Member Functions inherited from csad::SceneComponent | |
template<typename T > | |
_FORCEINLINE T * | addComponent () |
Add component of the specified type in the container if this component already exists, returns available. | |
template<typename T > | |
_FORCEINLINE T * | getComponent () |
Returns the component of the given type, if it is not in a container returns 0. | |
CSAD_API Transform * | getContainer () |
Returns the container in which the component. | |
virtual CSAD_API void | prepare () |
The event is called during the preparation stage. | |
virtual CSAD_API void | render () |
The event is called during the rendering of the model. | |
virtual CSAD_API void | select () |
The event is called during handling of a choice of object - crossing with ray. | |
Static Public Member Functions inherited from csad::Component | |
static CSAD_API int | regClass (const char *name, const void *info, tfSTDCALL_p_FUNC_p fun) |
SGBaseElement - base class for gui elements.