comparison 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
comparison
equal deleted inserted replaced
1723:4bdbb9b2bd0a 1724:6c63fc2bd986
90 extern void SDL_DelMouse(int index); 90 extern void SDL_DelMouse(int index);
91 91
92 /* Clear the button state of a mouse at an index */ 92 /* Clear the button state of a mouse at an index */
93 extern void SDL_ResetMouse(int index); 93 extern void SDL_ResetMouse(int index);
94 94
95 /* Set the mouse focus window */
96 extern void SDL_SetMouseFocus(int index, SDL_WindowID windowID);
97
95 /* Send a mouse motion event for a mouse at an index */ 98 /* Send a mouse motion event for a mouse at an index */
96 extern int SDL_SendMouseMotion(int index, SDL_WindowID windowID, int relative, 99 extern int SDL_SendMouseMotion(int index, int relative, int x, int y);
97 int x, int y);
98 100
99 /* Send a mouse button event for a mouse at an index */ 101 /* Send a mouse button event for a mouse at an index */
100 extern int SDL_SendMouseButton(int index, SDL_WindowID windowID, Uint8 state, 102 extern int SDL_SendMouseButton(int index, Uint8 state, Uint8 button);
101 Uint8 button); 103
104 /* Send a mouse wheel event for a mouse at an index */
105 extern int SDL_SendMouseWheel(int index, int motion);
102 106
103 /* Shutdown the mouse subsystem */ 107 /* Shutdown the mouse subsystem */
104 extern void SDL_MouseQuit(void); 108 extern void SDL_MouseQuit(void);
105 109
106 #endif /* _SDL_mouse_c_h */ 110 #endif /* _SDL_mouse_c_h */