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/view.h')
-rw-r--r--src/client/view.h9
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();