CSAD
 All Classes Namespaces Functions Variables Enumerations Enumerator Friends Groups Pages
Public Types | List of all members
csad::SGBaseElement Class Reference

SGBaseElement - base class for gui elements. More...

Inheritance diagram for csad::SGBaseElement:
csad::SceneComponent csad::Component csad::BaseObject csad::SGElement csad::SGLineEdit csad::SGScroll csad::SGButton

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 TransformgetContainer ()
 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)
 

Detailed Description

SGBaseElement - base class for gui elements.

See Also
SGElement, SGListElement, csad: gui

Member Enumeration Documentation

Enumerator
Normal 

not active state

Active 

key active

Click 

a key is pressed

Disable 

the item is disabled

SGE_Set 

the item is selected (for a group of buttons)

SGE_SetButton 

button mode

SGE_SetSelect 

mode

SGE_SetSwitch 

inversion mode

SGE_SetOpen 

inversion key mode

SGE_Opened 

indicate state

SGE_Vertical 

режим ориентации вертикальный

SGE_Horisontal 

режим ориентации горизонтальный

SGE_End 

is event end