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

Owning observation captured after a complete low-level layout pass. Capture every area's observation before preparation invalidates geometry. The future managed snapshot adapter performs this automatically; this value itself retains no tree or widget. More...

#include <scroll_controls.hpp>

Public Attributes

NodeId node
 Full source identity, including session and generation.
NodeGeometry geometry
 Copied arranged outer geometry; invalid for a hidden owner.
ScrollExtent extent
 Intrinsic ordinary content extent, bounded by int32 layout.
ScrollAreaGeometry placement
 Copied local viewport, clip and one-cell tracks.
std::uint64_t layoutRevision {}
 Local completed-layout identity; stale observations cannot be adopted.
bool visible {}
 Effective visibility, distinct from a visible zero allocation.
ScrollOffset horizontalOffset
 Old effective local position used by this completed layout.
ScrollOffset verticalOffset
 Old effective position independent of later controller commands.

Detailed Description

Owning observation captured after a complete low-level layout pass. Capture every area's observation before preparation invalidates geometry. The future managed snapshot adapter performs this automatically; this value itself retains no tree or widget.


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