58 bool IsBalanced()
const {
return m_buttonStack.empty() && m_toggleStack.empty(); }
63 struct StackEntry { ItemState state; uint32_t nestingDepth; };
65 std::vector<StackEntry> m_buttonStack;
66 std::vector<StackEntry> m_toggleStack;
67 ElementStorage& m_elementStorage;
68 StyleManager& m_styleManager;
The frame's element tree.
Definition gui_element_storage.h:100
Stage callbacks run in registration order (no priorities): if A must run before B,...
Definition gui_frame_pipeline.h:74
Bakes serializable Styles into deduplicated runtime layout/visual styles; a StyleRef holds indices in...
Definition gui_style_manager.h:39
Definition gui_logging.h:24
An element's slot in ElementStorage: its depth and index within that depth.
Definition gui_element.h:127
static constexpr ElementRef Invalid()
Definition gui_element.h:135
Per-frame values plus references to long-lived managers, passed to every stage callback.
Definition gui_frame_pipeline.h:32
A registered style, as StyleManager::Register returns it: indices into the shared style pools,...
Definition gui_style_ref.h:25