summaryrefslogtreecommitdiff
path: root/src/gui/minimap.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-02-29 04:27:38 +0300
committerAndrei Karas <akaras@inbox.ru>2012-02-29 04:27:38 +0300
commit8e6dd0db3a9e1bfb15068098029c25c334ca8f67 (patch)
tree0f31545099368d6edd5917bb0b72a997893cb833 /src/gui/minimap.h
parentea92940149eb3f4e2590cfbd07f240000acbd460 (diff)
downloadplus-8e6dd0db3a9e1bfb15068098029c25c334ca8f67.tar.gz
plus-8e6dd0db3a9e1bfb15068098029c25c334ca8f67.tar.bz2
plus-8e6dd0db3a9e1bfb15068098029c25c334ca8f67.tar.xz
plus-8e6dd0db3a9e1bfb15068098029c25c334ca8f67.zip
Allow use context menu in minimap.
Diffstat (limited to 'src/gui/minimap.h')
-rw-r--r--src/gui/minimap.h2
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;