diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-03-04 19:23:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-03-04 19:23:03 +0300 |
commit | 9706e377c799d4b2c0a9f88c8ba6768bf2ea858c (patch) | |
tree | 37bc6dc1cfdac6d392409bc520ac6288a7810989 /src/gui/widgets/widget.h | |
parent | 367c92d1ac584eb7ad5812f717aea27456f44e5f (diff) | |
download | ManaVerse-9706e377c799d4b2c0a9f88c8ba6768bf2ea858c.tar.gz ManaVerse-9706e377c799d4b2c0a9f88c8ba6768bf2ea858c.tar.bz2 ManaVerse-9706e377c799d4b2c0a9f88c8ba6768bf2ea858c.tar.xz ManaVerse-9706e377c799d4b2c0a9f88c8ba6768bf2ea858c.zip |
Remove isVisible getter from widget.
Diffstat (limited to 'src/gui/widgets/widget.h')
-rw-r--r-- | src/gui/widgets/widget.h | 13 |
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; |