Skip to main content

paint_icon_and_name

Function paint_icon_and_name 

pub fn paint_icon_and_name(
    scene: &mut Scene,
    transform: Affine,
    theme: &Theme,
    text_renderer: &mut TextRenderer,
    cell: Rect,
    metrics: &FileTableMetrics,
    shown: NameCell<'_>,
) -> f64
Expand description

Paint a name cell: its icon, then its name elided to the cell, as in every file list. Returns where the name ends, for a row that adds something after it.