warp_mouse added.

svn-id: r6664
This commit is contained in:
Marcus Comstedt 2003-03-02 17:41:47 +00:00
parent 086a89f365
commit d39952106c
2 changed files with 8 additions and 1 deletions

View File

@ -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);

View File

@ -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)
{