diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2006-02-17 15:45:25 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2006-02-17 15:45:25 +0100 |
commit | 10d3ad00aec593c2748189e046406bc6c1142814 (patch) | |
tree | 246aa0e70f1df3bca94002093cbd1fa43da2e978 /menu.c | |
parent | be2dbbd9382d4e25f1b329ea3de45e6401b694aa (diff) | |
download | vdr-10d3ad00aec593c2748189e046406bc6c1142814.tar.gz vdr-10d3ad00aec593c2748189e046406bc6c1142814.tar.bz2 |
cMenuText now uses the given font
Diffstat (limited to 'menu.c')
-rw-r--r-- | menu.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: menu.c 1.410 2006/02/05 13:31:08 kls Exp $ + * $Id: menu.c 1.411 2006/02/17 15:38:46 kls Exp $ */ #include "menu.h" @@ -572,6 +572,7 @@ cMenuText::cMenuText(const char *Title, const char *Text, eDvbFont Font) :cOsdMenu(Title) { text = NULL; + font = Font; SetText(Text); } @@ -589,7 +590,7 @@ void cMenuText::SetText(const char *Text) void cMenuText::Display(void) { cOsdMenu::Display(); - DisplayMenu()->SetText(text, true);//XXX define control character in text to choose the font??? + DisplayMenu()->SetText(text, font == fontFix); //XXX define control character in text to choose the font??? cStatus::MsgOsdTextItem(text); } |