diff options
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); |
