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

Horizontal slider presentation and user-input configuration. More...

#include <slider.hpp>

Public Attributes

std::int32_t preferredWidth {20}
 Nonnegative intrinsic width in cells; intrinsic height is one.
std::uint64_t pageSteps {10}
 Positive increments applied by PageUp/PageDown.
std::size_t maxPaintCells {16384}
 Positive bound on the allocated background area, including extra rows.
bool readOnly {}
 User mutation gate; programmatic model writes remain allowed.
SliderSkin skin {SliderSkin::ASCII}
 Valid built-in set; custom glyphs override it, and incompatible built-ins fall back to ASCII.
std::optional< SliderGlyphs > glyphs {}
 Owning custom one-cell glyphs, validated using the receiving width policy.

Detailed Description

Horizontal slider presentation and user-input configuration.


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