fix bug: last char in removeDVBChars was removed
[enigma2.git] / lib / gui / ewindowstyleskinned.h
index 79557386ee2e1f5839bfb11b7bbb4a7e44acf731..bc9c0549619d33d6737c8867f009feaf95d5cc9d 100644 (file)
@@ -52,7 +52,19 @@ public:
        
        void setPixmap(int bs, int bp, gPixmap &pixmap);
        
-       void setDefaultBackgroundColor(const gRGB &back);
+       enum {
+               colBackground,
+               colLabelForeground,
+               colListboxBackground,
+               colListboxForeground,
+               colListboxSelectedBackground,
+               colListboxSelectedForeground,
+               colListboxMarkedBackground,
+               colListboxMarkedForeground,
+               colMax
+       };
+       
+       void setColor(int what, const gRGB &back);
        
 private:
        struct borderSet
@@ -63,7 +75,7 @@ private:
        
        borderSet m_border[bsMax];
        
-       gRGB m_background_color;
+       gRGB m_color[colMax];
        
        void drawBorder(gPainter &painter, const eRect &size, struct borderSet &border, int where);
 };