Ajout de l'ensemble du workspace.
[GPU.git] / WCudaMSE / API_Bilat_FreeGlut_Tools / INC / GLUTFontLoader.h
diff --git a/WCudaMSE/API_Bilat_FreeGlut_Tools/INC/GLUTFontLoader.h b/WCudaMSE/API_Bilat_FreeGlut_Tools/INC/GLUTFontLoader.h
new file mode 100755 (executable)
index 0000000..6d37f51
--- /dev/null
@@ -0,0 +1,34 @@
+#ifndef GLUT_FONT_LOADER_H\r
+#define GLUT_FONT_LOADER_H\r
+\r
+#include "FontLoader_A.h"\r
+#include "envFreeGlutTools.h"\r
+\r
+#include <map>\r
+using std::map;\r
+\r
+/*----------------------------------------------------------------------*\\r
+ |*                    Declaration                                     *|\r
+ \*---------------------------------------------------------------------*/\r
+\r
+/*--------------------------------------*\\r
+ |*            Public                  *|\r
+ \*-------------------------------------*/\r
+\r
+class CBI_FREEGLUT_TOOLS GLUTFontLoader: public FontLoader_A\r
+    {\r
+    public:\r
+       GLUTFontLoader();\r
+       virtual ~GLUTFontLoader();\r
+\r
+       virtual const Font_A* loadFont(string fontName);\r
+       virtual const Font_A* loadFont(FontType type=HELVETICA_12);\r
+    private :\r
+       map<FontType, const Font_A*> mapGlutFont;\r
+    };\r
+\r
+#endif \r
+\r
+/*----------------------------------------------------------------------*\\r
+ |*                    End                                             *|\r
+ \*---------------------------------------------------------------------*/\r