diff src/events/SDL_mouse_c.h @ 1724:6c63fc2bd986 SDL-1.3

Proof of concept done - Win32 GDI implementation mostly complete.
author Sam Lantinga <slouken@libsdl.org>
date Thu, 06 Jul 2006 07:17:11 +0000
parents 5daa04d862f1
children
line wrap: on
line diff
--- a/src/events/SDL_mouse_c.h	Thu Jul 06 05:53:32 2006 +0000
+++ b/src/events/SDL_mouse_c.h	Thu Jul 06 07:17:11 2006 +0000
@@ -92,13 +92,17 @@
 /* Clear the button state of a mouse at an index */
 extern void SDL_ResetMouse(int index);
 
+/* Set the mouse focus window */
+extern void SDL_SetMouseFocus(int index, SDL_WindowID windowID);
+
 /* Send a mouse motion event for a mouse at an index */
-extern int SDL_SendMouseMotion(int index, SDL_WindowID windowID, int relative,
-                               int x, int y);
+extern int SDL_SendMouseMotion(int index, int relative, int x, int y);
 
 /* Send a mouse button event for a mouse at an index */
-extern int SDL_SendMouseButton(int index, SDL_WindowID windowID, Uint8 state,
-                               Uint8 button);
+extern int SDL_SendMouseButton(int index, Uint8 state, Uint8 button);
+
+/* Send a mouse wheel event for a mouse at an index */
+extern int SDL_SendMouseWheel(int index, int motion);
 
 /* Shutdown the mouse subsystem */
 extern void SDL_MouseQuit(void);