From a14d80f83aebe75241bf63b4f3ffca3a5d952577 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Mon, 6 Oct 2008 18:22:32 +0000 Subject: libui updates, support menu .ini files --- src/client/input.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/client') 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: -- cgit v1.2.3