From 2872eb224e9f3ec6947542f2d7ac0ad288574cf1 Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Tue, 17 May 2011 15:48:23 +0200 Subject: Added a console-like window which doesn't do anything interesting yet. --- tool.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'tool.h') diff --git a/tool.h b/tool.h index 5ccda41..e08ecef 100644 --- a/tool.h +++ b/tool.h @@ -17,14 +17,13 @@ class Tool { virtual ~Tool() {}; virtual bool handle_event(SDL_Event& event, Vector3& selected) = 0; - virtual void render_gui(); + virtual void gui_show(); + virtual void gui_hide(); + virtual void gui_update(); virtual const char* get_name() = 0; }; class RaiseTool : public Tool { - protected: - static std::string name; - public: RaiseTool(Terrain *terrain); virtual ~RaiseTool(); -- cgit v1.2.3