UFO: Alien Invasion
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
ui_node_checkbox.h File Reference

Go to the source code of this file.

Data Structures

class  uiCheckBoxNode
 
struct  checkboxExtraData_t
 

Functions

void UI_RegisterCheckBoxNode (uiBehaviour_t *behaviour)
 
void UI_CheckBox_SetBackgroundByName (uiNode_t *node, const char *name)
 
void UI_CheckBox_SetIconCheckedByName (uiNode_t *node, const char *name)
 
void UI_CheckBox_SetIconUncheckedByName (uiNode_t *node, const char *name)
 
void UI_CheckBox_SetIconUnknownByName (uiNode_t *node, const char *name)
 
void UI_CheckBox_Toggle (uiNode_t *node)
 
bool UI_CheckBox_ValueAsBoolean (uiNode_t *node)
 
int UI_CheckBox_ValueAsInteger (uiNode_t *node)
 

Function Documentation

void UI_CheckBox_SetBackgroundByName ( uiNode_t node,
const char *  name 
)

Definition at line 140 of file ui_node_checkbox.cpp.

References UI_EXTRADATA, and UI_GetSpriteByName().

Referenced by uiCheckBoxNode_t_set_background().

void UI_CheckBox_SetIconCheckedByName ( uiNode_t node,
const char *  name 
)

Definition at line 145 of file ui_node_checkbox.cpp.

References UI_EXTRADATA, and UI_GetSpriteByName().

Referenced by uiCheckBoxNode_t_set_iconchecked().

void UI_CheckBox_SetIconUncheckedByName ( uiNode_t node,
const char *  name 
)

Definition at line 150 of file ui_node_checkbox.cpp.

References UI_EXTRADATA, and UI_GetSpriteByName().

Referenced by uiCheckBoxNode_t_set_iconunchecked().

void UI_CheckBox_SetIconUnknownByName ( uiNode_t node,
const char *  name 
)

Definition at line 160 of file ui_node_checkbox.cpp.

References UI_EXTRADATA, and UI_GetSpriteByName().

Referenced by uiCheckBoxNode_t_set_iconunknown().

void UI_CheckBox_Toggle ( uiNode_t node)
bool UI_CheckBox_ValueAsBoolean ( uiNode_t node)
int UI_CheckBox_ValueAsInteger ( uiNode_t node)
void UI_RegisterCheckBoxNode ( uiBehaviour_t behaviour)

Sprite used as an icon for checked state

Sprite used as an icon for unchecked state

Sprite used as an icon for indeterminate state

Sprite used as a background

Definition at line 175 of file ui_node_checkbox.cpp.

References uiBehaviour_t::extends, EXTRADATA_TYPE, uiBehaviour_t::extraDataSize, uiBehaviour_t::lua_SWIG_typeinfo, uiBehaviour_t::manager, uiBehaviour_t::name, UI_CheckBoxNodeCallActivate(), UI_RegisterExtradataNodeProperty, UI_RegisterNodeMethod(), UI_SWIG_TypeQuery(), and V_UI_SPRITEREF.