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

Sparse owning scrollbar skin; omitted leaves preserve context defaults. Glyph colors and supported attributes use the existing style declarations. More...

#include <ui_control_context.hpp>

Public Member Functions

 ~ControlScrollbarSettings ()=default
 Preserve fallible checked-library owning transfers.

Public Attributes

std::optional< ScrollbarPattern > pattern {}
 Legacy/frame/minimal/ASCII glyph source.
std::optional< bool > ends {}
 Decorative end-cell visibility, without new input actions.
std::optional< std::size_t > maxGlyphBytes {}
 Positive byte cap per supplied glyph, default 64.
ScrollbarAxisGlyphs horizontal {}
 Sparse horizontal glyph overrides.
ScrollbarAxisGlyphs vertical {}
 Sparse vertical glyph overrides.
std::optional< std::string > corner {}
 Optional one-cell corner; empty restores fill.
std::optional< ScrollbarPattern > trackPattern {}
 Independent track preset.
std::optional< ScrollbarThumbPattern > thumbPattern {}
 Independent thumb preset.
std::optional< ScrollbarArrowPattern > arrowPattern {}
 Independent functional-arrow preset.

Detailed Description

Sparse owning scrollbar skin; omitted leaves preserve context defaults. Glyph colors and supported attributes use the existing style declarations.


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