elements_progress_bar_with_text

Function elements_progress_bar_with_text 

Source
pub unsafe extern "C" fn elements_progress_bar_with_text(
    canvas: *mut Canvas,
    x: i32,
    y: i32,
    width: usize,
    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