diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-07-18 19:34:58 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-07-18 19:34:58 (GMT) |
| commit | dd0e6e7f4ddc5a1a9c25111275187b767d51bdb4 (patch) | |
| tree | 79213c37eab4ad4715a00d53029fd6d6c865bc73 /src/game/GameView.h | |
| parent | 26dbd547d3a3662c62e7b3ecadae5609f1726df4 (diff) | |
| download | powder-dd0e6e7f4ddc5a1a9c25111275187b767d51bdb4.zip powder-dd0e6e7f4ddc5a1a9c25111275187b767d51bdb4.tar.gz | |
Add descriptions to toolbuttons, add Tooltips to Button, ToolTip event for Windows
Diffstat (limited to 'src/game/GameView.h')
| -rw-r--r-- | src/game/GameView.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/game/GameView.h b/src/game/GameView.h index 59861bf..4a841c1 100644 --- a/src/game/GameView.h +++ b/src/game/GameView.h @@ -41,8 +41,9 @@ private: int infoTipPresence; std::string toolTip; + ui::Point toolTipPosition; std::string infoTip; - + queue<ui::Point*> pointQueue; GameController * c; Renderer * ren; @@ -119,6 +120,8 @@ public: void NotifyToolTipChanged(GameModel * sender); void NotifyInfoTipChanged(GameModel * sender); + virtual void ToolTip(ui::Component * sender, ui::Point mousePosition, std::string toolTip); + 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); |
