Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2010-09-27 20:03:50 +0000
committerStijn Buys <ingar@osirion.org>2010-09-27 20:03:50 +0000
commit178f0e4a83918df416ac8274b0e845b390772d76 (patch)
treeee3d4bf0a29cfcd32530e2c38353668a42ce509d /src/client/chat.h
parenta80e501a0a8006034a7dc0cda1fc047f6c37fbd9 (diff)
documentation updates, initial chat window playerlist, trade menu ESC key
Diffstat (limited to 'src/client/chat.h')
-rw-r--r--src/client/chat.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/client/chat.h b/src/client/chat.h
index 61f5bd1..0972400 100644
--- a/src/client/chat.h
+++ b/src/client/chat.h
@@ -13,6 +13,7 @@
#include "ui/inputbox.h"
#include "ui/scrollpane.h"
#include "ui/window.h"
+#include "ui/listview.h"
namespace client
{
@@ -37,22 +38,23 @@ public:
void clear();
protected:
- virtual void event_draw();
+ virtual void draw();
+
virtual void resize();
virtual bool on_keypress(const int key, const unsigned int modifier);
private:
+ void update_player_list();
bool chat_small;
ui::Text chat_log;
ui::ScrollPane *chat_scrollpane;
-
- ui::Text chat_players;
- ui::ScrollPane *chat_playerpane;
-
ui::InputBox *chat_input;
+ ui::ListView *chat_playerlist;
+
+ unsigned long chat_playerlist_timestamp;
typedef std::deque<std::string> History;