diff options
Diffstat (limited to 'src/gui/game/GameView.h')
| -rw-r--r-- | src/gui/game/GameView.h | 33 |
1 files changed, 17 insertions, 16 deletions
diff --git a/src/gui/game/GameView.h b/src/gui/game/GameView.h index f7f6361..f37c34b 100644 --- a/src/gui/game/GameView.h +++ b/src/gui/game/GameView.h @@ -81,15 +81,16 @@ private: float lastLogEntry; ui::Button * scrollBar; ui::Button * searchButton; - ui::Button * reloadButton; - ui::Button * saveSimulationButton; - ui::Button * downVoteButton; - ui::Button * upVoteButton; - ui::Button * tagSimulationButton; - ui::Button * clearSimButton; - ui::Button * loginButton; - ui::Button * simulationOptionButton; - ui::Button * displayModeButton; + ui::Button * reloadButton; + ui::Button * saveSimulationButton; + bool saveSimulationButtonEnabled; + ui::Button * downVoteButton; + ui::Button * upVoteButton; + ui::Button * tagSimulationButton; + ui::Button * clearSimButton; + ui::Button * loginButton; + ui::Button * simulationOptionButton; + ui::Button * displayModeButton; ui::Button * pauseButton; ui::Point currentMouse; @@ -125,18 +126,18 @@ private: void enableAltBehaviour(); void disableAltBehaviour(); public: - GameView(); - virtual ~GameView(); + GameView(); + virtual ~GameView(); - //Breaks MVC, but any other way is going to be more of a mess. - ui::Point GetMousePosition(); - void SetSample(SimulationSample sample); + //Breaks MVC, but any other way is going to be more of a mess. + ui::Point GetMousePosition(); + void SetSample(SimulationSample sample); void SetHudEnable(bool hudState); bool GetHudEnable(); void SetDebugHUD(bool mode); bool GetDebugHUD(); - bool CtrlBehaviour(){ return ctrlBehaviour; } - bool ShiftBehaviour(){ return shiftBehaviour; } + bool CtrlBehaviour(){ return ctrlBehaviour; } + bool ShiftBehaviour(){ return shiftBehaviour; } void ExitPrompt(); SelectMode GetSelectMode() { return selectMode; } void BeginStampSelection(); |
