1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
#ifndef __GLFONT_H__ #define __GLFONT_H__ #include <SDL.h> #include "font.h" namespace mogltk { class glfont : public font { public: glfont(Handle *); virtual ~glfont(); void drawentry(Uint16, int, int, glColorP = WHITE); protected: virtual gltexture * alloctexture(); private: void Bind(int); }; }; #endif