2020-06-08 11:14:40 +03:00
|
|
|
//! Allow your users to visually track the progress of a computation.
|
2020-05-19 14:23:28 +02:00
|
|
|
//!
|
2020-06-08 11:14:40 +03:00
|
|
|
//! A [`ProgressBar`] has a range of possible values and a current value,
|
|
|
|
|
//! as well as a length, height and style.
|
2020-05-19 14:23:28 +02:00
|
|
|
use crate::Renderer;
|
|
|
|
|
|
2020-05-19 17:15:44 +02:00
|
|
|
pub use iced_graphics::progress_bar::{Style, StyleSheet};
|
2020-05-19 14:23:28 +02:00
|
|
|
|
|
|
|
|
/// A bar that displays progress.
|
|
|
|
|
///
|
|
|
|
|
/// This is an alias of an `iced_native` progress bar with an
|
|
|
|
|
/// `iced_wgpu::Renderer`.
|
|
|
|
|
pub type ProgressBar = iced_native::ProgressBar<Renderer>;
|