Mercurial > sdl-ios-xcode
diff src/events/SDL_mouse_c.h @ 3685:64ce267332c6
Switched from SDL_WindowID and SDL_TextureID to SDL_Window* and SDL_Texture* for code simplicity and improved performance.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 21 Jan 2010 06:21:52 +0000 |
parents | b93965a16fe0 |
children | f7b03b6838cb |
line wrap: on
line diff
--- a/src/events/SDL_mouse_c.h Thu Jan 21 05:49:41 2010 +0000 +++ b/src/events/SDL_mouse_c.h Thu Jan 21 06:21:52 2010 +0000 @@ -48,7 +48,7 @@ void (*FreeCursor) (SDL_Cursor * cursor); /* Warp the mouse to (x,y) */ - void (*WarpMouse) (SDL_Mouse * mouse, SDL_WindowID windowID, int x, + void (*WarpMouse) (SDL_Mouse * mouse, SDL_Window * window, int x, int y); /* Free the mouse when it's time */ @@ -65,7 +65,7 @@ /* Data common to all mice */ int id; - SDL_WindowID focus; + SDL_Window *focus; int which; int x; int y; @@ -106,7 +106,7 @@ extern void SDL_ResetMouse(int index); /* Set the mouse focus window */ -extern void SDL_SetMouseFocus(int id, SDL_WindowID windowID); +extern void SDL_SetMouseFocus(int id, SDL_Window * window); /* Send a mouse motion event for a mouse */ extern int SDL_SendMouseMotion(int id, int relative, int x, int y, int z);