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/playerview.h')
-rw-r--r--src/client/playerview.h27
1 files changed, 19 insertions, 8 deletions
diff --git a/src/client/playerview.h b/src/client/playerview.h
index d72b78b..300e9e5 100644
--- a/src/client/playerview.h
+++ b/src/client/playerview.h
@@ -1,7 +1,7 @@
/*
client/playerview.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
+ This file is part of the Osirion project and is distributed under
+ the terms and conditions of the GNU General Public License version 2
*/
#ifndef __INCLUDED_CLIENT_PLAYERVIEW_H__
@@ -17,7 +17,8 @@
#include "ui/widget.h"
#include "ui/label.h"
-namespace client {
+namespace client
+{
/// the player's view when joined
class PlayerView : public ui::Widget
@@ -42,11 +43,21 @@ public:
/// show entity menus
void show_menu(const std::string & label);
- inline HUD *hud() { return view_hud; }
- inline Map *map() { return view_map; }
- inline Chat *chat() { return view_chat; }
- inline Notifications *notify() { return view_notify; }
- inline EntityMenu *menu() { return view_entitymenu; }
+ inline HUD *hud() {
+ return view_hud;
+ }
+ inline Map *map() {
+ return view_map;
+ }
+ inline Chat *chat() {
+ return view_chat;
+ }
+ inline Notifications *notify() {
+ return view_notify;
+ }
+ inline EntityMenu *menu() {
+ return view_entitymenu;
+ }
protected:
virtual void draw();