[][src]Trait iced_audio::style::h_slider::StyleSheet

pub trait StyleSheet {
    fn active(&self) -> Style;
fn hovered(&self) -> Style;
fn dragging(&self) -> Style;
fn height(&self) -> u16; }

A set of rules that dictate the style of an HSlider.

Required methods

fn active(&self) -> Style

Produces the style of an active HSlider.

fn hovered(&self) -> Style

Produces the style of a hovered HSlider.

fn dragging(&self) -> Style

Produces the style of an HSlider that is being dragged.

fn height(&self) -> u16

The height of the active selection area / background rectangle. With ClassicStyle, this is usually the same as handle.height

Loading content...

Implementors

Loading content...