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/GameModel.h | |
| parent | 58ba7f8800403c572bae99115facc808c6dc34a3 (diff) | |
| download | powder-b5728a9e3e983460a957fa0e576b751ebfe87172.zip powder-b5728a9e3e983460a957fa0e576b751ebfe87172.tar.gz | |
Zoom
Diffstat (limited to 'src/game/GameModel.h')
| -rw-r--r-- | src/game/GameModel.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/game/GameModel.h b/src/game/GameModel.h index 72e2875..3c26bf3 100644 --- a/src/game/GameModel.h +++ b/src/game/GameModel.h @@ -32,6 +32,7 @@ private: Renderer * ren; Tool * activeTool; User currentUser; + //bool zoomEnabled; void notifyRendererChanged(); void notifySimulationChanged(); void notifyPausedChanged(); @@ -41,6 +42,7 @@ private: void notifyToolListChanged(); void notifyActiveToolChanged(); void notifyUserChanged(); + void notifyZoomChanged(); public: GameModel(); ~GameModel(); @@ -64,6 +66,16 @@ public: int GetBrushID(); Simulation * GetSimulation(); Renderer * GetRenderer(); + void SetZoomEnabled(bool enabled); + bool GetZoomEnabled(); + void SetZoomSize(int size); + int GetZoomSize(); + void SetZoomFactor(int factor); + int GetZoomFactor(); + void SetZoomPosition(ui::Point position); + ui::Point GetZoomPosition(); + void SetZoomWindowPosition(ui::Point position); + ui::Point GetZoomWindowPosition(); }; #endif // GAMEMODEL_H |
