|
UFO: Alien Invasion
|


Go to the source code of this file.
Functions | |
| int | UI_DrawTooltip (const char *string, int x, int y, int maxWidth) |
| Generic tooltip function. | |
| void | UI_Tooltip (const uiNode_t *node, int x, int y) |
| Wrapper for UI tooltips. | |
Generic tooltip function.
Definition at line 40 of file ui_tooltip.cpp.
References ALIGN_UL, LONGLINES_WRAP, Q_strnull(), R_Color(), R_FontTextSize(), tooltipBG, tooltipColor, UI_DrawFill(), UI_DrawString(), VID_NORM_HEIGHT, and VID_NORM_WIDTH.
Referenced by uiBaseInventoryNode::drawTooltip(), uiContainerNode::drawTooltip(), uiStringNode::drawTooltip(), uiTabNode::drawTooltip(), GAME_GetImportData(), HUD_DrawMouseCursorText(), cgame_import_t::int(), and UI_Tooltip().
Wrapper for UI tooltips.
Definition at line 73 of file ui_tooltip.cpp.
References _, Com_sprintf(), key, uiNode_t::key, Key_KeynumToString(), MAX_VAR, uiNode_t::tooltip, UI_DrawTooltip(), UI_GetReferenceString(), and va().
Referenced by uiLocatedNode::drawTooltip(), and uiStringNode::drawTooltip().