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