mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-16 06:39:17 +00:00
warp_mouse added.
svn-id: r6664
This commit is contained in:
parent
086a89f365
commit
d39952106c
@ -23,7 +23,8 @@ class OSystem_Dreamcast : public OSystem {
|
||||
|
||||
// Either show or hide the mouse cursor
|
||||
bool show_mouse(bool visible);
|
||||
|
||||
void warp_mouse(int x, int y);
|
||||
|
||||
// Set the position of the mouse cursor
|
||||
void set_mouse_pos(int x, int y);
|
||||
|
||||
|
@ -237,6 +237,12 @@ void OSystem_Dreamcast::set_mouse_pos(int x, int y)
|
||||
_ms_cur_y = y;
|
||||
}
|
||||
|
||||
void OSystem_Dreamcast::warp_mouse(int x, int y)
|
||||
{
|
||||
_ms_cur_x = x;
|
||||
_ms_cur_y = y;
|
||||
}
|
||||
|
||||
void OSystem_Dreamcast::set_mouse_cursor(const byte *buf, uint w, uint h,
|
||||
int hotspot_x, int hotspot_y)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user