diff options
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 |