SDL Library
SDL_MouseMotionEvent Struct Reference
Mouse motion event structure (event.motion. More...
#include <SDL_events.h>
Data Fields | |
Uint32 | type |
SDL_MOUSEMOTION | |
Uint32 | windowID |
The window with mouse focus, if any. | |
Uint32 | which |
The mouse instance id, or SDL_TOUCH_MOUSEID. | |
Uint32 | state |
The current button state. | |
Sint32 | x |
X coordinate, relative to window. | |
Sint32 | y |
Y coordinate, relative to window. | |
Sint32 | xrel |
The relative motion in the X direction. | |
Sint32 | yrel |
The relative motion in the Y direction. |
Detailed Description
Mouse motion event structure (event.motion.
*)
Definition at line 221 of file SDL_events.h.
Field Documentation
The current button state.
Definition at line 227 of file SDL_events.h.
Definition at line 223 of file SDL_events.h.
The mouse instance id, or SDL_TOUCH_MOUSEID.
Definition at line 226 of file SDL_events.h.
The window with mouse focus, if any.
Definition at line 225 of file SDL_events.h.
X coordinate, relative to window.
Definition at line 228 of file SDL_events.h.
The relative motion in the X direction.
Definition at line 230 of file SDL_events.h.
Y coordinate, relative to window.
Definition at line 229 of file SDL_events.h.
The relative motion in the Y direction.
Definition at line 231 of file SDL_events.h.
Generated on Tue Jul 12 2022 15:10:22 by 1.7.2