summaryrefslogtreecommitdiff
path: root/src/game/GameView.h
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-07-18 17:33:44 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-07-18 17:33:44 (GMT)
commit26dbd547d3a3662c62e7b3ecadae5609f1726df4 (patch)
tree8932ab52b1562ab90a9541962a85c93cea369683 /src/game/GameView.h
parent80044bb0f06b4186bcc2f07e1c5ddc4e195f2426 (diff)
downloadpowder-26dbd547d3a3662c62e7b3ecadae5609f1726df4.zip
powder-26dbd547d3a3662c62e7b3ecadae5609f1726df4.tar.gz
Info tip for changing display modes
Diffstat (limited to 'src/game/GameView.h')
-rw-r--r--src/game/GameView.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/game/GameView.h b/src/game/GameView.h
index 324f716..59861bf 100644
--- a/src/game/GameView.h
+++ b/src/game/GameView.h
@@ -38,6 +38,11 @@ private:
bool zoomCursorFixed;
bool drawSnap;
int toolIndex;
+
+ int infoTipPresence;
+ std::string toolTip;
+ std::string infoTip;
+
queue<ui::Point*> pointQueue;
GameController * c;
Renderer * ren;
@@ -111,6 +116,9 @@ public:
void NotifyPlaceSaveChanged(GameModel * sender);
void NotifyNotificationsChanged(GameModel * sender);
void NotifyLogChanged(GameModel * sender, string entry);
+ void NotifyToolTipChanged(GameModel * sender);
+ void NotifyInfoTipChanged(GameModel * sender);
+
virtual void OnMouseMove(int x, int y, int dx, int dy);
virtual void OnMouseDown(int x, int y, unsigned button);
virtual void OnMouseUp(int x, int y, unsigned button);