diff options
author | mrwastl <mrwastl@users.sourceforge.net> | 2011-05-28 11:12:15 +0200 |
---|---|---|
committer | mrwastl <mrwastl@users.sourceforge.net> | 2011-05-28 11:12:15 +0200 |
commit | 219dd7dd5d52d07032b4129a96499c7cbe7a4ab3 (patch) | |
tree | 9002f86bc372c390743d149d6be79c2cdaef8a75 /glcddrivers/simlcd.h | |
parent | 84efb00f6b7b30ddbfd0551aae3130e86c90562c (diff) | |
download | graphlcd-base-219dd7dd5d52d07032b4129a96499c7cbe7a4ab3.tar.gz graphlcd-base-219dd7dd5d52d07032b4129a96499c7cbe7a4ab3.tar.bz2 |
updated simlcd-driver (diff contributed by user 'Keine_Ahnung')
Diffstat (limited to 'glcddrivers/simlcd.h')
-rw-r--r-- | glcddrivers/simlcd.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/glcddrivers/simlcd.h b/glcddrivers/simlcd.h index 8b2aca8..750fa81 100644 --- a/glcddrivers/simlcd.h +++ b/glcddrivers/simlcd.h @@ -25,7 +25,7 @@ class cDriverConfig; class cDriverSimLCD : public cDriver { private: - unsigned char ** LCD; + uint32_t ** LCD; cDriverConfig * config; cDriverConfig * oldConfig; @@ -39,8 +39,10 @@ public: virtual int DeInit(); virtual void Clear(); - virtual void Set8Pixels(int x, int y, unsigned char data); + virtual void SetPixel(int x, int y, uint32_t data); virtual void Refresh(bool refreshAll = false); + virtual GLCD::cColor GetBackgroundColor(void); + virtual bool GetDriverFeature (const std::string & Feature, int & value); }; } // end of namespace |