diff options
| author | jacob1 <jfu614@gmail.com> | 2013-07-16 20:55:39 (GMT) |
|---|---|---|
| committer | jacob1 <jfu614@gmail.com> | 2013-07-16 20:55:39 (GMT) |
| commit | 9628a11245acc1b2c8dd213a4dd30a3fb9930e01 (patch) | |
| tree | 7c2579d816ecc1033597e8c5de80f3f355180a47 /src/gui/game/GameView.h | |
| parent | d4ff77843426201c6df61f6ae8550bc91a7ac23c (diff) | |
| download | powder-9628a11245acc1b2c8dd213a4dd30a3fb9930e01.zip powder-9628a11245acc1b2c8dd213a4dd30a3fb9930e01.tar.gz | |
save to server button is disabled when not logged in, but tags are viewable (read only)
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(); |
