TachyonUI 0.1.0
High-performance UI for building tools.
Loading...
Searching...
No Matches
gui_table_types.h File Reference
#include <gui_core/gui_id.h>
#include <gui_core/input/gui_pointer_drag.h>
#include <gui_core/gui_units.h>
#include <gui_core/gui_base_types.h>
#include <gui_core/style/gui_style.h>
#include <gui_core/style/gui_style_manager.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 <optional>
#include <unordered_map>
#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::PendingRowClick
 Deferred row-click state for the drag-drop path: MouseDown primes it, MouseUp applies the selection unless a drag promoted in between. 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

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...