|
ZenitUI
Retained-mode C++20 UI framework
|
Per-node style resolution, state transitions and per-part animations. More...
#include "Common.hpp"#include "CoreTypes.hpp"#include "UIEnums.hpp"#include "Style.hpp"#include "Theme.hpp"#include "AnimPrimitives.hpp"#include "StyleAttr.hpp"#include <memory>Go to the source code of this file.
Classes | |
| struct | ZenitUI::StyleResolver |
| Resolves, caches, and transitions the style of a single node. More... | |
| struct | ZenitUI::StyleResolver::InlineStateStyles |
| Inline style overrides for interaction states (allocated lazily). More... | |
| struct | ZenitUI::StyleResolver::TransitionState |
| Active state-transition buffers (allocated only while transitioning). More... | |
| struct | ZenitUI::StyleResolver::ThemeCache |
| Cached theme-only resolution result before inline overlays. More... | |
| struct | ZenitUI::StyleResolver::PartTransition |
| Independent transition state for one pseudo-element (::part). More... | |
| struct | ZenitUI::StyleResolver::InheritedSnapshot |
| Last-seen inherited values on container nodes with children. More... | |
Per-node style resolution, state transitions and per-part animations.
A StyleResolver lives inside every Layout (as style_). Cold storage (inline overrides, transition buffers, theme cache, part transitions, and inheritance snapshots) is allocated lazily via std::unique_ptr so idle and leaf nodes keep a minimal memory footprint.