|
Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
|
Typed declarations; absent values preserve less-specific rules or widget defaults. More...
#include <style.hpp>
Public Member Functions | |
| bool | operator== (const StyleDeclarations &other) const =default |
Public Attributes | |
| std::optional< RgbColor > | foreground |
| RGB text color. | |
| std::optional< RgbColor > | background |
| RGB fill color. | |
| std::optional< bool > | bold |
| Explicit true/false bold request. | |
| std::optional< bool > | italic |
| Explicit true/false italic request. | |
| std::optional< bool > | underline |
| Explicit true/false underline request. | |
| std::optional< std::int32_t > | minWidth |
| Nonnegative cell minimum; allowed only on state-independent selectors. | |
| StylePaintDeclarations | frameLine {} |
| Frame perimeter overrides, inheriting the common resolved state. | |
| StylePaintDeclarations | frameTitle {} |
| Frame title text overrides. | |
| StylePaintDeclarations | frameEnds {} |
| Frame title prefix/suffix overrides. | |
| StylePaintDeclarations | scrollbarTrack {} |
| Scrollbar track overrides. | |
| StylePaintDeclarations | scrollbarThumb {} |
| Scrollbar thumb overrides. | |
| StylePaintDeclarations | scrollbarEnds {} |
| Scrollbar ends overrides. | |
| StylePaintDeclarations | scrollbarCorner {} |
| Scrollbar corner overrides. | |
| StylePaintDeclarations | scrollbarArrows {} |
| Functional arrow button overrides. | |
| std::optional< ScrollbarPattern > | scrollbarTrackPattern {} |
| Independent scrollbar source. | |
| std::optional< ScrollbarThumbPattern > | scrollbarThumbPattern {} |
| Independent scrollbar source. | |
| std::optional< ScrollbarArrowPattern > | scrollbarArrowPattern {} |
| Independent scrollbar source. | |
| StylePaintDeclarations | scrollbarThumbStart {} |
| Thumb start overrides, inheriting the common thumb. | |
| StylePaintDeclarations | scrollbarThumbBody {} |
| Thumb body overrides, inheriting the common thumb. | |
| StylePaintDeclarations | scrollbarThumbEnd {} |
| Thumb end overrides, inheriting the common thumb. | |
| StylePaintDeclarations | scrollbarThumbSingle {} |
| Thumb single overrides, inheriting the common thumb. | |
| StylePaintDeclarations | sliderTrack {} |
| Unfilled Slider rail overrides, inheriting the resolved state. | |
| StylePaintDeclarations | sliderFill {} |
| Filled Slider rail overrides. | |
| StylePaintDeclarations | sliderThumb {} |
| Slider position indicator overrides. | |
| std::optional< GlyphProfile > | glyphProfile {} |
| Named base beneath independent patterns and literal sources. | |
| std::optional< GlyphFallback > | glyphFallback {} |
| Explicit portable one-cell admission fallback. | |
Typed declarations; absent values preserve less-specific rules or widget defaults.
|
default |
| other | Owning value to compare. |