// $Id: packer.h,v 1.2 2004/06/19 12:56:09 philip Exp $ #include "font.h" #include "wx/string.h" #include class PackedFont { public: PackedFont(FontRenderer* font, std::set chars); ~PackedFont(); void Generate(bool ProgressCallback(float, wxString, void*), void* CallbackData); // Sizes are always a power of two int TextureWidth; int TextureHeight; // 24-bit (RGB) but greyscale image unsigned char* TextureData; // For the text file describing how to read all the glyphs wxString FontDefinition; private: FontRenderer* Font; std::set Chars; };