Skip to main content

Module pointer

Module pointer 

Source
Expand description

A simulated mouse pointer — the arrow, plus the ring that pulses out of its tip when it clicks.

Not to be confused with crate::cursor::Cursor, which is a text caret (a blinking bar). Its cursor_style: "pointer" field has never drawn anything but that bar. Product walkthroughs and agent demos need the other thing: an arrow that travels to a control and visibly clicks it.

Waypoint choreography — hold, glide, pause on the click — is shared with cursor via [crate::cursor::waypoint_offset], so the two stay in step.

Structs§

Pointer
A mouse pointer that travels a waypoint path and clicks along the way.

Enums§

ClickRing
How loud the click ring is.
PointerTone
Colour scheme of the pointer, so a scene picks one word instead of two hex values that have to stay in contrast with each other.