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

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>

Public Attributes

bool solid = false
 A box under 5 device px a side is one solid fill rect on bounds.
Rect bounds
Rect surface
 bounds inset half the border width
float radius = 0
 corner radius of surface and both rings
float border_width = 1.0f
std::optional< canvas::Color > lighten
canvas::Color fill {}
canvas::Color border {}
bool focus_ring = false
Rect outer_ring
 stroke centreline of the outer ring
Rect inner_ring
 stroke centreline of the inner ring
float ring_width = 0
canvas::Color outer_ring_color {}
canvas::Color inner_ring_color {}

Detailed Description

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.

Member Data Documentation

◆ 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