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

pub trait StyleSheet {
    fn active(&self) -> Style;
fn hovered(&self) -> Style;
fn dragging(&self) -> Style; fn tick_mark_style(&self) -> Option<TickMarkStyle> { ... } }

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

Required methods

fn active(&self) -> Style

Produces the style of an active VSlider.

fn hovered(&self) -> Style

Produces the style of a hovered VSlider.

fn dragging(&self) -> Style

Produces the style of an VSlider that is being dragged.

Loading content...

Provided methods

fn tick_mark_style(&self) -> Option<TickMarkStyle>

The style of a TickMarkGroup for a VSlider

For no tick marks, don't override this or set this to return None.

Loading content...

Implementors

Loading content...