UFO: Alien Invasion
Loading...
Searching...
No Matches
ui_node_checkbox.h File Reference
Include dependency graph for ui_node_checkbox.h:
This graph shows which files directly or indirectly include this file:

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

◆ UI_CheckBox_SetBackgroundByName()

void UI_CheckBox_SetBackgroundByName ( uiNode_t * node,
const char * name )

Definition at line 140 of file ui_node_checkbox.cpp.

References name, UI_EXTRADATA, and UI_GetSpriteByName().

Referenced by uiCheckBoxNode_t_set_background().

◆ UI_CheckBox_SetIconCheckedByName()

void UI_CheckBox_SetIconCheckedByName ( uiNode_t * node,
const char * name )

Definition at line 145 of file ui_node_checkbox.cpp.

References name, UI_EXTRADATA, and UI_GetSpriteByName().

Referenced by uiCheckBoxNode_t_set_iconchecked().

◆ UI_CheckBox_SetIconUncheckedByName()

void UI_CheckBox_SetIconUncheckedByName ( uiNode_t * node,
const char * name )

Definition at line 150 of file ui_node_checkbox.cpp.

References name, UI_EXTRADATA, and UI_GetSpriteByName().

Referenced by uiCheckBoxNode_t_set_iconunchecked().

◆ UI_CheckBox_SetIconUnknownByName()

void UI_CheckBox_SetIconUnknownByName ( uiNode_t * node,
const char * name )

Definition at line 160 of file ui_node_checkbox.cpp.

References name, UI_EXTRADATA, and UI_GetSpriteByName().

Referenced by uiCheckBoxNode_t_set_iconunknown().

◆ UI_CheckBox_Toggle()

void UI_CheckBox_Toggle ( uiNode_t * node)

◆ UI_CheckBox_ValueAsBoolean()

bool UI_CheckBox_ValueAsBoolean ( uiNode_t * node)

◆ UI_CheckBox_ValueAsInteger()

int UI_CheckBox_ValueAsInteger ( uiNode_t * node)

◆ UI_RegisterCheckBoxNode()

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.