|
|
@ -539,7 +539,7 @@ lv_obj_t* UIFlowPhoto_create(){
|
|
|
|
lv_obj_set_hidden(image_wifi_connected, true);
|
|
|
|
lv_obj_set_hidden(image_wifi_connected, true);
|
|
|
|
lv_obj_set_click(image_wifi_connected, false);
|
|
|
|
lv_obj_set_click(image_wifi_connected, false);
|
|
|
|
lv_obj_set_drag(image_wifi_connected, false);
|
|
|
|
lv_obj_set_drag(image_wifi_connected, false);
|
|
|
|
lv_obj_set_pos(image_wifi_connected, 40, 0);
|
|
|
|
lv_obj_set_pos(image_wifi_connected, 34, 0);
|
|
|
|
lv_obj_set_size(image_wifi_connected, 48, 40);
|
|
|
|
lv_obj_set_size(image_wifi_connected, 48, 40);
|
|
|
|
lv_img_set_src(image_wifi_connected, &sf_wifi_connected);
|
|
|
|
lv_img_set_src(image_wifi_connected, &sf_wifi_connected);
|
|
|
|
lv_obj_add_style(image_wifi_connected, 0, &image_wifi_connected_s0);
|
|
|
|
lv_obj_add_style(image_wifi_connected, 0, &image_wifi_connected_s0);
|
|
|
@ -553,42 +553,42 @@ lv_obj_t* UIFlowPhoto_create(){
|
|
|
|
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&image_bluetooth_connected_s0, LV_STATE_DEFAULT, color);
|
|
|
|
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&image_bluetooth_connected_s0, LV_STATE_DEFAULT, color);
|
|
|
|
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&image_bluetooth_connected_s0, LV_STATE_DEFAULT, color);
|
|
|
|
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&image_bluetooth_connected_s0, LV_STATE_DEFAULT, color);
|
|
|
|
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_outline_color(&image_bluetooth_connected_s0, LV_STATE_DEFAULT, color);
|
|
|
|
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_outline_color(&image_bluetooth_connected_s0, LV_STATE_DEFAULT, color);
|
|
|
|
STYLE_COLOR_PROP(0xd3, 0x3b, 0x3e, 0x42) ; lv_style_set_image_recolor(&image_bluetooth_connected_s0, LV_STATE_DEFAULT, color);
|
|
|
|
STYLE_COLOR_PROP(0xd3, 0x3c, 0x3c, 0x3c) ; lv_style_set_image_recolor(&image_bluetooth_connected_s0, LV_STATE_DEFAULT, color);
|
|
|
|
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_color(&image_bluetooth_connected_s0, LV_STATE_CHECKED, color);
|
|
|
|
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_color(&image_bluetooth_connected_s0, LV_STATE_CHECKED, color);
|
|
|
|
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&image_bluetooth_connected_s0, LV_STATE_CHECKED, color);
|
|
|
|
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&image_bluetooth_connected_s0, LV_STATE_CHECKED, color);
|
|
|
|
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&image_bluetooth_connected_s0, LV_STATE_CHECKED, color);
|
|
|
|
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&image_bluetooth_connected_s0, LV_STATE_CHECKED, color);
|
|
|
|
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_outline_color(&image_bluetooth_connected_s0, LV_STATE_CHECKED, color);
|
|
|
|
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_outline_color(&image_bluetooth_connected_s0, LV_STATE_CHECKED, color);
|
|
|
|
STYLE_COLOR_PROP(0xd3, 0x3b, 0x3e, 0x42) ; lv_style_set_image_recolor(&image_bluetooth_connected_s0, LV_STATE_CHECKED, color);
|
|
|
|
STYLE_COLOR_PROP(0xd3, 0x3c, 0x3c, 0x3c) ; lv_style_set_image_recolor(&image_bluetooth_connected_s0, LV_STATE_CHECKED, color);
|
|
|
|
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_color(&image_bluetooth_connected_s0, LV_STATE_FOCUSED, color);
|
|
|
|
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_color(&image_bluetooth_connected_s0, LV_STATE_FOCUSED, color);
|
|
|
|
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&image_bluetooth_connected_s0, LV_STATE_FOCUSED, color);
|
|
|
|
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&image_bluetooth_connected_s0, LV_STATE_FOCUSED, color);
|
|
|
|
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&image_bluetooth_connected_s0, LV_STATE_FOCUSED, color);
|
|
|
|
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&image_bluetooth_connected_s0, LV_STATE_FOCUSED, color);
|
|
|
|
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_outline_color(&image_bluetooth_connected_s0, LV_STATE_FOCUSED, color);
|
|
|
|
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_outline_color(&image_bluetooth_connected_s0, LV_STATE_FOCUSED, color);
|
|
|
|
STYLE_COLOR_PROP(0xd3, 0x3b, 0x3e, 0x42) ; lv_style_set_image_recolor(&image_bluetooth_connected_s0, LV_STATE_FOCUSED, color);
|
|
|
|
STYLE_COLOR_PROP(0xd3, 0x3c, 0x3c, 0x3c) ; lv_style_set_image_recolor(&image_bluetooth_connected_s0, LV_STATE_FOCUSED, color);
|
|
|
|
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_color(&image_bluetooth_connected_s0, LV_STATE_EDITED, color);
|
|
|
|
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_color(&image_bluetooth_connected_s0, LV_STATE_EDITED, color);
|
|
|
|
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&image_bluetooth_connected_s0, LV_STATE_EDITED, color);
|
|
|
|
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&image_bluetooth_connected_s0, LV_STATE_EDITED, color);
|
|
|
|
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&image_bluetooth_connected_s0, LV_STATE_EDITED, color);
|
|
|
|
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&image_bluetooth_connected_s0, LV_STATE_EDITED, color);
|
|
|
|
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_outline_color(&image_bluetooth_connected_s0, LV_STATE_EDITED, color);
|
|
|
|
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_outline_color(&image_bluetooth_connected_s0, LV_STATE_EDITED, color);
|
|
|
|
STYLE_COLOR_PROP(0xd3, 0x3b, 0x3e, 0x42) ; lv_style_set_image_recolor(&image_bluetooth_connected_s0, LV_STATE_EDITED, color);
|
|
|
|
STYLE_COLOR_PROP(0xd3, 0x3c, 0x3c, 0x3c) ; lv_style_set_image_recolor(&image_bluetooth_connected_s0, LV_STATE_EDITED, color);
|
|
|
|
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_color(&image_bluetooth_connected_s0, LV_STATE_HOVERED, color);
|
|
|
|
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_color(&image_bluetooth_connected_s0, LV_STATE_HOVERED, color);
|
|
|
|
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&image_bluetooth_connected_s0, LV_STATE_HOVERED, color);
|
|
|
|
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&image_bluetooth_connected_s0, LV_STATE_HOVERED, color);
|
|
|
|
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&image_bluetooth_connected_s0, LV_STATE_HOVERED, color);
|
|
|
|
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&image_bluetooth_connected_s0, LV_STATE_HOVERED, color);
|
|
|
|
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_outline_color(&image_bluetooth_connected_s0, LV_STATE_HOVERED, color);
|
|
|
|
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_outline_color(&image_bluetooth_connected_s0, LV_STATE_HOVERED, color);
|
|
|
|
STYLE_COLOR_PROP(0xd3, 0x3b, 0x3e, 0x42) ; lv_style_set_image_recolor(&image_bluetooth_connected_s0, LV_STATE_HOVERED, color);
|
|
|
|
STYLE_COLOR_PROP(0xd3, 0x3c, 0x3c, 0x3c) ; lv_style_set_image_recolor(&image_bluetooth_connected_s0, LV_STATE_HOVERED, color);
|
|
|
|
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_color(&image_bluetooth_connected_s0, LV_STATE_PRESSED, color);
|
|
|
|
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_color(&image_bluetooth_connected_s0, LV_STATE_PRESSED, color);
|
|
|
|
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&image_bluetooth_connected_s0, LV_STATE_PRESSED, color);
|
|
|
|
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&image_bluetooth_connected_s0, LV_STATE_PRESSED, color);
|
|
|
|
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&image_bluetooth_connected_s0, LV_STATE_PRESSED, color);
|
|
|
|
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&image_bluetooth_connected_s0, LV_STATE_PRESSED, color);
|
|
|
|
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_outline_color(&image_bluetooth_connected_s0, LV_STATE_PRESSED, color);
|
|
|
|
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_outline_color(&image_bluetooth_connected_s0, LV_STATE_PRESSED, color);
|
|
|
|
STYLE_COLOR_PROP(0xd3, 0x3b, 0x3e, 0x42) ; lv_style_set_image_recolor(&image_bluetooth_connected_s0, LV_STATE_PRESSED, color);
|
|
|
|
STYLE_COLOR_PROP(0xd3, 0x3c, 0x3c, 0x3c) ; lv_style_set_image_recolor(&image_bluetooth_connected_s0, LV_STATE_PRESSED, color);
|
|
|
|
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_color(&image_bluetooth_connected_s0, LV_STATE_DISABLED, color);
|
|
|
|
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_color(&image_bluetooth_connected_s0, LV_STATE_DISABLED, color);
|
|
|
|
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&image_bluetooth_connected_s0, LV_STATE_DISABLED, color);
|
|
|
|
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&image_bluetooth_connected_s0, LV_STATE_DISABLED, color);
|
|
|
|
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&image_bluetooth_connected_s0, LV_STATE_DISABLED, color);
|
|
|
|
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&image_bluetooth_connected_s0, LV_STATE_DISABLED, color);
|
|
|
|
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_outline_color(&image_bluetooth_connected_s0, LV_STATE_DISABLED, color);
|
|
|
|
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_outline_color(&image_bluetooth_connected_s0, LV_STATE_DISABLED, color);
|
|
|
|
STYLE_COLOR_PROP(0xd3, 0x3b, 0x3e, 0x42) ; lv_style_set_image_recolor(&image_bluetooth_connected_s0, LV_STATE_DISABLED, color);
|
|
|
|
STYLE_COLOR_PROP(0xd3, 0x3c, 0x3c, 0x3c) ; lv_style_set_image_recolor(&image_bluetooth_connected_s0, LV_STATE_DISABLED, color);
|
|
|
|
lv_obj_t *image_bluetooth_connected = lv_img_create(container_photo, NULL);
|
|
|
|
lv_obj_t *image_bluetooth_connected = lv_img_create(container_photo, NULL);
|
|
|
|
lv_obj_set_hidden(image_bluetooth_connected, true);
|
|
|
|
lv_obj_set_hidden(image_bluetooth_connected, true);
|
|
|
|
lv_obj_set_click(image_bluetooth_connected, false);
|
|
|
|
lv_obj_set_click(image_bluetooth_connected, false);
|
|
|
|
lv_obj_set_drag(image_bluetooth_connected, false);
|
|
|
|
lv_obj_set_drag(image_bluetooth_connected, false);
|
|
|
|
lv_obj_set_pos(image_bluetooth_connected, 0, 0);
|
|
|
|
lv_obj_set_pos(image_bluetooth_connected, -2, 0);
|
|
|
|
lv_obj_set_size(image_bluetooth_connected, 48, 40);
|
|
|
|
lv_obj_set_size(image_bluetooth_connected, 48, 40);
|
|
|
|
lv_img_set_src(image_bluetooth_connected, &sf_bluetooth_connected);
|
|
|
|
lv_img_set_src(image_bluetooth_connected, &sf_bluetooth_connected);
|
|
|
|
lv_obj_add_style(image_bluetooth_connected, 0, &image_bluetooth_connected_s0);
|
|
|
|
lv_obj_add_style(image_bluetooth_connected, 0, &image_bluetooth_connected_s0);
|
|
|
@ -602,42 +602,42 @@ lv_obj_t* UIFlowPhoto_create(){
|
|
|
|
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&image_wifi_unconnected_s0, LV_STATE_DEFAULT, color);
|
|
|
|
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&image_wifi_unconnected_s0, LV_STATE_DEFAULT, color);
|
|
|
|
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&image_wifi_unconnected_s0, LV_STATE_DEFAULT, color);
|
|
|
|
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&image_wifi_unconnected_s0, LV_STATE_DEFAULT, color);
|
|
|
|
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_outline_color(&image_wifi_unconnected_s0, LV_STATE_DEFAULT, color);
|
|
|
|
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_outline_color(&image_wifi_unconnected_s0, LV_STATE_DEFAULT, color);
|
|
|
|
STYLE_COLOR_PROP(0xd3, 0x3b, 0x3e, 0x42) ; lv_style_set_image_recolor(&image_wifi_unconnected_s0, LV_STATE_DEFAULT, color);
|
|
|
|
STYLE_COLOR_PROP(0xd3, 0x3c, 0x3c, 0x3c) ; lv_style_set_image_recolor(&image_wifi_unconnected_s0, LV_STATE_DEFAULT, color);
|
|
|
|
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_color(&image_wifi_unconnected_s0, LV_STATE_CHECKED, color);
|
|
|
|
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_color(&image_wifi_unconnected_s0, LV_STATE_CHECKED, color);
|
|
|
|
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&image_wifi_unconnected_s0, LV_STATE_CHECKED, color);
|
|
|
|
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&image_wifi_unconnected_s0, LV_STATE_CHECKED, color);
|
|
|
|
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&image_wifi_unconnected_s0, LV_STATE_CHECKED, color);
|
|
|
|
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&image_wifi_unconnected_s0, LV_STATE_CHECKED, color);
|
|
|
|
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_outline_color(&image_wifi_unconnected_s0, LV_STATE_CHECKED, color);
|
|
|
|
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_outline_color(&image_wifi_unconnected_s0, LV_STATE_CHECKED, color);
|
|
|
|
STYLE_COLOR_PROP(0xd3, 0x3b, 0x3e, 0x42) ; lv_style_set_image_recolor(&image_wifi_unconnected_s0, LV_STATE_CHECKED, color);
|
|
|
|
STYLE_COLOR_PROP(0xd3, 0x3c, 0x3c, 0x3c) ; lv_style_set_image_recolor(&image_wifi_unconnected_s0, LV_STATE_CHECKED, color);
|
|
|
|
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_color(&image_wifi_unconnected_s0, LV_STATE_FOCUSED, color);
|
|
|
|
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_color(&image_wifi_unconnected_s0, LV_STATE_FOCUSED, color);
|
|
|
|
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&image_wifi_unconnected_s0, LV_STATE_FOCUSED, color);
|
|
|
|
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&image_wifi_unconnected_s0, LV_STATE_FOCUSED, color);
|
|
|
|
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&image_wifi_unconnected_s0, LV_STATE_FOCUSED, color);
|
|
|
|
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&image_wifi_unconnected_s0, LV_STATE_FOCUSED, color);
|
|
|
|
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_outline_color(&image_wifi_unconnected_s0, LV_STATE_FOCUSED, color);
|
|
|
|
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_outline_color(&image_wifi_unconnected_s0, LV_STATE_FOCUSED, color);
|
|
|
|
STYLE_COLOR_PROP(0xd3, 0x3b, 0x3e, 0x42) ; lv_style_set_image_recolor(&image_wifi_unconnected_s0, LV_STATE_FOCUSED, color);
|
|
|
|
STYLE_COLOR_PROP(0xd3, 0x3c, 0x3c, 0x3c) ; lv_style_set_image_recolor(&image_wifi_unconnected_s0, LV_STATE_FOCUSED, color);
|
|
|
|
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_color(&image_wifi_unconnected_s0, LV_STATE_EDITED, color);
|
|
|
|
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_color(&image_wifi_unconnected_s0, LV_STATE_EDITED, color);
|
|
|
|
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&image_wifi_unconnected_s0, LV_STATE_EDITED, color);
|
|
|
|
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&image_wifi_unconnected_s0, LV_STATE_EDITED, color);
|
|
|
|
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&image_wifi_unconnected_s0, LV_STATE_EDITED, color);
|
|
|
|
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&image_wifi_unconnected_s0, LV_STATE_EDITED, color);
|
|
|
|
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_outline_color(&image_wifi_unconnected_s0, LV_STATE_EDITED, color);
|
|
|
|
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_outline_color(&image_wifi_unconnected_s0, LV_STATE_EDITED, color);
|
|
|
|
STYLE_COLOR_PROP(0xd3, 0x3b, 0x3e, 0x42) ; lv_style_set_image_recolor(&image_wifi_unconnected_s0, LV_STATE_EDITED, color);
|
|
|
|
STYLE_COLOR_PROP(0xd3, 0x3c, 0x3c, 0x3c) ; lv_style_set_image_recolor(&image_wifi_unconnected_s0, LV_STATE_EDITED, color);
|
|
|
|
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_color(&image_wifi_unconnected_s0, LV_STATE_HOVERED, color);
|
|
|
|
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_color(&image_wifi_unconnected_s0, LV_STATE_HOVERED, color);
|
|
|
|
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&image_wifi_unconnected_s0, LV_STATE_HOVERED, color);
|
|
|
|
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&image_wifi_unconnected_s0, LV_STATE_HOVERED, color);
|
|
|
|
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&image_wifi_unconnected_s0, LV_STATE_HOVERED, color);
|
|
|
|
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&image_wifi_unconnected_s0, LV_STATE_HOVERED, color);
|
|
|
|
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_outline_color(&image_wifi_unconnected_s0, LV_STATE_HOVERED, color);
|
|
|
|
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_outline_color(&image_wifi_unconnected_s0, LV_STATE_HOVERED, color);
|
|
|
|
STYLE_COLOR_PROP(0xd3, 0x3b, 0x3e, 0x42) ; lv_style_set_image_recolor(&image_wifi_unconnected_s0, LV_STATE_HOVERED, color);
|
|
|
|
STYLE_COLOR_PROP(0xd3, 0x3c, 0x3c, 0x3c) ; lv_style_set_image_recolor(&image_wifi_unconnected_s0, LV_STATE_HOVERED, color);
|
|
|
|
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_color(&image_wifi_unconnected_s0, LV_STATE_PRESSED, color);
|
|
|
|
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_color(&image_wifi_unconnected_s0, LV_STATE_PRESSED, color);
|
|
|
|
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&image_wifi_unconnected_s0, LV_STATE_PRESSED, color);
|
|
|
|
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&image_wifi_unconnected_s0, LV_STATE_PRESSED, color);
|
|
|
|
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&image_wifi_unconnected_s0, LV_STATE_PRESSED, color);
|
|
|
|
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&image_wifi_unconnected_s0, LV_STATE_PRESSED, color);
|
|
|
|
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_outline_color(&image_wifi_unconnected_s0, LV_STATE_PRESSED, color);
|
|
|
|
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_outline_color(&image_wifi_unconnected_s0, LV_STATE_PRESSED, color);
|
|
|
|
STYLE_COLOR_PROP(0xd3, 0x3b, 0x3e, 0x42) ; lv_style_set_image_recolor(&image_wifi_unconnected_s0, LV_STATE_PRESSED, color);
|
|
|
|
STYLE_COLOR_PROP(0xd3, 0x3c, 0x3c, 0x3c) ; lv_style_set_image_recolor(&image_wifi_unconnected_s0, LV_STATE_PRESSED, color);
|
|
|
|
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_color(&image_wifi_unconnected_s0, LV_STATE_DISABLED, color);
|
|
|
|
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_color(&image_wifi_unconnected_s0, LV_STATE_DISABLED, color);
|
|
|
|
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&image_wifi_unconnected_s0, LV_STATE_DISABLED, color);
|
|
|
|
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&image_wifi_unconnected_s0, LV_STATE_DISABLED, color);
|
|
|
|
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&image_wifi_unconnected_s0, LV_STATE_DISABLED, color);
|
|
|
|
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&image_wifi_unconnected_s0, LV_STATE_DISABLED, color);
|
|
|
|
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_outline_color(&image_wifi_unconnected_s0, LV_STATE_DISABLED, color);
|
|
|
|
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_outline_color(&image_wifi_unconnected_s0, LV_STATE_DISABLED, color);
|
|
|
|
STYLE_COLOR_PROP(0xd3, 0x3b, 0x3e, 0x42) ; lv_style_set_image_recolor(&image_wifi_unconnected_s0, LV_STATE_DISABLED, color);
|
|
|
|
STYLE_COLOR_PROP(0xd3, 0x3c, 0x3c, 0x3c) ; lv_style_set_image_recolor(&image_wifi_unconnected_s0, LV_STATE_DISABLED, color);
|
|
|
|
lv_obj_t *image_wifi_unconnected = lv_img_create(container_photo, NULL);
|
|
|
|
lv_obj_t *image_wifi_unconnected = lv_img_create(container_photo, NULL);
|
|
|
|
lv_obj_set_hidden(image_wifi_unconnected, true);
|
|
|
|
lv_obj_set_hidden(image_wifi_unconnected, true);
|
|
|
|
lv_obj_set_click(image_wifi_unconnected, false);
|
|
|
|
lv_obj_set_click(image_wifi_unconnected, false);
|
|
|
|
lv_obj_set_drag(image_wifi_unconnected, false);
|
|
|
|
lv_obj_set_drag(image_wifi_unconnected, false);
|
|
|
|
lv_obj_set_pos(image_wifi_unconnected, 40, 0);
|
|
|
|
lv_obj_set_pos(image_wifi_unconnected, 34, 0);
|
|
|
|
lv_obj_set_size(image_wifi_unconnected, 48, 40);
|
|
|
|
lv_obj_set_size(image_wifi_unconnected, 48, 40);
|
|
|
|
lv_img_set_src(image_wifi_unconnected, &sf_wifi_connected);
|
|
|
|
lv_img_set_src(image_wifi_unconnected, &sf_wifi_connected);
|
|
|
|
lv_obj_add_style(image_wifi_unconnected, 0, &image_wifi_unconnected_s0);
|
|
|
|
lv_obj_add_style(image_wifi_unconnected, 0, &image_wifi_unconnected_s0);
|
|
|
@ -686,7 +686,7 @@ lv_obj_t* UIFlowPhoto_create(){
|
|
|
|
lv_obj_set_hidden(image_bluetooth_unconnected, true);
|
|
|
|
lv_obj_set_hidden(image_bluetooth_unconnected, true);
|
|
|
|
lv_obj_set_click(image_bluetooth_unconnected, false);
|
|
|
|
lv_obj_set_click(image_bluetooth_unconnected, false);
|
|
|
|
lv_obj_set_drag(image_bluetooth_unconnected, false);
|
|
|
|
lv_obj_set_drag(image_bluetooth_unconnected, false);
|
|
|
|
lv_obj_set_pos(image_bluetooth_unconnected, 0, 0);
|
|
|
|
lv_obj_set_pos(image_bluetooth_unconnected, -2, 0);
|
|
|
|
lv_obj_set_size(image_bluetooth_unconnected, 48, 40);
|
|
|
|
lv_obj_set_size(image_bluetooth_unconnected, 48, 40);
|
|
|
|
lv_img_set_src(image_bluetooth_unconnected, &sf_bluetooth_connected);
|
|
|
|
lv_img_set_src(image_bluetooth_unconnected, &sf_bluetooth_connected);
|
|
|
|
lv_obj_add_style(image_bluetooth_unconnected, 0, &image_bluetooth_unconnected_s0);
|
|
|
|
lv_obj_add_style(image_bluetooth_unconnected, 0, &image_bluetooth_unconnected_s0);
|
|
|
@ -1130,7 +1130,7 @@ lv_obj_t* UIFlowPhoto_create(){
|
|
|
|
lv_plugin_label_set_font_type(label_tips, LV_PLUGIN_LANGUAGE_FONT_TYPE_0);
|
|
|
|
lv_plugin_label_set_font_type(label_tips, LV_PLUGIN_LANGUAGE_FONT_TYPE_0);
|
|
|
|
lv_label_set_align(label_tips, LV_LABEL_ALIGN_RIGHT);
|
|
|
|
lv_label_set_align(label_tips, LV_LABEL_ALIGN_RIGHT);
|
|
|
|
lv_label_set_long_mode(label_tips, LV_LABEL_LONG_SROLL);
|
|
|
|
lv_label_set_long_mode(label_tips, LV_LABEL_LONG_SROLL);
|
|
|
|
lv_obj_set_pos(label_tips, 150, 10);
|
|
|
|
lv_obj_set_pos(label_tips, 152, 10);
|
|
|
|
lv_obj_set_size(label_tips, 120, 40);
|
|
|
|
lv_obj_set_size(label_tips, 120, 40);
|
|
|
|
lv_obj_add_style(label_tips, 0, &label_tips_s0);
|
|
|
|
lv_obj_add_style(label_tips, 0, &label_tips_s0);
|
|
|
|
|
|
|
|
|
|
|
@ -1191,7 +1191,7 @@ lv_obj_t* UIFlowPhoto_create(){
|
|
|
|
lv_plugin_label_allocate_ext_attr(label_tips2);
|
|
|
|
lv_plugin_label_allocate_ext_attr(label_tips2);
|
|
|
|
lv_plugin_label_set_font_type(label_tips2, LV_PLUGIN_LANGUAGE_FONT_TYPE_3);
|
|
|
|
lv_plugin_label_set_font_type(label_tips2, LV_PLUGIN_LANGUAGE_FONT_TYPE_3);
|
|
|
|
lv_label_set_long_mode(label_tips2, LV_LABEL_LONG_SROLL);
|
|
|
|
lv_label_set_long_mode(label_tips2, LV_LABEL_LONG_SROLL);
|
|
|
|
lv_obj_set_pos(label_tips2, 84, 10);
|
|
|
|
lv_obj_set_pos(label_tips2, 77, 12);
|
|
|
|
lv_obj_set_size(label_tips2, 140, 40);
|
|
|
|
lv_obj_set_size(label_tips2, 140, 40);
|
|
|
|
lv_obj_add_style(label_tips2, 0, &label_tips2_s0);
|
|
|
|
lv_obj_add_style(label_tips2, 0, &label_tips2_s0);
|
|
|
|
|
|
|
|
|
|
|
|