beautify (?) position gauge
[enigma2.git] / lib / gui / ewidget.h
index 879e5eaae002dec595df77c6a31378e517924332..6739f25e35ed28dbd34db83d13106782c58ef855 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;