Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::view::RangeSlider::ChromiumRefreshParts Struct Reference

Everything the chromium_refresh skin paints, in local coordinates. More...

#include <widgets.hpp>

Public Attributes

Rect track
 rounded track, shortened one device pixel per end
float track_radius = 0
 corner radius of track (half its thickness)
Rect value_clip
 clip for the value bar; the thumb covers its open end
Rect border
 track inset by half the border width
float border_radius = 0
 corner radius of border
float border_width = 1.0f
Rect thumb
 the circle's bounds (16px part inset half a device pixel)
ColorScheme scheme = ColorScheme::light
 palette used, after the accent flip
canvas::Color track_fill {}
canvas::Color value_fill {}
canvas::Color border_color {}
canvas::Color thumb_fill {}

Detailed Description

Everything the chromium_refresh skin paints, in local coordinates.

Paint order is track fill, value bar (the track rounded rect clipped to value_clip), border stroke, thumb.

Member Data Documentation

◆ border

Rect pulp::view::RangeSlider::ChromiumRefreshParts::border

track inset by half the border width

◆ border_color

canvas::Color pulp::view::RangeSlider::ChromiumRefreshParts::border_color {}

◆ border_radius

float pulp::view::RangeSlider::ChromiumRefreshParts::border_radius = 0

corner radius of border

◆ border_width

float pulp::view::RangeSlider::ChromiumRefreshParts::border_width = 1.0f

◆ scheme

ColorScheme pulp::view::RangeSlider::ChromiumRefreshParts::scheme = ColorScheme::light

palette used, after the accent flip

◆ thumb

Rect pulp::view::RangeSlider::ChromiumRefreshParts::thumb

the circle's bounds (16px part inset half a device pixel)

◆ thumb_fill

canvas::Color pulp::view::RangeSlider::ChromiumRefreshParts::thumb_fill {}

◆ track

Rect pulp::view::RangeSlider::ChromiumRefreshParts::track

rounded track, shortened one device pixel per end

◆ track_fill

canvas::Color pulp::view::RangeSlider::ChromiumRefreshParts::track_fill {}

◆ track_radius

float pulp::view::RangeSlider::ChromiumRefreshParts::track_radius = 0

corner radius of track (half its thickness)

◆ value_clip

Rect pulp::view::RangeSlider::ChromiumRefreshParts::value_clip

clip for the value bar; the thumb covers its open end

◆ value_fill

canvas::Color pulp::view::RangeSlider::ChromiumRefreshParts::value_fill {}

The documentation for this struct was generated from the following file:
  • /home/runner/work/pulp/pulp/core/view/include/pulp/view/widgets.hpp