pub unsafe extern "C" fn elements_progress_bar_with_text(
    canvas: *mut Canvas,
    x: u8,
    y: u8,
    width: u8,
    progress: f32,
    text: *const c_char
)
Expand description

Draw progress bar with text.

Arguments

  • canvas - Canvas instance
  • x - progress bar position on X axis
  • y - progress bar position on Y axis
  • width - progress bar width
  • progress - progress (0.0 - 1.0)
  • text - text to draw