diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-09-23 03:33:47 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-09-23 03:33:47 +0300 |
commit | 48f2996ccc789d740edc4b425a3e00f378a9095a (patch) | |
tree | 8117023506896ffbe204eeb61b8cdafaa0463f8e /src/gui/gui.h | |
parent | 8040656ae1d1dea330754d4595b2737b7eb7959a (diff) | |
download | manaplus-48f2996ccc789d740edc4b425a3e00f378a9095a.tar.gz manaplus-48f2996ccc789d740edc4b425a3e00f378a9095a.tar.bz2 manaplus-48f2996ccc789d740edc4b425a3e00f378a9095a.tar.xz manaplus-48f2996ccc789d740edc4b425a3e00f378a9095a.zip |
Restore mouse cursor if window set visible and have mouse over.
Diffstat (limited to 'src/gui/gui.h')
-rw-r--r-- | src/gui/gui.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/gui.h b/src/gui/gui.h index ee1cb9092..4766a4bf4 100644 --- a/src/gui/gui.h +++ b/src/gui/gui.h @@ -28,8 +28,10 @@ class Graphics; class GuiConfigListener; class ImageSet; +class MouseEvent; class SDLFont; class SDLInput; +class Window; /** * \defgroup GUI Core GUI related classes (widgets) @@ -129,6 +131,10 @@ class Gui final : public gcn::Gui void resetClickCount(); + MouseEvent *createMouseEvent(Window *widget); + + void getAbsolutePosition(gcn::Widget *widget, int &x, int &y); + /** * Cursors are in graphic order from left to right. * CURSOR_POINTER should be left untouched. |