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

SGLineEdit - component. More...

Inheritance diagram for csad::SGLineEdit:
csad::SGBaseElement csad::SceneComponent csad::Component csad::BaseObject

Public Member Functions

CSAD_API const char * getText ()
 Возвращает текст (компоненты Text3D)
 
_FORCEINLINE bool isClick ()
 Returns true if set status Click.
 
CSAD_API void * set (unsigned _int32, void *)
 used for any interface commands.
 
CSAD_API void setSet (bool val)
 Задает состояние активности редактирования.
 
CSAD_API void setSize (vector3f &size)
 Задать размер поля ввода
 
CSAD_API void setStyle (char *name)
 Задает стиль
 
CSAD_API void setStyle (Style *style)
 Задает стиль
 
CSAD_API void setText (char *text)
 Задать редактируемый текст
 
_FORCEINLINE void setText (const char *text)
 Задать редактируемый текст
 
CSAD_API void setVisible (bool val)
 Задает состояние видимости
 
CSAD_API void start ()
 This event is fired after the program start.
 
CSAD_API void update ()
 This event is fired before rendering environment container component.
 

Additional Inherited Members

- Public Types inherited from csad::SGBaseElement
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
}
 
- 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

SGLineEdit - component.

For description in the configuration:

  <Transform name="the name of the scene">
      <SGLineEdit size="0.3 0.1 0.0" text="test text"/>
  </Transform>
See Also
Transform, SGLineEditStyle, SGBaseElement, csad: gui