Skip to main content

Module click

Module click 

Source
Expand description

Counting single, double and triple clicks on a clock the caller passes in.

iced’s own click counter reads the real clock, so components that count clicks use this one with the time from the app’s clock instead. That lets a test harness on a virtual clock time double clicks exactly.

Structs§

Click
A mouse click and how many came before it in a row.

Enums§

Kind
The kind of click.

Constants§

DISTANCE
How far apart, in logical pixels, two presses can be and still count together.
INTERVAL
The longest gap between two presses that still counts them together.