Wire up styling to Slider in iced_native
This commit is contained in:
parent
e00a2e9b2d
commit
11bcb13427
9 changed files with 31 additions and 97 deletions
|
|
@ -1,13 +1,5 @@
|
|||
//! Display an interactive selector of a single value from a range of values.
|
||||
//!
|
||||
//! A [`Slider`] has some local [`State`].
|
||||
use crate::Renderer;
|
||||
|
||||
pub use iced_graphics::slider::{Handle, HandleShape, Style, StyleSheet};
|
||||
pub use iced_native::slider::State;
|
||||
|
||||
/// An horizontal bar and a handle that selects a single value from a range of
|
||||
/// values.
|
||||
///
|
||||
/// This is an alias of an `iced_native` slider with an `iced_wgpu::Renderer`.
|
||||
pub type Slider<'a, T, Message> = iced_native::Slider<'a, T, Message, Renderer>;
|
||||
pub use iced_native::slider::{Slider, State};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue