diff options
author | Martin Hammerschmid <linux@home.pages.at> | 2002-09-29 17:11:00 +0200 |
---|---|---|
committer | Martin Hammerschmid <linux@home.pages.at> | 2002-09-29 17:11:00 +0200 |
commit | 601b9ddb03c7ebd0a10c40aa1e88d405935fa7b6 (patch) | |
tree | 3b73f2781e21a8daed860eeb3f4a856dbfb6be5b /lcdproc.c | |
parent | 9cf2257c7c90a564229727cd01ed7a7f344293ab (diff) | |
download | vdr-plugin-lcdproc-601b9ddb03c7ebd0a10c40aa1e88d405935fa7b6.tar.gz vdr-plugin-lcdproc-601b9ddb03c7ebd0a10c40aa1e88d405935fa7b6.tar.bz2 |
Version 0.0.5v0.0.5release/v0.0.5
Diffstat (limited to 'lcdproc.c')
-rw-r--r-- | lcdproc.c | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -14,7 +14,7 @@ #include "i18n.h" #include "lcd.h" -static const char *VERSION = "0.0.4"; +static const char *VERSION = "0.0.5"; static const char *MAINMENUENTRY = NULL; #ifdef LCD_hd44780 static const char *DESCRIPTION = "LCDproc using hd44780 output-mapping"; @@ -30,6 +30,7 @@ cLcd *LCDproc = new cLcd; bool replaymode=false; bool menumode=false; bool switched=false; +bool textitem=false; bool group=false; char tempstringbuffer[80]; char *LCDprocHOST=LCDHOST; @@ -113,10 +114,12 @@ void cLcdFeed::OsdClear(void) void cLcdFeed::OsdTitle(const char *Title) { //syslog(LOG_INFO, "lcdproc: cLcdFeed::OsdTitle '%s'", Title); - LCDproc->Clear(0); - LCDproc->SetTitle(Title); - LCDproc->SetThreadState( (cLcd::ThreadStates) 0); // MENU - menumode=true; + if ( ! textitem ) { + LCDproc->Clear(0); + LCDproc->SetTitle(Title); + LCDproc->SetThreadState( (cLcd::ThreadStates) 0); // MENU + } + menumode=true; textitem=false; } void cLcdFeed::OsdStatusMessage(const char *Message) |