|
TachyonUI 1.1.0
High-performance UI for building tools.
|
#include <gui_core/gui_id.h>#include <gui_core/input/gui_gesture.h>#include <gui_core/input/gui_command_manager.h>#include <gui_core/gui_units.h>#include <gui_core/gui_base_types.h>#include <gui_core/style/gui_style.h>#include <gui_core/layout/gui_layout_grid.h>#include <gui_core/layout/gui_constraints.h>#include <gui_core/elements/gui_element.h>#include <gui_core/input/gui_input_handler_func.h>#include <gui_core/input/gui_input_enums.h>#include <gui_controls/gui_widget_state_types.h>#include <array>#include <cassert>#include <functional>#include <memory>#include <unordered_map>#include <unordered_set>#include <vector>Go to the source code of this file.
Classes | |
| struct | tachyon::TableColumn |
| A table column; callers pass an array of them each frame. More... | |
| struct | tachyon::VirtualTableColumn |
| A VirtualTable column: the TableColumn plus cell generator, sort order and section. More... | |
| struct | tachyon::VirtualTableColumn::Internal |
| Written by the table each frame (end-of-frame handlers read it); not part of the API. More... | |
| struct | tachyon::TreeOpenRef |
| Where a tree row's open state lives: a bool of the caller's (flag), or the rows a view has open (set, the row's key in it, as TableState::openRows keeps them). More... | |
| struct | tachyon::TableState |
| User-owned, persistent state of one table: column widths, selection, sort, options. More... | |
| struct | tachyon::TableState::TreeRowInfo |
| Per-row metadata from TreeCell(). More... | |
| struct | tachyon::TableState::CellLookupEntry |
| Cell-mode click dispatch: cell-element ID -> (rowID, columnIdx). More... | |
| class | tachyon::TableState::LazyReorderFn |
| A ReorderColumnsFn that costs one pointer when unset; assign it like a std::function: state.onReorderColumns = [&](int from, int to) { ... };. More... | |
| struct | tachyon::TableState::Internal |
| Written by the table each frame; not part of the API. More... | |
| struct | tachyon::ColumnDragState |
| Column-reorder drag in progress; internal, owned by the application. More... | |
| struct | tachyon::TreeDropState |
| Tree reorder drop target under the cursor; internal, owned by the application. More... | |
| struct | tachyon::TableEmit |
| Transient state of one table emit; internal. More... | |
Namespaces | |
| namespace | tachyon |
Typedefs | |
| using | tachyon::PendingRowClick = Gesture<tachyon::KeyModifier> |
| Deferred row click for the drag-drop path: MouseDown presses it on the row (keeping the modifiers held then), it becomes a drag once the row's drag starts, and MouseUp applies the selection only when it ends as a click. | |
Enumerations | |
| enum class | tachyon::ColumnSizing : uint8_t { tachyon::ColumnSizing::Resizable , tachyon::ColumnSizing::Fixed , tachyon::ColumnSizing::Stretch } |
| How a column's track is sized and whether it has a sizer at its right edge. More... | |
| enum class | tachyon::SectionSizing : uint8_t { tachyon::SectionSizing::Scrollable , tachyon::SectionSizing::FitContent } |
| How a section sizes itself in the bodies row; read from the section's first column. More... | |
| enum class | tachyon::TableSelectionMode : uint8_t { tachyon::TableSelectionMode::Row , tachyon::TableSelectionMode::Cell } |
| Whether clicks, hover and keyboard navigation work on rows or on cells. More... | |