Skip to content

Commit aa58b94

Browse files
committed
add tic_tac_toe icon
1 parent 0005a3b commit aa58b94

File tree

2 files changed

+1
-12
lines changed

2 files changed

+1
-12
lines changed

main/bootloader_ui.c

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -96,17 +96,6 @@ lv_group_t *ui_get_btn_op_group(void)
9696
return g_btn_op_group;
9797
}
9898

99-
100-
static void clock_run_cb(lv_timer_t *timer)
101-
{
102-
lv_obj_t *lab_time = (lv_obj_t *) timer->user_data;
103-
time_t now;
104-
struct tm timeinfo;
105-
time(&now);
106-
localtime_r(&now, &timeinfo);
107-
lv_label_set_text_fmt(lab_time, "%02u:%02u", timeinfo.tm_hour, timeinfo.tm_min);
108-
}
109-
11099
static void ui_button_style_init(void)
111100
{
112101
/*Init the style for the default state*/
@@ -288,7 +277,7 @@ static void ui_main_menu(int32_t index_id)
288277
lv_obj_align(obj, LV_ALIGN_TOP_MID, 0, -10);
289278

290279
g_img_btn = lv_btn_create(obj);
291-
lv_obj_set_size(g_img_btn, 80, 80);
280+
lv_obj_set_size(g_img_btn, 108, 108);
292281
lv_obj_add_style(g_img_btn, &ui_button_styles()->style_pr, LV_STATE_PRESSED);
293282
lv_obj_add_style(g_img_btn, &ui_button_styles()->style_focus_no_outline, LV_STATE_FOCUS_KEY);
294283
lv_obj_add_style(g_img_btn, &ui_button_styles()->style_focus_no_outline, LV_STATE_FOCUSED);
12.8 KB
Loading

0 commit comments

Comments
 (0)