summaryrefslogtreecommitdiff
path: root/src/gui/gui.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-03-13 14:27:44 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-03-13 14:27:44 +0000
commit809b072f55b2d419feec8a583f53962f220d4390 (patch)
tree5a4c4950a85b86c34839093a713a2c86044645c0 /src/gui/gui.h
parentcd2c4f5861c89f0925a1a706e38535d6c11cc3a0 (diff)
downloadmana-809b072f55b2d419feec8a583f53962f220d4390.tar.gz
mana-809b072f55b2d419feec8a583f53962f220d4390.tar.bz2
mana-809b072f55b2d419feec8a583f53962f220d4390.tar.xz
mana-809b072f55b2d419feec8a583f53962f220d4390.zip
Fixed problem with mouse walking through GUI.
Diffstat (limited to 'src/gui/gui.h')
-rw-r--r--src/gui/gui.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gui/gui.h b/src/gui/gui.h
index 1c50a2f6..3bcffc5d 100644
--- a/src/gui/gui.h
+++ b/src/gui/gui.h
@@ -38,7 +38,7 @@
*
* \ingroup GUI
*/
-class Gui
+class Gui : public gcn::MouseListener
{
public:
/**
@@ -72,6 +72,11 @@ class Gui
*/
void draw();
+ /**
+ * Handles mouse press on map.
+ */
+ void mousePress(int mx, int my, int button);
+
private:
gcn::Gui *gui; /**< The GUI system */
#ifdef USE_OPENGL