include/SDL_events.h
changeset 8066 658b461d81be
parent 7678 286c42d7c5ed
child 8149 681eb46b8ac4
equal deleted inserted replaced
8065:fcca53e02c81 8066:658b461d81be
   237     Uint32 timestamp;
   237     Uint32 timestamp;
   238     Uint32 windowID;    /**< The window with mouse focus, if any */
   238     Uint32 windowID;    /**< The window with mouse focus, if any */
   239     Uint32 which;       /**< The mouse instance id, or SDL_TOUCH_MOUSEID */
   239     Uint32 which;       /**< The mouse instance id, or SDL_TOUCH_MOUSEID */
   240     Uint8 button;       /**< The mouse button index */
   240     Uint8 button;       /**< The mouse button index */
   241     Uint8 state;        /**< ::SDL_PRESSED or ::SDL_RELEASED */
   241     Uint8 state;        /**< ::SDL_PRESSED or ::SDL_RELEASED */
       
   242     Uint8 clicks;       /**< 1 for single-click, 2 for double-click, etc. */
   242     Uint8 padding1;
   243     Uint8 padding1;
   243     Uint8 padding2;
       
   244     Sint32 x;           /**< X coordinate, relative to window */
   244     Sint32 x;           /**< X coordinate, relative to window */
   245     Sint32 y;           /**< Y coordinate, relative to window */
   245     Sint32 y;           /**< Y coordinate, relative to window */
   246 } SDL_MouseButtonEvent;
   246 } SDL_MouseButtonEvent;
   247 
   247 
   248 /**
   248 /**