diff options
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 |
