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

Classes

struct  VirtualRowRange
 Half-open [firstVisible, lastVisible) range of rows to emit. More...

Functions

VirtualRowRange ComputeVirtualRowRange (int32_t scrollY, int32_t viewportH, int32_t rowHeight, int totalRowCount, int bufferRows)
 The rows a virtualized list of totalRowCount fixed-height rows emits, plus bufferRows of over-draw on each side; all lengths in pixels.
int ComputeColumnInsertionIndex (int32_t mouseX, int fromCol, std::span< const IntRect > headerRects)
 Drop column for a column drag: the dragged column passes a neighbour once the mouse crosses that neighbour's far edge.