aboutsummaryrefslogtreecommitdiff
path: root/common/system.h
diff options
context:
space:
mode:
authorJames Brown2003-01-09 13:52:59 +0000
committerJames Brown2003-01-09 13:52:59 +0000
commit8a4a521aaefdd2f0e8a96a8c49282e196040fb4c (patch)
tree39be7f8188edc8c82f75349dd6b389ad5277a335 /common/system.h
parent030c305943d733cdffd1ce0512c44de83befecab (diff)
downloadscummvm-rg350-8a4a521aaefdd2f0e8a96a8c49282e196040fb4c.tar.gz
scummvm-rg350-8a4a521aaefdd2f0e8a96a8c49282e196040fb4c.tar.bz2
scummvm-rg350-8a4a521aaefdd2f0e8a96a8c49282e196040fb4c.zip
All source and no headers make blah a blah blah blah.
svn-id: r6368
Diffstat (limited to 'common/system.h')
-rw-r--r--common/system.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/common/system.h b/common/system.h
index fd4b0b38a3..df8da3b59a 100644
--- a/common/system.h
+++ b/common/system.h
@@ -109,6 +109,11 @@ public:
// Set the position of the mouse cursor
virtual void set_mouse_pos(int x, int y) = 0;
+
+ // 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.
+ virtual void warp_mouse(int x, int y) = 0;
// Set the bitmap that's used when drawing the cursor.
virtual void set_mouse_cursor(const byte *buf, uint w, uint h, int hotspot_x, int hotspot_y) = 0;