diff options
author | mrwastl <mrwastl@users.sourceforge.net> | 2011-05-01 22:22:32 +0200 |
---|---|---|
committer | mrwastl <mrwastl@users.sourceforge.net> | 2011-05-01 22:22:32 +0200 |
commit | 46e597df44402086edd010b69702c2de52b75fc8 (patch) | |
tree | fa9528f19f951b765b071c239b09547cf69bd169 /glcdskin/skin.h | |
parent | 57729cf285b058d192a60bd7fce1b2d29bdd9650 (diff) | |
download | graphlcd-base-46e597df44402086edd010b69702c2de52b75fc8.tar.gz graphlcd-base-46e597df44402086edd010b69702c2de52b75fc8.tar.bz2 |
initial upload to branch 'touchcol'. see file 'HISTORY' for changes
Diffstat (limited to 'glcdskin/skin.h')
-rw-r--r-- | glcdskin/skin.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/glcdskin/skin.h b/glcdskin/skin.h index b2d8496..b13db0a 100644 --- a/glcdskin/skin.h +++ b/glcdskin/skin.h @@ -61,6 +61,16 @@ public: const tSize & BaseSize(void) const { return baseSize; } cImageCache * ImageCache(void) { return mImageCache; } + + bool ParseEnable(const std::string &Text); + +#ifdef GRAPHLCD_CBITMAP_ARGB + cColor GetBackgroundColor(void) { return config.GetDriver()->GetBackgroundColor(); } + cColor GetForegroundColor(void) { return config.GetDriver()->GetForegroundColor(); } +#else + eColor GetBackgroundColor(void) { return config.GetDriver()->GetBackgroundColor(); } + eColor GetForegroundColor(void) { return config.GetDriver()->GetForegroundColor(); } +#endif }; } // end of namespace |