MyGUI
3.2.1
|
00001 /* 00002 * This source file is part of MyGUI. For the latest info, see http://mygui.info/ 00003 * Distributed under the MIT License 00004 * (See accompanying file COPYING.MIT or copy at http://opensource.org/licenses/MIT) 00005 */ 00006 00007 #ifndef __MYGUI_I_FONT_H__ 00008 #define __MYGUI_I_FONT_H__ 00009 00010 #include "MyGUI_Prerequest.h" 00011 #include "MyGUI_ISerializable.h" 00012 #include "MyGUI_IResource.h" 00013 #include "MyGUI_FontData.h" 00014 00015 namespace MyGUI 00016 { 00017 00018 class ITexture; 00019 00020 class MYGUI_EXPORT IFont : 00021 public IResource 00022 { 00023 MYGUI_RTTI_DERIVED( IFont ) 00024 00025 public: 00026 IFont() { } 00027 virtual ~IFont() { } 00028 00029 virtual GlyphInfo* getGlyphInfo(Char _id) = 0; 00030 00031 virtual ITexture* getTextureFont() = 0; 00032 00033 virtual int getDefaultHeight() = 0; 00034 }; 00035 00036 } // namespace MyGUI 00037 00038 #endif // __MYGUI_I_FONT_H__