include/SDL_mouse.h
changeset 3585 f8816ffa210b
parent 3407 d3baf5ac4e37
child 3685 64ce267332c6
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