From 739dcaebe1a16af3c58657a6fc8af5fac977de1d Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Sun, 5 Jun 2011 10:54:16 +0000 Subject: [PATCH] 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: https://github.com/neutrino-images/ni-neutrino/commit/30b37b3c1f7b3a58f4842789d841e6f7816232ae Author: Stefan Seyfried Date: 2011-06-05 (Sun, 05 Jun 2011) ------------------ This commit was generated by Migit --- src/driver/lcdd.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/driver/lcdd.cpp b/src/driver/lcdd.cpp index 24c30c528..a7b8e7580 100644 --- a/src/driver/lcdd.cpp +++ b/src/driver/lcdd.cpp @@ -80,6 +80,8 @@ CLCD* CLCD::getInstance() { lcdd = new CLCD(); } + /* HACK */ + g_settings.lcd_setting[SNeutrinoSettings::LCD_SHOW_VOLUME] = 2; 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 */ 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()); @@ -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) { int showmode = g_settings.lcd_setting[SNeutrinoSettings::LCD_EPGMODE]; + showmode = 7; showmode |= 3; // take only the separator line from the config movie_playmode = playmode; @@ -842,6 +847,7 @@ void CLCD::setMode(const MODES m, const char * const title) mode = m; menutitle = title; setlcdparameter(); + int x = 2; switch (m) {