FontFile.h 473 B

123456789101112131415161718192021
  1. #ifndef FONT_FILE_h
  2. #define FONT_FILE_h
  3. #include "common/Surface.h"
  4. #include "common/Vram.h"
  5. #include "common/File.h"
  6. class FontFile : public File
  7. {
  8. public:
  9. // explicit FontFile(const Ogre::String& file);
  10. explicit FontFile(File* pFile);
  11. FontFile(File* pFile, const u32& offset, const u32& length);
  12. FontFile(u8* pBuffer, const u32& offset, const u32& length);
  13. virtual ~FontFile(void);
  14. Surface* GetSurface(void);
  15. };
  16. #endif