Trait iced_audio::style::v_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 a VSlider
.
Required methods
fn active(&self) -> Style
[src]
Produces the style of an active VSlider
.
fn hovered(&self) -> Style
[src]
Produces the style of a hovered VSlider
.
fn dragging(&self) -> Style
[src]
Produces the style of a VSlider
that is being dragged.
Provided methods
fn tick_marks_style(&self) -> Option<TickMarksStyle>
[src]
The style of tick marks for a VSlider
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 a VSlider
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 a VSlider
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 a VSlider
For no text marks, don’t override this or set this to return None
.