summaryrefslogtreecommitdiff
path: root/src/cat/CommandInterface.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cat/CommandInterface.h')
-rw-r--r--src/cat/CommandInterface.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cat/CommandInterface.h b/src/cat/CommandInterface.h
index e6119d3..5b9c31f 100644
--- a/src/cat/CommandInterface.h
+++ b/src/cat/CommandInterface.h
@@ -14,6 +14,7 @@
class GameModel;
class GameController;
+class Tool;
class CommandInterface {
protected:
std::string lastError;
@@ -28,6 +29,7 @@ public:
void Log(LogType type, std::string message);
//void AttachGameModel(GameModel * m);
virtual bool OnBrushChanged(int brushType, int rx, int ry) {return true;}
+ virtual bool OnActiveToolChanged(int toolSelection, Tool * tool) {return true;}
virtual bool OnMouseMove(int x, int y, int dx, int dy) {return true;}
virtual bool OnMouseDown(int x, int y, unsigned button) {return true;}
virtual bool OnMouseUp(int x, int y, unsigned button) {return true;}