27 #include "../../../shared/shared.h"
int getCellHeight(uiNode_t *node) override
Return size of the cell, which is the size (in virtual "pixel") which represents 1 in the scroll valu...
int UI_AbstractOption_Scroll_FullSize(uiNode_t *node)
void UI_RegisterAbstractOptionNode(uiBehaviour_t *behaviour)
int getCellWidth(uiNode_t *node) override
Return size of the cell, which is the size (in virtual "pixel") which represents 1 in the scroll valu...
int UI_AbstractOption_Scroll_ViewSize(uiNode_t *node)
int LUA_EVENT
holds a reference to a lua event handler
int UI_AbstractOption_GetDataId(uiNode_t *node)
void UI_AbstractOption_SetBackgroundByName(uiNode_t *node, const char *name)
void UI_AbstractOption_SetDataIdByName(uiNode_t *node, const char *name)
void initNode(uiNode_t *node) override
void UI_AbstractOption_Scroll_SetViewSize(uiNode_t *node, int size)
const char * UI_AbstractOption_GetCurrentValue(uiNode_t *node)
int UI_AbstractOption_Scroll_Current(uiNode_t *node)
void UI_AbstractOption_SetCvar(uiNode_t *node, const char *name)
void UI_AbstractOption_SortOptions(uiNode_t *node)
Sort options by alphabet.
Atomic structure used to define most of the UI.
const char * UI_AbstractOption_GetCvar(uiNode_t *node)
void doLayout(uiNode_t *node) override
Call to update the node layout. This common code revalidates the node tree.
void UI_AbstractOption_SetDataId(uiNode_t *node, int id)
node behaviour, how a node work
QGL_EXTERN GLuint GLsizei GLsizei GLint GLenum GLchar * name
uiNode_t * UI_AbstractOption_GetFirstOption(uiNode_t *node)
Return the first option of the node.
void UI_AbstractOption_Scroll_SetCurrent(uiNode_t *node, int pos)
Atomic element to store UI scripts The parser use this atom to translate script action into many tree...
void UI_AbstractOption_Scroll_SetFullSize(uiNode_t *node, int size)
int UI_AbstractOption_GetCount(uiNode_t *node)
void UI_AbstractOption_SetCurrentValue(uiNode_t *node, const char *value)