Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-10-06 18:22:32 +0000
committerStijn Buys <ingar@osirion.org>2008-10-06 18:22:32 +0000
commita14d80f83aebe75241bf63b4f3ffca3a5d952577 (patch)
treefea36faedd17a0aa620f6d7e781a352327d6065d /src/client
parent343b0b4298e2d084d5544d3d40a8b7dcb586ce8e (diff)
libui updates, support menu .ini files
Diffstat (limited to 'src/client')
-rw-r--r--src/client/input.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/input.cc b/src/client/input.cc
index 5cbb17c..d6f83f9 100644
--- a/src/client/input.cc
+++ b/src/client/input.cc
@@ -21,6 +21,7 @@
#include "render/camera.h"
#include "render/draw.h"
#include "render/text.h"
+#include "ui/ui.h"
namespace client
{
@@ -706,6 +707,7 @@ void frame(float seconds)
mouse_x = event.motion.x;
mouse_y = event.motion.y;
mouse_lastmoved = client()->time();
+ ui::root()->set_mouse_cursor((float) mouse_x, (float) mouse_y);
break;
case SDL_MOUSEBUTTONDOWN: