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_s

Typedefs

typedef struct uiFont_s uiFont_t

Functions

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

Detailed Description

Definition in file ui_font.h.


Typedef Documentation

typedef struct uiFont_s uiFont_t

Function Documentation

int UI_FontGetHeight ( const char *  font  ) 
const uiFont_t* UI_GetFontByID ( const char *  fontID  ) 

Return the font for a specific id.

Definition at line 156 of file ui_font.c.

References i, and numFonts.

Referenced by UI_DrawString(), and UI_ParseFont().

const char* UI_GetFontFromNode ( const struct uiNode_s *const   node  ) 
void UI_InitFonts ( void   ) 

after a video restart we have to reinitialize the fonts

Definition at line 178 of file ui_font.c.

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

Referenced by CL_NewLanguage(), and UI_Reinit().

void UI_ParseFont ( const char *  name,
const char **  text 
)

Generated by  doxygen 1.6.2