|
ZenitUI
Retained-mode C++20 UI framework
|
Per-frame interaction flags derived from pointer / keyboard state. More...
#include <Layout.hpp>
Public Attributes | |
| uint32_t | hovered: 1 |
| Pointer is currently inside the node. | |
| uint32_t | pressed: 1 |
| Primary mouse button is pressed on this node. | |
| uint32_t | focused: 1 |
| Node currently holds keyboard focus. | |
| uint32_t | checked: 1 |
| Toggle / Checkbox checked state (:checked). | |
Per-frame interaction flags derived from pointer / keyboard state.
Packed as bitfields to keep the node struct small. Written by InputController::updateFlags, read by StyleResolver and by components that need to render state-dependent visuals.