Skip to main content

paint_control_row

Function paint_control_row 

pub fn paint_control_row(
    scene: &mut Scene,
    transform: Affine,
    theme: &Theme,
    rect: Rect,
    hovered: bool,
    focused: bool,
)
Expand description

Paint one Control: its fill with the derived rest edge at the Control radius, and the toolkit’s 2 px focus ring when focused. The one painter for every tile, card, power row, edit row and list row a host draws, so they cannot drift apart.