--- a/ui/common/wrapper.c Mon Sep 29 21:31:49 2025 +0200 +++ b/ui/common/wrapper.c Mon Sep 29 21:34:43 2025 +0200 @@ -299,3 +299,22 @@ void ui_textstyle_enable_color(UiTextStyle *style, UiBool enable) { style->fg_set = enable; } + + +/* ---------------------------- UiTextStyle ---------------------------- */ + +UiBool ui_cell_value_is_string(UiCellValue *value) { + return value->type == UI_STRING_EDITABLE; +} + +UiBool ui_cell_value_is_int(UiCellValue *value) { + return FALSE; // TODO +} + +const char* ui_cell_value_get_string(UiCellValue *value) { + return value->string; +} + +int64_t ui_cell_value_get_int(UiCellValue *value) { + return value->i; +}