home *** CD-ROM | disk | FTP | other *** search
- #ifndef __FontHandler_h__
- #define __FontHandler_h__
-
- #include "texfont.h"
-
- #include <vector>
-
- //using namespace std;
-
- typedef std::pair<texFont_t*, int> texFontRefCounterPair_t;
-
- class FontHandler{
- public:
- static texFont_t* getFont(const char* filename);
- static void releaseFont(texFont_t* font);
- static int getNumFonts();
-
- private:
- static std::vector<texFontRefCounterPair_t> fonts;
-
- // static texFont* loadFont(const char* filename);
- };
-
- #endif /* __FontHandler_h__ */
-