#[non_exhaustive]pub struct ResolvedSliderTheme {Show 15 fields
pub fill_color: Rgba,
pub track_color: Rgba,
pub thumb_color: Rgba,
pub track_height: f32,
pub thumb_diameter: f32,
pub tick_mark_length: f32,
pub disabled_opacity: f32,
pub thumb_hover_color: Option<Rgba>,
pub disabled_fill_color: Option<Rgba>,
pub disabled_track_color: Option<Rgba>,
pub disabled_thumb_color: Option<Rgba>,
pub thumb_border_color: Option<Rgba>,
pub thumb_border_line_width: Option<f32>,
pub thumb_hover_border_color: Option<Rgba>,
pub thumb_focus_border_color: Option<Rgba>,
}Expand description
Slider control colors and geometry.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.fill_color: RgbaFilled portion of the slider track.
track_color: RgbaUnfilled track color.
thumb_color: RgbaThumb (handle) color.
track_height: f32Track height in logical pixels.
thumb_diameter: f32Thumb diameter in logical pixels.
tick_mark_length: f32Tick mark length in logical pixels.
disabled_opacity: f32Opacity multiplier when disabled (0.0-1.0), applied to the whole
widget on top of its disabled colours (see
ThemeDefaults::disabled_opacity).
thumb_hover_color: Option<Rgba>Thumb color on hover.
disabled_fill_color: Option<Rgba>Filled track color when disabled; None, the enabled colour (as for
the two below).
disabled_track_color: Option<Rgba>Unfilled track color when disabled.
disabled_thumb_color: Option<Rgba>Thumb color when disabled.
thumb_border_color: Option<Rgba>The handle’s outline at rest, thumb_border_line_width wide inside
the handle: Breeze’s Button mixed frameContrast towards
ButtonText. None with the width stated: no line at rest, the
handle keeping its outer size (docs/platform-facts.md §2.9).
thumb_border_line_width: Option<f32>Width of the handle’s outline in logical pixels; 0 draws no outline in
any state, a connector’s own included. None: the connector draws the
handle as it does without this field (its own outline, if any)
(docs/platform-facts.md §2.9).
thumb_hover_border_color: Option<Rgba>The handle’s outline with the pointer on it and while it is dragged,
over the focus outline: Breeze’s hover colour. None:
thumb_border_color (docs/platform-facts.md §2.9).
thumb_focus_border_color: Option<Rgba>The handle’s outline while the slider has the focus, from a click or a
key: Breeze’s focus colour. None: thumb_border_color
(docs/platform-facts.md §2.9).