add 'layers' (in buffered mode, which is not working at the moment).
[enigma2.git] / lib / gui / ewidgetdesktop.h
index 7237df9..7a0a36a 100644 (file)
@@ -44,7 +44,10 @@ public:
        
        void recalcClipRegions(eWidget *root);
        
        
        void recalcClipRegions(eWidget *root);
        
-       void invalidate(const gRegion &region);
+       void invalidateWidgetLayer(const gRegion &region, const eWidget *widget, int layer);
+       void invalidateWidget(const gRegion &region, const eWidget *widget, int layer = -1);
+       void invalidate(const gRegion &region, const eWidget *widget = 0, int layer = -1);
+       void paintLayer(eWidget *widget, int layer);
        void paint();
        void setDC(gDC *dc);
        
        void paint();
        void setDC(gDC *dc);
        
@@ -80,8 +83,8 @@ private:
        
        eWidgetDesktopCompBuffer m_screen;
        
        
        eWidgetDesktopCompBuffer m_screen;
        
-       void createBufferForWidget(eWidget *widget);
-       void removeBufferForWidget(eWidget *widget);
+       void createBufferForWidget(eWidget *widget, int layer);
+       void removeBufferForWidget(eWidget *widget, int layer);
        
        void redrawComposition(int notifed);
        void notify();
        
        void redrawComposition(int notifed);
        void notify();