summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2006-02-17 15:45:25 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2006-02-17 15:45:25 +0100
commit10d3ad00aec593c2748189e046406bc6c1142814 (patch)
tree246aa0e70f1df3bca94002093cbd1fa43da2e978 /menu.c
parentbe2dbbd9382d4e25f1b329ea3de45e6401b694aa (diff)
downloadvdr-10d3ad00aec593c2748189e046406bc6c1142814.tar.gz
vdr-10d3ad00aec593c2748189e046406bc6c1142814.tar.bz2
cMenuText now uses the given font
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/menu.c b/menu.c
index d9c6b04c..6202aa89 100644
--- a/menu.c
+++ b/menu.c
@@ -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);
}