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 |
GetX
X coordinate, relative to window
method : public : GetX() ~ IntReturn
| Type | Description |
|---|---|
| Int | X coordinate |
GetY
Y coordinate, relative to window
method : public : GetY() ~ IntReturn
| Type | Description |
|---|---|
| Int | Y coordinate |