summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui/widgets/tabbedarea.cpp4
-rw-r--r--src/gui/widgets/tabbedarea.h11
2 files changed, 5 insertions, 10 deletions
diff --git a/src/gui/widgets/tabbedarea.cpp b/src/gui/widgets/tabbedarea.cpp
index 3a9ded199..5e3af38d4 100644
--- a/src/gui/widgets/tabbedarea.cpp
+++ b/src/gui/widgets/tabbedarea.cpp
@@ -44,12 +44,12 @@ TabbedArea::TabbedArea(const Widget2 *const widget) :
mWidgetContainer(new gcn::Container()),
mTabsToDelete(),
mTabs(),
- mOpaque(false),
mTabsWidth(0),
mVisibleTabsWidth(0),
mTabScrollIndex(0),
- mEnableScrollButtons(false),
mRightMargin(0),
+ mOpaque(false),
+ mEnableScrollButtons(false),
mFollowDownScroll(false),
mBlockSwitching(true),
mResizeHeight(true)
diff --git a/src/gui/widgets/tabbedarea.h b/src/gui/widgets/tabbedarea.h
index 114d549ff..ec0b43b5e 100644
--- a/src/gui/widgets/tabbedarea.h
+++ b/src/gui/widgets/tabbedarea.h
@@ -201,17 +201,11 @@ class TabbedArea final : public Widget2,
void updateTabsWidth();
Tab* mSelectedTab;
-
gcn::Container* mTabContainer;
-
gcn::Container* mWidgetContainer;
-
std::vector<Tab*> mTabsToDelete;
-
std::vector<std::pair<Tab*, gcn::Widget*> > mTabs;
- bool mOpaque;
-
/**
* The overall width of all tab.
*/
@@ -234,10 +228,11 @@ class TabbedArea final : public Widget2,
* So the first tab displayed may not be the first in the list.
* @note the index must start at 0.
*/
- unsigned mTabScrollIndex;
+ unsigned int mTabScrollIndex;
+ int mRightMargin;
+ bool mOpaque;
bool mEnableScrollButtons;
- int mRightMargin;
bool mFollowDownScroll;
bool mBlockSwitching;
bool mResizeHeight;