summaryrefslogtreecommitdiff
path: root/src/gui/setup.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-19 23:56:04 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-20 13:55:42 +0300
commitd59cd9111c1e86b224ea62cc975c49b157e2b3cf (patch)
treed7186479633c0269573e92b5a5213d04b84b3995 /src/gui/setup.cpp
parent71d2b482d84246b8456ea863f94a9a766d33f197 (diff)
downloadmv-d59cd9111c1e86b224ea62cc975c49b157e2b3cf.tar.gz
mv-d59cd9111c1e86b224ea62cc975c49b157e2b3cf.tar.bz2
mv-d59cd9111c1e86b224ea62cc975c49b157e2b3cf.tar.xz
mv-d59cd9111c1e86b224ea62cc975c49b157e2b3cf.zip
Add to some controls palette inheritance from other controls.
Diffstat (limited to 'src/gui/setup.cpp')
-rw-r--r--src/gui/setup.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/gui/setup.cpp b/src/gui/setup.cpp
index f06396ff7..b45fd99b3 100644
--- a/src/gui/setup.cpp
+++ b/src/gui/setup.cpp
@@ -53,7 +53,7 @@ Setup::Setup():
Window(_("Setup"), false, nullptr, "setup.xml"),
gcn::ActionListener(),
mResetWindows(nullptr),
- mPanel(new TabbedArea)
+ mPanel(new TabbedArea(this))
{
setCloseButton(true);
setResizable(true);
@@ -93,18 +93,18 @@ Setup::Setup():
mPanel->setDimension(gcn::Rectangle(5, 5, width - 10, height - 40));
mPanel->enableScrollButtons(true);
- mTabs.push_back(new Setup_Video);
- mTabs.push_back(new Setup_Visual);
- mTabs.push_back(new Setup_Audio);
- mTabs.push_back(new Setup_Perfomance);
- mTabs.push_back(new Setup_Joystick);
- mTabs.push_back(new Setup_Input);
- mTabs.push_back(new Setup_Colors);
- mTabs.push_back(new Setup_Chat);
- mTabs.push_back(new Setup_Players);
- mTabs.push_back(new Setup_Relations);
- mTabs.push_back(new Setup_Theme);
- mTabs.push_back(new Setup_Other);
+ mTabs.push_back(new Setup_Video(this));
+ mTabs.push_back(new Setup_Visual(this));
+ mTabs.push_back(new Setup_Audio(this));
+ mTabs.push_back(new Setup_Perfomance(this));
+ mTabs.push_back(new Setup_Joystick(this));
+ mTabs.push_back(new Setup_Input(this));
+ mTabs.push_back(new Setup_Colors(this));
+ mTabs.push_back(new Setup_Chat(this));
+ mTabs.push_back(new Setup_Players(this));
+ mTabs.push_back(new Setup_Relations(this));
+ mTabs.push_back(new Setup_Theme(this));
+ mTabs.push_back(new Setup_Other(this));
for (std::list<SetupTab*>::const_iterator i = mTabs.begin(),
i_end = mTabs.end();