Everything the skin paints, in local coordinates, in paint order: the lighten layer (disabled only) and fill on surface, the border stroke on surface, then, when focus-visible, the outer ring and the inner ring over it.
More...
#include <widgets.hpp>
Everything the skin paints, in local coordinates, in paint order: the lighten layer (disabled only) and fill on surface, the border stroke on surface, then, when focus-visible, the outer ring and the inner ring over it.
◆ border
| canvas::Color pulp::view::ButtonSurface::ChromiumRefreshParts::border {} |
◆ border_width
| float pulp::view::ButtonSurface::ChromiumRefreshParts::border_width = 1.0f |
◆ bounds
| Rect pulp::view::ButtonSurface::ChromiumRefreshParts::bounds |
◆ fill
| canvas::Color pulp::view::ButtonSurface::ChromiumRefreshParts::fill {} |
◆ focus_ring
| bool pulp::view::ButtonSurface::ChromiumRefreshParts::focus_ring = false |
◆ inner_ring
| Rect pulp::view::ButtonSurface::ChromiumRefreshParts::inner_ring |
stroke centreline of the inner ring
◆ inner_ring_color
| canvas::Color pulp::view::ButtonSurface::ChromiumRefreshParts::inner_ring_color {} |
◆ lighten
| std::optional<canvas::Color> pulp::view::ButtonSurface::ChromiumRefreshParts::lighten |
◆ outer_ring
| Rect pulp::view::ButtonSurface::ChromiumRefreshParts::outer_ring |
stroke centreline of the outer ring
◆ outer_ring_color
| canvas::Color pulp::view::ButtonSurface::ChromiumRefreshParts::outer_ring_color {} |
◆ radius
| float pulp::view::ButtonSurface::ChromiumRefreshParts::radius = 0 |
corner radius of surface and both rings
◆ ring_width
| float pulp::view::ButtonSurface::ChromiumRefreshParts::ring_width = 0 |
◆ solid
| bool pulp::view::ButtonSurface::ChromiumRefreshParts::solid = false |
A box under 5 device px a side is one solid fill rect on bounds.
◆ surface
| Rect pulp::view::ButtonSurface::ChromiumRefreshParts::surface |
bounds inset half the border width
The documentation for this struct was generated from the following file:
- /home/runner/work/pulp/pulp/core/view/include/pulp/view/widgets.hpp