![]() |
![]() |
![]() |
V_Sim API - Reference Manual | ![]() |
---|---|---|---|---|
void openGLText_initFontList (); void openGLText_rebuildFontList (); void openGLText_drawChars (gchar *s);
For the moment, this module is very basic and the only fonts available is the helvetica 12 one. This module is currently broken under Windows.
void openGLText_initFontList ();
Initialise the font drawing with default font (depending on system).
It must be called before openGLText_drawChars()
and not in a glNewList()
.
Can be called several times, fonts are initialized once only. Use
openGLText_rebuildFontList()
to force to build a new font list.
void openGLText_rebuildFontList ();
Force to buid a new font list (for example new context has changed.