home *** CD-ROM | disk | FTP | other *** search
/ Enter 2005 March / ENTER.ISO / files / fwp-0.0.6-win32-installer.exe / FontHandler.h < prev    next >
Encoding:
C/C++ Source or Header  |  2004-12-06  |  499 b   |  25 lines

  1. #ifndef __FontHandler_h__
  2. #define __FontHandler_h__
  3.  
  4. #include "texfont.h"
  5.  
  6. #include <vector>
  7.  
  8. //using namespace std;
  9.  
  10. typedef std::pair<texFont_t*, int> texFontRefCounterPair_t;
  11.  
  12. class FontHandler{
  13. public:
  14.     static texFont_t* getFont(const char* filename);
  15.     static void releaseFont(texFont_t* font);
  16.     static int getNumFonts();
  17.  
  18. private:
  19.     static std::vector<texFontRefCounterPair_t> fonts;
  20.  
  21. //    static texFont* loadFont(const char* filename);
  22. };
  23.  
  24. #endif    /* __FontHandler_h__ */
  25.