MyGUI
3.4.1
Main Page
Related Pages
Namespaces
Data Structures
Files
Examples
File List
Globals
MyGUIEngine
include
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
20
class
MYGUI_EXPORT
IFont
:
21
public
IResource
22
{
23
MYGUI_RTTI_DERIVED
(
IFont
)
24
25
public
:
26
IFont
() =
default
;
27
~IFont
()
override
=
default
;
28
29
virtual
const
GlyphInfo
*
getGlyphInfo
(
Char
_id)
const
= 0;
30
31
virtual
ITexture
*
getTextureFont
()
const
= 0;
32
33
virtual
int
getDefaultHeight
()
const
= 0;
34
};
35
36
}
// namespace MyGUI
37
38
#endif
// MYGUI_I_FONT_H_
MyGUI_FontData.h
MyGUI_IResource.h
MyGUI_ISerializable.h
MYGUI_EXPORT
#define MYGUI_EXPORT
Definition:
MyGUI_Platform.h:89
MyGUI_Prerequest.h
MYGUI_RTTI_DERIVED
#define MYGUI_RTTI_DERIVED(DerivedType)
Definition:
MyGUI_RTTI.h:48
MyGUI::IFont
Definition:
MyGUI_IFont.h:22
MyGUI::IFont::IFont
IFont()=default
MyGUI::IFont::~IFont
~IFont() override=default
MyGUI::IFont::getTextureFont
virtual ITexture * getTextureFont() const =0
MyGUI::IFont::getDefaultHeight
virtual int getDefaultHeight() const =0
MyGUI::IFont::getGlyphInfo
virtual const GlyphInfo * getGlyphInfo(Char _id) const =0
MyGUI::IResource
Definition:
MyGUI_IResource.h:25
MyGUI::ITexture
Definition:
MyGUI_ITexture.h:28
MyGUI
Definition:
MyGUI_ActionController.h:15
MyGUI::Char
unsigned int Char
Definition:
MyGUI_Types.h:49
MyGUI::GlyphInfo
Definition:
MyGUI_FontData.h:40
Generated by
1.9.4