comparison src/events/SDL_mouse_c.h @ 2152:003c1b5b07da

Fixed bug #382 Added horizontal scrolling support
author Sam Lantinga <slouken@libsdl.org>
date Fri, 06 Jul 2007 09:22:18 +0000
parents c121d94672cb
children 44e49d3fa6cf 64f346a83ed3
comparison
equal deleted inserted replaced
2151:1e0692271600 2152:003c1b5b07da
100 100
101 /* Send a mouse button event for a mouse at an index */ 101 /* Send a mouse button event for a mouse at an index */
102 extern int SDL_SendMouseButton(int index, Uint8 state, Uint8 button); 102 extern int SDL_SendMouseButton(int index, Uint8 state, Uint8 button);
103 103
104 /* Send a mouse wheel event for a mouse at an index */ 104 /* Send a mouse wheel event for a mouse at an index */
105 extern int SDL_SendMouseWheel(int index, int motion); 105 extern int SDL_SendMouseWheel(int index, int x, int y);
106 106
107 /* Shutdown the mouse subsystem */ 107 /* Shutdown the mouse subsystem */
108 extern void SDL_MouseQuit(void); 108 extern void SDL_MouseQuit(void);
109 109
110 #endif /* _SDL_mouse_c_h */ 110 #endif /* _SDL_mouse_c_h */