diff options
| author | Simon 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) |
| commit | b5728a9e3e983460a957fa0e576b751ebfe87172 (patch) | |
| tree | cb20500bc94da3fd00782981a45c9b05c6af36eb /src/game/GameController.h | |
| parent | 58ba7f8800403c572bae99115facc808c6dc34a3 (diff) | |
| download | powder-b5728a9e3e983460a957fa0e576b751ebfe87172.zip powder-b5728a9e3e983460a957fa0e576b751ebfe87172.tar.gz | |
Zoom
Diffstat (limited to 'src/game/GameController.h')
| -rw-r--r-- | src/game/GameController.h | 4 |
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 |
