Record TSDL_MouseWheelEvent
Hierarchy
Methods
Properties
Unit
sdl2
Declaration
type TSDL_MouseWheelEvent = record
Description
Overview
Fields
Description
Fields
 |
type_: cuint32; |
|
 |
timestamp: cuint32; |
SDL_MOUSEWHEEL
|
 |
windowID: cuint32; |
|
 |
which: cuint32; |
The window with mouse focus, if any
|
 |
x: cint32; |
The mouse instance id, or SDL_TOUCH_MOUSEID
|
 |
y: cint32; |
The amount scrolled horizontally
|
 |
direction: cuint32; |
The amount scrolled vertically
|
 |
preciseX: cfloat; |
Set to one of the SDL_MOUSEWHEEL_* defines. When FLIPPED the values in X and Y will be opposite. Multiply by -1 to change them back
|
 |
preciseY: cfloat; |
The amount scrolled horizontally, positive to the right and negative to the left, with float precision (added in 2.0.18)
|
 |
mouseX: cint32; |
The amount scrolled vertically, positive away from the user and negative toward the user, with float precision (added in 2.0.18)
|
 |
mouseY: cint32; |
X coordinate, relative to window (added in 2.26.0)
|
Generated by PasDoc 0.16.0.