Record TSDL_MouseWheelEvent

Hierarchy
Methods
Properties

Unit

Declaration

type TSDL_MouseWheelEvent = record

Description

 

Overview

Fields

Public type_: cuint32;
Public timestamp: cuint32;
Public windowID: cuint32;
Public which: cuint32;
Public x: cint32;
Public y: cint32;
Public direction: cuint32;
Public preciseX: cfloat;
Public preciseY: cfloat;
Public mouseX: cint32;
Public mouseY: cint32;

Description

Fields

Public type_: cuint32;
 
Public timestamp: cuint32;

SDL_MOUSEWHEEL

Public windowID: cuint32;
 
Public which: cuint32;

The window with mouse focus, if any

Public x: cint32;

The mouse instance id, or SDL_TOUCH_MOUSEID

Public y: cint32;

The amount scrolled horizontally

Public direction: cuint32;

The amount scrolled vertically

Public 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

Public preciseY: cfloat;

The amount scrolled horizontally, positive to the right and negative to the left, with float precision (added in 2.0.18)

Public mouseX: cint32;

The amount scrolled vertically, positive away from the user and negative toward the user, with float precision (added in 2.0.18)

Public mouseY: cint32;

X coordinate, relative to window (added in 2.26.0)


Generated by PasDoc 0.16.0.