Implemented cursor support and SDL_WarpMouseInWindow() on Mac OS X

This commit is contained in:
Sam Lantinga 2011-02-21 17:15:50 -08:00
parent ada3863500
commit 22779f35b2
4 changed files with 112 additions and 9 deletions

View file

@ -37,6 +37,10 @@ static SDL_Mouse SDL_mouse;
int
SDL_MouseInit(void)
{
SDL_Mouse *mouse = SDL_GetMouse();
mouse->cursor_shown = SDL_TRUE;
return (0);
}
@ -46,12 +50,6 @@ SDL_GetMouse(void)
return &SDL_mouse;
}
void
SDL_ResetMouse(void)
{
/* FIXME */
}
SDL_Window *
SDL_GetMouseFocus(void)
{