diff options
author | mrwastl <mrwastl@users.sourceforge.net> | 2011-05-01 22:25:36 +0200 |
---|---|---|
committer | mrwastl <mrwastl@users.sourceforge.net> | 2011-05-01 22:25:36 +0200 |
commit | 091b7b1f7dc2f72bef51dd1037befa459010a5db (patch) | |
tree | a19bd6b2ae3b3e2264b1fe78561ad50fb2bc7d23 /display.h | |
parent | 41213178cd97f88fce7ae381768528ae3826f7c3 (diff) | |
download | vdr-plugin-graphlcd-091b7b1f7dc2f72bef51dd1037befa459010a5db.tar.gz vdr-plugin-graphlcd-091b7b1f7dc2f72bef51dd1037befa459010a5db.tar.bz2 |
initial upload to branch 'touchcol'. modifications for compatibility with branch touchcol from graphlcd-base; skin 'touchcol' for experimenting
Diffstat (limited to 'display.h')
-rw-r--r-- | display.h | 18 |
1 files changed, 16 insertions, 2 deletions
@@ -7,8 +7,8 @@ * to the COPYING file distributed with this package. * * (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> + * (c) 2004-2010 Andreas Regel <andreas.regel AT powarman.de> + * (c) 2010-2011 Wolfgang Astleitner <mrwastl AT users sourceforge net> */ #ifndef _GRAPHLCD_DISPLAY_H_ @@ -40,6 +40,13 @@ enum eThreadState StateMenu }; +// state of current display mode (interesting for displays w/ touchpads) +enum eDisplayMode +{ + DisplayModeNormal, + DisplayModeInteractive +}; + // Display update Thread class cGraphLCDDisplay : public cThread { @@ -59,6 +66,10 @@ public: void ForceUpdateBrightness(); const cGraphLCDService * GetServiceObject() const { return mService; } + + GLCD::cDriver * GetDriver() const { return mLcd; } + + const eDisplayMode GetDisplayMode() const { return mDisplayMode; } protected: virtual void Action(); @@ -89,6 +100,9 @@ private: bool bBrightnessActive; /* external services */ cGraphLCDService * mService; + /* display mode (normal or interactive) */ + eDisplayMode mDisplayMode; + uint64_t LastTimeDisplayMode; }; #endif |