From 710aaff34aed6991910366447f716fc532d02794 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 19 May 2013 22:56:03 +0300 Subject: improve setup class. --- src/gui/setup.cpp | 4 +--- src/gui/setup.h | 13 ------------- 2 files changed, 1 insertion(+), 16 deletions(-) (limited to 'src/gui') 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(); -- cgit v1.2.3-70-g09d2