diff options
Diffstat (limited to 'src/game/GameView.h')
| -rw-r--r-- | src/game/GameView.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/game/GameView.h b/src/game/GameView.h index 2bf8e9e..9010e4a 100644 --- a/src/game/GameView.h +++ b/src/game/GameView.h @@ -37,7 +37,8 @@ private: bool zoomEnabled; bool zoomCursorFixed; bool drawSnap; - bool alternativeSaveSource; + bool shiftBehaviour; + bool ctrlBehaviour; int toolIndex; int infoTipPresence; @@ -96,15 +97,18 @@ private: virtual ui::Point lineSnapCoords(ui::Point point1, ui::Point point2); virtual ui::Point rectSnapCoords(ui::Point point1, ui::Point point2); - void enableHDDSave(); - void disableHDDSave(); + void enableShiftBehaviour(); + void disableShiftBehaviour(); + void enableCtrlBehaviour(); + void disableCtrlBehaviour(); public: GameView(); //Breaks MVC, but any other way is going to be more of a mess. ui::Point GetMousePosition(); void SetSample(SimulationSample sample); - bool GetAlternativeSourceEnabled(){ return alternativeSaveSource; } + bool CtrlBehaviour(){ return ctrlBehaviour; } + bool ShiftBehaviour(){ return shiftBehaviour; } void AttachController(GameController * _c){ c = _c; } void NotifyRendererChanged(GameModel * sender); |
