pub unsafe extern "C" fn elements_scrollable_text_line(
    canvas: *mut Canvas,
    x: u8,
    y: u8,
    width: u8,
    string: *mut FuriString,
    scroll: usize,
    ellipsis: bool
)
Expand description

Draw scrollable text line

Arguments

  • canvas - The canvas
  • x - [Direction: In] X coordinate
  • y - [Direction: In] Y coordinate
  • width - [Direction: In] The width
  • string - The string
  • scroll - [Direction: In] The scroll counter: 0 - no scroll, any other number - scroll. Just count up, everything else will be calculated on the inside.
  • ellipsis - [Direction: In] The ellipsis flag: true to add ellipse