diff options
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. |