mirror of
https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
synced 2023-10-19 15:58:31 +00:00
implemented cSDDisplayMenu::GetTextAreaFont()
This commit is contained in:
@@ -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
|
||||
********************************************************************************/
|
||||
|
@@ -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);
|
||||
};
|
||||
|
Reference in New Issue
Block a user