Carsten Juttner on Fri, 13 May 2005 22:26:16 +0200 (CEST)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

apps/tuxbox/enigma/src setup_lcd.cpp setup_lcd.h


carjay      05/05/13 22:26:16

  Modified:    tuxbox/enigma/src setup_lcd.cpp setup_lcd.h
  Log:
  Fix for lcd setup. New inversion setting was stored but original setting
  was reapplied on setup exit.
  
  Revision  Changes    Path
  1.16      +2 -2      apps/tuxbox/enigma/src/setup_lcd.cpp
  
  file : http://cvs.tuxbox.org/tuxbox/apps/tuxbox/enigma/src/setup_lcd.cpp?rev=1.16&content-type=text/vnd.viewcvs-markup
  plain: http://cvs.tuxbox.org/tuxbox/apps/tuxbox/enigma/src/setup_lcd.cpp?rev=1.16&content-type=text/plain
  revision graph: http://cvs.tuxbox.org/tuxbox/apps/tuxbox/enigma/src/setup_lcd.cpp?graph=1.16
  diff : http://cvs.tuxbox.org/tuxbox/apps/tuxbox/enigma/src/setup_lcd.cpp.diff?r1=1.15&r2=1.16
  
  Index: setup_lcd.cpp
  ===================================================================
  RCS file: /cvs/tuxbox/apps/tuxbox/enigma/src/setup_lcd.cpp,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- setup_lcd.cpp	5 Nov 2003 13:33:37 -0000	1.15
  +++ setup_lcd.cpp	13 May 2005 20:26:16 -0000	1.16
  @@ -57,7 +57,7 @@
   	eConfig::getInstance()->getKey("/ezap/lcd/standby", lcdstandby );
   	int tmp;
   	eConfig::getInstance()->getKey("/ezap/lcd/inverted", tmp );
  -	lcdinverted = (unsigned char) tmp;
  +	unsigned char lcdinverted = (unsigned char) tmp;
   
   	bbrightness=new eLabel(this);
   	bbrightness->setText(_("Brightness:"));
  @@ -147,7 +147,7 @@
   		case eWidgetEvent::execDone:
   			eConfig::getInstance()->getKey("/ezap/lcd/brightness", lcdbrightness);
   			eConfig::getInstance()->getKey("/ezap/lcd/contrast", lcdcontrast);
  -			eDBoxLCD::getInstance()->setInverted( lcdinverted );
  +			eDBoxLCD::getInstance()->setInverted( inverted->isChecked()?255:0 );
   			update(lcdbrightness, lcdcontrast);
   			break;
   		default:
  
  
  
  1.10      +0 -1      apps/tuxbox/enigma/src/setup_lcd.h
  
  file : http://cvs.tuxbox.org/tuxbox/apps/tuxbox/enigma/src/setup_lcd.h?rev=1.10&content-type=text/vnd.viewcvs-markup
  plain: http://cvs.tuxbox.org/tuxbox/apps/tuxbox/enigma/src/setup_lcd.h?rev=1.10&content-type=text/plain
  revision graph: http://cvs.tuxbox.org/tuxbox/apps/tuxbox/enigma/src/setup_lcd.h?graph=1.10
  diff : http://cvs.tuxbox.org/tuxbox/apps/tuxbox/enigma/src/setup_lcd.h.diff?r1=1.9&r2=1.10
  
  Index: setup_lcd.h
  ===================================================================
  RCS file: /cvs/tuxbox/apps/tuxbox/enigma/src/setup_lcd.h,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- setup_lcd.h	7 Sep 2003 00:03:58 -0000	1.9
  +++ setup_lcd.h	13 May 2005 20:26:16 -0000	1.10
  @@ -21,7 +21,6 @@
   	int lcdbrightness;
   	int lcdcontrast;
   	int lcdstandby;
  -	unsigned char lcdinverted;
   
   	eButton *ok;
   	void okPressed();
  
  
  

-- 
To UNSUBSCRIBE, email to tuxbox-cvs-request@cvs.tuxbox.org
with a subject of "unsubscribe". Trouble? Contact listmaster@cvs.tuxbox.org