Owning resolved presentation; no actions or model state are encoded.
More...
#include <style_types.hpp>
|
|
CellStyle | normal |
| | Ordinary text and fill.
|
|
CellStyle | focused |
| | Focused control text and fill.
|
|
CellStyle | disabled |
| | Disabled control text and fill.
|
|
CellStyle | selected |
| | Selected list/table row or editor range.
|
|
CellStyle | header |
| | Fixed table heading.
|
|
CellStyle | caret |
| | Editor software caret.
|
|
std::int32_t | minWidth {} |
| | Nonnegative hard column minimum; zero adds no style constraint.
|
|
std::array< FrameAppearance, 6 > | frame {} |
| | Parts in normal/focused/disabled/selected/header/caret order.
|
|
std::array< ScrollbarAppearance, 6 > | scrollbar {} |
| | Parts in normal/focused/disabled/selected/header/caret order.
|
|
std::optional< std::array< ScrollbarThumbAppearance, 6 > > | scrollbarThumbSegments {} |
| | Optional complete segment values in normal/focused/disabled/selected/header/caret order. Engaged only for matching segment declarations or explicit widget defaults. Inline ownership keeps resolution and copies allocation-free; absence retains the common thumb and avoids segment resolution.
|
|
std::optional< std::array< SliderAppearance, 6 > > | sliderParts {} |
| | Complete Slider paints in normal/focused/disabled/selected/header/caret order. Engaged only for matching part declarations or explicit widget defaults. Inline ownership keeps resolution and copying allocation-free; an absent value retains the ordinary control paint.
|
| std::array< GlyphAppearance, 6 > | glyphs {} |
|
std::optional< StyleSizing > | sizing {} |
| | Inline scratch constraints; resolution and copying never allocate.
|
Owning resolved presentation; no actions or model state are encoded.
◆ operator==()
| bool portals::ComputedStyle::operator== |
( |
const ComputedStyle & | other | ) |
const |
|
noexcept |
- Parameters
-
| other | Owning value to compare. |
- Returns
- True when every paint value and metric agrees.
◆ glyphs
Logical maps in normal/focused/disabled/selected/header/caret order.
The documentation for this struct was generated from the following file: