diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-03-13 14:27:44 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-03-13 14:27:44 +0000 |
commit | 809b072f55b2d419feec8a583f53962f220d4390 (patch) | |
tree | 5a4c4950a85b86c34839093a713a2c86044645c0 /src/gui/gui.h | |
parent | cd2c4f5861c89f0925a1a706e38535d6c11cc3a0 (diff) | |
download | mana-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.h | 7 |
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 |