comparison include/SDL_events.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 55c7932d1fdb
children c97ad1abe05b
comparison
equal deleted inserted replaced
2151:1e0692271600 2152:003c1b5b07da
197 */ 197 */
198 typedef struct SDL_MouseWheelEvent 198 typedef struct SDL_MouseWheelEvent
199 { 199 {
200 Uint8 type; /**< SDL_MOUSEWHEEL */ 200 Uint8 type; /**< SDL_MOUSEWHEEL */
201 Uint8 which; /**< The mouse device index */ 201 Uint8 which; /**< The mouse device index */
202 int motion; /**< The direction and distance scrolled */ 202 int x; /**< The amount scrolled horizontally */
203 int y; /**< The amount scrolled vertically */
203 SDL_WindowID windowID; /**< The window with mouse focus, if any */ 204 SDL_WindowID windowID; /**< The window with mouse focus, if any */
204 } SDL_MouseWheelEvent; 205 } SDL_MouseWheelEvent;
205 206
206 /** 207 /**
207 * \struct SDL_JoyAxisEvent 208 * \struct SDL_JoyAxisEvent