void UI_CheckBox_SetIconCheckedByName(uiNode_t *node, const char *name)
void UI_RegisterCheckBoxNode(uiBehaviour_t *behaviour)
Define common thing for GUI controls which allow to edit a value (scroolbar, spinner, and more)
void onLeftClick(uiNode_t *node, int x, int y) override
Handles checkboxes clicks.
void onLoading(uiNode_t *node) override
Handled before the begin of the load of the node from the script.
int UI_CheckBox_ValueAsInteger(uiNode_t *node)
Atomic structure used to define most of the UI.
void UI_CheckBox_SetBackgroundByName(uiNode_t *node, const char *name)
node behaviour, how a node work
QGL_EXTERN GLuint GLsizei GLsizei GLint GLenum GLchar * name
void onActivate(uiNode_t *node) override
Activate the node. Can be used without the mouse (ie. a button will execute onClick) ...
void UI_CheckBox_SetIconUnknownByName(uiNode_t *node, const char *name)
bool UI_CheckBox_ValueAsBoolean(uiNode_t *node)
void draw(uiNode_t *node) override
void UI_CheckBox_Toggle(uiNode_t *node)
void UI_CheckBox_SetIconUncheckedByName(uiNode_t *node, const char *name)
void toggle(uiNode_t *node)