|
ZenitUI
Retained-mode C++20 UI framework
|
Overflow handling, scrolling input, and scrollbar rendering for a node. More...
Go to the source code of this file.
Classes | |
| struct | ZenitUI::ScrollController |
| Per-node overflow, scrolling and scrollbar state machine. More... | |
Overflow handling, scrolling input, and scrollbar rendering for a node.
Every Layout embeds one ScrollController (as scroll_). The controller only does work when the node's style has at least one non-visible overflow axis. Its responsibilities:
The division of labor between the controller and Layout is: