Fonts


void SetCguiFont(FONT *f);

The default font for objects is initially set to the one found in the delivered dat-file. You may change the default object font whenever you want by calling SetCguiFont. An object will be assigned a font when created, so you must not destroy the font set by SetCguiFont as long as there are objects still alive that uses it.
The font used in list-boxes is can be changed independently of the default fornt for objects.
See also: Listboxes, GetCguiFont.
void FONT *GetCguiFont(void);

Returns the default font for objects.
See also: SetCguiFont.

Back to contents