diff options
author | Max Horn | 2003-09-11 23:53:38 +0000 |
---|---|---|
committer | Max Horn | 2003-09-11 23:53:38 +0000 |
commit | 75d4f45a8dc435c44d9c3a218ddc2511f93f4b61 (patch) | |
tree | 18889b6cb9f9718de304165281ac1a27fa26a7c5 /backends/sdl/sdl-common.h | |
parent | 76d8ebf52fa450d57beb6f44aaaa0f7b23ef01d1 (diff) | |
download | scummvm-rg350-75d4f45a8dc435c44d9c3a218ddc2511f93f4b61.tar.gz scummvm-rg350-75d4f45a8dc435c44d9c3a218ddc2511f93f4b61.tar.bz2 scummvm-rg350-75d4f45a8dc435c44d9c3a218ddc2511f93f4b61.zip |
moved set_mouse_pos around just to make clear it's not part of the OSystem API anymore
svn-id: r10187
Diffstat (limited to 'backends/sdl/sdl-common.h')
-rw-r--r-- | backends/sdl/sdl-common.h | 6 |
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; |