Skip to main content

render_list

Function render_list 

Source
pub fn render_list(
    params: &ListParams,
    tx: u32,
    ty: u32,
    ctx: &DataContext,
    theme: &Theme,
    painter: &mut dyn Painter,
)
Expand description

Render a scrollable list into the framebuffer via painter.

§Arguments

  • params — Deserialised ListParams from the layout definition.
  • tx, ty — Top-left tile position of the list element.
  • ctx — Data context for resolving item values and template strings.
  • painter — Drawing backend.