Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/chat.h')
-rw-r--r--src/client/chat.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/client/chat.h b/src/client/chat.h
index c7232a9..1ea1765 100644
--- a/src/client/chat.h
+++ b/src/client/chat.h
@@ -11,7 +11,7 @@
#include <deque>
#include "ui/inputbox.h"
-#include "ui/label.h"
+#include "ui/scrollpane.h"
#include "ui/window.h"
namespace client {
@@ -25,6 +25,8 @@ public:
virtual void show();
void toggle();
+ void event_text(const std::string & text);
+
protected:
virtual void event_draw();
virtual void resize();
@@ -33,7 +35,8 @@ protected:
private:
- ui::Label *chat_label;
+ ui::Text chat_log;
+ ui::ScrollPane *chat_scrollpane;
ui::InputBox *chat_input;
typedef std::deque<std::string> History;