mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
The ST:TNG skin now uses the fixed font if requested when displaying texts
This commit is contained in:
parent
10d3ad00ae
commit
5db8309b87
1
HISTORY
1
HISTORY
@ -4330,3 +4330,4 @@ Video Disk Recorder Revision History
|
|||||||
- Now logging the description (if present) in case a thread is canceled (suggested
|
- Now logging the description (if present) in case a thread is canceled (suggested
|
||||||
by Marco Schlüßler).
|
by Marco Schlüßler).
|
||||||
- cMenuText now uses the given font (thanks to Rolf Ahrenberg).
|
- cMenuText now uses the given font (thanks to Rolf Ahrenberg).
|
||||||
|
- The ST:TNG skin now uses the fixed font if requested when displaying texts.
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* 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
|
// 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 *cSkinSTTNGDisplayMenu::GetTextAreaFont(bool FixedFont) const
|
||||||
{
|
{
|
||||||
const cFont *font = cFont::GetFont(FixedFont ? fontFix : fontOsd);
|
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;
|
return font;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user