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

pub trait StyleSheet {
    fn active(&self) -> Style;
fn hovered(&self) -> Style;
fn dragging(&self) -> Style; fn tick_marks_style(&self) -> Option<TickMarksStyle> { ... }
fn mod_range_style(&self) -> Option<ModRangeStyle> { ... }
fn mod_range_style_2(&self) -> Option<ModRangeStyle> { ... }
fn text_marks_style(&self) -> Option<TextMarksStyle> { ... } }

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

Required methods

fn active(&self) -> Style[src]

Produces the style of an active HSlider.

fn hovered(&self) -> Style[src]

Produces the style of a hovered HSlider.

fn dragging(&self) -> Style[src]

Produces the style of an HSlider that is being dragged.

Loading content...

Provided methods

fn tick_marks_style(&self) -> Option<TickMarksStyle>[src]

The style of tick marks for an HSlider

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

fn mod_range_style(&self) -> Option<ModRangeStyle>[src]

The style of an ModulationRange line for an HSlider

For no modulation range line, don’t override this or set this to return None.

fn mod_range_style_2(&self) -> Option<ModRangeStyle>[src]

The style of a second ModulationRange line for an HSlider

For no second modulation range line, don’t override this or set this to return None.

fn text_marks_style(&self) -> Option<TextMarksStyle>[src]

The style of text marks for an HSlider

For no text marks, don’t override this or set this to return None.

Loading content...

Implementors

Loading content...