Manages the font list.
More...
#include <FontMgr.h>
|
void | SetLocale (wxString &newLocale) |
|
wxFont * | GetFont (const wxString &TextElement, int default_size=0) |
|
wxColour | GetFontColor (const wxString &TextElement) const |
|
wxColour | GetDefaultFontColor (const wxString &TextElement) |
|
bool | SetFontColor (const wxString &TextElement, const wxColour color) const |
|
int | GetNumFonts (void) const |
|
const wxString & | GetConfigString (int i) const |
|
const wxString & | GetDialogString (int i) const |
|
const wxString & | GetNativeDesc (int i) const |
|
wxString | GetFullConfigDesc (int i) const |
|
wxArrayString & | GetAuxKeyArray () |
|
bool | AddAuxKey (wxString key) |
|
void | LoadFontNative (wxString *pConfigString, wxString *pNativeDesc) |
|
bool | SetFont (const wxString &TextElement, wxFont *pFont, wxColour color) |
|
void | ScrubList () |
|
MyFontDesc * | FindFontByConfigString (wxString pConfigString) |
|
wxFont * | FindOrCreateFont (int point_size, wxFontFamily family, wxFontStyle style, wxFontWeight weight, bool underline=false, const wxString &facename=wxEmptyString, wxFontEncoding encoding=wxFONTENCODING_DEFAULT) |
|
wxFont * | FindOrCreateFont (int pointSize, int family, int style, int weight, bool underline=false, const wxString &face=wxEmptyString, wxFontEncoding encoding=wxFONTENCODING_DEFAULT) |
|
Manages the font list.
Singleton.
Definition at line 41 of file FontMgr.h.
◆ AddAuxKey()
bool FontMgr::AddAuxKey |
( |
wxString |
key | ) |
|
◆ FindFontByConfigString()
MyFontDesc * FontMgr::FindFontByConfigString |
( |
wxString |
pConfigString | ) |
|
◆ FindOrCreateFont() [1/2]
wxFont * FontMgr::FindOrCreateFont |
( |
int |
point_size, |
|
|
wxFontFamily |
family, |
|
|
wxFontStyle |
style, |
|
|
wxFontWeight |
weight, |
|
|
bool |
underline = false , |
|
|
const wxString & |
facename = wxEmptyString , |
|
|
wxFontEncoding |
encoding = wxFONTENCODING_DEFAULT |
|
) |
| |
◆ FindOrCreateFont() [2/2]
wxFont * FontMgr::FindOrCreateFont |
( |
int |
pointSize, |
|
|
int |
family, |
|
|
int |
style, |
|
|
int |
weight, |
|
|
bool |
underline = false , |
|
|
const wxString & |
face = wxEmptyString , |
|
|
wxFontEncoding |
encoding = wxFONTENCODING_DEFAULT |
|
) |
| |
|
inline |
◆ Get()
◆ GetAuxKeyArray()
wxArrayString & FontMgr::GetAuxKeyArray |
( |
| ) |
|
|
inline |
◆ GetConfigString()
const wxString & FontMgr::GetConfigString |
( |
int |
i | ) |
const |
◆ GetDefaultFontColor()
wxColour FontMgr::GetDefaultFontColor |
( |
const wxString & |
TextElement | ) |
|
◆ GetDialogString()
const wxString & FontMgr::GetDialogString |
( |
int |
i | ) |
const |
◆ GetFont()
wxFont * FontMgr::GetFont |
( |
const wxString & |
TextElement, |
|
|
int |
default_size = 0 |
|
) |
| |
◆ GetFontColor()
wxColour FontMgr::GetFontColor |
( |
const wxString & |
TextElement | ) |
const |
◆ GetFontConfigKey()
wxString FontMgr::GetFontConfigKey |
( |
const wxString & |
description | ) |
|
|
static |
◆ GetFullConfigDesc()
wxString FontMgr::GetFullConfigDesc |
( |
int |
i | ) |
const |
◆ GetNativeDesc()
const wxString & FontMgr::GetNativeDesc |
( |
int |
i | ) |
const |
◆ GetNumFonts()
int FontMgr::GetNumFonts |
( |
void |
| ) |
const |
◆ LoadFontNative()
void FontMgr::LoadFontNative |
( |
wxString * |
pConfigString, |
|
|
wxString * |
pNativeDesc |
|
) |
| |
◆ ScrubList()
void FontMgr::ScrubList |
( |
| ) |
|
◆ SetFont()
bool FontMgr::SetFont |
( |
const wxString & |
TextElement, |
|
|
wxFont * |
pFont, |
|
|
wxColour |
color |
|
) |
| |
◆ SetFontColor()
bool FontMgr::SetFontColor |
( |
const wxString & |
TextElement, |
|
|
const wxColour |
color |
|
) |
| const |
◆ SetLocale()
void FontMgr::SetLocale |
( |
wxString & |
newLocale | ) |
|
◆ Shutdown()
void FontMgr::Shutdown |
( |
| ) |
|
|
static |
The documentation for this class was generated from the following files: