summaryrefslogtreecommitdiff
path: root/tool.h
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2011-05-17 15:48:23 +0200
committerJon Bergli Heier <snakebite@jvnv.net>2011-05-17 15:48:23 +0200
commit2872eb224e9f3ec6947542f2d7ac0ad288574cf1 (patch)
tree718c571b7930afce9e909920366d0a052ddbf698 /tool.h
parente7e6a79f8bf2855b5d1d432613151e48d2d685da (diff)
Added a console-like window which doesn't do anything interesting yet.
Diffstat (limited to 'tool.h')
-rw-r--r--tool.h7
1 files changed, 3 insertions, 4 deletions
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();