add offline operations to services
[enigma2.git] / lib / gui / elabel.h
index c19eb0ac369591ce1c05368ef8721a6e16312b66..185f7c24b033cd4a911af1f1351ffc861cebd0e2 100644 (file)
@@ -22,12 +22,20 @@ public:
        
        void setVAlign(int align);
        void setHAlign(int align);
+       
+       void setForegroundColor(const gRGB &col);
+       void clearForegroundColor();
+       
+       eSize calculateSize();
 protected:
        ePtr<gFont> m_font;
        int m_valign, m_halign;
        std::string m_text;
        int event(int event, void *data=0, void *data2=0);
 private:
+       int m_have_foreground_color;
+       gRGB m_foreground_color;
+       
        enum eLabelEvent
        {
                evtChangedText = evtUserWidget,