TachyonUI 0.1.0
High-performance UI for building tools.
Loading...
Searching...
No Matches
tachyon::ReorderableFocusFollow Struct Reference

After a keyboard move: where the focus was in the moved item, to put it back there next frame, in the item's new slot, unless its ID moved with the item. More...

#include <gui_controls/subsystems/gui_reorderable_subsystem.h>

Public Attributes

tachyon::ID groupID = tachyon::ID::Invalid()
int toSlot = -1
tachyon::ID focusID = tachyon::ID::Invalid()
std::vector< uint32_t > path
 child positions from the item down to the focused element

Detailed Description

After a keyboard move: where the focus was in the moved item, to put it back there next frame, in the item's new slot, unless its ID moved with the item.

Member Data Documentation

◆ groupID

tachyon::ID tachyon::ReorderableFocusFollow::groupID = tachyon::ID::Invalid()

◆ toSlot

int tachyon::ReorderableFocusFollow::toSlot = -1

◆ focusID

tachyon::ID tachyon::ReorderableFocusFollow::focusID = tachyon::ID::Invalid()

◆ path

std::vector<uint32_t> tachyon::ReorderableFocusFollow::path

child positions from the item down to the focused element


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