Bundle SDL2 multimedia library for 2D graphics, input handling, audio playback, and window management. Core types: Window, Renderer, Texture, Surface, Event, and Mixer. Compile with -lib sdl2.
MouseMotionEvent
Mouse motion event
Operations
GetRelX #
Relative motion in the X direction
method : public : GetRelX() ~ IntReturn
| Type | Description |
|---|---|
| Int | X direction |
GetRelY #
Relative motion in the Y direction
method : public : GetRelY() ~ IntReturn
| Type | Description |
|---|---|
| Int | Y direction |
GetTimestamp #
Timestamp of the event
method : public : GetTimestamp() ~ IntReturn
| Type | Description |
|---|---|
| Int | event timestamp |
GetType #
Event type
method : public : GetType() ~ IntReturn
| Type | Description |
|---|---|
| Int | EventType->SDL_MOUSEMOTION |
GetWindowID #
Window with mouse focus, if any
method : public : GetWindowID() ~ IntReturn
| Type | Description |
|---|---|
| Int | window ID |