|
TachyonUI 1.1.0
High-performance UI for building tools.
|
One row of a flat-data tree view (VirtualTreeView); rows are in depth-first order. More...
#include <gui_controls/gui_tree_grid_types.h>
Public Member Functions | |
| bool | HasChildren () const |
Public Attributes | |
| tachyon::ID | id = tachyon::ID::Invalid() |
| The caller's own ID for the row. | |
| std::string | name |
| label | |
| int | depth = 0 |
| nesting level, 0 = root; defines the hierarchy | |
| IconID | icon = IconID::Invalid |
| std::string * | renameBuffer = nullptr |
| null = not renameable | |
| int | skipCount = 0 |
| Number of descendant rows (skipped when the row is closed); > 0 means it has children. | |
| uint32_t | ancestorLineMask = 0 |
| Bit d is set when the ancestor at depth d+1 has a next sibling; drives guide lines. | |
| bool | isLastSibling = true |
| no later sibling at the same depth | |
One row of a flat-data tree view (VirtualTreeView); rows are in depth-first order.
|
inline |
| tachyon::ID tachyon::TreeViewRow::id = tachyon::ID::Invalid() |
The caller's own ID for the row.
When set, the selection and the open state stay on the row as rows are inserted, removed or moved above it; without it, on its position.
| std::string tachyon::TreeViewRow::name |
label
| int tachyon::TreeViewRow::depth = 0 |
nesting level, 0 = root; defines the hierarchy
| IconID tachyon::TreeViewRow::icon = IconID::Invalid |
| std::string* tachyon::TreeViewRow::renameBuffer = nullptr |
null = not renameable
| int tachyon::TreeViewRow::skipCount = 0 |
Number of descendant rows (skipped when the row is closed); > 0 means it has children.
| uint32_t tachyon::TreeViewRow::ancestorLineMask = 0 |
Bit d is set when the ancestor at depth d+1 has a next sibling; drives guide lines.
| bool tachyon::TreeViewRow::isLastSibling = true |
no later sibling at the same depth