X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/20b3eedd8825ba8a52ce4a1b991b215d0a0a6789..e441555fa867c277985766fcf84af8fdde72d52d:/lib/gui/ewidget.h diff --git a/lib/gui/ewidget.h b/lib/gui/ewidget.h index 879e5eaa..6739f25e 100644 --- a/lib/gui/ewidget.h +++ b/lib/gui/ewidget.h @@ -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 ®ion); void recalcClipRegionsWhenVisible(); + void parentRemoved(); + gRGB m_background_color; int m_have_background_color;