Ajout de l'ensemble du workspace.
[GPU.git] / WCudaMSE / API_Bilat_FreeGlut_Tools / INC / GLUTFontLoader.h
1 #ifndef GLUT_FONT_LOADER_H
2 #define GLUT_FONT_LOADER_H
3
4 #include "FontLoader_A.h"
5 #include "envFreeGlutTools.h"
6
7 #include <map>
8 using std::map;
9
10 /*----------------------------------------------------------------------*\
11 |* Declaration *|
12 \*---------------------------------------------------------------------*/
13
14 /*--------------------------------------*\
15 |* Public *|
16 \*-------------------------------------*/
17
18 class CBI_FREEGLUT_TOOLS GLUTFontLoader: public FontLoader_A
19 {
20 public:
21 GLUTFontLoader();
22 virtual ~GLUTFontLoader();
23
24 virtual const Font_A* loadFont(string fontName);
25 virtual const Font_A* loadFont(FontType type=HELVETICA_12);
26 private :
27 map<FontType, const Font_A*> mapGlutFont;
28 };
29
30 #endif
31
32 /*----------------------------------------------------------------------*\
33 |* End *|
34 \*---------------------------------------------------------------------*/