MyGUI  3.2.1
MyGUI_IFont.h
Go to the documentation of this file.
1 /*
2  * This source file is part of MyGUI. For the latest info, see http://mygui.info/
3  * Distributed under the MIT License
4  * (See accompanying file COPYING.MIT or copy at http://opensource.org/licenses/MIT)
5  */
6 
7 #ifndef __MYGUI_I_FONT_H__
8 #define __MYGUI_I_FONT_H__
9 
10 #include "MyGUI_Prerequest.h"
11 #include "MyGUI_ISerializable.h"
12 #include "MyGUI_IResource.h"
13 #include "MyGUI_FontData.h"
14 
15 namespace MyGUI
16 {
17 
18  class ITexture;
19 
21  public IResource
22  {
24 
25  public:
26  IFont() { }
27  virtual ~IFont() { }
28 
29  virtual GlyphInfo* getGlyphInfo(Char _id) = 0;
30 
31  virtual ITexture* getTextureFont() = 0;
32 
33  virtual int getDefaultHeight() = 0;
34  };
35 
36 } // namespace MyGUI
37 
38 #endif // __MYGUI_I_FONT_H__