summaryrefslogtreecommitdiff
path: root/src/game/GameController.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/GameController.h')
-rw-r--r--src/game/GameController.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/game/GameController.h b/src/game/GameController.h
index cefca8e..3b5ff88 100644
--- a/src/game/GameController.h
+++ b/src/game/GameController.h
@@ -47,6 +47,14 @@ public:
GameController();
~GameController();
GameView * GetView();
+
+ bool MouseMove(int x, int y, int dx, int dy);
+ bool MouseDown(int x, int y, unsigned button);
+ bool MouseUp(int x, int y, unsigned button);
+ bool MouseWheel(int x, int y, int d);
+ bool KeyPress(int key, Uint16 character, bool shift, bool ctrl, bool alt);
+ bool KeyRelease(int key, Uint16 character, bool shift, bool ctrl, bool alt);
+
void SetZoomEnabled(bool zoomEnable);
void SetZoomPosition(ui::Point position);
void AdjustBrushSize(int direction);