28 #ifndef _CEGUIFontManager_h_
29 #define _CEGUIFontManager_h_
31 #include "CEGUISingleton.h"
32 #include "CEGUINamedXMLResourceManager.h"
33 #include "CEGUIFont.h"
34 #include "CEGUIFont_xmlHandler.h"
35 #include "CEGUIIteratorBase.h"
38 # pragma warning(push)
39 # pragma warning(disable : 4275)
40 # pragma warning(disable : 4251)
111 Font& createFreeTypeFont(
const String& font_name,
const float point_size,
112 const bool anti_aliased,
113 const String& font_filename,
114 const String& resource_group =
"",
115 const bool auto_scaled =
false,
116 const float native_horz_res = 640.0f,
117 const float native_vert_res = 480.0f,
160 Font& createPixmapFont(
const String& font_name,
161 const String& imageset_filename,
162 const String& resource_group =
"",
163 const bool auto_scaled =
false,
164 const float native_horz_res = 640.0f,
165 const float native_vert_res = 480.0f,
175 void notifyDisplaySizeChanged(
const Size& size);
188 void writeFontToStream(
const String& name,
OutStream& out_stream)
const;
205 void doPostObjectAdditionAction(
Font&
object);
211 #if defined(_MSC_VER)
212 # pragma warning(pop)
215 #endif // end of guard _CEGUIFontManager_h_
ConstBaseIterator< ObjectRegistry > FontIterator
ConstBaseIterator type definition.
Definition: CEGUIFontManager.h:191
std::ostream OutStream
Output stream class.
Definition: CEGUIBase.h:165
Class that holds the size (width & height) of something.
Definition: CEGUISize.h:43
Base class constant iterator used to offer iteration over various collections within the system...
Definition: CEGUIIteratorBase.h:47
Definition: CEGUISingleton.h:56
Class that encapsulates a typeface.
Definition: CEGUIFont.h:58
Class providing a shared library of Font objects to the system.
Definition: CEGUIFontManager.h:58
Templatised manager class that loads and manages named XML based resources.
Definition: CEGUINamedXMLResourceManager.h:109
XMLResourceExistsAction
Possible actions when loading an XML resource that already exists.
Definition: CEGUINamedXMLResourceManager.h:43
Do not load the resource, return the existing instance.
Definition: CEGUINamedXMLResourceManager.h:46
String class used within the GUI system.
Definition: CEGUIString.h:57