From dd2162af7727c0f30d77cc7ae33ccbb346611b20 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Fri, 8 Nov 2013 21:01:05 +0000 Subject: Code cleanups, removed unnecessary functions, added star coronas to the map. --- src/client/gamewindow.h | 32 ++++++++------------------------ 1 file changed, 8 insertions(+), 24 deletions(-) (limited to 'src/client/gamewindow.h') 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; } -- cgit v1.2.3