UFO: Alien Invasion
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
ui_font.h File Reference

Go to the source code of this file.

Data Structures

struct  uiFont_s
 

Typedefs

typedef struct uiFont_s uiFont_t
 

Functions

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

Typedef Documentation

typedef struct uiFont_s uiFont_t

Function Documentation

void UI_FontShutdown ( void  )

Definition at line 184 of file ui_font.cpp.

References numFonts.

Referenced by UI_Shutdown().

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 i, numFonts, and Q_streq.

Referenced by UI_DrawString(), and UI_ParseFont().

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(), i, numFonts, and UI_RegisterFont().

Referenced by CL_NewLanguage(), and UI_Reinit().