|
Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
|
Owning ordinary-area settings; content is retained rather than automatically virtualized. OVERLAY keeps nominal range/visibility and may obscure edge content. ON_FRAME requires frame. Embedded bars share the area's input/paint owner and never add focus stops. More...
#include <scroll_options.hpp>
Public Attributes | |
| ScrollBarPolicy | horizontal {ScrollBarPolicy::AUTO} |
| Horizontal bar presence policy. | |
| ScrollBarPolicy | vertical {ScrollBarPolicy::AUTO} |
| Vertical bar presence policy. | |
| ScrollPlacement | placement {ScrollPlacement::RESERVED} |
| Explicit gutter/overlay/frame placement. | |
| std::optional< BorderOptions > | frame |
| Optional existing one-cell outline, without a second inset. | |
| double | wheelStep {3} |
| Positive finite logical cells per decoded wheel event. | |
| std::uint64_t | keyStep {1} |
| Positive integral logical cells per arrow event. | |
| std::uint64_t | pageOverlap {1} |
| Shared cells between pages; values above viewport are supported. | |
| std::int32_t | minimumThumb {1} |
| Positive minimum thumb cells, capped by the actual track. | |
| PrimitiveGlyphs | glyphs {PrimitiveGlyphs::UNICODE} |
| Existing one-cell Unicode/ASCII glyph policy. | |
| std::size_t | maxPaintCells {16384} |
| Positive total outline-plus-track paint-work limit. | |
| bool | focusable {true} |
| Whether the owning area participates in Tab traversal. | |
| bool | readOnly {} |
| Reject user scrolling while permitting focus reveal/programmatic commands. | |
| bool | arrows {} |
| Reserve functional end buttons on channels of at least three cells. | |
| std::uint64_t | arrowDelay {350} |
| Positive milliseconds before the first held-arrow repeat. | |
| std::uint64_t | arrowRepeat {60} |
| Positive milliseconds between held-arrow steps; no catch-up burst. | |
| std::uint16_t | smoothDurationMs {120} |
| Fractional input transition duration; zero keeps immediate movement. | |
Owning ordinary-area settings; content is retained rather than automatically virtualized. OVERLAY keeps nominal range/visibility and may obscure edge content. ON_FRAME requires frame. Embedded bars share the area's input/paint owner and never add focus stops.