Implemented cursor support and SDL_WarpMouseInWindow() on Mac OS X
This commit is contained in:
parent
ada3863500
commit
22779f35b2
4 changed files with 112 additions and 9 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue