From 9652995287be63ecc34de9bf2174b3f22435861d Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 31 Jul 2011 18:21:00 +0000 Subject: Expose global mouse pointer location, set default mouse pointer at the start of the main widget draw loop, hide cursor above console. --- src/ui/ui.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/ui/ui.h') diff --git a/src/ui/ui.h b/src/ui/ui.h index 855d6ee..b3bb43b 100644 --- a/src/ui/ui.h +++ b/src/ui/ui.h @@ -92,6 +92,11 @@ public: return ui_font_large; } + inline const math::Vector2f & global_mouse_coords() + { + return mouse_cursor; + } + /* -- mouse pointer ---------------------------------------- */ /// set mouse pointer bitmap -- cgit v1.2.3