diff options
author | Ira Rice <irarice@gmail.com> | 2009-01-27 15:10:02 -0700 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2009-01-27 15:10:02 -0700 |
commit | 9ef72eaa168ca047f91f1dce2d98ef2c243b31c2 (patch) | |
tree | 635b05e7026efd75f1e1c56e0aa74efe09be8122 /src/gui/chat.cpp | |
parent | 955a7613d1fe116fe5e1da07a222b6849b3c885c (diff) | |
download | mana-9ef72eaa168ca047f91f1dce2d98ef2c243b31c2.tar.gz mana-9ef72eaa168ca047f91f1dce2d98ef2c243b31c2.tar.bz2 mana-9ef72eaa168ca047f91f1dce2d98ef2c243b31c2.tar.xz mana-9ef72eaa168ca047f91f1dce2d98ef2c243b31c2.zip |
Removed the fairly useless buttonbox class, as well as removing the
recorder's dependence upon it. This class should get a bit more work
done to it to simplify it further, but right now, it preserves all of
the same functionality.
Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/gui/chat.cpp')
-rw-r--r-- | src/gui/chat.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/chat.cpp b/src/gui/chat.cpp index 1a3cb2a4..068fad08 100644 --- a/src/gui/chat.cpp +++ b/src/gui/chat.cpp @@ -28,6 +28,7 @@ #include "chat.h" #include "chatinput.h" #include "itemlinkhandler.h" +#include "recorder.h" #include "scrollarea.h" #include "sdlinput.h" #include "windowcontainer.h" @@ -40,7 +41,6 @@ #include "../game.h" #include "../localplayer.h" #include "../party.h" -#include "../recorder.h" #include "../net/messageout.h" #include "../net/protocol.h" @@ -477,7 +477,7 @@ void ChatWindow::chatSend(const std::string &nick, std::string msg) else if (command == "whisper" || command == "msg" || command == "w") whisper(nick, msg); else if (command == "record") - mRecorder->respond(msg); + mRecorder->changeStatus(msg); else if (command == "toggle") { if (msg == "") @@ -850,7 +850,7 @@ void ChatWindow::help(const std::string & msg1, const std::string & msg2) } else if (msg1 == "record") { - mRecorder->help(msg2); + mRecorder->help2(); } else if (msg1 == "toggle") { |