#include "ui_internal.h"
#include "ui_components.h"
Go to the source code of this file.
Functions | |
uiNode_t * | UI_GetComponent (const char *name) |
Searches all components for the specified one. | |
void | UI_InsertComponent (uiNode_t *component) |
Add a new component to the list of all components. |
Definition in file ui_components.c.
uiNode_t* UI_GetComponent | ( | const char * | name | ) | [read] |
Searches all components for the specified one.
[in] | name | Name of the component we search |
Definition at line 34 of file ui_components.c.
References uiGlobal_s::components, uiNode_s::name, uiGlobal_s::numComponents, and ui_global.
Referenced by UI_AbstractNodeCallCreateChild(), and UI_ParseNode().
void UI_InsertComponent | ( | uiNode_t * | component | ) |
Add a new component to the list of all components.
Definition at line 61 of file ui_components.c.
References Com_Error(), uiGlobal_s::components, ERR_FATAL, i, uiNode_s::name, uiGlobal_s::numComponents, pos, ui_global, and UI_MAX_COMPONENTS.
Referenced by UI_ParseComponent().