From 75d4f45a8dc435c44d9c3a218ddc2511f93f4b61 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Thu, 11 Sep 2003 23:53:38 +0000 Subject: moved set_mouse_pos around just to make clear it's not part of the OSystem API anymore svn-id: r10187 --- backends/sdl/sdl-common.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'backends/sdl') diff --git a/backends/sdl/sdl-common.h b/backends/sdl/sdl-common.h index 90586225d3..439e52124b 100644 --- a/backends/sdl/sdl-common.h +++ b/backends/sdl/sdl-common.h @@ -51,9 +51,6 @@ public: // Either show or hide the mouse cursor bool show_mouse(bool visible); - // Set the position of the mouse cursor - void set_mouse_pos(int x, int y); - // Warp the mouse cursor. Where set_mouse_pos() only informs the // backend of the mouse cursor's current position, this function // actually moves the cursor to the specified position. @@ -222,6 +219,9 @@ protected: virtual void draw_mouse(); virtual void undraw_mouse(); + /** Set the position of the virtual mouse cursor. */ + void set_mouse_pos(int x, int y); + virtual void load_gfx_mode() = 0; virtual void unload_gfx_mode() = 0; -- cgit v1.2.3