Skip to main content

paint_armed_row

Function paint_armed_row 

pub fn paint_armed_row(
    scene: &mut Scene,
    transform: Affine,
    row: Rect,
    inset: f64,
    theme: &Theme,
) -> AlphaColor<Srgb>
Expand description

Paint the armed row of a menu: the overlay lift of armed_row, concentric inside the panel (HIG §9.3). row is the row already inset by inset from the panel’s edge (menu_inset for a menu built on it). Returns the ink for the row’s label and glyphs.