diff options
Diffstat (limited to 'lib/gui/ewidget.h')
| -rw-r--r-- | lib/gui/ewidget.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/gui/ewidget.h b/lib/gui/ewidget.h index 97eb1434..fbe5a92a 100644 --- a/lib/gui/ewidget.h +++ b/lib/gui/ewidget.h @@ -33,6 +33,10 @@ public: int getStyle(ePtr<eWindowStyle> &style) { if (!m_style) return 1; style = m_style; return 0; } void setStyle(eWindowStyle *style) { m_style = style; } + /* untested code */ + int isVisible() { return (m_vis & wVisShow) && ((!m_parent) || m_parent->isVisible()); } + /* ... */ + private: eWidgetDesktop *m_desktop; |
