diff options
Diffstat (limited to 'src/gui/minimap.h')
-rw-r--r-- | src/gui/minimap.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/minimap.h b/src/gui/minimap.h index 7a6f865f8..ee5a63f6a 100644 --- a/src/gui/minimap.h +++ b/src/gui/minimap.h @@ -27,6 +27,7 @@ class Image; class Map; +class TextPopup; /** * Minimap window. Shows a minimap image and the name of the current map. @@ -58,8 +59,12 @@ class Minimap : public Window */ void draw(gcn::Graphics *graphics); + void mouseMoved(gcn::MouseEvent &event); + void mouseReleased(gcn::MouseEvent &event); + void mouseExited(gcn::MouseEvent &event); + void screenToMap(int &x, int &y); private: @@ -70,6 +75,7 @@ class Minimap : public Window bool mCustomMapImage; int mMapOriginX; int mMapOriginY; + TextPopup *mTextPopup; }; extern Minimap *minimap; |