diff options
Diffstat (limited to 'ui.h')
-rw-r--r-- | ui.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -11,6 +11,12 @@ enum ui_align { UI_ALIGN_RIGHT, }; +struct ui_text { + chtype *str; + size_t slen; + size_t len; +}; + struct ui_col { struct list_head entry; uint32_t id; @@ -26,6 +32,7 @@ struct ui_table { int x; int rows_y; struct list_head cols; + struct ui_text *row; int hdr_color; int col_pad; int width; @@ -44,6 +51,7 @@ extern void ui_table_col_color_set(struct ui_table *tbl, int col_id, int color); extern void ui_table_col_align_set(struct ui_table *tbl, int col_id, enum ui_align align); extern void ui_table_row_add(struct ui_table *tbl); +extern void ui_table_row_show(struct ui_table *tbl); extern void ui_table_row_print(struct ui_table *tbl, uint32_t col_id, const char *str); |