diff options
| author | jacob1 <jfu614@gmail.com> | 2013-05-15 03:50:26 (GMT) |
|---|---|---|
| committer | jacob1 <jfu614@gmail.com> | 2013-05-15 03:50:26 (GMT) |
| commit | 94d21a1679749df49342903545192254a27f8ffc (patch) | |
| tree | 81d4f9771b4821ad29b0dee0240febcb4e08280e /src/gui/game/GameView.h | |
| parent | ab3675d6eea1ce6eeeac713ed44f5cb591ff820f (diff) | |
| download | powder-94d21a1679749df49342903545192254a27f8ffc.zip powder-94d21a1679749df49342903545192254a27f8ffc.tar.gz | |
when called with no arguments, some tpt. functions will act as get functions (unfinished)
Also, redo some menu stuff to use int's instead of Menu *s, and fix bug with toggleable buttons being toggled without triggering their actions
Diffstat (limited to 'src/gui/game/GameView.h')
| -rw-r--r-- | src/gui/game/GameView.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/game/GameView.h b/src/gui/game/GameView.h index 8d5c57b..328b67c 100644 --- a/src/gui/game/GameView.h +++ b/src/gui/game/GameView.h @@ -54,7 +54,7 @@ private: std::string introTextMessage; int toolIndex; int currentSaveType; - Menu * lastMenu; + int lastMenu; int toolTipPresence; std::string toolTip; @@ -130,6 +130,7 @@ public: ui::Point GetMousePosition(); void SetSample(SimulationSample sample); void SetHudEnable(bool hudState); + bool GetHudEnable(); bool CtrlBehaviour(){ return ctrlBehaviour; } bool ShiftBehaviour(){ return shiftBehaviour; } void ExitPrompt(); |
