aboutsummaryrefslogtreecommitdiff
path: root/lib/gui/ewidget.h
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2007-07-13 16:07:25 +0000
committerFelix Domke <tmbinc@elitedvb.net>2007-07-13 16:07:25 +0000
commitc917eef3dc01ada59fc5f3f1e63036ee6fcb5bba (patch)
tree9596cd778e1f93455555f62e0f2cfd542103a465 /lib/gui/ewidget.h
parent31ae4773f86fa2732b81d60c8d8def4321d9fb9e (diff)
downloadenigma2-c917eef3dc01ada59fc5f3f1e63036ee6fcb5bba.tar.gz
enigma2-c917eef3dc01ada59fc5f3f1e63036ee6fcb5bba.zip
add 'parent visibility changes' notification and use that to fix video widget
Diffstat (limited to 'lib/gui/ewidget.h')
-rw-r--r--lib/gui/ewidget.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/gui/ewidget.h b/lib/gui/ewidget.h
index 98b30087..a028006c 100644
--- a/lib/gui/ewidget.h
+++ b/lib/gui/ewidget.h
@@ -101,8 +101,7 @@ public:
evtParentChangedPosition,
- evtWillShow,
- evtWillHide,
+ evtParentVisibilityChanged,
evtWillChangePosition, /* new size is eRect *data */
evtWillChangeSize,
@@ -118,6 +117,8 @@ public:
/* enable this if you need the absolute position of the widget */
void setPositionNotifyChild(int n) { m_notify_child_on_position_change = 1; }
+
+ void notifyShowHide();
};
extern eWidgetDesktop *getDesktop(int which);