summaryrefslogtreecommitdiff
path: root/src/gui/widgets/basiccontainer.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-04 19:23:03 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-04 19:23:03 +0300
commit9706e377c799d4b2c0a9f88c8ba6768bf2ea858c (patch)
tree37bc6dc1cfdac6d392409bc520ac6288a7810989 /src/gui/widgets/basiccontainer.cpp
parent367c92d1ac584eb7ad5812f717aea27456f44e5f (diff)
downloadmanaverse-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/basiccontainer.cpp')
-rw-r--r--src/gui/widgets/basiccontainer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/basiccontainer.cpp b/src/gui/widgets/basiccontainer.cpp
index 26434d7e9..8a4d3162a 100644
--- a/src/gui/widgets/basiccontainer.cpp
+++ b/src/gui/widgets/basiccontainer.cpp
@@ -305,7 +305,7 @@ void BasicContainer::drawChildren(Graphics *const restrict graphics) restrict2
FOR_EACH (WidgetListConstIterator, iter, mWidgets)
{
Widget *restrict const widget = *iter;
- if (widget->isVisibleLocal())
+ if (widget->mVisible == Visible_true)
{
// If the widget has a frame,
// draw it before drawing the widget
@@ -346,7 +346,7 @@ void BasicContainer::safeDrawChildren(Graphics *const restrict graphics)
FOR_EACH (WidgetListConstIterator, iter, mWidgets)
{
Widget *restrict const widget = *iter;
- if (widget->isVisibleLocal())
+ if (widget->mVisible == Visible_true)
{
// If the widget has a frame,
// draw it before drawing the widget