diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-07-27 19:06:17 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-07-27 19:06:17 (GMT) |
| commit | 5befe5c25f8f188e7588de44ab2c8bead22ae999 (patch) | |
| tree | 643b02af217770c1a3156be03e01442557795760 /src/game/GameView.h | |
| parent | f8ca8af387b8611c18ca7c5357efd19c8bc28941 (diff) | |
| download | powder-5befe5c25f8f188e7588de44ab2c8bead22ae999.zip powder-5befe5c25f8f188e7588de44ab2c8bead22ae999.tar.gz | |
Local file browser + some more interesting things like Progress bar UI component
Diffstat (limited to 'src/game/GameView.h')
| -rw-r--r-- | src/game/GameView.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game/GameView.h b/src/game/GameView.h index ad9e095..2bf8e9e 100644 --- a/src/game/GameView.h +++ b/src/game/GameView.h @@ -37,6 +37,7 @@ private: bool zoomEnabled; bool zoomCursorFixed; bool drawSnap; + bool alternativeSaveSource; int toolIndex; int infoTipPresence; @@ -94,12 +95,16 @@ private: void changeColour(); virtual ui::Point lineSnapCoords(ui::Point point1, ui::Point point2); virtual ui::Point rectSnapCoords(ui::Point point1, ui::Point point2); + + void enableHDDSave(); + void disableHDDSave(); 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; } void AttachController(GameController * _c){ c = _c; } void NotifyRendererChanged(GameModel * sender); |
