Skip to content

Commit

Permalink
Add text field for persistent log during FW Update
Browse files Browse the repository at this point in the history
  • Loading branch information
danngreen committed Sep 26, 2024
1 parent 87406e7 commit 8c9f9c3
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions firmware/src/gui/slsexport/meta5/screens/ui_SystemMenu.c
Original file line number Diff line number Diff line change
Expand Up @@ -1299,4 +1299,13 @@ lv_obj_set_style_text_color(ui_SystemMenuUpdateLog, lv_color_hex(0xFFFFFF), LV_P
lv_obj_set_style_text_opa(ui_SystemMenuUpdateLog, 255, LV_PART_MAIN| LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui_SystemMenuUpdateLog, &ui_font_MuseoSansRounded50012, LV_PART_MAIN| LV_STATE_DEFAULT);

ui_SystemMenuUpdateLog = lv_label_create(ui_SystemMenuUpdateTab);
lv_obj_set_width( ui_SystemMenuUpdateLog, lv_pct(100));
lv_obj_set_height( ui_SystemMenuUpdateLog, LV_SIZE_CONTENT); /// 1
lv_obj_set_align( ui_SystemMenuUpdateLog, LV_ALIGN_CENTER );
lv_label_set_text(ui_SystemMenuUpdateLog,"");
lv_obj_set_style_text_color(ui_SystemMenuUpdateLog, lv_color_hex(0xFFFFFF), LV_PART_MAIN | LV_STATE_DEFAULT );
lv_obj_set_style_text_opa(ui_SystemMenuUpdateLog, 255, LV_PART_MAIN| LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui_SystemMenuUpdateLog, &ui_font_MuseoSansRounded50012, LV_PART_MAIN| LV_STATE_DEFAULT);

}

0 comments on commit 8c9f9c3

Please sign in to comment.