diff options
author | Stijn Buys <ingar@osirion.org> | 2013-11-08 21:01:05 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2013-11-08 21:01:05 +0000 |
commit | dd2162af7727c0f30d77cc7ae33ccbb346611b20 (patch) | |
tree | 0cb7d2ab453c8f82864853780cdb9c56270a1fb2 /src/client/gamewindow.h | |
parent | c8336c0fb110f8b23707c755e7ebaabdde62c8ea (diff) |
Code cleanups, removed unnecessary functions,
added star coronas to the map.
Diffstat (limited to 'src/client/gamewindow.h')
-rw-r--r-- | src/client/gamewindow.h | 32 |
1 files changed, 8 insertions, 24 deletions
diff --git a/src/client/gamewindow.h b/src/client/gamewindow.h index 6808eac..a16012a 100644 --- a/src/client/gamewindow.h +++ b/src/client/gamewindow.h @@ -7,10 +7,14 @@ #ifndef __INCLUDED_CLIENT_GAMEWINDOW_H__ #define __INCLUDED_CLIENT_GAMEWINDOW_H__ - #include "ui/window.h" -#include "ui/label.h" -#include "ui/iconbutton.h" + +namespace ui +{ + +class IconButton; + +} namespace client { @@ -27,7 +31,7 @@ class TradeMenu; /** * @brief the game user interface base widget - * The GameWindow is drawn if core::localcontrol() is set. + * The GameWindow is showb if core::localcontrol() is set. * It contains the HUD, icons and all menus for game interaction. **/ class GameWindow : public ui::Window @@ -58,26 +62,6 @@ public: /// show entity menus void show_menu(const std::string & label); - inline HUD *hud() { - return gamewindow_hud; - } - - inline Chat *chat() { - return gamewindow_chat; - } - - inline MapWindow *map() { - return gamewindow_map; - } - - inline InventoryWindow *inventory() { - return gamewindow_inventory; - } - - inline ReputationWindow *reputation() { - return gamewindow_reputation; - } - inline EntityMenu *menu() { return gamewindow_entitymenu; } |