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