|
TachyonUI 0.1.0
High-performance UI for building tools.
|
#include <gui_core/elements/gui_element_iterators.h>
Public Member Functions | |
| bool | IsDone () const |
| bool | HasChildren () const |
| ElementRef | CurrentRef () const |
| const Element & | CurrentElement (const ElementStorage &storage) const |
| Element & | CurrentElement (ElementStorage &storage) const |
| const ElementRect & | CurrentElementRect (const ElementStorage &storage) const |
| ElementRect & | CurrentElementRect (ElementStorage &storage) const |
| std::span< const Element > | GetChildren (const ElementStorage &storage) const |
| std::span< Element > | GetChildren (ElementStorage &storage) const |
| std::span< const ElementRect > | GetChildRects (const ElementStorage &storage) const |
| std::span< ElementRect > | GetChildRects (ElementStorage &storage) const |
| bool | operator== (const DepthScanCursor &rhs) const |
| bool | operator!= (const DepthScanCursor &rhs) const |
| void | SetDone () |
Static Public Member Functions | |
| static constexpr DepthScanCursor | EndCursor () |
Public Attributes | |
| uint32_t | parentDepth = 0 |
| uint32_t | parentIndex = 0 |
| uint32_t | parentCountAtDepth = 0 |
| IndexRange | childRange = {0, 0} |
| This parent's children at parentDepth + 1. | |
|
inline |
|
inline |
|
inline |
| const Element & tachyon::DepthScanCursor::CurrentElement | ( | const ElementStorage & | storage | ) | const |
| Element & tachyon::DepthScanCursor::CurrentElement | ( | ElementStorage & | storage | ) | const |
| const ElementRect & tachyon::DepthScanCursor::CurrentElementRect | ( | const ElementStorage & | storage | ) | const |
| ElementRect & tachyon::DepthScanCursor::CurrentElementRect | ( | ElementStorage & | storage | ) | const |
| std::span< const Element > tachyon::DepthScanCursor::GetChildren | ( | const ElementStorage & | storage | ) | const |
| std::span< Element > tachyon::DepthScanCursor::GetChildren | ( | ElementStorage & | storage | ) | const |
| std::span< const ElementRect > tachyon::DepthScanCursor::GetChildRects | ( | const ElementStorage & | storage | ) | const |
| std::span< ElementRect > tachyon::DepthScanCursor::GetChildRects | ( | ElementStorage & | storage | ) | const |
|
inline |
|
inline |
|
inlinestaticconstexpr |
|
inline |
| uint32_t tachyon::DepthScanCursor::parentDepth = 0 |
| uint32_t tachyon::DepthScanCursor::parentIndex = 0 |
| uint32_t tachyon::DepthScanCursor::parentCountAtDepth = 0 |
| IndexRange tachyon::DepthScanCursor::childRange = {0, 0} |
This parent's children at parentDepth + 1.