From 46e597df44402086edd010b69702c2de52b75fc8 Mon Sep 17 00:00:00 2001 From: mrwastl Date: Sun, 1 May 2011 22:22:32 +0200 Subject: initial upload to branch 'touchcol'. see file 'HISTORY' for changes --- glcdskin/skin.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'glcdskin/skin.h') 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 -- cgit v1.2.3