comparison include/SDL_mouse.h @ 3585:f8816ffa210b

Initial band-aids on SDL_GetMouseState() API breakage. More work to come. Fixes Bugzilla #758.
author Ryan C. Gordon <icculus@icculus.org>
date Wed, 16 Dec 2009 19:50:51 +0000
parents d3baf5ac4e37
children 64ce267332c6
comparison
equal deleted inserted replaced
3584:41d01d70659c 3585:f8816ffa210b
109 * The current button state is returned as a button bitmask, which can 109 * The current button state is returned as a button bitmask, which can
110 * be tested using the SDL_BUTTON(X) macros, and x and y are set to the 110 * be tested using the SDL_BUTTON(X) macros, and x and y are set to the
111 * mouse cursor position relative to the focus window for the currently 111 * mouse cursor position relative to the focus window for the currently
112 * selected mouse. You can pass NULL for either x or y. 112 * selected mouse. You can pass NULL for either x or y.
113 */ 113 */
114 extern DECLSPEC Uint8 SDLCALL SDL_GetMouseState(int index, int *x, int *y); 114 extern DECLSPEC Uint8 SDLCALL SDL_GetMouseState(int *x, int *y);
115 115
116 /** 116 /**
117 * \brief Retrieve the state of the specified mouse. 117 * \brief Retrieve the state of the specified mouse.
118 * 118 *
119 * The current button state is returned as a button bitmask, which can 119 * The current button state is returned as a button bitmask, which can