projects
/
vuplus_dvbapp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LED Brightness Setup : setLED is moved in eDBoxLCD, fix integer to slider.
[vuplus_dvbapp]
/
lib
/
gdi
/
lcd.h
diff --git
a/lib/gdi/lcd.h
b/lib/gdi/lcd.h
old mode 100644
(file)
new mode 100755
(executable)
index
e7b4c2c
..
9b83352
--- a/
lib/gdi/lcd.h
+++ b/
lib/gdi/lcd.h
@@
-10,6
+10,12
@@
#define LCD_BRIGHTNESS_MIN 0
#define LCD_BRIGHTNESS_MAX 255
#define LCD_BRIGHTNESS_MIN 0
#define LCD_BRIGHTNESS_MAX 255
+enum op { LED_BRIGHTNESS = 0, LED_DEEPSTANDBY, LED_BLINKINGTIME };
+
+#define LED_IOCTL_BRIGHTNESS_NORMAL 0X10
+#define LED_IOCTL_BRIGHTNESS_DEEPSTANDBY 0X11
+#define LED_IOCTL_BLINKING_TIME 0X12
+
class eLCD
{
#ifdef SWIG
class eLCD
{
#ifdef SWIG
@@
-54,6
+60,7
@@
public:
~eDBoxLCD();
#endif
static eDBoxLCD *getInstance();
~eDBoxLCD();
#endif
static eDBoxLCD *getInstance();
+ int setLED(int value, int option);
int setLCDContrast(int contrast);
int setLCDBrightness(int brightness);
void setInverted( unsigned char );
int setLCDContrast(int contrast);
int setLCDBrightness(int brightness);
void setInverted( unsigned char );