27 #include "../ui_nodes.h"
39 #define OPTIONEXTRADATA_TYPE optionExtraData_t
40 #define OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE)
41 #define OPTIONEXTRADATACONST(node) UI_EXTRADATACONST(node, OPTIONEXTRADATA_TYPE)
int UI_OptionUpdateCache(uiNode_t *option)
update option cache about child, according to collapse and visible status
void onPropertyChanged(uiNode_t *node, const value_t *property) override
const uiBehaviour_t * ui_optionBehaviour
Atomic structure used to define most of the UI.
struct optionExtraData_s optionExtraData_t
Option definition.
node behaviour, how a node work
QGL_EXTERN GLuint GLsizei GLsizei GLint GLenum GLchar * name
void UI_Option_SetLabel(uiNode_t *node, const char *text)
void UI_Option_SetValue(uiNode_t *node, const char *text)
void UI_RegisterOptionNode(uiBehaviour_t *behaviour)
uiNode_t * UI_AllocOptionNode(const char *name, const char *label, const char *value)
Initializes an option with a very little set of values.
void UI_Option_SetIconByName(uiNode_t *node, const char *name)
void doLayout(uiNode_t *node) override
Call to update the node layout. This common code revalidates the node tree.