• Main Page
  • Related Pages
  • Classes
  • Files
  • File List
  • File Members

win_ttf.h

00001 /*
00002    $Id: win_ttf.h,v 1.3 2008/01/19 16:04:00 ksterker Exp $
00003    
00004    (C) Copyright 2004 Kai Sterker
00005    Part of the Adonthell Project http://adonthell.linuxgames.com
00006 
00007    This program is free software; you can redistribute it and/or modify
00008    it under the terms of the GNU General Public License.
00009    This program is distributed in the hope that it will be useful,
00010    but WITHOUT ANY WARRANTY.
00011 
00012    See the COPYING file for more details
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 

Generated on Mon Sep 12 2011 for Adonthell by  doxygen 1.7.1