summaryrefslogtreecommitdiff
path: root/display.h
diff options
context:
space:
mode:
Diffstat (limited to 'display.h')
-rw-r--r--display.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/display.h b/display.h
index d3c2d43..a86dc53 100644
--- a/display.h
+++ b/display.h
@@ -8,6 +8,7 @@
*
* (c) 2001-2004 Carsten Siebholz <c.siebholz AT t-online.de>
* (c) 2004 Andreas Regel <andreas.regel AT powarman.de>
+ * (c) 2010 Wolfgang Astleitner <mrwastl AT users sourceforge net>
*/
#ifndef _GRAPHLCD_DISPLAY_H_
@@ -53,6 +54,8 @@ public:
void SetMenuCurrent();
const GLCD::cBitmap * GetScreen() const { return mScreen; }
+ void ForceUpdateBrightness();
+
protected:
virtual void Action();
@@ -75,6 +78,12 @@ private:
bool mShowVolume;
void UpdateIn(uint64_t msec);
+
+ /** set brightness depending on user activity */
+ void SetBrightness();
+ uint64_t LastTimeBrightness;
+ int nCurrentBrightness;
+ bool bBrightnessActive;
};
#endif