[−][src]Trait iced_audio::h_slider::Renderer
The renderer of an HSlider
.
Your renderer will need to implement this trait before being
able to use an HSlider
in your user interface.
Associated Types
Loading content...Required methods
fn height(&self, style_sheet: &Self::Style) -> u16
returns the height of the HSlider
fn draw(
&mut self,
bounds: Rectangle,
cursor_position: Point,
normal: Normal,
is_dragging: bool,
style: &Self::Style
) -> Self::Output
&mut self,
bounds: Rectangle,
cursor_position: Point,
normal: Normal,
is_dragging: bool,
style: &Self::Style
) -> Self::Output
Implementations on Foreign Types
impl Renderer for Renderer
[src]
type Style = Box<dyn StyleSheet>
fn height(&self, style_sheet: &Self::Style) -> u16
[src]
fn draw(
&mut self,
bounds: Rectangle,
cursor_position: Point,
normal: Normal,
is_dragging: bool,
style_sheet: &Self::Style
) -> Self::Output
[src]
&mut self,
bounds: Rectangle,
cursor_position: Point,
normal: Normal,
is_dragging: bool,
style_sheet: &Self::Style
) -> Self::Output