Record TSDL_MouseButtonEvent
Hierarchy
Methods
Properties
Unit
sdl2
Declaration
type TSDL_MouseButtonEvent = record
Description
Overview
Fields
Description
Fields
|
type_: cuint32; |
|
|
timestamp: cuint32; |
SDL_MOUSEBUTTONDOWN or SDL_MOUSEBUTTONUP
|
|
windowID: cuint32; |
|
|
which: cuint32; |
The window with mouse focus, if any
|
|
button: cuint8; |
The mouse instance id, or SDL_TOUCH_MOUSEID
|
|
state: cuint8; |
The mouse button index
|
|
clicks: cuint8; |
SDL_PRESSED or SDL_RELEASED
|
|
padding1: cuint8; |
1 for single-click, 2 for double-click, etc.
|
|
x: cint32; |
|
|
y: cint32; |
X coordinate, relative to window
|
Generated by PasDoc 0.16.0.