The ST:TNG skin now uses the fixed font if requested when displaying texts

This commit is contained in:
Klaus Schmidinger 2006-02-17 15:58:31 +01:00
parent 10d3ad00ae
commit 5db8309b87
2 changed files with 3 additions and 2 deletions

View File

@ -4330,3 +4330,4 @@ Video Disk Recorder Revision History
- Now logging the description (if present) in case a thread is canceled (suggested
by Marco Schlüßler).
- cMenuText now uses the given font (thanks to Rolf Ahrenberg).
- The ST:TNG skin now uses the fixed font if requested when displaying texts.

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
* $Id: skinsttng.c 1.18 2006/02/05 14:51:39 kls Exp $
* $Id: skinsttng.c 1.19 2006/02/17 15:57:37 kls Exp $
*/
// Star Trek: The Next Generation® is a registered trademark of Paramount Pictures
@ -632,7 +632,7 @@ int cSkinSTTNGDisplayMenu::GetTextAreaWidth(void) const
const cFont *cSkinSTTNGDisplayMenu::GetTextAreaFont(bool FixedFont) const
{
const cFont *font = cFont::GetFont(FixedFont ? fontFix : fontOsd);
font = cFont::GetFont(fontSml);//XXX -> make a way to let the text define which font to use
//XXX -> make a way to let the text define which font to use
return font;
}