Record TSDL_MouseButtonEvent

Hierarchy
Methods
Properties

Unit

Declaration

type TSDL_MouseButtonEvent = record

Description

 

Overview

Fields

Public type_: cuint32;
Public timestamp: cuint32;
Public windowID: cuint32;
Public which: cuint32;
Public button: cuint8;
Public state: cuint8;
Public clicks: cuint8;
Public padding1: cuint8;
Public x: cint32;
Public y: cint32;

Description

Fields

Public type_: cuint32;
 
Public timestamp: cuint32;

SDL_MOUSEBUTTONDOWN or SDL_MOUSEBUTTONUP

Public windowID: cuint32;
 
Public which: cuint32;

The window with mouse focus, if any

Public button: cuint8;

The mouse instance id, or SDL_TOUCH_MOUSEID

Public state: cuint8;

The mouse button index

Public clicks: cuint8;

SDL_PRESSED or SDL_RELEASED

Public padding1: cuint8;

1 for single-click, 2 for double-click, etc.

Public x: cint32;
 
Public y: cint32;

X coordinate, relative to window


Generated by PasDoc 0.16.0.