MyGUI_IFont.h
Go to the documentation of this file.
/*
* This source file is part of MyGUI. For the latest info, see http://mygui.info/
* Distributed under the MIT License
* (See accompanying file COPYING.MIT or copy at http://opensource.org/licenses/MIT)
*/
#ifndef MYGUI_I_FONT_H_
#define MYGUI_I_FONT_H_
#include "MyGUI_Prerequest.h"
#include "MyGUI_ISerializable.h"
#include "MyGUI_IResource.h"
#include "MyGUI_FontData.h"
namespace MyGUI
{
class ITexture;
class MYGUI_EXPORT IFont : public IResource
{
MYGUI_RTTI_DERIVED(IFont)
public:
virtual const GlyphInfo* getGlyphInfo(Char _id) const = 0;
virtual ITexture* getTextureFont() const = 0;
virtual int getDefaultHeight() const = 0;
};
} // namespace MyGUI
#endif // MYGUI_I_FONT_H_
MyGUI_FontData.h
MyGUI_IResource.h
MyGUI_ISerializable.h
MYGUI_EXPORT
#define MYGUI_EXPORT
Definition MyGUI_Platform.h:77
MyGUI_Prerequest.h
MYGUI_RTTI_DERIVED
#define MYGUI_RTTI_DERIVED(DerivedType)
Definition MyGUI_RTTI.h:69
MyGUI::IFont
Definition MyGUI_IFont.h:21
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::IResource
IResource(IResource const &)=delete
MyGUI::ITexture
Definition MyGUI_ITexture.h:28
MyGUI
Definition MyGUI_ActionController.h:15
MyGUI::Char
unsigned int Char
Definition MyGUI_Types.h:50
MyGUI::GlyphInfo
Definition MyGUI_FontData.h:41