Struct ButtonDetails
Mouse button state details for MouseEvent
Properties
Type | Name | Description |
int
|
downDuration [get]
|
Returns button down state duration in hnsecs (1/10000 of second).
|
short
|
downX [get]
|
X coordinate of the point where button was pressed down last time
|
short
|
downY [get]
|
Y coordinate of the point where button was pressed down last time
|
bool
|
isDoubleClick [get]
|
Returns true if button is made down shortly after up
|
bool
|
isDown [get]
|
Returns true if button is currently pressed
|
bool
|
isTripleClick [get]
|
Returns true if button is made down twice shortly after up
|
|
keyMods [get]
|
Bit set of key modifiers saved on button down
|
|
mouseMods [get]
|
Bit set of mouse buttons saved on button down
|
Methods
Name | Description |
down
(x, y, mouseMods, keyMods)
|
Update for button down
|
reset
()
|
|
up
(x, y, mouseMods, keyMods)
|
Update for button up
|