Skip to main content

paint_disabled

Function paint_disabled 

pub fn paint_disabled(scene: &mut Scene, transform: Affine, bounds: &impl Shape)
Expand description

Lay everything painted next under the disabled veil, over the shape the control draws as its bounds: a disabled control is its rest face dimmed as one group, at full-strength edges so it still reads where it stands. The caller pops the layer once its face is painted.