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