ButtonDetails

mouse button state details

Members

Functions

down
void down(short x, short y, ushort flags)

update for button down

up
void up(short x, short y, ushort flags)

update for button up

Properties

downDuration
int downDuration [@property getter]

returns button down state duration in hnsecs (1/10000 of second).

downFlags
ushort downFlags [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
downX
short downX [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
downY
short downY [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
isDown
bool isDown [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_downFlags
ushort _downFlags;

mouse button flags when down event occured

_downTs
long _downTs;

Clock.currStdTime() for down event of this button (0 if button is up).

_downX
short _downX;

x coordinates of down event

_downY
short _downY;

y coordinates of down event

_upTs
long _upTs;

Clock.currStdTime() for up event of this button (0 if button is still down).

Meta