MythTV
master
|
#include <libmythui/mythfontproperties.h>
Public Member Functions | |
FontMap ()=default | |
MythFontProperties * | GetFont (const QString &text) |
bool | AddFont (const QString &text, MythFontProperties *fontProp) |
bool | Contains (const QString &text) |
void | Clear (void) |
void | Rescale (int height=0) |
Static Public Member Functions | |
static FontMap * | GetGlobalFontMap (void) |
Private Attributes | |
QMap< QString, MythFontProperties > | m_fontMap |
Definition at line 86 of file mythfontproperties.h.
|
default |
Referenced by GetGlobalFontMap().
MythFontProperties * FontMap::GetFont | ( | const QString & | text | ) |
Definition at line 524 of file mythfontproperties.cpp.
Referenced by MythUIText::FormatTemplate(), MythUIType::GetFont(), MythUIText::ParseElement(), MythUIGuideGrid::ParseElement(), and MythFontProperties::ParseFromXml().
bool FontMap::AddFont | ( | const QString & | text, |
MythFontProperties * | fontProp | ||
) |
Definition at line 534 of file mythfontproperties.cpp.
Referenced by MythUIType::AddFont(), and MythFontProperties::ParseFromXml().
bool FontMap::Contains | ( | const QString & | text | ) |
Definition at line 566 of file mythfontproperties.cpp.
void FontMap::Clear | ( | void | ) |
Definition at line 571 of file mythfontproperties.cpp.
Referenced by MythThemeBase::Reload(), and MythThemeBase::~MythThemeBase().
void FontMap::Rescale | ( | int | height = 0 | ) |
Definition at line 579 of file mythfontproperties.cpp.
|
static |
Definition at line 594 of file mythfontproperties.cpp.
Referenced by GetGlobalFontMap().
|
private |
Definition at line 101 of file mythfontproperties.h.
Referenced by AddFont(), Clear(), Contains(), GetFont(), and Rescale().