|
UFO: Alien Invasion
|

Go to the source code of this file.
Functions | |
| void | UI_InitDraw (void) |
| void | UI_Draw (void) |
| Draws the window stack. | |
| void | UI_DisplayNotice (const char *text, int time, const char *windowName) |
| Displays a message over all windows. | |
| void | UI_DrawCursor (void) |
| void | UI_CaptureDrawOver (uiNode_t *node) |
| Capture a node we will draw over all nodes (per window). | |
Capture a node we will draw over all nodes (per window).
Definition at line 64 of file ui_draw.cpp.
References drawOverNode.
Referenced by uiEditorNode::draw(), uiSelectBoxNode::draw(), and uiVideoNode::draw().
Displays a message over all windows.
| [in] | time | is a ms values |
| [in] | text | text is already translated here |
| [in] | windowName | Window name where we must display the notice; else nullptr to use the current active window |
Definition at line 411 of file ui_draw.cpp.
References CL_Milliseconds(), Com_Printf(), noticeText, noticeTime, noticeWindow, Q_strncpyz(), UI_GetActiveWindow(), and UI_GetWindow().
Referenced by CL_RContextCvarChange(), CL_RImagesCvarChange(), GAME_GetImportData(), and HUD_DisplayMessage().
Draws the window stack.
Definition at line 341 of file ui_draw.cpp.
References CL_Milliseconds(), drawOverNode, hoveredNode, mousePosX, mousePosY, noticeTime, noticeWindow, tooltipTimer, tooltipVisible, UI_CheckMouseMove(), UI_DebugMode(), UI_DNDIsDragging(), UI_DrawNode(), UI_DrawNotice(), UI_GetHoveredNode(), UI_GetLastFullScreenWindow(), ui_global, UI_HandleTimers(), UI_Node_DrawOverWindow(), UI_Node_DrawTooltip(), ui_show_tooltips, UI_TimerStart(), and UI_TimerStop().
Referenced by SCR_DrawLoading(), and SCR_UpdateScreen().
Definition at line 399 of file ui_draw.cpp.
References mousePosX, mousePosY, and UI_DrawDragAndDrop().
Referenced by SCR_DrawCursor().
Definition at line 427 of file ui_draw.cpp.
References CVAR_ARCHIVE, Cvar_Get(), TOOLTIP_DELAY, tooltipTimer, UI_AllocTimer(), UI_CheckTooltipDelay(), and ui_show_tooltips.
Referenced by UI_Init().