My Project
Public Attributes | List of all members
SDL_MouseMotionEvent Struct Reference

Mouse motion event structure (event.motion.*) More...

#include <SDL_events.h>

Public Attributes

Uint32 type
 
Uint32 timestamp
 
Uint32 windowID
 
Uint32 which
 
Uint32 state
 
Sint32 x
 
Sint32 y
 
Sint32 xrel
 
Sint32 yrel
 

Detailed Description

Mouse motion event structure (event.motion.*)

Member Data Documentation

§ state

Uint32 SDL_MouseMotionEvent::state

The current button state

§ type

Uint32 SDL_MouseMotionEvent::type

§ which

Uint32 SDL_MouseMotionEvent::which

The mouse instance id, or SDL_TOUCH_MOUSEID

§ windowID

Uint32 SDL_MouseMotionEvent::windowID

The window with mouse focus, if any

§ x

Sint32 SDL_MouseMotionEvent::x

X coordinate, relative to window

§ xrel

Sint32 SDL_MouseMotionEvent::xrel

The relative motion in the X direction

§ y

Sint32 SDL_MouseMotionEvent::y

Y coordinate, relative to window

§ yrel

Sint32 SDL_MouseMotionEvent::yrel

The relative motion in the Y direction


The documentation for this struct was generated from the following file: