- add clearBackgroundColor to use default (defined by style) again
[enigma2.git] / lib / gui / ewidgetdesktop.h
index f76baf60ac3178377c9aeddf7514d4aff181cc92..c917e36a6f55cf294fad7598e257d64d55c775e8 100644 (file)
@@ -15,7 +15,7 @@ public: // weil debug
        gRegion m_dirty_region;
        gRegion m_background_region;
        ePtr<gDC> m_dc;
-       gColor m_background_color;
+       gRGB m_background_color;
 public:
        eWidgetDesktop(eSize screen);
        ~eWidgetDesktop();
@@ -27,9 +27,13 @@ public:
        void paint();
        void setDC(gDC *dc);
        
-       void setBackgroundColor(gColor col);
+       void setBackgroundColor(gRGB col);
+       
+       void setPalette(gPixmap &pm);
        
        void setRedrawTask(eMainloop &ml);
+       
+       void makeCompatiblePixmap(gPixmap &pm);
 private:
        ePtrList<eWidget> m_root;
        void calcWidgetClipRegion(eWidget *widget, gRegion &parent_visible);