diff options
author | Stijn Buys <ingar@osirion.org> | 2008-10-12 14:55:10 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-10-12 14:55:10 +0000 |
commit | b417df720584c101f3799874a0c836a543a8d0a8 (patch) | |
tree | fb7105ed662f13753a6ab8d3efb047bad04f2316 /src/client/view.h | |
parent | 18383a5fc596bf9546f14d7393ee66c57720b116 (diff) |
user interface updates, work-in-progress
Diffstat (limited to 'src/client/view.h')
-rw-r--r-- | src/client/view.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/client/view.h b/src/client/view.h index e5e42bc..dbbd7be 100644 --- a/src/client/view.h +++ b/src/client/view.h @@ -7,7 +7,9 @@ #define __INCLUDED_CLIENT_VIEW_H__ #include "core/zone.h" +#include "client/chat.h" #include "ui/widget.h" +#include "ui/bitmap.h" namespace client { @@ -68,14 +70,19 @@ class View : public ui::Widget public: View(ui::Widget *parent=0); + inline Chat *chat() { return view_chat; } + protected: virtual void draw(); + virtual void resize(); private: + Chat *view_chat; DevInfo *view_devinfo; Stats *view_stats; KeyPress *view_keypress; + ui::Bitmap *view_center; }; /// functions to draw the client view @@ -88,7 +95,7 @@ namespace view void shutdown(); /// draw the next frame - void frame(float seconds); + void frame(float elapsed); /// reset OpenGL state void reset(); |