Ajout de l'ensemble du workspace.
[GPU.git] / WCudaMSE / API_Bilat_Displayable / INC / FontLoader_A.h
1 #ifndef FONT_LOADER_A_H
2 #define FONT_LOADER_A_H
3
4 #include "envBilatDisplayable.h"
5 #include "Font_A.h"
6
7 #include <string>
8 using std::string;
9
10 /*----------------------------------------------------------------------*\
11 |* Declaration *|
12 \*---------------------------------------------------------------------*/
13
14 /*--------------------------------------*\
15 |* Public *|
16 \*-------------------------------------*/
17
18 enum FontType
19 {
20 BITMAP_13,
21 BITMAP_15,
22 TIMES_ROMAN_10,
23 TIMES_ROMAN_24,
24 HELVETICA_10,
25 HELVETICA_12,
26 HELVETICA_18
27 };
28
29 class CBI_DISPLAYABLE FontLoader_A
30 {
31 public:
32 virtual ~FontLoader_A()
33 {
34 }
35
36 virtual const Font_A* loadFont(string fontName) =0;
37 virtual const Font_A* loadFont(FontType type = HELVETICA_12) =0;
38 };
39
40 #endif
41
42 /*----------------------------------------------------------------------*\
43 |* End *|
44 \*---------------------------------------------------------------------*/