-add lcd menu option: show channalname or clock

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1237 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
satbaby
2011-03-02 14:14:50 +00:00
parent ec15197ecb
commit 790ec8170c
8 changed files with 27 additions and 3 deletions

View File

@@ -277,7 +277,7 @@ void CVFD::showTime(bool force)
return;
}
if (has_lcd && showclock) {
if (mode == MODE_STANDBY) {
if (mode == MODE_STANDBY || ( g_settings.lcd_info_line && (MODE_TVRADIO == mode))) {
char timestr[21];
struct timeb tm;
struct tm * t;
@@ -490,7 +490,8 @@ void CVFD::setMode(const MODES m, const char * const title)
}
showServicename(servicename);
showclock = true;
//showTime(); /* "showclock = true;" implies that "showTime();" does a "displayUpdate();" */
if(g_settings.lcd_info_line)
showTime(); /* "showclock = true;" implies that "showTime();" does a "displayUpdate();" */
break;
case MODE_AUDIO:
{