#include "../../../shared/shared.h"
#include "ui_node_abstractscrollable.h"
Go to the source code of this file.
Data Structures | |
struct | abstractOptionExtraData_t |
Functions | |
void | UI_RegisterAbstractOptionNode (struct uiBehaviour_s *behaviour) |
void | UI_OptionNodeSortOptions (struct uiNode_s *node) |
Sort options by alphabet. | |
struct uiNode_s * | UI_AbstractOptionGetFirstOption (uiNode_t *node) |
Return the first option of the node. | |
const char * | UI_AbstractOptionGetCurrentValue (uiNode_t *node) |
void | UI_AbstractOptionSetCurrentValue (uiNode_t *node, const char *value) |
Definition in file ui_node_abstractoption.h.
const char* UI_AbstractOptionGetCurrentValue | ( | uiNode_t * | node | ) |
Definition at line 56 of file ui_node_abstractoption.c.
References Com_Printf(), EXTRADATA, UI_GetPath(), and UI_GetReferenceString().
Referenced by UI_OptionListNodeClick(), UI_OptionListNodeDraw(), UI_OptionTreeNodeClick(), UI_OptionTreeNodeDraw(), UI_SelectBoxNodeClick(), UI_SelectBoxNodeDraw(), UI_SelectBoxNodeDrawOverWindow(), UI_TabNodeClick(), and UI_TabNodeDraw().
Return the first option of the node.
Definition at line 126 of file ui_node_abstractoption.c.
References uiNode_s::behaviour, count, EXTRADATA, uiNode_s::firstChild, uiNode_s::invis, uiNode_s::next, qfalse, UI_GetDataVersion(), UI_GetOption(), and ui_optionBehaviour.
Referenced by UI_OptionListNodeDraw(), UI_OptionListNodeGetOptionAtPosition(), UI_SelectBoxNodeCapturedMouseMove(), UI_SelectBoxNodeClick(), UI_SelectBoxNodeDraw(), and UI_SelectBoxNodeDrawOverWindow().
void UI_AbstractOptionSetCurrentValue | ( | uiNode_t * | node, | |
const char * | value | |||
) |
Definition at line 71 of file ui_node_abstractoption.c.
References EXTRADATA, uiNode_s::onChange, UI_ExecuteEventActions(), and UI_SetCvar().
Referenced by UI_OptionListNodeClick(), UI_OptionTreeNodeClick(), UI_OptionTreeSetSelectedValue(), UI_SelectBoxNodeClick(), and UI_TabNodeClick().
void UI_OptionNodeSortOptions | ( | struct uiNode_s * | node | ) |
Sort options by alphabet.
update lastChild
Definition at line 42 of file ui_node_abstractoption.c.
References uiNode_s::firstChild, uiNode_s::lastChild, uiNode_s::next, UI_NodeInstanceOf(), and UI_SortOptions().
void UI_RegisterAbstractOptionNode | ( | struct uiBehaviour_s * | behaviour | ) |
Definition at line 147 of file ui_node_abstractoption.c.
References uiBehaviour_s::doLayout, uiBehaviour_s::drawItselfChild, EXTRADATA_TYPE, uiBehaviour_s::extraDataSize, uiBehaviour_s::isAbstract, uiBehaviour_s::name, uiBehaviour_s::properties, qtrue, and UI_AbstractOptionDoLayout().