implemented cSDDisplayMenu::GetTextAreaFont()

This commit is contained in:
louis
2014-10-15 18:04:12 +02:00
parent 2e4a9b86ed
commit 8b8389d975
9 changed files with 84 additions and 4 deletions

View File

@@ -108,6 +108,12 @@ cFont *cFontManager::Font(string fontName, int fontSize) {
return font;
}
cFont *cFontManager::FontUncached(string fontName, int fontSize) {
cMutexLock MutexLock(&mutex);
cFont *font = CreateFont(fontName, fontSize);
return font;
}
/********************************************************************************
* Private Functions
********************************************************************************/

View File

@@ -28,6 +28,7 @@ class cFontManager {
int Width(string fontName, int fontSize, const char *text);
int Height(string fontName, int fontSize);
cFont *Font(string fontName, int fontSize);
cFont *FontUncached(string fontName, int fontSize);
void Debug(void);
void ListAvailableFonts(void);
};