31struct uiCallContext_s;
39void UI_InitStack(
const char* activeWindow,
const char* mainWindow);
definitions common between client and server, but not game lib
QGL_EXTERN GLuint GLsizei GLsizei GLint GLenum GLchar * name
Atomic structure used to define most of the UI.
void UI_MoveWindowOnTop(uiNode_t *window)
Move the window on top of compatible windows. "Compatible" mean non full screen windows,...
void UI_InsertWindow(uiNode_t *window)
Add a new window to the list of all windows.
uiNode_t * UI_GetWindow(const char *name)
Searches all windows for the specified one.
int UI_CompleteWithWindow(const char *partial, const char **match)
Complete function for ui_push.
void UI_SetNewWindowPos(uiNode_t *window, int x, int y)
Sets new x and y coordinates for a given window.
void UI_PopWindow(bool all=false)
Pops a window from the window stack.
uiNode_t * UI_PushWindow(const char *name, const char *parentName=nullptr, linkedList_t *params=nullptr)
Push a window onto the window stack.
void UI_InitWindows(void)
int UI_GetLastFullScreenWindow(void)
Returns the ID of the last fullscreen ID. Before this, window should be hidden.
bool UI_IsWindowOnStack(const char *name)
Check if a named window is on the stack if active windows.
void UI_InvalidateStack(void)
Invalidate all windows of the current stack.
void UI_CloseWindow(const char *name)
void UI_PopWindowWithEscKey(void)
void UI_RemoveWindow(uiNode_t *window)
Removes a window from the list of all windows.
uiNode_t * UI_GetActiveWindow(void)
Returns the current active window from the window stack or nullptr if there is none.
void UI_InitStack(const char *activeWindow, const char *mainWindow)
Init the stack to start with a window, and have an alternative window with ESC.
bool UI_IsMouseOnWindow(void)
Check if a point is over a window from the stack.
const char * UI_GetActiveWindowName(void)
Returns the name of the current window.