X-Git-Url: http://git.euphorik.ch/?a=blobdiff_plain;f=WCudaMSE%2FAPI_Bilat_FreeGlut_Tools%2FINC%2FGLUTFont.h;fp=WCudaMSE%2FAPI_Bilat_FreeGlut_Tools%2FINC%2FGLUTFont.h;h=0044055fc09a1c7590c7c6037bb418ddecba28e9;hb=8d08c12b29c2a14684f35c023ee39e694bb80d25;hp=0000000000000000000000000000000000000000;hpb=226de81f7e1f1fbf4ac79d0d089e8a05ec7159a0;p=GPU.git diff --git a/WCudaMSE/API_Bilat_FreeGlut_Tools/INC/GLUTFont.h b/WCudaMSE/API_Bilat_FreeGlut_Tools/INC/GLUTFont.h new file mode 100755 index 0000000..0044055 --- /dev/null +++ b/WCudaMSE/API_Bilat_FreeGlut_Tools/INC/GLUTFont.h @@ -0,0 +1,38 @@ +#ifndef GLUT_FONT_H +#define GLUT_FONT_H +#include "Font_A.h" +#include "envFreeGlutTools.h" +#include "GLConfig.h" + + +#include + +using std::string; + +class CBI_FREEGLUT_TOOLS GLUTFont: public Font_A + { + public: + /** + * fontWidth and fontHeight in pixels + * + * glutFont : + * + * GLUT_BITMAP_8_BY_13, 8x13 pixels + * GLUT_BITMAP_9_BY_15, 9x15 pixels + * GLUT_BITMAP_TIMES_ROMAN_10 + * GLUT_BITMAP_TIMES_ROMAN_24 + * GLUT_BITMAP_HELVETICA_10 + * GLUT_BITMAP_HELVETICA_12 + * GLUT_BITMAP_HELVETICA_18 + */ + GLUTFont(int fontHeight,void* glutFont); + GLUTFont(const GLUTFont& source); + virtual ~GLUTFont(); + + + public: + void* glutFont; + + }; + +#endif