summaryrefslogtreecommitdiff
path: root/src/gui/setup.cpp
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2009-03-15 13:56:40 -0600
committerIra Rice <irarice@gmail.com>2009-03-15 13:56:40 -0600
commita9b1eccdd2c719f86475c6ce01d4b8eea7dede6c (patch)
tree75a8b557996feb095135a5cfbf74bdda69f77286 /src/gui/setup.cpp
parent3123c8ce5f882f0bfb99a2d2efa45d760237ebcc (diff)
downloadmana-a9b1eccdd2c719f86475c6ce01d4b8eea7dede6c.tar.gz
mana-a9b1eccdd2c719f86475c6ce01d4b8eea7dede6c.tar.bz2
mana-a9b1eccdd2c719f86475c6ce01d4b8eea7dede6c.tar.xz
mana-a9b1eccdd2c719f86475c6ce01d4b8eea7dede6c.zip
Overrode the reset window function in the chat window to also reset the
position of the recorder, as well as fixed resetting the help window, and exposing the buy/sell window to being resettable, as well as remembering its previous position. All windows should now be covered by the reset button on the setup pane. Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/gui/setup.cpp')
-rw-r--r--src/gui/setup.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/setup.cpp b/src/gui/setup.cpp
index dc232296..ca6b4010 100644
--- a/src/gui/setup.cpp
+++ b/src/gui/setup.cpp
@@ -38,6 +38,7 @@ extern Window *chatWindow;
extern Window *statusWindow;
extern Window *buyDialog;
extern Window *sellDialog;
+extern Window *buySellDialog;
extern Window *inventoryWindow;
extern Window *emoteWindow;
extern Window *npcTextDialog;
@@ -140,6 +141,7 @@ void Setup::action(const gcn::ActionEvent &event)
statusWindow->resetToDefaultSize();
buyDialog->resetToDefaultSize();
sellDialog->resetToDefaultSize();
+ buySellDialog->resetToDefaultSize();
inventoryWindow->resetToDefaultSize();
emoteWindow->resetToDefaultSize();
npcTextDialog->resetToDefaultSize();