#include "../ui_nodes.h"
Go to the source code of this file.
Data Structures | |
struct | optionExtraData_s |
Option definition. More... | |
Defines | |
#define | OPTIONEXTRADATA_TYPE optionExtraData_t |
#define | OPTIONEXTRADATA(node) UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) |
#define | OPTIONEXTRADATACONST(node) UI_EXTRADATACONST(node, OPTIONEXTRADATA_TYPE) |
Typedefs | |
typedef struct optionExtraData_s | optionExtraData_t |
Option definition. | |
Functions | |
void | UI_RegisterOptionNode (struct uiBehaviour_s *behaviour) |
int | UI_OptionUpdateCache (struct uiNode_s *option) |
update option cache about child, according to collapse and visible status | |
Variables | |
struct uiBehaviour_s * | ui_optionBehaviour |
Definition in file ui_node_option.h.
#define OPTIONEXTRADATA | ( | node | ) | UI_EXTRADATA(node, OPTIONEXTRADATA_TYPE) |
Definition at line 35 of file ui_node_option.h.
Referenced by CL_SetRatioFilter_f(), MSO_Toggle_f(), UI_FindOptionAtIndex(), UI_FindOptionByValue(), UI_InitOption(), UI_OptionIteratorNextOption(), UI_OptionListNodeClick(), UI_OptionListNodeDraw(), UI_OptionNodeRemoveHigherOption(), UI_OptionTreeNodeClick(), UI_OptionTreeNodeDraw(), UI_OptionTreeSetSelectedValue(), UI_OptionUpdateCache(), UI_SelectBoxNodeCapturedMouseMove(), UI_SelectBoxNodeClick(), UI_SelectBoxNodeDraw(), UI_SelectBoxNodeDrawOverWindow(), UI_TabNodeClick(), UI_TabNodeDraw(), UI_TabNodeDrawTooltip(), UI_TabNodeInit(), UI_TabNodeTabAtPosition(), and UP_GenerateSummary().
#define OPTIONEXTRADATA_TYPE optionExtraData_t |
Definition at line 34 of file ui_node_option.h.
#define OPTIONEXTRADATACONST | ( | node | ) | UI_EXTRADATACONST(node, OPTIONEXTRADATA_TYPE) |
Definition at line 36 of file ui_node_option.h.
Referenced by MSO_UpdateVisibleButtons().
typedef struct optionExtraData_s optionExtraData_t |
Option definition.
int UI_OptionUpdateCache | ( | uiNode_t * | option | ) |
update option cache about child, according to collapse and visible status
Definition at line 49 of file ui_node_option.c.
References uiNode_s::behaviour, count, uiNode_s::firstChild, uiNode_s::invis, uiNode_s::next, OPTIONEXTRADATA, and UI_OptionUpdateCache().
Referenced by UI_OptionTreeNodeUpdateCache(), and UI_OptionUpdateCache().
void UI_RegisterOptionNode | ( | struct uiBehaviour_s * | behaviour | ) |
Definition at line 125 of file ui_node_option.c.
References uiBehaviour_s::doLayout, EXTRADATA_TYPE, uiBehaviour_s::extraDataSize, uiBehaviour_s::name, uiBehaviour_s::properties, uiBehaviour_s::propertyChanged, UI_GetPropertyFromBehaviour(), UI_OptionDoLayout(), and UI_OptionPropertyChanged().
struct uiBehaviour_s* ui_optionBehaviour |
Allow to check if a node is an option without string check
Definition at line 35 of file ui_node_option.c.
Referenced by UI_AbstractOptionDoLayout(), UI_AbstractOptionGetFirstOption(), UI_FindOptionAtIndex(), UI_FindOptionByValue(), UI_InitOption(), UI_InitOptionIteratorAtIndex(), UI_OptionTreeNodeGetFirstOption(), UI_TabNodeDraw(), UI_TabNodeInit(), and UI_TabNodeTabAtPosition().