diff options
author | mrwastl <mrwastl@users.sourceforge.net> | 2011-09-16 17:59:04 +0200 |
---|---|---|
committer | mrwastl <mrwastl@users.sourceforge.net> | 2011-09-16 17:59:04 +0200 |
commit | 7178bcc48bc3377c4027e362ba217e9f3815cea5 (patch) | |
tree | 8f7cab76d7e5207128da9058b1d1e2d54f5e3a3a /glcddrivers/simlcd.h | |
parent | 73ba3e0dd78c96a92e8297e62270bd4e5cd35a44 (diff) | |
download | graphlcd-base-7178bcc48bc3377c4027e362ba217e9f3815cea5.tar.gz graphlcd-base-7178bcc48bc3377c4027e362ba217e9f3815cea5.tar.bz2 |
move config/oldConfig + it's initialisation to base class cDriver; libglcddrivers.so no longer link-dependent on libglcdgraphics.so
Diffstat (limited to 'glcddrivers/simlcd.h')
-rw-r--r-- | glcddrivers/simlcd.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/glcddrivers/simlcd.h b/glcddrivers/simlcd.h index e79e52a..12f819c 100644 --- a/glcddrivers/simlcd.h +++ b/glcddrivers/simlcd.h @@ -28,14 +28,10 @@ class cDriverSimLCD : public cDriver { private: uint32_t ** LCD; - cDriverConfig * config; - cDriverConfig * oldConfig; - int CheckSetup(); public: cDriverSimLCD(cDriverConfig * config); - virtual ~cDriverSimLCD(); virtual int Init(); virtual int DeInit(); @@ -43,7 +39,7 @@ public: virtual void Clear(); virtual void SetPixel(int x, int y, uint32_t data); virtual void Refresh(bool refreshAll = false); - virtual GLCD::cColor GetBackgroundColor(void); + virtual uint32_t GetBackgroundColor(void); virtual bool GetDriverFeature (const std::string & Feature, int & value); }; |