neutrino: first (very) dirty hack to make TD LCD work

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1512 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: 30b37b3c1f
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2011-06-05 (Sun, 05 Jun 2011)



------------------
This commit was generated by Migit
This commit is contained in:
Stefan Seyfried
2011-06-05 10:54:16 +00:00
parent ca621a9c6b
commit 739dcaebe1

View File

@@ -80,6 +80,8 @@ CLCD* CLCD::getInstance()
{ {
lcdd = new CLCD(); lcdd = new CLCD();
} }
/* HACK */
g_settings.lcd_setting[SNeutrinoSettings::LCD_SHOW_VOLUME] = 2;
return lcdd; return lcdd;
} }
@@ -511,6 +513,8 @@ void CLCD::showServicename(const std::string name, const bool perform_wakeup)
4 = draw separator line between name and EPG 4 = draw separator line between name and EPG
*/ */
int showmode = g_settings.lcd_setting[SNeutrinoSettings::LCD_EPGMODE]; int showmode = g_settings.lcd_setting[SNeutrinoSettings::LCD_EPGMODE];
/* HACK */
showmode = 7;
//printf("CLCD::showServicename '%s' epg: '%s'\n", name.c_str(), epg_title.c_str()); //printf("CLCD::showServicename '%s' epg: '%s'\n", name.c_str(), epg_title.c_str());
@@ -538,6 +542,7 @@ void CLCD::setEPGTitle(const std::string title)
void CLCD::setMovieInfo(const AUDIOMODES playmode, const std::string big, const std::string small, const bool centered) void CLCD::setMovieInfo(const AUDIOMODES playmode, const std::string big, const std::string small, const bool centered)
{ {
int showmode = g_settings.lcd_setting[SNeutrinoSettings::LCD_EPGMODE]; int showmode = g_settings.lcd_setting[SNeutrinoSettings::LCD_EPGMODE];
showmode = 7;
showmode |= 3; // take only the separator line from the config showmode |= 3; // take only the separator line from the config
movie_playmode = playmode; movie_playmode = playmode;
@@ -842,6 +847,7 @@ void CLCD::setMode(const MODES m, const char * const title)
mode = m; mode = m;
menutitle = title; menutitle = title;
setlcdparameter(); setlcdparameter();
int x = 2;
switch (m) switch (m)
{ {