Skip to main content

draw

Function draw 

pub fn draw(
    scene: &mut Scene,
    transform: Affine,
    tr: &mut TextRenderer,
    theme: &Theme,
    bar: Rect,
    left: &str,
    right: &str,
)
Expand description

Draw the status bar in bar (from split) with left- and right-aligned readouts. theme is the theme of the region the bar sits in (theme.in_region(..) for a sidebar or inspector).