MyGUI
3.4.1
Main Page
Related Pages
Namespaces
Data Structures
Files
Examples
File List
Globals
MyGUIEngine
include
MyGUI_FontManager.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_FONT_MANAGER_H_
8
#define MYGUI_FONT_MANAGER_H_
9
10
#include "
MyGUI_Prerequest.h
"
11
#include "
MyGUI_Enumerator.h
"
12
#include "
MyGUI_IFont.h
"
13
#include "
MyGUI_Singleton.h
"
14
#include "
MyGUI_XmlDocument.h
"
15
#include "
MyGUI_ResourceManager.h
"
16
#include "
MyGUI_BackwardCompatibility.h
"
17
18
namespace
MyGUI
19
{
20
21
class
MYGUI_EXPORT
FontManager
:
22
public
MemberObsolete
<FontManager>
23
{
24
MYGUI_SINGLETON_DECLARATION
(
FontManager
);
25
public
:
26
FontManager
();
27
28
void
initialise();
29
void
shutdown();
30
34
const
std::string& getDefaultFont()
const
;
38
void
setDefaultFont(
const
std::string& _value);
39
41
IFont
* getByName(
const
std::string& _name)
const
;
42
43
private
:
44
void
_load(
xml::ElementPtr
_node,
const
std::string& _file,
Version
_version);
45
46
private
:
47
std::string mDefaultName;
48
49
bool
mIsInitialise;
50
std::string mXmlFontTagName;
51
std::string mXmlPropertyTagName;
52
std::string mXmlDefaultFontValue;
53
};
54
55
}
// namespace MyGUI
56
57
#endif
// MYGUI_FONT_MANAGER_H_
MyGUI_BackwardCompatibility.h
MyGUI_Enumerator.h
MyGUI_IFont.h
MYGUI_EXPORT
#define MYGUI_EXPORT
Definition:
MyGUI_Platform.h:89
MyGUI_Prerequest.h
MyGUI_ResourceManager.h
MyGUI_Singleton.h
MYGUI_SINGLETON_DECLARATION
#define MYGUI_SINGLETON_DECLARATION(ClassName)
Definition:
MyGUI_Singleton.h:111
MyGUI_XmlDocument.h
MyGUI::FontManager
Definition:
MyGUI_FontManager.h:23
MyGUI::IFont
Definition:
MyGUI_IFont.h:22
MyGUI::MemberObsolete
Definition:
MyGUI_DeprecatedTypes.h:14
MyGUI::Version
Definition:
MyGUI_Version.h:18
MyGUI::xml::Element
Definition:
MyGUI_XmlDocument.h:159
MyGUI
Definition:
MyGUI_ActionController.h:15
Generated by
1.9.4