add comment
[enigma2.git] / lib / gui / ewidgetdesktop.h
index 117138bd3dd59f213b012c5d160f6e7b26de89ae..7237df96a2107b6c3a2d1dcddb4653d6542cb8e8 100644 (file)
@@ -33,7 +33,7 @@ class eWidgetDesktop: public Object
 public:
        eWidgetDesktop(eSize screen);
        ~eWidgetDesktop();
-       void addRootWidget(eWidget *root, int top);
+       void addRootWidget(eWidget *root);
        void removeRootWidget(eWidget *root);
        
                /* try to move widget content. */
@@ -54,7 +54,8 @@ public:
        void setPalette(gPixmap &pm);
        
        void setRedrawTask(eMainloop &ml);
-       
+
+       void makeCompatiblePixmap(ePtr<gPixmap> &pm);
        void makeCompatiblePixmap(gPixmap &pm);
        
        enum {
@@ -63,6 +64,9 @@ public:
        };
        
        void setCompositionMode(int mode);
+       
+       int getStyleID() { return m_style_id; }
+       void setStyleID(int id) { m_style_id = id; }
 private:
        ePtrList<eWidget> m_root;
        void calcWidgetClipRegion(eWidget *widget, gRegion &parent_visible);
@@ -81,6 +85,10 @@ private:
        
        void redrawComposition(int notifed);
        void notify();
+       
+       void clearVisibility(eWidget *widget);
+       
+       int m_style_id;
 };
 
 #endif