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

Owning two-axis observation, safe to retain after the controller is destroyed. Values are independent of subsequent UI changes; concurrent const reads are safe. More...

#include <scroll_controller.hpp>

Public Attributes

ScrollAxisSnapshot horizontal
 Horizontal values from this same revision.
ScrollAxisSnapshot vertical
 Vertical values from this same revision.
std::uint64_t revision {}
 Nonzero checked revision; never wraps or reuses an exhausted identity.

Detailed Description

Owning two-axis observation, safe to retain after the controller is destroyed. Values are independent of subsequent UI changes; concurrent const reads are safe.


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