ascii-chat
Binary v0.16.114-28-gf5913657f
Library lib/v0.3.2-3302-gf5913657f
Video chat in your terminal
Loading...
Searching...
No Matches
ui_table_t Struct Reference

The useful part of ui table column is in heading, width, alignment, ellipsis: together they describe what is pending, who owns it, and how much data is valid. Keep the object with its parent operation and use the parent cleanup path. More...

#include <include/ascii-chat/ui/table.h>

Data Fields

const ui_table_column_t * columns
size_t column_count
size_t row_count
ui_viewport_t viewport
ui_table_cells_fn cells
void * data
bool selectable
bool header

Detailed Description

The useful part of ui table column is in heading, width, alignment, ellipsis: together they describe what is pending, who owns it, and how much data is valid. Keep the object with its parent operation and use the parent cleanup path.

Definition at line 35 of file table.h.

Field Documentation

◆ cells

ui_table_cells_fn ui_table_t::cells

Definition at line 39 of file table.h.

Referenced by ui_table_render().

◆ column_count

size_t ui_table_t::column_count

Definition at line 37 of file table.h.

Referenced by ui_table_render().

◆ columns

const ui_table_column_t* ui_table_t::columns

Definition at line 36 of file table.h.

Referenced by ui_table_render().

◆ data

void* ui_table_t::data

Definition at line 40 of file table.h.

Referenced by ui_table_render().

◆ header

bool ui_table_t::header

Definition at line 41 of file table.h.

Referenced by ui_table_render().

◆ row_count

size_t ui_table_t::row_count

Definition at line 37 of file table.h.

Referenced by ui_table_render().

◆ selectable

bool ui_table_t::selectable

Definition at line 41 of file table.h.

Referenced by ui_table_render().

◆ viewport

ui_viewport_t ui_table_t::viewport

Definition at line 38 of file table.h.

Referenced by ui_table_render().


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