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