X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/b4448ddb042e5f5015125597633e368f17acbcec..164779f4a960754a7d18d5947c43df1e26963a89:/lib/gui/elabel.h diff --git a/lib/gui/elabel.h b/lib/gui/elabel.h index df57e7b5..84b2c5e4 100644 --- a/lib/gui/elabel.h +++ b/lib/gui/elabel.h @@ -10,7 +10,7 @@ public: void setText(const std::string &string); void setMarkedPos(int markedPos); void setFont(gFont *font); - gFont* eLabel::getFont(); + gFont* getFont(); enum { @@ -26,6 +26,8 @@ public: void setHAlign(int align); void setForegroundColor(const gRGB &col); + void setShadowColor(const gRGB &col); + void setShadowOffset(const ePoint &offset); void clearForegroundColor(); eSize calculateSize(); @@ -36,8 +38,9 @@ protected: int event(int event, void *data=0, void *data2=0); int m_pos; private: - int m_have_foreground_color; - gRGB m_foreground_color; + int m_have_foreground_color, m_have_shadow_color; + gRGB m_foreground_color, m_shadow_color; + ePoint m_shadow_offset; enum eLabelEvent {