ui_windows.h
Go to the documentation of this file.00001
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025 #ifndef CLIENT_UI_UI_WINDOWS_H
00026 #define CLIENT_UI_UI_WINDOWS_H
00027
00028 #include "../../common/common.h"
00029
00030
00031 struct uiNode_s;
00032
00033
00034 void UI_InitWindows(void);
00035
00036
00037 int UI_GetLastFullScreenWindow(void);
00038 struct uiNode_s* UI_PushWindow(const char *name, const char *parentName);
00039 void UI_InitStack(const char* activeWindow, const char* mainWindow, qboolean popAll, qboolean pushActive);
00040 void UI_PopWindow(qboolean all);
00041 void UI_PopWindowWithEscKey(void);
00042 void UI_CloseWindow(const char* name);
00043 struct uiNode_s* UI_GetActiveWindow(void);
00044 int UI_CompleteWithWindow(const char *partial, const char **match);
00045 qboolean UI_IsWindowOnStack(const char* name);
00046 qboolean UI_IsPointOnWindow(void);
00047 void UI_InvalidateStack(void);
00048 void UI_InsertWindow(struct uiNode_s* window);
00049 void UI_MoveWindowOnTop (struct uiNode_s * window);
00050
00051
00052 const char* UI_GetActiveWindowName(void);
00053 void UI_GetActiveRenderRect(int *x, int *y, int *width, int *height);
00054
00056 void UI_SetNewWindowPos(struct uiNode_s* window, int x, int y);
00057 struct uiNode_s *UI_GetWindow(const char *name);
00058
00059 #endif