fix absolute paths to be relative
[enigma2.git] / lib / gui / ewidget.h
index 879e5eaae002dec595df77c6a31378e517924332..3ddfdc263cc02a565c84f7598eb42f5371067c88 100644 (file)
@@ -40,10 +40,13 @@ 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; }
        
        eWidgetAnimation m_animation;
 private:
@@ -69,6 +72,8 @@ private:
        void doPaint(gPainter &painter, const gRegion &region);
        void recalcClipRegionsWhenVisible();
        
+       void parentRemoved();
+       
        gRGB m_background_color;
        int m_have_background_color;
        
@@ -108,6 +113,6 @@ public:
        void setFocus(eWidget *focus);
 };
 
-extern eWidgetDesktop *getDesktop();
+extern eWidgetDesktop *getDesktop(int which);
 
 #endif