MouseWheelEvent
Mouse wheel event
Operations
GetDirection
Mouse wheel scroll direction
method : public : GetDirection() ~ MouseWheelDirection
Return
Type | Description |
---|---|
MouseWheelDirection | SDL_MOUSEWHEEL_NORMAL or SDL_MOUSEWHEEL_FLIPPED |
GetTimestamp
Timestamp of the event
method : public : GetTimestamp() ~ Int
Return
Type | Description |
---|---|
Int | event timestamp |
GetWindowID
Window with mouse focus, if any
method : public : GetWindowID() ~ Int
Return
Type | Description |
---|---|
Int | window ID |
GetX
Amount scrolled horizontally, positive to the right and negative to the left
method : public : GetX() ~ Int
Return
Type | Description |
---|---|
Int | horizontally scrolled value |
GetY
Amount scrolled vertically, positive away from the user and negative toward the user
method : public : GetY() ~ Int
Return
Type | Description |
---|---|
Int | vertically scrolled value |