summaryrefslogtreecommitdiff
path: root/src/gui/game/GameView.h
diff options
context:
space:
mode:
authorjacob1 <jfu614@gmail.com>2013-05-15 03:50:26 (GMT)
committer jacob1 <jfu614@gmail.com>2013-05-15 03:50:26 (GMT)
commit94d21a1679749df49342903545192254a27f8ffc (patch)
tree81d4f9771b4821ad29b0dee0240febcb4e08280e /src/gui/game/GameView.h
parentab3675d6eea1ce6eeeac713ed44f5cb591ff820f (diff)
downloadpowder-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.h3
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();