summaryrefslogtreecommitdiff
path: root/src/game/GameController.h
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-01-28 14:51:39 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-01-28 14:51:39 (GMT)
commitb5728a9e3e983460a957fa0e576b751ebfe87172 (patch)
treecb20500bc94da3fd00782981a45c9b05c6af36eb /src/game/GameController.h
parent58ba7f8800403c572bae99115facc808c6dc34a3 (diff)
downloadpowder-b5728a9e3e983460a957fa0e576b751ebfe87172.zip
powder-b5728a9e3e983460a957fa0e576b751ebfe87172.tar.gz
Zoom
Diffstat (limited to 'src/game/GameController.h')
-rw-r--r--src/game/GameController.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game/GameController.h b/src/game/GameController.h
index 2ec4523..7498e47 100644
--- a/src/game/GameController.h
+++ b/src/game/GameController.h
@@ -31,7 +31,10 @@ public:
GameController();
~GameController();
GameView * GetView();
+ void SetZoomEnabled(bool zoomEnable);
+ void SetZoomPosition(ui::Point position);
void AdjustBrushSize(int direction);
+ void AdjustZoomSize(int direction);
void DrawPoints(queue<ui::Point*> & pointQueue);
void Update();
void SetPaused(bool pauseState);
@@ -48,6 +51,7 @@ public:
void ReloadSim();
void Vote(int direction);
void ChangeBrush();
+ ui::Point PointTranslate(ui::Point point);
};
#endif // GAMECONTROLLER_H