aboutsummaryrefslogtreecommitdiff
path: root/backends/sdl
diff options
context:
space:
mode:
Diffstat (limited to 'backends/sdl')
-rw-r--r--backends/sdl/sdl-common.h6
1 files changed, 3 insertions, 3 deletions
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;