summaryrefslogtreecommitdiffstats
path: root/menu_demo/font.h
blob: 26c51dca51dcfd88504be246f38ef8d46b9e345a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef _CFONT_H
#define _CFONT_H

#define FONT_WIDTH   32
#define FONT_HEIGHT  32
#define FONT_SPACING 20

struct ColorStruct {
  double m_dRed;
  double m_dGreen;
  double m_dBlue;
};

void FontInit(int f_iWinWidth, int f_iWinHeight);
void FontDelete(GLvoid);
void glPrint(GLint x, GLint y, char *string, struct ColorStruct f_sColor);

#endif