summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-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();