TachyonUI 0.1.0
High-performance UI for building tools.
Loading...
Searching...
No Matches
tachyon::TreeUtils::TreeRowLike Concept Reference

A flat tree row: the caller sets depth and isOpen; RebuildTreeIndex derives the rest. More...

#include <gui_controls/gui_tree_utils.h>

Concept definition

template<typename Row>
concept TreeRowLike = requires(Row r)
{
{ r.depth } -> std::convertible_to<int>;
{ r.skipCount } -> std::convertible_to<int>;
{ r.isOpen } -> std::convertible_to<bool>;
{ r.ancestorLineMask } -> std::convertible_to<uint32_t>;
{ r.isLastSibling } -> std::convertible_to<bool>;
}
A flat tree row: the caller sets depth and isOpen; RebuildTreeIndex derives the rest.
Definition gui_tree_utils.h:22
@ Row
Horizontal, left to right.
Definition gui_style.h:165

Detailed Description

A flat tree row: the caller sets depth and isOpen; RebuildTreeIndex derives the rest.