From 5acb9213cc2ee949a252a5c08a9a9a13542b94d5 Mon Sep 17 00:00:00 2001 From: Björn Steinbrink Date: Thu, 20 Oct 2005 09:01:12 +0000 Subject: Various cleanups and refactorisations. --- src/gui/menuwindow.h | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) (limited to 'src/gui/menuwindow.h') diff --git a/src/gui/menuwindow.h b/src/gui/menuwindow.h index 0585748d..945bca94 100644 --- a/src/gui/menuwindow.h +++ b/src/gui/menuwindow.h @@ -24,10 +24,6 @@ #ifndef _TMW_MENU_H #define _TMW_MENU_H -#include - -#include - #include "window.h" #include "../guichanfwd.h" @@ -37,33 +33,19 @@ * * \ingroup Interface */ -class MenuWindow : public Window, public gcn::ActionListener { +class MenuWindow : public Window +{ public: /** * Constructor. */ MenuWindow(); - /** - * Called when receiving actions from widget. - */ - void action(const std::string& eventId); - /** * Draw this window */ void draw(gcn::Graphics *graphics); - - private: - - /** - * System Buttons - */ - gcn::Button *statusButton, *equipmentButton; - gcn::Button *skillsButton, *inventoryButton, *setupButton; }; -extern MenuWindow *menuWindow; - #endif -- cgit v1.2.3-70-g09d2