mElite  1.0
An Elite clone based on TextElite by Jan-Philipp Kappmeier and Melanie Schmidt.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
BitmapFont.h
Go to the documentation of this file.
1 
7 #pragma once
8 
9 #include "GlobalGL.h"
10 
25 class BitmapFont {
26 public:
27  BitmapFont( HDC h );
28  ~BitmapFont();
29  GLvoid buildFont( GLvoid );
30  GLvoid buildFont( GLuint size );
31  GLvoid print( const char *fmt, ... );
32  GLvoid killFont( GLvoid );
33 private:
34  GLuint base; // display list index for the font list
35  HDC hDC; // device context in which the font should be
36  GLuint m_size; // font size (not normal font size as used in windows!)
37 };