summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabbedarea.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-09-17 19:07:25 +0300
committerAndrei Karas <akaras@inbox.ru>2016-09-17 19:07:25 +0300
commite9fb9da5bf17d3402781eb5205be7d2f794887ee (patch)
tree729a7932fab668bcc2de180ebfe287e811f8e136 /src/gui/widgets/tabbedarea.cpp
parent00ec60c1c0c3db8e3602e85dd152106f59f0c0e2 (diff)
downloadmanaverse-e9fb9da5bf17d3402781eb5205be7d2f794887ee.tar.gz
manaverse-e9fb9da5bf17d3402781eb5205be7d2f794887ee.tar.bz2
manaverse-e9fb9da5bf17d3402781eb5205be7d2f794887ee.tar.xz
manaverse-e9fb9da5bf17d3402781eb5205be7d2f794887ee.zip
Add strong typed bool Opaque.
Diffstat (limited to 'src/gui/widgets/tabbedarea.cpp')
-rw-r--r--src/gui/widgets/tabbedarea.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/widgets/tabbedarea.cpp b/src/gui/widgets/tabbedarea.cpp
index 2a1f59bbf..fa874133b 100644
--- a/src/gui/widgets/tabbedarea.cpp
+++ b/src/gui/widgets/tabbedarea.cpp
@@ -91,7 +91,7 @@ TabbedArea::TabbedArea(const Widget2 *const widget) :
mVisibleTabsWidth(0),
mTabScrollIndex(0),
mRightMargin(0),
- mOpaque(false),
+ mOpaque(Opaque_false),
mEnableScrollButtons(false),
mFollowDownScroll(false),
mBlockSwitching(true),
@@ -104,12 +104,12 @@ TabbedArea::TabbedArea(const Widget2 *const widget) :
void TabbedArea::postInit()
{
- mTabContainer->setOpaque(false);
+ mTabContainer->setOpaque(Opaque_false);
add(mTabContainer);
add(mWidgetContainer);
- mWidgetContainer->setOpaque(false);
+ mWidgetContainer->setOpaque(Opaque_false);
addWidgetListener(this);
mArrowButton[0] = new Button(this, "<", "shift_left", this);