summaryrefslogtreecommitdiff
path: root/src/gui/setup.cpp
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2009-03-14 22:03:30 -0600
committerIra Rice <irarice@gmail.com>2009-03-14 22:03:30 -0600
commita9a1ed080289185cc5e71a127d7fdf35c920de8a (patch)
tree0c035f9bb4f0fb52196826683eda4fe0ff9b254c /src/gui/setup.cpp
parent73fa81961d141b7592862a50993cd998fbd4de31 (diff)
downloadmana-a9a1ed080289185cc5e71a127d7fdf35c920de8a.tar.gz
mana-a9a1ed080289185cc5e71a127d7fdf35c920de8a.tar.bz2
mana-a9a1ed080289185cc5e71a127d7fdf35c920de8a.tar.xz
mana-a9a1ed080289185cc5e71a127d7fdf35c920de8a.zip
Exposed a few more windows to the reset button on the setup window.
These windows required an external declaration to reset. Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/gui/setup.cpp')
-rw-r--r--src/gui/setup.cpp36
1 files changed, 21 insertions, 15 deletions
diff --git a/src/gui/setup.cpp b/src/gui/setup.cpp
index 5fe35a6c..ab0b2245 100644
--- a/src/gui/setup.cpp
+++ b/src/gui/setup.cpp
@@ -35,18 +35,21 @@
#include "../utils/gettext.h"
extern Window *chatWindow;
-extern Window *equipmentWindow;
-extern Window *helpWindow;
-extern Window *inventoryWindow;
-extern Window *minimap;
-extern Window *skillDialog;
extern Window *statusWindow;
-extern Window *itemShortcutWindow;
-extern Window *emoteShortcutWindow;
+extern Window *buyDialog;
+extern Window *sellDialog;
+extern Window *inventoryWindow;
extern Window *emoteWindow;
-extern Window *tradeWindow;
extern Window *npcTextDialog;
extern Window *npcStringDialog;
+extern Window *skillDialog;
+extern Window *minimap;
+extern Window *equipmentWindow;
+extern Window *tradeWindow;
+extern Window *helpWindow;
+extern Window *debugWindow;
+extern Window *itemShortcutWindow;
+extern Window *emoteShortcutWindow;
extern Window *storageWindow;
Setup::Setup():
@@ -131,19 +134,22 @@ void Setup::action(const gcn::ActionEvent &event)
if (!statusWindow)
return;
- statusWindow->resetToDefaultSize();
- minimap->resetToDefaultSize();
chatWindow->resetToDefaultSize();
+ statusWindow->resetToDefaultSize();
+ buyDialog->resetToDefaultSize();
+ sellDialog->resetToDefaultSize();
inventoryWindow->resetToDefaultSize();
+ emoteWindow->resetToDefaultSize();
+ npcTextDialog->resetToDefaultSize();
+ npcStringDialog->resetToDefaultSize();
+ skillDialog->resetToDefaultSize();
+ minimap->resetToDefaultSize();
equipmentWindow->resetToDefaultSize();
+ tradeWindow->resetToDefaultSize();
helpWindow->resetToDefaultSize();
- skillDialog->resetToDefaultSize();
+ debugWindow->resetToDefaultSize();
itemShortcutWindow->resetToDefaultSize();
emoteShortcutWindow->resetToDefaultSize();
- emoteWindow->resetToDefaultSize();
- tradeWindow->resetToDefaultSize();
- npcTextDialog->resetToDefaultSize();
- npcStringDialog->resetToDefaultSize();
storageWindow->resetToDefaultSize();
}
}