summaryrefslogtreecommitdiff
path: root/src/gui/chat.h
diff options
context:
space:
mode:
authorJosé Ávila <linux@javila.net>2005-06-17 07:20:03 +0000
committerJosé Ávila <linux@javila.net>2005-06-17 07:20:03 +0000
commitc702285ab5c288fc65dacdf81b583890d3b99c63 (patch)
tree589cffa9c16d15f18df4c988bbe300806e6f6425 /src/gui/chat.h
parent50b0f0e7ea4508e1ee30f0a0ea8741af6d3212d4 (diff)
downloadmana-c702285ab5c288fc65dacdf81b583890d3b99c63.tar.gz
mana-c702285ab5c288fc65dacdf81b583890d3b99c63.tar.bz2
mana-c702285ab5c288fc65dacdf81b583890d3b99c63.tar.xz
mana-c702285ab5c288fc65dacdf81b583890d3b99c63.zip
new BrowserBox widget with colors/links support
Diffstat (limited to 'src/gui/chat.h')
-rw-r--r--src/gui/chat.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/gui/chat.h b/src/gui/chat.h
index 28955ecf..dfb0ba85 100644
--- a/src/gui/chat.h
+++ b/src/gui/chat.h
@@ -30,6 +30,7 @@
#include "../net/network.h"
#include "window.h"
#include "scrollarea.h"
+#include "browserbox.h"
#include <SDL.h>
#include <list>
#include <string>
@@ -116,6 +117,11 @@ class ChatWindow : public Window, public gcn::ActionListener,
*/
~ChatWindow();
+ /**
+ * Logic (updates components' size)
+ */
+ void logic();
+
/*
* Adds a line of text to our message list. Parameters:
*
@@ -197,7 +203,7 @@ class ChatWindow : public Window, public gcn::ActionListener,
std::string const_msg(CHATSKILL);
gcn::TextField *chatInput; /**< Input box for typing chat messages */
- gcn::TextBox *textOutput; /**< Text box for displaying chat history */
+ BrowserBox *textOutput; /**< Text box for displaying chat history */
ScrollArea *scrollArea; /**< Scroll area around text output */
std::list<std::string> history; /**< Command history */