fix for redraw unused space between scrollbar and listbox entries
[enigma2.git] / lib / gui / ewidget.h
index 879e5eaae002dec595df77c6a31378e517924332..4175eae7b67739b898a7da195c5bf4ea1517e257 100644 (file)
@@ -40,10 +40,15 @@ public:
        void clearBackgroundColor();
        
        void setZPosition(int z);
+       void setTransparent(int transp);
        
                /* untested code */
        int isVisible() { return (m_vis & wVisShow) && ((!m_parent) || m_parent->isVisible()); }
                /* ... */
+               
+       int isTransparent() { return m_vis & wVisTransparent; }
+       
+       ePoint getAbsolutePosition();
        
        eWidgetAnimation m_animation;
 private:
@@ -69,6 +74,8 @@ private:
        void doPaint(gPainter &painter, const gRegion &region);
        void recalcClipRegionsWhenVisible();
        
+       void parentRemoved();
+       
        gRGB m_background_color;
        int m_have_background_color;
        
@@ -108,6 +115,6 @@ public:
        void setFocus(eWidget *focus);
 };
 
-extern eWidgetDesktop *getDesktop();
+extern eWidgetDesktop *getDesktop(int which);
 
 #endif