Wire up styling to Slider in iced_native

This commit is contained in:
Héctor Ramón Jiménez 2021-10-20 15:50:42 +07:00
parent e00a2e9b2d
commit 11bcb13427
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
9 changed files with 31 additions and 97 deletions

View file

@ -1,14 +1,12 @@
use crate::button;
use crate::checkbox;
use crate::pane_grid;
use crate::progress_bar;
use crate::radio;
use crate::renderer::{self, Renderer};
use crate::slider;
use crate::text;
use crate::text_input;
use crate::toggler;
use crate::{Font, Padding, Point, Rectangle, Size, Vector};
use crate::{Font, Point, Rectangle, Size, Vector};
/// A renderer that does nothing.
///
@ -104,12 +102,6 @@ impl checkbox::Renderer for Null {
const DEFAULT_SPACING: u16 = 15;
}
impl slider::Renderer for Null {
type Style = ();
const DEFAULT_HEIGHT: u16 = 30;
}
impl progress_bar::Renderer for Null {
type Style = ();