Skip to main content

Module clock_highlighting

Module clock_highlighting 

Source
Expand description

Drawing and handling of clock highlighting.

Enumsยง

ClockHighlightData ๐Ÿ”’
Cached clock-highlight payload for the active highlight strategy.
ClockHighlightType

Constantsยง

CLOCK_LINE_BASE_UNIT ๐Ÿ”’
Base period, in screen pixels, used to interleave dashed clock-edge lines.

Functionsยง

clock_highlight_color ๐Ÿ”’
Selects a stable highlight color for a clock index.
clock_highlight_type_menu ๐Ÿ”’
Renders the UI radio options for selecting the clock highlight type.
dense_clock_edges_by_clock ๐Ÿ”’
Converts sparse (clock_idx, edges) pairs into a dense vector indexed by clock index.
draw_clock_edge_marks ๐Ÿ”’
Draws clock highlight marks for the currently selected highlight mode.
group_clock_edges_by_time ๐Ÿ”’
Groups sparse per-clock edge lists into time-ordered (time, clock_indices) tuples.