summaryrefslogtreecommitdiff
path: root/src/gui/chat.h
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/chat.h
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/chat.h')
-rw-r--r--src/gui/chat.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/chat.h b/src/gui/chat.h
index 28408b93..8b710dc8 100644
--- a/src/gui/chat.h
+++ b/src/gui/chat.h
@@ -120,6 +120,12 @@ class ChatWindow : public Window, public gcn::ActionListener,
~ChatWindow();
/**
+ * Reset the chat window and recorder window attached to it to their
+ * default positions.
+ */
+ void resetToDefaultSize();
+
+ /**
* Adds a line of text to our message list. Parameters:
*
* @param line Text message.