|
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().
| bool FontMap::AddFont | ( | const QString & | text, |
| MythFontProperties * | fontProp | ||
| ) |
Definition at line 534 of file mythfontproperties.cpp.
Referenced by MythUIType::AddFont(), and MythFontProperties::ParseFromXml().
| void FontMap::Clear | ( | void | ) |
Definition at line 571 of file mythfontproperties.cpp.
Referenced by MythThemeBase::Reload(), and MythThemeBase::~MythThemeBase().
| bool FontMap::Contains | ( | const QString & | text | ) |
Definition at line 566 of file mythfontproperties.cpp.
| MythFontProperties * FontMap::GetFont | ( | const QString & | text | ) |
Definition at line 524 of file mythfontproperties.cpp.
Referenced by MythUIText::FormatTemplate(), MythUIType::GetFont(), MythUIGuideGrid::ParseElement(), MythUIText::ParseElement(), and MythFontProperties::ParseFromXml().
|
static |
Definition at line 594 of file mythfontproperties.cpp.
Referenced by GetGlobalFontMap().
| void FontMap::Rescale | ( | int | height = 0 | ) |
Definition at line 579 of file mythfontproperties.cpp.
|
private |
Definition at line 101 of file mythfontproperties.h.
Referenced by AddFont(), Clear(), Contains(), GetFont(), and Rescale().