ZenitUI
Retained-mode C++20 UI framework
Loading...
Searching...
No Matches
ZenitUI::UI::FlatTreeRow< NodeT, KeyT > Struct Template Reference

One visible row produced by FlatTreeModel. More...

#include <FlatTreeModel.hpp>

Public Attributes

KeyT key {}
const NodeT * node {nullptr}
 Non-owning pointer to the user's C++ tree node.
int depth {0}
 Nesting level (0 for roots).
int parentRowIndex {-1}
 Index of the parent row in rows(), or -1 for roots.
bool hasChildren {false}
 true if the node has at least one child.
bool expanded {false}
 true if the branch is currently expanded.

Detailed Description

template<typename NodeT, typename KeyT>
struct ZenitUI::UI::FlatTreeRow< NodeT, KeyT >

One visible row produced by FlatTreeModel.


The documentation for this struct was generated from the following file: