TORCS  1.3.9
The Open Racing Car Simulator
guifont.cpp File Reference
#include <stdio.h>
#include <stdlib.h>
#include <endian.h>
#include <tgfclient.h>
#include <portability.h>
#include "guifont.h"
Include dependency graph for guifont.cpp:

Go to the source code of this file.

Macros

#define FONT_NB   9
 

Functions

void swap32 (unsigned int *p, unsigned int size)
 
void gfuiLoadFonts (void)
 

Variables

GfuiFontClassgfuiFont [FONT_NB]
 
const char * keySize [4] = { "size big", "size large", "size medium", "size small" }
 

Macro Definition Documentation

◆ FONT_NB

#define FONT_NB   9

Definition at line 42 of file guifont.cpp.

Function Documentation

◆ gfuiLoadFonts()

void gfuiLoadFonts ( void  )

Definition at line 65 of file guifont.cpp.

Here is the call graph for this function:

◆ swap32()

void swap32 ( unsigned int *  p,
unsigned int  size 
)

Definition at line 49 of file guifont.cpp.

Variable Documentation

◆ gfuiFont

GfuiFontClass* gfuiFont[FONT_NB]

Definition at line 43 of file guifont.cpp.

◆ keySize

const char* keySize[4] = { "size big", "size large", "size medium", "size small" }

Definition at line 44 of file guifont.cpp.