application/main.c

changeset 745
a4ee36ff7147
parent 742
f63d8125fcbd
child 754
fb5f560e81d9
--- a/application/main.c	Sun Aug 31 07:50:23 2025 +0200
+++ b/application/main.c	Sun Aug 31 09:44:53 2025 +0200
@@ -465,9 +465,16 @@
 UiBool table_getstyle(UiList *list, void *elm, int row, int col, void *userdata, UiTextStyle *style) {
     if(row < 2 && col != -1) {
         style->text_style = UI_TEXT_STYLE_BOLD;
+        if(col == 2) {
+            style->text_style = UI_TEXT_STYLE_ITALIC;
+        }
+        if(row == 1) {
+            style->text_style |= UI_TEXT_STYLE_UNDERLINE;
+        }
         style->fg.blue = col == 1 ? 255 : 0;
         style->fg.green = col == 2 ? 255 : 0;
         style->fg.red = col == 5 ? 255 : 0;
+        style->fg_set = TRUE;
         return TRUE;
     }
     return FALSE;

mercurial