summaryrefslogtreecommitdiff
path: root/glcdskin/object.h
diff options
context:
space:
mode:
Diffstat (limited to 'glcdskin/object.h')
-rw-r--r--glcdskin/object.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/glcdskin/object.h b/glcdskin/object.h
index cb5f35a..5131cd4 100644
--- a/glcdskin/object.h
+++ b/glcdskin/object.h
@@ -60,6 +60,14 @@ enum eTextVerticalAlignment
tvaBottom
};
+enum eEffect
+{
+ tfxNone,
+ tfxShadow,
+ tfxOutline
+};
+
+
class cSkinColor
{
@@ -130,6 +138,8 @@ private:
cSkinString mFont;
cSkinString mText;
cSkinFunction * mCondition;
+ eEffect mEffect; // effect: none, shadow, or outline
+ cSkinColor mEffectColor; // effect colour (= shadow colour or colour of outline)
uint64_t mLastChange; // timestamp: last change in dynamic object (scroll, frame change, ...)
int mChangeDelay; // delay between two changes (frame change, scrolling, ...)
@@ -162,6 +172,7 @@ public:
bool ParseCondition(const std::string &Text);
bool ParseAlignment(const std::string &Text);
bool ParseVerticalAlignment(const std::string &Text);
+ bool ParseEffect(const std::string &Text);
bool ParseFontFace(const std::string &Text);
bool ParseIntParam(const std::string &Text, int & Param);
bool ParseWidth(const std::string &Text);