ascii-chat
Binary v0.15.83-53-gb711d8720
Library lib/v0.3.2-701-gb711d8720
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 22 of file table.h.

Field Documentation

◆ cells

ui_table_cells_fn ui_table_t::cells

Definition at line 26 of file table.h.

Referenced by ui_table_render().

◆ column_count

size_t ui_table_t::column_count

Definition at line 24 of file table.h.

Referenced by ui_table_render().

◆ columns

const ui_table_column_t* ui_table_t::columns

Definition at line 23 of file table.h.

Referenced by ui_table_render().

◆ data

void* ui_table_t::data

Definition at line 27 of file table.h.

Referenced by ui_table_render().

◆ header

bool ui_table_t::header

Definition at line 28 of file table.h.

Referenced by ui_table_render().

◆ row_count

size_t ui_table_t::row_count

Definition at line 24 of file table.h.

Referenced by ui_table_render().

◆ selectable

bool ui_table_t::selectable

Definition at line 28 of file table.h.

Referenced by ui_table_render().

◆ viewport

ui_viewport_t ui_table_t::viewport

Definition at line 25 of file table.h.

Referenced by ui_table_render().


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