Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
Loading...
Searching...
No Matches
portals::ScrollbarAxisGlyphs Struct Reference

Sparse owning glyph overrides for one axis, validated before painting. Every nonempty source must be exactly one printable one-cell grapheme under the receiving WidthPolicy. More...

#include <scrollbar_skin.hpp>

Public Member Functions

 ~ScrollbarAxisGlyphs ()=default
 Keep checked-library owning transfers fallible.

Public Attributes

std::optional< std::string > track {}
 Track override; an empty source is invalid.
std::optional< std::string > thumb {}
 Thumb override; an empty source is invalid.
std::optional< std::string > start {}
 Leading decoration; empty suppresses that end.
std::optional< std::string > end {}
 Trailing decoration; empty suppresses that end.
std::optional< std::string > backward {}
 Functional decrement button; empty is invalid.
std::optional< std::string > forward {}
 Functional increment button; empty is invalid.
std::optional< std::string > thumbStart {}
 First cell of a multi-cell thumb.
std::optional< std::string > thumbBody {}
 Interior cells; omitted uses thumb.
std::optional< std::string > thumbEnd {}
 Last cell of a multi-cell thumb.
std::optional< std::string > thumbSingle {}
 A one-cell thumb; omitted uses thumb.

Detailed Description

Sparse owning glyph overrides for one axis, validated before painting. Every nonempty source must be exactly one printable one-cell grapheme under the receiving WidthPolicy.


The documentation for this struct was generated from the following file: