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

Transient state of one table emit; internal. More...

#include <gui_controls/gui_table_types.h>

Public Attributes

VirtualTableColumn * columns = nullptr
 user-owned
size_t columnCount = 0
TableState * userState = nullptr
bool dragActive = false
bool cellMode = false
int32_t lastColDragFixedWidth = 0
int draggedCol = -1
 Reorder-dragged column, or -1; emitted last so it paints on top.
bool anyHorzOverflow = false
 Copied from TableState::internal.anyHorzOverflow / anyVertOverflow (last frame).
bool anyVertOverflow = false
bool showHeaders = true
bool columnSeparators = true
 Copied from TableState::columnSeparators.
StyleRef cellStyleRef = {}
 Body text cell style; invalid falls back to theme.tableCellStyleRef.
tachyon::EventHandler sharedRowHandler
tachyon::EventHandler sharedCellHandler
int currentCol = 0
tachyon::ID currentRowID = tachyon::ID::Invalid()
tachyon::EventHandler currentRowHandler
int directGridRow = 0
int directColStart = 0
bool isRecording = false
 Recording mode (BeginTable/Cell flow): cells are stored in columnCells[column][row] and replayed by EndTable.
tachyon::ID containerID = tachyon::ID::Invalid()
StyleRef style = {}
LayoutOverride constraints = {}
int rowCount = 0
std::vector< std::vector< std::function< void()> > > columnCells

Detailed Description

Transient state of one table emit; internal.

Member Data Documentation

◆ columns

VirtualTableColumn* tachyon::TableEmit::columns = nullptr

user-owned

◆ columnCount

size_t tachyon::TableEmit::columnCount = 0

◆ userState

TableState* tachyon::TableEmit::userState = nullptr

◆ dragActive

bool tachyon::TableEmit::dragActive = false

◆ cellMode

bool tachyon::TableEmit::cellMode = false

◆ lastColDragFixedWidth

int32_t tachyon::TableEmit::lastColDragFixedWidth = 0

◆ draggedCol

int tachyon::TableEmit::draggedCol = -1

Reorder-dragged column, or -1; emitted last so it paints on top.

◆ anyHorzOverflow

bool tachyon::TableEmit::anyHorzOverflow = false

Copied from TableState::internal.anyHorzOverflow / anyVertOverflow (last frame).

◆ anyVertOverflow

bool tachyon::TableEmit::anyVertOverflow = false

◆ showHeaders

bool tachyon::TableEmit::showHeaders = true

◆ columnSeparators

bool tachyon::TableEmit::columnSeparators = true

◆ cellStyleRef

StyleRef tachyon::TableEmit::cellStyleRef = {}

Body text cell style; invalid falls back to theme.tableCellStyleRef.

◆ sharedRowHandler

tachyon::EventHandler tachyon::TableEmit::sharedRowHandler

◆ sharedCellHandler

tachyon::EventHandler tachyon::TableEmit::sharedCellHandler

◆ currentCol

int tachyon::TableEmit::currentCol = 0

◆ currentRowID

tachyon::ID tachyon::TableEmit::currentRowID = tachyon::ID::Invalid()

◆ currentRowHandler

tachyon::EventHandler tachyon::TableEmit::currentRowHandler

◆ directGridRow

int tachyon::TableEmit::directGridRow = 0

◆ directColStart

int tachyon::TableEmit::directColStart = 0

◆ isRecording

bool tachyon::TableEmit::isRecording = false

Recording mode (BeginTable/Cell flow): cells are stored in columnCells[column][row] and replayed by EndTable.

An empty slot means the row skipped that column.

◆ containerID

tachyon::ID tachyon::TableEmit::containerID = tachyon::ID::Invalid()

◆ style

StyleRef tachyon::TableEmit::style = {}

◆ constraints

LayoutOverride tachyon::TableEmit::constraints = {}

◆ rowCount

int tachyon::TableEmit::rowCount = 0

◆ columnCells

std::vector<std::vector<std::function<void()> > > tachyon::TableEmit::columnCells

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