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.h17
1 files changed, 11 insertions, 6 deletions
diff --git a/src/client/view.h b/src/client/view.h
index 960e633..c9c9156 100644
--- a/src/client/view.h
+++ b/src/client/view.h
@@ -1,4 +1,5 @@
-/* client/view.h
+/*
+ client/view.h
This file is part of the Osirion project and is distributed under
the terms and conditions of the GNU General Public License version 2
*/
@@ -8,6 +9,7 @@
#include "core/zone.h"
#include "client/chat.h"
+#include "client/notifications.h"
#include "ui/widget.h"
#include "ui/bitmap.h"
@@ -21,23 +23,23 @@ const size_t net_counter_size = 128; // net is the average of 128 frames
class DevInfo : public ui::Widget
{
public:
- // default constructor
+ /// default constructor
DevInfo(ui::Widget *parent = 0);
protected:
- // draw developer info
+ /// draw developer info
void draw();
};
-// a widget that shows engine statistics
+/// a widget that shows engine statistics
class Stats : public ui::Widget
{
public:
- // default constructor
+ /// default constructor
Stats(ui::Widget *parent=0);
protected:
- // draw engine statistics
+ /// draw engine statistics
virtual void draw();
private:
@@ -72,6 +74,8 @@ public:
inline Chat *chat() { return view_chat; }
+ inline Notifications *notify() { return view_notify; }
+
protected:
virtual void draw();
@@ -82,6 +86,7 @@ private:
DevInfo *view_devinfo;
Stats *view_stats;
KeyPress *view_keypress;
+ Notifications *view_notify;
ui::Bitmap *view_center;
};