X-Git-Url: http://git.euphorik.ch/index.cgi?a=blobdiff_plain;f=WCudaMSE%2FAPI_Bilat_Displayable%2FINC%2FFontLoader_A.h;fp=WCudaMSE%2FAPI_Bilat_Displayable%2FINC%2FFontLoader_A.h;h=d5ad3255b7c57d7e7f979348b3d0ed25b665a18e;hb=8d08c12b29c2a14684f35c023ee39e694bb80d25;hp=0000000000000000000000000000000000000000;hpb=226de81f7e1f1fbf4ac79d0d089e8a05ec7159a0;p=GPU.git diff --git a/WCudaMSE/API_Bilat_Displayable/INC/FontLoader_A.h b/WCudaMSE/API_Bilat_Displayable/INC/FontLoader_A.h new file mode 100755 index 0000000..d5ad325 --- /dev/null +++ b/WCudaMSE/API_Bilat_Displayable/INC/FontLoader_A.h @@ -0,0 +1,44 @@ +#ifndef FONT_LOADER_A_H +#define FONT_LOADER_A_H + +#include "envBilatDisplayable.h" +#include "Font_A.h" + +#include +using std::string; + +/*----------------------------------------------------------------------*\ + |* Declaration *| + \*---------------------------------------------------------------------*/ + +/*--------------------------------------*\ + |* Public *| + \*-------------------------------------*/ + +enum FontType + { + BITMAP_13, + BITMAP_15, + TIMES_ROMAN_10, + TIMES_ROMAN_24, + HELVETICA_10, + HELVETICA_12, + HELVETICA_18 + }; + +class CBI_DISPLAYABLE FontLoader_A + { + public: + virtual ~FontLoader_A() + { + } + + virtual const Font_A* loadFont(string fontName) =0; + virtual const Font_A* loadFont(FontType type = HELVETICA_12) =0; + }; + +#endif + +/*----------------------------------------------------------------------*\ + |* End *| + \*---------------------------------------------------------------------*/