summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-05-19 22:56:03 +0300
committerAndrei Karas <akaras@inbox.ru>2013-05-21 00:02:09 +0300
commit710aaff34aed6991910366447f716fc532d02794 (patch)
treedfa7dc9a575b40bde753ba55f04f222529eb26c2 /src
parentf7a36734654b000a68685a80a353d24b455dd8d0 (diff)
downloadmv-710aaff34aed6991910366447f716fc532d02794.tar.gz
mv-710aaff34aed6991910366447f716fc532d02794.tar.bz2
mv-710aaff34aed6991910366447f716fc532d02794.tar.xz
mv-710aaff34aed6991910366447f716fc532d02794.zip
improve setup class.
Diffstat (limited to 'src')
-rw-r--r--src/gui/setup.cpp4
-rw-r--r--src/gui/setup.h13
2 files changed, 1 insertions, 16 deletions
diff --git a/src/gui/setup.cpp b/src/gui/setup.cpp
index 344899723..77d2c2e5c 100644
--- a/src/gui/setup.cpp
+++ b/src/gui/setup.cpp
@@ -50,6 +50,7 @@
#include "debug.h"
extern Window *statusWindow;
+Setup *setupWindow;
Setup::Setup() :
// TRANSLATORS: setup window name
@@ -125,7 +126,6 @@ Setup::Setup() :
SetupTab *const tab = *i;
mPanel->addTab(tab->getName(), tab);
}
-
add(mPanel);
if (mResetWindows)
@@ -252,5 +252,3 @@ void Setup::widgetResized(const gcn::Event &event)
mVersion->setPosition(9, height - mVersion->getHeight() - 30);
}
}
-
-Setup *setupWindow;
diff --git a/src/gui/setup.h b/src/gui/setup.h
index 81d3ff256..6bba210af 100644
--- a/src/gui/setup.h
+++ b/src/gui/setup.h
@@ -38,13 +38,6 @@ class SetupTab;
* The setup dialog. Displays several tabs for configuring different aspects
* of the game.
*
- * @see Setup_Audio
- * @see Setup_Colors
- * @see Setup_Joystick
- * @see Setup_Input
- * @see Setup_Players
- * @see Setup_Video
- *
* \ingroup GUI
*/
class Setup final : public Window, public gcn::ActionListener
@@ -56,14 +49,8 @@ class Setup final : public Window, public gcn::ActionListener
~Setup();
- /**
- * Event handling method.
- */
void action(const gcn::ActionEvent &event) override;
- /**
- * Enables the reset button when in game.
- */
void setInGame(const bool inGame);
void externalUpdate();