1234567891011121314151617181920212223242526272829303132333435363738394041 |
-
-
- #ifndef _FONT_SDL_H_
- #define _FONT_SDL_H_
-
- #include "SDL_ttf.h"
-
- #include "Font.h"
-
-
- class FontSDL : public Font {
- public:
-
-
-
- FontSDL();
-
-
-
- virtual ~FontSDL();
-
- virtual int initialize();
-
- virtual void writeString(FontString &s);
-
- private:
- TTF_Font *mFont;
- unsigned int mFontTexture;
- };
-
- #endif
|