diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-02-29 04:27:38 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-02-29 04:27:38 +0300 |
commit | 8e6dd0db3a9e1bfb15068098029c25c334ca8f67 (patch) | |
tree | 0f31545099368d6edd5917bb0b72a997893cb833 /src/gui/minimap.h | |
parent | ea92940149eb3f4e2590cfbd07f240000acbd460 (diff) | |
download | manaverse-8e6dd0db3a9e1bfb15068098029c25c334ca8f67.tar.gz manaverse-8e6dd0db3a9e1bfb15068098029c25c334ca8f67.tar.bz2 manaverse-8e6dd0db3a9e1bfb15068098029c25c334ca8f67.tar.xz manaverse-8e6dd0db3a9e1bfb15068098029c25c334ca8f67.zip |
Allow use context menu in minimap.
Diffstat (limited to 'src/gui/minimap.h')
-rw-r--r-- | src/gui/minimap.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/minimap.h b/src/gui/minimap.h index 8b7da5849..12835edd5 100644 --- a/src/gui/minimap.h +++ b/src/gui/minimap.h @@ -60,6 +60,8 @@ class Minimap : public Window void mouseReleased(gcn::MouseEvent &event); + void screenToMap(int &x, int &y); + private: Image *mMapImage; float mWidthProportion; |