Skip to main content

scrolling

Function scrolling 

Source
pub fn scrolling(
    count: usize,
    area: Rect,
    settings: Settings,
    offset: f64,
) -> Vec<Rect>
Expand description

An endless horizontal strip, with the area as a viewport.

Windows keep their width and run off both edges; offset moves the view, never the strip. Nothing is squeezed to fit, which is what makes this work on a screen too small for anything else.