Small refactor and bugfixes
This commit is contained in:
@@ -177,7 +177,7 @@ static void _disp_fb_flush(int32_t x1, int32_t y1, int32_t x2, int32_t y2, const
|
||||
|
||||
static touch_event touchpad;
|
||||
|
||||
static bool _fts_touch_read(lv_indev_data_t *data)
|
||||
static bool _fts_touch_read(lv_indev_data_t *data)
|
||||
{
|
||||
touch_poll(&touchpad);
|
||||
|
||||
@@ -1572,7 +1572,7 @@ static void _nyx_main_menu(lv_theme_t * th)
|
||||
static lv_style_t line_style;
|
||||
lv_style_copy(&line_style, &lv_style_plain_color);
|
||||
|
||||
line_style.body.main_color = LV_COLOR_HEX3(0xDDD); // 0x505050
|
||||
line_style.body.main_color = LV_COLOR_HEX(0xDDDDDD); // 0x505050
|
||||
line_style.body.grad_color = line_style.body.main_color;
|
||||
line_style.body.shadow.width = 0;
|
||||
|
||||
|
||||
@@ -1067,7 +1067,7 @@ void create_tab_info(lv_theme_t *th, lv_obj_t *parent)
|
||||
|
||||
static lv_style_t line_style;
|
||||
lv_style_copy(&line_style, th->line.decor);
|
||||
line_style.line.color = LV_COLOR_HEX3(0x444);
|
||||
line_style.line.color = LV_COLOR_HEX(0x444444);
|
||||
|
||||
line_sep = lv_line_create(h1, line_sep);
|
||||
lv_obj_align(line_sep, label_txt2, LV_ALIGN_OUT_BOTTOM_LEFT, -(LV_DPI / 4), LV_DPI / 16);
|
||||
|
||||
@@ -824,7 +824,7 @@ static void _create_tab_tools_arc_autorcm(lv_theme_t *th, lv_obj_t *parent)
|
||||
label_btn = lv_label_create(btn3, NULL);
|
||||
lv_btn_set_fit(btn3, true, true);
|
||||
lv_label_set_recolor(label_btn, true);
|
||||
lv_label_set_static_text(label_btn, SYMBOL_REFRESH" AutoRCM #00ffc9 ON #");
|
||||
lv_label_set_static_text(label_btn, SYMBOL_REFRESH" AutoRCM #00FFC9 ON #");
|
||||
lv_obj_align(btn3, line_sep, LV_ALIGN_OUT_BOTTOM_LEFT, LV_DPI / 4, LV_DPI / 4);
|
||||
lv_btn_set_action(btn3, LV_BTN_ACTION_CLICK, _create_mbox_autorcm_status);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user