|
TachyonUI 0.1.0
High-performance UI for building tools.
|
#include "gui_application.h"#include <concepts>#include <iterator>#include <stdint.h>#include <vector>Go to the source code of this file.
Namespaces | |
| namespace | tachyon |
| namespace | tachyon::TreeUtils |
Concepts | |
| concept | tachyon::TreeUtils::TreeRowLike |
| A flat tree row: the caller sets depth and isOpen; RebuildTreeIndex derives the rest. | |
Functions | |
| template<TreeRowLike Row> | |
| void | tachyon::TreeUtils::RebuildTreeIndex (std::vector< Row > &rows) |
| Recomputes the derived fields (skipCount, ancestorLineMask, isLastSibling) from each row's depth. | |
| template<TreeRowLike Row> | |
| int | tachyon::TreeUtils::ReorderTreeRow (std::vector< Row > &rows, int srcDs, int dstDs, tachyon::TreeDropPosition pos) |
| Moves the subtree rooted at flat index srcDs to pos relative to row dstDs, shifting depths when the target depth differs; Inside/InsideLast open the target. | |