Skip to main content

paint_history_control

Function paint_history_control 

pub fn paint_history_control(
    scene: &mut Scene,
    transform: Affine,
    text: &mut TextRenderer,
    theme: &Theme,
    rect: Rect,
    control: HistoryControl,
    hovered: bool,
)
Expand description

Paint the window’s History control in rect: the History glyph as a Plain icon button, on (the selection lift) while History shows. The same face NavShell and the window’s own bar draw; a painted app routes its presses through a crate::widget::HistoryOpener.