Draft new iced_graphics crate 🎉
This commit is contained in:
parent
d4743183d4
commit
05af8d00d4
100 changed files with 861 additions and 1755 deletions
15
graphics/src/widget/progress_bar.rs
Normal file
15
graphics/src/widget/progress_bar.rs
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
//! Allow your users to visually track the progress of a computation.
|
||||
//!
|
||||
//! A [`ProgressBar`] has a range of possible values and a current value,
|
||||
//! as well as a length, height and style.
|
||||
//!
|
||||
//! [`ProgressBar`]: type.ProgressBar.html
|
||||
use crate::Renderer;
|
||||
|
||||
pub use iced_style::progress_bar::{Style, StyleSheet};
|
||||
|
||||
/// A bar that displays progress.
|
||||
///
|
||||
/// This is an alias of an `iced_native` progress bar with an
|
||||
/// `iced_wgpu::Renderer`.
|
||||
pub type ProgressBar<Backend> = iced_native::ProgressBar<Renderer<Backend>>;
|
||||
Loading…
Add table
Add a link
Reference in a new issue