Implement Widget::draw for ProgressBar
This commit is contained in:
parent
bc32199e39
commit
e42e1e2f57
5 changed files with 63 additions and 82 deletions
|
|
@ -2,12 +2,5 @@
|
|||
//!
|
||||
//! A [`ProgressBar`] has a range of possible values and a current value,
|
||||
//! as well as a length, height and style.
|
||||
use crate::Renderer;
|
||||
|
||||
pub use iced_graphics::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 = iced_native::ProgressBar<Renderer>;
|
||||
pub use iced_graphics::progress_bar::*;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue