summaryrefslogtreecommitdiff
path: root/src/gui/widgets/widget.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/widget.h')
-rw-r--r--src/gui/widgets/widget.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/src/gui/widgets/widget.h b/src/gui/widgets/widget.h
index b94f81251..ed11955e5 100644
--- a/src/gui/widgets/widget.h
+++ b/src/gui/widgets/widget.h
@@ -401,9 +401,6 @@ class Widget notfinal : public Widget2
{ return mVisible == Visible_true &&
(!mParent || mParent->isVisible()); }
- bool isVisibleLocal() const noexcept A_WARN_UNUSED
- { return mVisible == Visible_true; }
-
/**
* Sets the base color of the widget.
*
@@ -1032,6 +1029,11 @@ class Widget notfinal : public Widget2
virtual void postInit()
{ }
+ /**
+ * True if the widget visible, false otherwise.
+ */
+ Visible mVisible;
+
protected:
/**
* Distributes an action event to all action listeners
@@ -1221,11 +1223,6 @@ class Widget notfinal : public Widget2
bool mFocusable;
/**
- * True if the widget visible, false otherwise.
- */
- Visible mVisible;
-
- /**
* True if the widget has tab in enabled, false otherwise.
*/
bool mTabIn;