MouseMotionEvent
Mouse motion event
Operations
GetRelX
Relative motion in the X direction
method : public : GetRelX() ~ Int
Return
Type | Description |
---|---|
Int | X direction |
GetRelY
Relative motion in the Y direction
method : public : GetRelY() ~ Int
Return
Type | Description |
---|---|
Int | Y direction |
GetTimestamp
Timestamp of the event
method : public : GetTimestamp() ~ Int
Return
Type | Description |
---|---|
Int | event timestamp |
GetType
Event type
method : public : GetType() ~ Int
Return
Type | Description |
---|---|
Int | EventType->SDL_MOUSEMOTION |
GetWindowID
Window with mouse focus, if any
method : public : GetWindowID() ~ Int
Return
Type | Description |
---|---|
Int | window ID |
GetX
X coordinate, relative to window
method : public : GetX() ~ Int
Return
Type | Description |
---|---|
Int | X coordinate |
GetY
Y coordinate, relative to window
method : public : GetY() ~ Int
Return
Type | Description |
---|---|
Int | Y coordinate |