summaryrefslogtreecommitdiff
path: root/glcdskin/skin.h
diff options
context:
space:
mode:
authormrwastl <mrwastl@users.sourceforge.net>2011-05-01 22:22:32 +0200
committermrwastl <mrwastl@users.sourceforge.net>2011-05-01 22:22:32 +0200
commit46e597df44402086edd010b69702c2de52b75fc8 (patch)
treefa9528f19f951b765b071c239b09547cf69bd169 /glcdskin/skin.h
parent57729cf285b058d192a60bd7fce1b2d29bdd9650 (diff)
downloadgraphlcd-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.h10
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