UFO: Alien Invasion
Loading...
Searching...
No Matches
ui_font.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  uiFont_t

Functions

const char * UI_GetFontFromNode (uiNode_t const *node)
 Return the font for a specific node or default font.
const uiFont_tUI_GetFontByID (const char *fontID)
 Return the font for a specific id.
bool UI_ParseFont (const char *name, const char **text)
void UI_InitFonts (void)
 after a video restart we have to reinitialize the fonts
void UI_FontShutdown (void)
int UI_FontGetHeight (const char *font)

Function Documentation

◆ UI_FontGetHeight()

◆ UI_FontShutdown()

void UI_FontShutdown ( void )

Definition at line 184 of file ui_font.cpp.

References numFonts.

Referenced by UI_Shutdown().

◆ UI_GetFontByID()

const uiFont_t * UI_GetFontByID ( const char * fontID)

Return the font for a specific id.

Definition at line 157 of file ui_font.cpp.

References fonts, i, name, numFonts, and Q_streq.

Referenced by UI_DrawString(), and UI_ParseFont().

◆ UI_GetFontFromNode()

◆ UI_InitFonts()

void UI_InitFonts ( void )

after a video restart we have to reinitialize the fonts

Definition at line 177 of file ui_font.cpp.

References Com_Printf(), fonts, i, numFonts, and UI_RegisterFont().

Referenced by CL_NewLanguage(), and UI_Reinit().

◆ UI_ParseFont()