6#include <portals/primitives.hpp>
7#include <portals/scroll_geometry.hpp>
10#pragma push_macro("UNICODE")
40 std::optional<BorderOptions>
frame;
70#pragma pop_macro("UNICODE")
Public Portals API.
Definition action.hpp:8
ScrollBarPolicy
Presence policy, independent of whether the content can scroll.
Definition scroll_geometry.hpp:21
@ AUTO
Show a bar only when its logical extent exceeds the viewport.
Definition scroll_geometry.hpp:23
PrimitiveGlyphs
One-cell decoration selection under the complete receiving WidthPolicy.
Definition primitives.hpp:20
@ UNICODE
Unicode lines/blocks, falling back to ASCII when a glyph is not one cell.
Definition primitives.hpp:21
ScrollPlacement
Explicit relationship between bars, content and an optional frame.
Definition scroll_geometry.hpp:28
@ RESERVED
Bars occupy one-cell gutters outside the logical viewport.
Definition scroll_geometry.hpp:29
std::expected< void, TreeError > validateScrollOptions(const ScrollBarOptions &options) noexcept
Validate standalone bar settings without mutation, allocation or callbacks.