diff options
author | Stijn Buys <ingar@osirion.org> | 2011-07-31 18:21:00 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2011-07-31 18:21:00 +0000 |
commit | 9652995287be63ecc34de9bf2174b3f22435861d (patch) | |
tree | e3aaba14024a789fc2b74b54352a9c2511548e4a /src/ui/ui.h | |
parent | 67ebc66aa1be7188f99e215e1353c27cf203308f (diff) |
Expose global mouse pointer location,
set default mouse pointer at the start of the main widget draw loop,
hide cursor above console.
Diffstat (limited to 'src/ui/ui.h')
-rw-r--r-- | src/ui/ui.h | 5 |
1 files changed, 5 insertions, 0 deletions
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 |