00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef WIN_TTF_H
00016 #define WIN_TTF_H
00017
00018 #include <SDL/SDL_ttf.h>
00019 #include "win_font.h"
00020
00021 class win_ttf : public win_font
00022 {
00023 public:
00024 win_ttf (const char *color, const string & file);
00025 ~win_ttf ();
00026
00027 bool load (const string & file);
00028 bool in_table (u_int16 tmp);
00029 image & operator[] (u_int16);
00030
00031 private:
00032 SDL_Color Color;
00033 static TTF_Font *ttf;
00034 static u_int32 refcount;
00035 };
00036
00037 #endif // WIN_TTF_H
00038