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

Selected item IDs of a multi-select view; user-owned, keep it alive across frames. More...

#include <gui_controls/gui_widget_state_types.h>

Public Attributes

std::unordered_set< tachyon::ID > selectedIDs
tachyon::ID lastClickedID = tachyon::ID::Invalid()
 anchor for Shift+Click ranges
std::vector< tachyon::ID > orderedItemIDs
 Transient: rebuilt each frame for Shift+Click range selection.

Detailed Description

Selected item IDs of a multi-select view; user-owned, keep it alive across frames.

Member Data Documentation

◆ selectedIDs

std::unordered_set<tachyon::ID> tachyon::MultiSelectState::selectedIDs

◆ lastClickedID

tachyon::ID tachyon::MultiSelectState::lastClickedID = tachyon::ID::Invalid()

anchor for Shift+Click ranges

◆ orderedItemIDs

std::vector<tachyon::ID> tachyon::MultiSelectState::orderedItemIDs

Transient: rebuilt each frame for Shift+Click range selection.


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