Ajout de l'ensemble du workspace.
[GPU.git] / WCudaMSE / API_Bilat_Displayable / INC / FontLoader_A.h
diff --git a/WCudaMSE/API_Bilat_Displayable/INC/FontLoader_A.h b/WCudaMSE/API_Bilat_Displayable/INC/FontLoader_A.h
new file mode 100755 (executable)
index 0000000..d5ad325
--- /dev/null
@@ -0,0 +1,44 @@
+#ifndef FONT_LOADER_A_H\r
+#define FONT_LOADER_A_H\r
+\r
+#include "envBilatDisplayable.h"\r
+#include "Font_A.h"\r
+\r
+#include <string>\r
+using std::string;\r
+\r
+/*----------------------------------------------------------------------*\\r
+ |*                    Declaration                                     *|\r
+ \*---------------------------------------------------------------------*/\r
+\r
+/*--------------------------------------*\\r
+ |*            Public                  *|\r
+ \*-------------------------------------*/\r
+\r
+enum FontType\r
+    {\r
+    BITMAP_13,\r
+    BITMAP_15,\r
+    TIMES_ROMAN_10,\r
+    TIMES_ROMAN_24,\r
+    HELVETICA_10,\r
+    HELVETICA_12,\r
+    HELVETICA_18\r
+    };\r
+\r
+class CBI_DISPLAYABLE FontLoader_A\r
+    {\r
+    public:\r
+       virtual ~FontLoader_A()\r
+           {\r
+           }\r
+\r
+       virtual const Font_A* loadFont(string fontName) =0;\r
+       virtual const Font_A* loadFont(FontType type = HELVETICA_12) =0;\r
+    };\r
+\r
+#endif \r
+\r
+/*----------------------------------------------------------------------*\\r
+ |*                    End                                             *|\r
+ \*---------------------------------------------------------------------*/\r