OpenMW
apps/openmw/mwgui/fontloader.hpp
Go to the documentation of this file.
00001 #ifndef MWGUI_FONTLOADER_H
00002 #define MWGUI_FONTLOADER_H
00003 
00004 #include <components/to_utf8/to_utf8.hpp>
00005 
00006 namespace MWGui
00007 {
00008 
00009 
00011     class FontLoader
00012     {
00013     public:
00014         FontLoader (ToUTF8::FromType encoding);
00015         void loadAllFonts ();
00016 
00017     private:
00018         ToUTF8::FromType mEncoding;
00019 
00020         void loadFont (const std::string& fileName);
00021     };
00022 
00023 }
00024 
00025 #endif