|
ZenitUI
Retained-mode C++20 UI framework
|
Header-only tree-to-flat-list projection for virtualized trees (e.g. More...
#include "Common.hpp"#include <functional>#include <optional>#include <type_traits>#include <unordered_set>#include <utility>#include <vector>Go to the source code of this file.
Classes | |
| struct | ZenitUI::UI::FlatTreeRow< NodeT, KeyT > |
| One visible row produced by FlatTreeModel. More... | |
| class | ZenitUI::UI::FlatTreeModel< NodeT, KeyT > |
| Maintains expanded state, selection, keyboard navigation, and a flat projection of visible rows ready to drive VirtualList. More... | |
Header-only tree-to-flat-list projection for virtualized trees (e.g.
with VirtualList).
Projects an arbitrary C++ tree into a flat std::vector<FlatTreeRow> of currently reachable (expanded) rows without copying user data or creating UI nodes for collapsed/off-screen subtrees.