Skip to main content

Module overlay

Module overlay 

Source
Expand description

Portable overlay stroke descriptors.

These are the pure-data shapes that the workbench compositor emits for host painters to render on top of graph panes — focus rings, selection borders, dashed drag-preview outlines, lens-glyph badges. Descriptors flow through the FrameViewModel.overlays field in the host-neutral vocabulary; egui / iced hosts convert the portable types back to their native painting primitives at the render boundary.

Pre-M4 slice 10 (2026-04-22) these types lived in shell/desktop/workbench/compositor_adapter.rs alongside the egui-specific painter, and the glyph-overlay types were in registries/atomic/lens/registry.rs. Consolidating them here removes the last data-shape barrier between FrameViewModel and kernel.

Structs§

GlyphOverlay
Lens-registered glyph overlay attached to a pane corner or center.
OverlayStrokePass
One overlay stroke pass the host painter renders over a pane.

Enums§

GlyphAnchor
Anchor classification for GlyphOverlay. Hosts position the glyph based on this: corner or center of the pane rect.
OverlayAffordanceStyle
Affordance classification — hosts use this to pick the visual treatment. Pure data with no host-specific payload.