summaryrefslogtreecommitdiff
path: root/src/gui/chat.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/chat.h')
-rw-r--r--src/gui/chat.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gui/chat.h b/src/gui/chat.h
index 4aabe4c2..b41e6947 100644
--- a/src/gui/chat.h
+++ b/src/gui/chat.h
@@ -28,6 +28,8 @@
#include "../resources/image.h"
#include "../net/network.h"
#include "window.h"
+#include "textbox.h"
+#include "scrollarea.h"
#include <SDL.h>
#include <list>
#include <string>
@@ -109,6 +111,9 @@ class ChatWindow : public Window, public gcn::ActionListener {
*/
~ChatWindow();
+
+ void addOutput(std::string output);
+
/*
* Adds a line of text to our message list. Parameters:
*
@@ -198,6 +203,8 @@ class ChatWindow : public Window, public gcn::ActionListener {
/** Input box for chat messages */
gcn::TextField *chatInput;
+ TextBox *textOutput;
+ ScrollArea *scrollArea;
};
#endif