]> git.jsancho.org Git - lugaru.git/blob - Source/Text.h
bc63cf24d6de2acc2fdb16142fcec39560013689
[lugaru.git] / Source / Text.h
1 #ifndef _TEXT_H_
2 #define _TEXT_H_
3
4
5 /**> HEADER FILES <**/
6 #include "Quaternions.h"
7 //#include "Files.h"
8 #include "Quaternions.h"
9 #include "gamegl.h"
10 #include "TGALoader.h"
11
12 class Text{
13 public:
14         GLuint FontTexture;
15         GLuint base;
16
17         void LoadFontTexture(char *fileName);
18         void BuildFont();
19         void glPrint(float x, float y, char *string, int set, float size, float width, float height);
20         void glPrintOutline(float x, float y, char *string, int set, float size, float width, float height);
21         void glPrint(float x, float y, char *string, int set, float size, float width, float height,int start,int end);
22         void glPrintOutline(float x, float y, char *string, int set, float size, float width, float height,int start,int end);
23         void glPrintOutlined(float x, float y, char *string, int set, float size, float width, float height);
24         void glPrintOutlined(float r, float g, float b, float x, float y, char *string, int set, float size, float width, float height);
25
26         Text();
27         ~Text();
28 };
29
30 #endif