36 unsigned char min = 0;
37 unsigned char max =
ui_global.numComponents;
40 const int mid = (min + max) >> 1;
41 const int diff = strcmp(
ui_global.components[mid]->name,
name);
68 for (; pos <
ui_global.numComponents; pos++) {
70 if (strcmp(component->
name, node->
name) < 0)
void Com_Error(int code, const char *fmt,...)
QGL_EXTERN GLuint GLsizei GLsizei GLint GLenum GLchar * name
Atomic structure used to define most of the UI.
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.
Internal data use by the UI package.
#define UI_MAX_COMPONENTS