Setting send type ok.
This commit is contained in:
parent
37ab151fa1
commit
7324e477b2
|
@ -1162,6 +1162,484 @@
|
|||
}
|
||||
],
|
||||
"widget": "Container"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"align": "Center",
|
||||
"class": "lv_label",
|
||||
"click": false,
|
||||
"drag": false,
|
||||
"event callback": "",
|
||||
"font type": "Font_Type0",
|
||||
"geometry": {
|
||||
"height": 20,
|
||||
"width": 320,
|
||||
"x": 0,
|
||||
"y": 124
|
||||
},
|
||||
"hidden": false,
|
||||
"locked": false,
|
||||
"long mode": "Roll",
|
||||
"name": "label_1",
|
||||
"recolor": false,
|
||||
"string id": "None",
|
||||
"styles": [
|
||||
{
|
||||
"Background": {
|
||||
"bg_color": "0x000000"
|
||||
},
|
||||
"Text": {
|
||||
"text_color": "0xffffff",
|
||||
"text_font": "montserrat 16 4bpp",
|
||||
"text_sel_bg_color": "0x00b495",
|
||||
"text_sel_color": "0x3c3c3c"
|
||||
},
|
||||
"part": 0,
|
||||
"state": 0
|
||||
},
|
||||
{
|
||||
"part": 0,
|
||||
"state": 1
|
||||
},
|
||||
{
|
||||
"part": 0,
|
||||
"state": 2
|
||||
},
|
||||
{
|
||||
"part": 0,
|
||||
"state": 3
|
||||
},
|
||||
{
|
||||
"part": 0,
|
||||
"state": 4
|
||||
},
|
||||
{
|
||||
"part": 0,
|
||||
"state": 5
|
||||
},
|
||||
{
|
||||
"part": 0,
|
||||
"state": 6
|
||||
}
|
||||
],
|
||||
"text": "HH : MM",
|
||||
"widget": "Label"
|
||||
},
|
||||
{
|
||||
"align": "Center",
|
||||
"class": "lv_label",
|
||||
"click": false,
|
||||
"drag": false,
|
||||
"event callback": "",
|
||||
"font type": "Font_Type0",
|
||||
"geometry": {
|
||||
"height": 20,
|
||||
"width": 320,
|
||||
"x": 0,
|
||||
"y": 20
|
||||
},
|
||||
"hidden": false,
|
||||
"locked": false,
|
||||
"long mode": "Roll",
|
||||
"name": "label_2",
|
||||
"recolor": false,
|
||||
"string id": "None",
|
||||
"styles": [
|
||||
{
|
||||
"Background": {
|
||||
"bg_color": "0x000000"
|
||||
},
|
||||
"Text": {
|
||||
"text_color": "0xffffff",
|
||||
"text_font": "montserrat 16 4bpp",
|
||||
"text_sel_bg_color": "0x00b495",
|
||||
"text_sel_color": "0x3c3c3c"
|
||||
},
|
||||
"part": 0,
|
||||
"state": 0
|
||||
},
|
||||
{
|
||||
"part": 0,
|
||||
"state": 1
|
||||
},
|
||||
{
|
||||
"part": 0,
|
||||
"state": 2
|
||||
},
|
||||
{
|
||||
"part": 0,
|
||||
"state": 3
|
||||
},
|
||||
{
|
||||
"part": 0,
|
||||
"state": 4
|
||||
},
|
||||
{
|
||||
"part": 0,
|
||||
"state": 5
|
||||
},
|
||||
{
|
||||
"part": 0,
|
||||
"state": 6
|
||||
}
|
||||
],
|
||||
"text": "Send Time",
|
||||
"widget": "Label"
|
||||
}
|
||||
],
|
||||
"class": "lv_cont",
|
||||
"click": true,
|
||||
"drag": false,
|
||||
"event callback": "",
|
||||
"geometry": {
|
||||
"height": 200,
|
||||
"width": 320,
|
||||
"x": 0,
|
||||
"y": 40
|
||||
},
|
||||
"hidden": true,
|
||||
"layout": "Off",
|
||||
"locked": false,
|
||||
"name": "container_send_time_0",
|
||||
"styles": [
|
||||
{
|
||||
"Background": {
|
||||
"bg_color": "0x000000"
|
||||
},
|
||||
"Border": {
|
||||
"border_color": "0xdddddd",
|
||||
"border_width": 0
|
||||
},
|
||||
"part": 0,
|
||||
"state": 0
|
||||
},
|
||||
{
|
||||
"part": 0,
|
||||
"state": 1
|
||||
},
|
||||
{
|
||||
"part": 0,
|
||||
"state": 2
|
||||
},
|
||||
{
|
||||
"part": 0,
|
||||
"state": 3
|
||||
},
|
||||
{
|
||||
"part": 0,
|
||||
"state": 4
|
||||
},
|
||||
{
|
||||
"part": 0,
|
||||
"state": 5
|
||||
},
|
||||
{
|
||||
"part": 0,
|
||||
"state": 6
|
||||
}
|
||||
],
|
||||
"widget": "Container"
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
{
|
||||
"align": "Center",
|
||||
"class": "lv_label",
|
||||
"click": false,
|
||||
"drag": false,
|
||||
"event callback": "",
|
||||
"font type": "Font_Type0",
|
||||
"geometry": {
|
||||
"height": 20,
|
||||
"width": 160,
|
||||
"x": 0,
|
||||
"y": 20
|
||||
},
|
||||
"hidden": false,
|
||||
"locked": false,
|
||||
"long mode": "Roll",
|
||||
"name": "label_time_1",
|
||||
"recolor": false,
|
||||
"string id": "None",
|
||||
"styles": [
|
||||
{
|
||||
"Background": {
|
||||
"bg_color": "0x000000"
|
||||
},
|
||||
"Text": {
|
||||
"text_color": "0xffffff",
|
||||
"text_font": "montserrat 16 4bpp",
|
||||
"text_sel_bg_color": "0x00b495",
|
||||
"text_sel_color": "0x3c3c3c"
|
||||
},
|
||||
"part": 0,
|
||||
"state": 0
|
||||
},
|
||||
{
|
||||
"part": 0,
|
||||
"state": 1
|
||||
},
|
||||
{
|
||||
"part": 0,
|
||||
"state": 2
|
||||
},
|
||||
{
|
||||
"part": 0,
|
||||
"state": 3
|
||||
},
|
||||
{
|
||||
"part": 0,
|
||||
"state": 4
|
||||
},
|
||||
{
|
||||
"part": 0,
|
||||
"state": 5
|
||||
},
|
||||
{
|
||||
"part": 0,
|
||||
"state": 6
|
||||
}
|
||||
],
|
||||
"text": "Send Time 1",
|
||||
"widget": "Label"
|
||||
},
|
||||
{
|
||||
"align": "Center",
|
||||
"class": "lv_label",
|
||||
"click": false,
|
||||
"drag": false,
|
||||
"event callback": "",
|
||||
"font type": "Font_Type0",
|
||||
"geometry": {
|
||||
"height": 20,
|
||||
"width": 160,
|
||||
"x": 160,
|
||||
"y": 20
|
||||
},
|
||||
"hidden": false,
|
||||
"locked": false,
|
||||
"long mode": "Roll",
|
||||
"name": "label_time_2",
|
||||
"recolor": false,
|
||||
"string id": "None",
|
||||
"styles": [
|
||||
{
|
||||
"Background": {
|
||||
"bg_color": "0x000000"
|
||||
},
|
||||
"Text": {
|
||||
"text_color": "0xffffff",
|
||||
"text_font": "montserrat 16 4bpp",
|
||||
"text_sel_bg_color": "0x00b495",
|
||||
"text_sel_color": "0x3c3c3c"
|
||||
},
|
||||
"part": 0,
|
||||
"state": 0
|
||||
},
|
||||
{
|
||||
"part": 0,
|
||||
"state": 1
|
||||
},
|
||||
{
|
||||
"part": 0,
|
||||
"state": 2
|
||||
},
|
||||
{
|
||||
"part": 0,
|
||||
"state": 3
|
||||
},
|
||||
{
|
||||
"part": 0,
|
||||
"state": 4
|
||||
},
|
||||
{
|
||||
"part": 0,
|
||||
"state": 5
|
||||
},
|
||||
{
|
||||
"part": 0,
|
||||
"state": 6
|
||||
}
|
||||
],
|
||||
"text": "Send Time 2",
|
||||
"widget": "Label"
|
||||
},
|
||||
{
|
||||
"align": "Center",
|
||||
"class": "lv_label",
|
||||
"click": false,
|
||||
"drag": false,
|
||||
"event callback": "",
|
||||
"font type": "Font_Type0",
|
||||
"geometry": {
|
||||
"height": 20,
|
||||
"width": 160,
|
||||
"x": 0,
|
||||
"y": 124
|
||||
},
|
||||
"hidden": false,
|
||||
"locked": false,
|
||||
"long mode": "Roll",
|
||||
"name": "label_5",
|
||||
"recolor": false,
|
||||
"string id": "None",
|
||||
"styles": [
|
||||
{
|
||||
"Background": {
|
||||
"bg_color": "0x000000"
|
||||
},
|
||||
"Text": {
|
||||
"text_color": "0xffffff",
|
||||
"text_font": "montserrat 16 4bpp",
|
||||
"text_sel_bg_color": "0x00b495",
|
||||
"text_sel_color": "0x3c3c3c"
|
||||
},
|
||||
"part": 0,
|
||||
"state": 0
|
||||
},
|
||||
{
|
||||
"part": 0,
|
||||
"state": 1
|
||||
},
|
||||
{
|
||||
"part": 0,
|
||||
"state": 2
|
||||
},
|
||||
{
|
||||
"part": 0,
|
||||
"state": 3
|
||||
},
|
||||
{
|
||||
"part": 0,
|
||||
"state": 4
|
||||
},
|
||||
{
|
||||
"part": 0,
|
||||
"state": 5
|
||||
},
|
||||
{
|
||||
"part": 0,
|
||||
"state": 6
|
||||
}
|
||||
],
|
||||
"text": "HH : MM",
|
||||
"widget": "Label"
|
||||
},
|
||||
{
|
||||
"align": "Center",
|
||||
"class": "lv_label",
|
||||
"click": false,
|
||||
"drag": false,
|
||||
"event callback": "",
|
||||
"font type": "Font_Type0",
|
||||
"geometry": {
|
||||
"height": 20,
|
||||
"width": 160,
|
||||
"x": 160,
|
||||
"y": 124
|
||||
},
|
||||
"hidden": false,
|
||||
"locked": false,
|
||||
"long mode": "Roll",
|
||||
"name": "label_6",
|
||||
"recolor": false,
|
||||
"string id": "None",
|
||||
"styles": [
|
||||
{
|
||||
"Background": {
|
||||
"bg_color": "0x000000"
|
||||
},
|
||||
"Text": {
|
||||
"text_color": "0xffffff",
|
||||
"text_font": "montserrat 16 4bpp",
|
||||
"text_sel_bg_color": "0x00b495",
|
||||
"text_sel_color": "0x3c3c3c"
|
||||
},
|
||||
"part": 0,
|
||||
"state": 0
|
||||
},
|
||||
{
|
||||
"part": 0,
|
||||
"state": 1
|
||||
},
|
||||
{
|
||||
"part": 0,
|
||||
"state": 2
|
||||
},
|
||||
{
|
||||
"part": 0,
|
||||
"state": 3
|
||||
},
|
||||
{
|
||||
"part": 0,
|
||||
"state": 4
|
||||
},
|
||||
{
|
||||
"part": 0,
|
||||
"state": 5
|
||||
},
|
||||
{
|
||||
"part": 0,
|
||||
"state": 6
|
||||
}
|
||||
],
|
||||
"text": "HH : MM",
|
||||
"widget": "Label"
|
||||
}
|
||||
],
|
||||
"class": "lv_cont",
|
||||
"click": true,
|
||||
"drag": false,
|
||||
"event callback": "",
|
||||
"geometry": {
|
||||
"height": 200,
|
||||
"width": 320,
|
||||
"x": 0,
|
||||
"y": 40
|
||||
},
|
||||
"hidden": true,
|
||||
"layout": "Off",
|
||||
"locked": false,
|
||||
"name": "container_send_time_1",
|
||||
"styles": [
|
||||
{
|
||||
"Background": {
|
||||
"bg_color": "0x000000"
|
||||
},
|
||||
"Border": {
|
||||
"border_color": "0xdddddd",
|
||||
"border_width": 0
|
||||
},
|
||||
"part": 0,
|
||||
"state": 0
|
||||
},
|
||||
{
|
||||
"part": 0,
|
||||
"state": 1
|
||||
},
|
||||
{
|
||||
"part": 0,
|
||||
"state": 2
|
||||
},
|
||||
{
|
||||
"part": 0,
|
||||
"state": 3
|
||||
},
|
||||
{
|
||||
"part": 0,
|
||||
"state": 4
|
||||
},
|
||||
{
|
||||
"part": 0,
|
||||
"state": 5
|
||||
},
|
||||
{
|
||||
"part": 0,
|
||||
"state": 6
|
||||
}
|
||||
],
|
||||
"widget": "Container"
|
||||
}
|
||||
],
|
||||
"class": "lv_img",
|
||||
|
|
|
@ -239,6 +239,58 @@
|
|||
],
|
||||
"text": "_",
|
||||
"widget": "Label"
|
||||
},
|
||||
{
|
||||
"auto size": true,
|
||||
"class": "lv_img",
|
||||
"click": false,
|
||||
"drag": false,
|
||||
"event callback": "",
|
||||
"geometry": {
|
||||
"height": 44,
|
||||
"width": 120,
|
||||
"x": 10,
|
||||
"y": 12
|
||||
},
|
||||
"hidden": false,
|
||||
"locked": false,
|
||||
"name": "image_2",
|
||||
"offset": {
|
||||
"X": 0,
|
||||
"Y": 0
|
||||
},
|
||||
"source": "default",
|
||||
"styles": [
|
||||
{
|
||||
"part": 0,
|
||||
"state": 0
|
||||
},
|
||||
{
|
||||
"part": 0,
|
||||
"state": 1
|
||||
},
|
||||
{
|
||||
"part": 0,
|
||||
"state": 2
|
||||
},
|
||||
{
|
||||
"part": 0,
|
||||
"state": 3
|
||||
},
|
||||
{
|
||||
"part": 0,
|
||||
"state": 4
|
||||
},
|
||||
{
|
||||
"part": 0,
|
||||
"state": 5
|
||||
},
|
||||
{
|
||||
"part": 0,
|
||||
"state": 6
|
||||
}
|
||||
],
|
||||
"widget": "Image"
|
||||
}
|
||||
],
|
||||
"class": "lv_img",
|
||||
|
|
|
@ -1157,8 +1157,7 @@
|
|||
"opa_scale": 120
|
||||
},
|
||||
"Text": {
|
||||
"text_color": "0x31404f",
|
||||
"text_sel_bg_color": "0x00b495"
|
||||
"text_color": "0x31404f"
|
||||
},
|
||||
"part": 0,
|
||||
"state": 0
|
||||
|
@ -1166,46 +1165,36 @@
|
|||
{
|
||||
"Text": {
|
||||
"text_color": "0xffffff",
|
||||
"text_font": "montserrat 16 4bpp",
|
||||
"text_sel_bg_color": "0x01a2b1"
|
||||
"text_font": "montserrat 16 4bpp"
|
||||
},
|
||||
"part": 0,
|
||||
"state": 1
|
||||
},
|
||||
{
|
||||
"Text": {
|
||||
"text_font": "montserrat 16 4bpp",
|
||||
"text_sel_bg_color": "0x01a2b1"
|
||||
"text_font": "montserrat 16 4bpp"
|
||||
},
|
||||
"part": 0,
|
||||
"state": 2
|
||||
},
|
||||
{
|
||||
"Text": {
|
||||
"text_font": "montserrat 16 4bpp",
|
||||
"text_sel_bg_color": "0x01a2b1"
|
||||
"text_font": "montserrat 16 4bpp"
|
||||
},
|
||||
"part": 0,
|
||||
"state": 3
|
||||
},
|
||||
{
|
||||
"Text": {
|
||||
"text_sel_bg_color": "0x01a2b1"
|
||||
},
|
||||
"part": 0,
|
||||
"state": 4
|
||||
},
|
||||
{
|
||||
"Text": {
|
||||
"text_sel_bg_color": "0x01a2b1"
|
||||
},
|
||||
"part": 0,
|
||||
"state": 5
|
||||
},
|
||||
{
|
||||
"Text": {
|
||||
"text_color": "0x888888",
|
||||
"text_sel_bg_color": "0x01a2b1"
|
||||
"text_color": "0x888888"
|
||||
},
|
||||
"part": 0,
|
||||
"state": 6
|
||||
|
|
|
@ -4926,21 +4926,6 @@
|
|||
"filename": "icons/sy_bg_msg2.bmp",
|
||||
"name": "sy_bg_msg2"
|
||||
},
|
||||
{
|
||||
"colorFormat": "Indexed 256 in RGB332",
|
||||
"filename": "icons/sy_bg_tc1.bmp",
|
||||
"name": "sy_bg_tc1"
|
||||
},
|
||||
{
|
||||
"colorFormat": "Indexed 256 in RGB332",
|
||||
"filename": "icons/sy_bg_tc2.bmp",
|
||||
"name": "sy_bg_tc2"
|
||||
},
|
||||
{
|
||||
"colorFormat": "Indexed 256 in RGB332",
|
||||
"filename": "icons/sy_bg_tc3.bmp",
|
||||
"name": "sy_bg_tc3"
|
||||
},
|
||||
{
|
||||
"colorFormat": "Indexed 256 in RGB332",
|
||||
"filename": "icons/sy_luzhi.bmp",
|
||||
|
|
|
@ -381,8 +381,14 @@ static void update_send_time_msg(lv_obj_t* obj)
|
|||
snprintf(SendTimeHHBuf2, TIME_BUF_LENGTH, "%02d", gSendTime[settingIndex + 1].Hour);
|
||||
snprintf(SendTimeMMBuf2, TIME_BUF_LENGTH, "%02d", gSendTime[settingIndex + 1].Min);
|
||||
|
||||
lv_btnmatrix_set_focused_btn(SendTimeMatrixObj_0, gMatrixIndex);
|
||||
lv_btnmatrix_set_focused_btn(SendTimeMatrixObj_1, gMatrixIndex);
|
||||
if(NULL != SendTimeMatrixObj_0)
|
||||
{
|
||||
lv_btnmatrix_set_focused_btn(SendTimeMatrixObj_0, gMatrixIndex);
|
||||
}
|
||||
if(NULL != SendTimeMatrixObj_1)
|
||||
{
|
||||
lv_btnmatrix_set_focused_btn(SendTimeMatrixObj_1, gMatrixIndex);
|
||||
}
|
||||
}
|
||||
void show_send_time_page(lv_obj_t* obj, const int sendType)
|
||||
{
|
||||
|
@ -413,33 +419,42 @@ void show_send_time_page(lv_obj_t* obj, const int sendType)
|
|||
snprintf(SendTimeHHBuf2, TIME_BUF_LENGTH, "%02d", gSendTime[settingIndex + 1].Hour);
|
||||
snprintf(SendTimeMMBuf2, TIME_BUF_LENGTH, "%02d", gSendTime[settingIndex + 1].Min);
|
||||
|
||||
SendTimeMatrixObj_0 = lv_btnmatrix_create(obj, NULL);
|
||||
lv_obj_set_hidden(SendTimeMatrixObj_0, false);
|
||||
lv_obj_set_click(SendTimeMatrixObj_0, true);
|
||||
lv_obj_set_drag(SendTimeMatrixObj_0, false);
|
||||
lv_obj_set_pos(SendTimeMatrixObj_0, 65, 58);
|
||||
lv_obj_set_size(SendTimeMatrixObj_0, 190, 140);
|
||||
lv_btnmatrix_set_map(SendTimeMatrixObj_0, SendTimeMap_0);
|
||||
lv_btnmatrix_set_one_check(SendTimeMatrixObj_0, true);
|
||||
lv_btnmatrix_set_align(SendTimeMatrixObj_0, LV_LABEL_ALIGN_CENTER);
|
||||
lv_btnmatrix_set_focused_btn(SendTimeMatrixObj_0,0);
|
||||
lv_btnmatrix_set_one_check(SendTimeMatrixObj_0, false);
|
||||
lv_obj_add_style(SendTimeMatrixObj_0, 0, &gMatrixStylebg);
|
||||
lv_obj_add_style(SendTimeMatrixObj_0, 1, &gMatrixStylebtn);
|
||||
|
||||
SendTimeMatrixObj_1 = lv_btnmatrix_create(obj, NULL);
|
||||
lv_obj_set_hidden(SendTimeMatrixObj_1, false);
|
||||
lv_obj_set_click(SendTimeMatrixObj_1, true);
|
||||
lv_obj_set_drag(SendTimeMatrixObj_1, false);
|
||||
lv_obj_set_pos(SendTimeMatrixObj_1, 65, 158);
|
||||
lv_obj_set_size(SendTimeMatrixObj_1, 190, 140);
|
||||
lv_btnmatrix_set_map(SendTimeMatrixObj_1, SendTimeMap_1);
|
||||
lv_btnmatrix_set_one_check(SendTimeMatrixObj_1, true);
|
||||
lv_btnmatrix_set_align(SendTimeMatrixObj_1, LV_LABEL_ALIGN_CENTER);
|
||||
lv_btnmatrix_set_focused_btn(SendTimeMatrixObj_1,0);
|
||||
lv_btnmatrix_set_one_check(SendTimeMatrixObj_1, false);
|
||||
lv_obj_add_style(SendTimeMatrixObj_1, 0, &gMatrixStylebg);
|
||||
lv_obj_add_style(SendTimeMatrixObj_1, 1, &gMatrixStylebtn);
|
||||
if(ONCE_DAY != gSendType)
|
||||
{
|
||||
SendTimeMatrixObj_0 = lv_btnmatrix_create(obj, NULL);
|
||||
lv_obj_set_hidden(SendTimeMatrixObj_0, false);
|
||||
lv_obj_set_click(SendTimeMatrixObj_0, true);
|
||||
lv_obj_set_drag(SendTimeMatrixObj_0, false);
|
||||
lv_obj_set_pos(SendTimeMatrixObj_0, 65, 81);
|
||||
lv_obj_set_size(SendTimeMatrixObj_0, 190, 80);
|
||||
lv_btnmatrix_set_map(SendTimeMatrixObj_0, SendTimeMap_0);
|
||||
lv_btnmatrix_set_one_check(SendTimeMatrixObj_0, true);
|
||||
lv_btnmatrix_set_align(SendTimeMatrixObj_0, LV_LABEL_ALIGN_CENTER);
|
||||
lv_btnmatrix_set_focused_btn(SendTimeMatrixObj_0,0);
|
||||
lv_btnmatrix_set_one_check(SendTimeMatrixObj_0, false);
|
||||
lv_obj_add_style(SendTimeMatrixObj_0, 0, &gMatrixStylebg);
|
||||
lv_obj_add_style(SendTimeMatrixObj_0, 1, &gMatrixStylebtn);
|
||||
|
||||
lv_obj_set_hidden(container_send_time_1_scr_uiflowmenucommonoption, false);
|
||||
}
|
||||
else
|
||||
{
|
||||
SendTimeMatrixObj_1 = lv_btnmatrix_create(obj, NULL);
|
||||
lv_obj_set_hidden(SendTimeMatrixObj_1, false);
|
||||
lv_obj_set_click(SendTimeMatrixObj_1, true);
|
||||
lv_obj_set_drag(SendTimeMatrixObj_1, false);
|
||||
lv_obj_set_pos(SendTimeMatrixObj_1, 65, 81);
|
||||
lv_obj_set_size(SendTimeMatrixObj_1, 190, 80);
|
||||
lv_btnmatrix_set_map(SendTimeMatrixObj_1, SendTimeMap_1);
|
||||
lv_btnmatrix_set_one_check(SendTimeMatrixObj_1, true);
|
||||
lv_btnmatrix_set_align(SendTimeMatrixObj_1, LV_LABEL_ALIGN_CENTER);
|
||||
lv_btnmatrix_set_focused_btn(SendTimeMatrixObj_1,0);
|
||||
lv_btnmatrix_set_one_check(SendTimeMatrixObj_1, false);
|
||||
lv_obj_add_style(SendTimeMatrixObj_1, 0, &gMatrixStylebg);
|
||||
lv_obj_add_style(SendTimeMatrixObj_1, 1, &gMatrixStylebtn);
|
||||
|
||||
lv_obj_set_hidden(container_send_time_0_scr_uiflowmenucommonoption, false);
|
||||
}
|
||||
}
|
||||
void hidde_send_time_page(void)
|
||||
{
|
||||
|
@ -451,6 +466,8 @@ void hidde_send_time_page(void)
|
|||
{
|
||||
lv_obj_del(SendTimeMatrixObj_1);
|
||||
}
|
||||
lv_obj_set_hidden(container_send_time_0_scr_uiflowmenucommonoption, true);
|
||||
lv_obj_set_hidden(container_send_time_1_scr_uiflowmenucommonoption, true);
|
||||
}
|
||||
void Option_send_time_Key(lv_obj_t* obj, uint32_t key)
|
||||
{
|
||||
|
|
|
@ -29,6 +29,14 @@ lv_obj_t* image_option5_scr_uiflowmenucommonoption;
|
|||
lv_obj_t* container_option_title_scr_uiflowmenucommonoption;
|
||||
lv_obj_t* label_menu_item_scr_uiflowmenucommonoption;
|
||||
lv_obj_t* image_option_title_scr_uiflowmenucommonoption;
|
||||
lv_obj_t* container_send_time_0_scr_uiflowmenucommonoption;
|
||||
lv_obj_t* label_1_scr_uiflowmenucommonoption;
|
||||
lv_obj_t* label_2_scr_uiflowmenucommonoption;
|
||||
lv_obj_t* container_send_time_1_scr_uiflowmenucommonoption;
|
||||
lv_obj_t* label_time_1_scr_uiflowmenucommonoption;
|
||||
lv_obj_t* label_time_2_scr_uiflowmenucommonoption;
|
||||
lv_obj_t* label_5_scr_uiflowmenucommonoption;
|
||||
lv_obj_t* label_6_scr_uiflowmenucommonoption;
|
||||
|
||||
lv_obj_t* UIFlowMenuCommonOption_create(){
|
||||
lv_obj_t *parent = lv_plugin_scr_create();
|
||||
|
@ -1121,5 +1129,447 @@ lv_obj_t* UIFlowMenuCommonOption_create(){
|
|||
image_option_title_scr_uiflowmenucommonoption = image_option_title;
|
||||
|
||||
|
||||
static lv_style_t container_send_time_0_s0;
|
||||
lv_style_init(&container_send_time_0_s0);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_bg_color(&container_send_time_0_s0, LV_STATE_DEFAULT, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&container_send_time_0_s0, LV_STATE_DEFAULT, color);
|
||||
STYLE_COLOR_PROP(0xe9, 0xdd, 0xdd, 0xdd) ; lv_style_set_border_color(&container_send_time_0_s0, LV_STATE_DEFAULT, color);
|
||||
lv_style_set_border_width(&container_send_time_0_s0,LV_STATE_DEFAULT,0);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_bg_color(&container_send_time_0_s0, LV_STATE_CHECKED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&container_send_time_0_s0, LV_STATE_CHECKED, color);
|
||||
STYLE_COLOR_PROP(0xe9, 0xdd, 0xdd, 0xdd) ; lv_style_set_border_color(&container_send_time_0_s0, LV_STATE_CHECKED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_bg_color(&container_send_time_0_s0, LV_STATE_FOCUSED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&container_send_time_0_s0, LV_STATE_FOCUSED, color);
|
||||
STYLE_COLOR_PROP(0xe9, 0xdd, 0xdd, 0xdd) ; lv_style_set_border_color(&container_send_time_0_s0, LV_STATE_FOCUSED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_bg_color(&container_send_time_0_s0, LV_STATE_EDITED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&container_send_time_0_s0, LV_STATE_EDITED, color);
|
||||
STYLE_COLOR_PROP(0xe9, 0xdd, 0xdd, 0xdd) ; lv_style_set_border_color(&container_send_time_0_s0, LV_STATE_EDITED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_bg_color(&container_send_time_0_s0, LV_STATE_HOVERED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&container_send_time_0_s0, LV_STATE_HOVERED, color);
|
||||
STYLE_COLOR_PROP(0xe9, 0xdd, 0xdd, 0xdd) ; lv_style_set_border_color(&container_send_time_0_s0, LV_STATE_HOVERED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_bg_color(&container_send_time_0_s0, LV_STATE_PRESSED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&container_send_time_0_s0, LV_STATE_PRESSED, color);
|
||||
STYLE_COLOR_PROP(0xe9, 0xdd, 0xdd, 0xdd) ; lv_style_set_border_color(&container_send_time_0_s0, LV_STATE_PRESSED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_bg_color(&container_send_time_0_s0, LV_STATE_DISABLED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&container_send_time_0_s0, LV_STATE_DISABLED, color);
|
||||
STYLE_COLOR_PROP(0xe9, 0xdd, 0xdd, 0xdd) ; lv_style_set_border_color(&container_send_time_0_s0, LV_STATE_DISABLED, color);
|
||||
lv_obj_t *container_send_time_0 = lv_cont_create(image_option_bg, NULL);
|
||||
lv_obj_set_hidden(container_send_time_0, true);
|
||||
lv_obj_set_click(container_send_time_0, true);
|
||||
lv_obj_set_drag(container_send_time_0, false);
|
||||
lv_obj_set_pos(container_send_time_0, 0, 40);
|
||||
lv_obj_set_size(container_send_time_0, 320, 200);
|
||||
lv_obj_add_style(container_send_time_0, 0, &container_send_time_0_s0);
|
||||
|
||||
container_send_time_0_scr_uiflowmenucommonoption = container_send_time_0;
|
||||
|
||||
|
||||
static lv_style_t label_1_s0;
|
||||
lv_style_init(&label_1_s0);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_bg_color(&label_1_s0, LV_STATE_DEFAULT, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&label_1_s0, LV_STATE_DEFAULT, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&label_1_s0, LV_STATE_DEFAULT, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_text_color(&label_1_s0, LV_STATE_DEFAULT, color);
|
||||
lv_style_set_text_font(&label_1_s0,LV_STATE_DEFAULT,&lv_font_montserrat_16);
|
||||
STYLE_COLOR_PROP(0xd3, 0x3c, 0x3c, 0x3c) ; lv_style_set_text_sel_color(&label_1_s0, LV_STATE_DEFAULT, color);
|
||||
STYLE_COLOR_PROP(0x3a, 0x00, 0xb4, 0x95) ; lv_style_set_text_sel_bg_color(&label_1_s0, LV_STATE_DEFAULT, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_bg_color(&label_1_s0, LV_STATE_CHECKED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&label_1_s0, LV_STATE_CHECKED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&label_1_s0, LV_STATE_CHECKED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_text_color(&label_1_s0, LV_STATE_CHECKED, color);
|
||||
STYLE_COLOR_PROP(0xd3, 0x3c, 0x3c, 0x3c) ; lv_style_set_text_sel_color(&label_1_s0, LV_STATE_CHECKED, color);
|
||||
STYLE_COLOR_PROP(0x3a, 0x00, 0xb4, 0x95) ; lv_style_set_text_sel_bg_color(&label_1_s0, LV_STATE_CHECKED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_bg_color(&label_1_s0, LV_STATE_FOCUSED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&label_1_s0, LV_STATE_FOCUSED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&label_1_s0, LV_STATE_FOCUSED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_text_color(&label_1_s0, LV_STATE_FOCUSED, color);
|
||||
STYLE_COLOR_PROP(0xd3, 0x3c, 0x3c, 0x3c) ; lv_style_set_text_sel_color(&label_1_s0, LV_STATE_FOCUSED, color);
|
||||
STYLE_COLOR_PROP(0x3a, 0x00, 0xb4, 0x95) ; lv_style_set_text_sel_bg_color(&label_1_s0, LV_STATE_FOCUSED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_bg_color(&label_1_s0, LV_STATE_EDITED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&label_1_s0, LV_STATE_EDITED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&label_1_s0, LV_STATE_EDITED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_text_color(&label_1_s0, LV_STATE_EDITED, color);
|
||||
STYLE_COLOR_PROP(0xd3, 0x3c, 0x3c, 0x3c) ; lv_style_set_text_sel_color(&label_1_s0, LV_STATE_EDITED, color);
|
||||
STYLE_COLOR_PROP(0x3a, 0x00, 0xb4, 0x95) ; lv_style_set_text_sel_bg_color(&label_1_s0, LV_STATE_EDITED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_bg_color(&label_1_s0, LV_STATE_HOVERED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&label_1_s0, LV_STATE_HOVERED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&label_1_s0, LV_STATE_HOVERED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_text_color(&label_1_s0, LV_STATE_HOVERED, color);
|
||||
STYLE_COLOR_PROP(0xd3, 0x3c, 0x3c, 0x3c) ; lv_style_set_text_sel_color(&label_1_s0, LV_STATE_HOVERED, color);
|
||||
STYLE_COLOR_PROP(0x3a, 0x00, 0xb4, 0x95) ; lv_style_set_text_sel_bg_color(&label_1_s0, LV_STATE_HOVERED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_bg_color(&label_1_s0, LV_STATE_PRESSED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&label_1_s0, LV_STATE_PRESSED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&label_1_s0, LV_STATE_PRESSED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_text_color(&label_1_s0, LV_STATE_PRESSED, color);
|
||||
STYLE_COLOR_PROP(0xd3, 0x3c, 0x3c, 0x3c) ; lv_style_set_text_sel_color(&label_1_s0, LV_STATE_PRESSED, color);
|
||||
STYLE_COLOR_PROP(0x3a, 0x00, 0xb4, 0x95) ; lv_style_set_text_sel_bg_color(&label_1_s0, LV_STATE_PRESSED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_bg_color(&label_1_s0, LV_STATE_DISABLED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&label_1_s0, LV_STATE_DISABLED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&label_1_s0, LV_STATE_DISABLED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_text_color(&label_1_s0, LV_STATE_DISABLED, color);
|
||||
STYLE_COLOR_PROP(0xd3, 0x3c, 0x3c, 0x3c) ; lv_style_set_text_sel_color(&label_1_s0, LV_STATE_DISABLED, color);
|
||||
STYLE_COLOR_PROP(0x3a, 0x00, 0xb4, 0x95) ; lv_style_set_text_sel_bg_color(&label_1_s0, LV_STATE_DISABLED, color);
|
||||
lv_obj_t *label_1 = lv_label_create(container_send_time_0, NULL);
|
||||
lv_obj_set_hidden(label_1, false);
|
||||
lv_obj_set_click(label_1, false);
|
||||
lv_obj_set_drag(label_1, false);
|
||||
lv_plugin_label_allocate_ext_attr(label_1);
|
||||
lv_label_set_text(label_1,"HH : MM");
|
||||
lv_plugin_label_allocate_ext_attr(label_1);
|
||||
lv_plugin_label_set_font_type(label_1, LV_PLUGIN_LANGUAGE_FONT_TYPE_0);
|
||||
lv_label_set_align(label_1, LV_LABEL_ALIGN_CENTER);
|
||||
lv_label_set_long_mode(label_1, LV_LABEL_LONG_SROLL);
|
||||
lv_obj_set_pos(label_1, 0, 124);
|
||||
lv_obj_set_size(label_1, 320, 20);
|
||||
lv_obj_add_style(label_1, 0, &label_1_s0);
|
||||
|
||||
label_1_scr_uiflowmenucommonoption = label_1;
|
||||
|
||||
|
||||
static lv_style_t label_2_s0;
|
||||
lv_style_init(&label_2_s0);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_bg_color(&label_2_s0, LV_STATE_DEFAULT, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&label_2_s0, LV_STATE_DEFAULT, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&label_2_s0, LV_STATE_DEFAULT, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_text_color(&label_2_s0, LV_STATE_DEFAULT, color);
|
||||
lv_style_set_text_font(&label_2_s0,LV_STATE_DEFAULT,&lv_font_montserrat_16);
|
||||
STYLE_COLOR_PROP(0xd3, 0x3c, 0x3c, 0x3c) ; lv_style_set_text_sel_color(&label_2_s0, LV_STATE_DEFAULT, color);
|
||||
STYLE_COLOR_PROP(0x3a, 0x00, 0xb4, 0x95) ; lv_style_set_text_sel_bg_color(&label_2_s0, LV_STATE_DEFAULT, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_bg_color(&label_2_s0, LV_STATE_CHECKED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&label_2_s0, LV_STATE_CHECKED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&label_2_s0, LV_STATE_CHECKED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_text_color(&label_2_s0, LV_STATE_CHECKED, color);
|
||||
STYLE_COLOR_PROP(0xd3, 0x3c, 0x3c, 0x3c) ; lv_style_set_text_sel_color(&label_2_s0, LV_STATE_CHECKED, color);
|
||||
STYLE_COLOR_PROP(0x3a, 0x00, 0xb4, 0x95) ; lv_style_set_text_sel_bg_color(&label_2_s0, LV_STATE_CHECKED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_bg_color(&label_2_s0, LV_STATE_FOCUSED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&label_2_s0, LV_STATE_FOCUSED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&label_2_s0, LV_STATE_FOCUSED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_text_color(&label_2_s0, LV_STATE_FOCUSED, color);
|
||||
STYLE_COLOR_PROP(0xd3, 0x3c, 0x3c, 0x3c) ; lv_style_set_text_sel_color(&label_2_s0, LV_STATE_FOCUSED, color);
|
||||
STYLE_COLOR_PROP(0x3a, 0x00, 0xb4, 0x95) ; lv_style_set_text_sel_bg_color(&label_2_s0, LV_STATE_FOCUSED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_bg_color(&label_2_s0, LV_STATE_EDITED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&label_2_s0, LV_STATE_EDITED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&label_2_s0, LV_STATE_EDITED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_text_color(&label_2_s0, LV_STATE_EDITED, color);
|
||||
STYLE_COLOR_PROP(0xd3, 0x3c, 0x3c, 0x3c) ; lv_style_set_text_sel_color(&label_2_s0, LV_STATE_EDITED, color);
|
||||
STYLE_COLOR_PROP(0x3a, 0x00, 0xb4, 0x95) ; lv_style_set_text_sel_bg_color(&label_2_s0, LV_STATE_EDITED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_bg_color(&label_2_s0, LV_STATE_HOVERED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&label_2_s0, LV_STATE_HOVERED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&label_2_s0, LV_STATE_HOVERED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_text_color(&label_2_s0, LV_STATE_HOVERED, color);
|
||||
STYLE_COLOR_PROP(0xd3, 0x3c, 0x3c, 0x3c) ; lv_style_set_text_sel_color(&label_2_s0, LV_STATE_HOVERED, color);
|
||||
STYLE_COLOR_PROP(0x3a, 0x00, 0xb4, 0x95) ; lv_style_set_text_sel_bg_color(&label_2_s0, LV_STATE_HOVERED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_bg_color(&label_2_s0, LV_STATE_PRESSED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&label_2_s0, LV_STATE_PRESSED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&label_2_s0, LV_STATE_PRESSED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_text_color(&label_2_s0, LV_STATE_PRESSED, color);
|
||||
STYLE_COLOR_PROP(0xd3, 0x3c, 0x3c, 0x3c) ; lv_style_set_text_sel_color(&label_2_s0, LV_STATE_PRESSED, color);
|
||||
STYLE_COLOR_PROP(0x3a, 0x00, 0xb4, 0x95) ; lv_style_set_text_sel_bg_color(&label_2_s0, LV_STATE_PRESSED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_bg_color(&label_2_s0, LV_STATE_DISABLED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&label_2_s0, LV_STATE_DISABLED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&label_2_s0, LV_STATE_DISABLED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_text_color(&label_2_s0, LV_STATE_DISABLED, color);
|
||||
STYLE_COLOR_PROP(0xd3, 0x3c, 0x3c, 0x3c) ; lv_style_set_text_sel_color(&label_2_s0, LV_STATE_DISABLED, color);
|
||||
STYLE_COLOR_PROP(0x3a, 0x00, 0xb4, 0x95) ; lv_style_set_text_sel_bg_color(&label_2_s0, LV_STATE_DISABLED, color);
|
||||
lv_obj_t *label_2 = lv_label_create(container_send_time_0, NULL);
|
||||
lv_obj_set_hidden(label_2, false);
|
||||
lv_obj_set_click(label_2, false);
|
||||
lv_obj_set_drag(label_2, false);
|
||||
lv_plugin_label_allocate_ext_attr(label_2);
|
||||
lv_label_set_text(label_2,"Send Time");
|
||||
lv_plugin_label_allocate_ext_attr(label_2);
|
||||
lv_plugin_label_set_font_type(label_2, LV_PLUGIN_LANGUAGE_FONT_TYPE_0);
|
||||
lv_label_set_align(label_2, LV_LABEL_ALIGN_CENTER);
|
||||
lv_label_set_long_mode(label_2, LV_LABEL_LONG_SROLL);
|
||||
lv_obj_set_pos(label_2, 0, 20);
|
||||
lv_obj_set_size(label_2, 320, 20);
|
||||
lv_obj_add_style(label_2, 0, &label_2_s0);
|
||||
|
||||
label_2_scr_uiflowmenucommonoption = label_2;
|
||||
|
||||
|
||||
static lv_style_t container_send_time_1_s0;
|
||||
lv_style_init(&container_send_time_1_s0);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_bg_color(&container_send_time_1_s0, LV_STATE_DEFAULT, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&container_send_time_1_s0, LV_STATE_DEFAULT, color);
|
||||
STYLE_COLOR_PROP(0xe9, 0xdd, 0xdd, 0xdd) ; lv_style_set_border_color(&container_send_time_1_s0, LV_STATE_DEFAULT, color);
|
||||
lv_style_set_border_width(&container_send_time_1_s0,LV_STATE_DEFAULT,0);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_bg_color(&container_send_time_1_s0, LV_STATE_CHECKED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&container_send_time_1_s0, LV_STATE_CHECKED, color);
|
||||
STYLE_COLOR_PROP(0xe9, 0xdd, 0xdd, 0xdd) ; lv_style_set_border_color(&container_send_time_1_s0, LV_STATE_CHECKED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_bg_color(&container_send_time_1_s0, LV_STATE_FOCUSED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&container_send_time_1_s0, LV_STATE_FOCUSED, color);
|
||||
STYLE_COLOR_PROP(0xe9, 0xdd, 0xdd, 0xdd) ; lv_style_set_border_color(&container_send_time_1_s0, LV_STATE_FOCUSED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_bg_color(&container_send_time_1_s0, LV_STATE_EDITED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&container_send_time_1_s0, LV_STATE_EDITED, color);
|
||||
STYLE_COLOR_PROP(0xe9, 0xdd, 0xdd, 0xdd) ; lv_style_set_border_color(&container_send_time_1_s0, LV_STATE_EDITED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_bg_color(&container_send_time_1_s0, LV_STATE_HOVERED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&container_send_time_1_s0, LV_STATE_HOVERED, color);
|
||||
STYLE_COLOR_PROP(0xe9, 0xdd, 0xdd, 0xdd) ; lv_style_set_border_color(&container_send_time_1_s0, LV_STATE_HOVERED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_bg_color(&container_send_time_1_s0, LV_STATE_PRESSED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&container_send_time_1_s0, LV_STATE_PRESSED, color);
|
||||
STYLE_COLOR_PROP(0xe9, 0xdd, 0xdd, 0xdd) ; lv_style_set_border_color(&container_send_time_1_s0, LV_STATE_PRESSED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_bg_color(&container_send_time_1_s0, LV_STATE_DISABLED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&container_send_time_1_s0, LV_STATE_DISABLED, color);
|
||||
STYLE_COLOR_PROP(0xe9, 0xdd, 0xdd, 0xdd) ; lv_style_set_border_color(&container_send_time_1_s0, LV_STATE_DISABLED, color);
|
||||
lv_obj_t *container_send_time_1 = lv_cont_create(image_option_bg, NULL);
|
||||
lv_obj_set_hidden(container_send_time_1, true);
|
||||
lv_obj_set_click(container_send_time_1, true);
|
||||
lv_obj_set_drag(container_send_time_1, false);
|
||||
lv_obj_set_pos(container_send_time_1, 0, 40);
|
||||
lv_obj_set_size(container_send_time_1, 320, 200);
|
||||
lv_obj_add_style(container_send_time_1, 0, &container_send_time_1_s0);
|
||||
|
||||
container_send_time_1_scr_uiflowmenucommonoption = container_send_time_1;
|
||||
|
||||
|
||||
static lv_style_t label_time_1_s0;
|
||||
lv_style_init(&label_time_1_s0);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_bg_color(&label_time_1_s0, LV_STATE_DEFAULT, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&label_time_1_s0, LV_STATE_DEFAULT, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&label_time_1_s0, LV_STATE_DEFAULT, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_text_color(&label_time_1_s0, LV_STATE_DEFAULT, color);
|
||||
lv_style_set_text_font(&label_time_1_s0,LV_STATE_DEFAULT,&lv_font_montserrat_16);
|
||||
STYLE_COLOR_PROP(0xd3, 0x3c, 0x3c, 0x3c) ; lv_style_set_text_sel_color(&label_time_1_s0, LV_STATE_DEFAULT, color);
|
||||
STYLE_COLOR_PROP(0x3a, 0x00, 0xb4, 0x95) ; lv_style_set_text_sel_bg_color(&label_time_1_s0, LV_STATE_DEFAULT, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_bg_color(&label_time_1_s0, LV_STATE_CHECKED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&label_time_1_s0, LV_STATE_CHECKED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&label_time_1_s0, LV_STATE_CHECKED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_text_color(&label_time_1_s0, LV_STATE_CHECKED, color);
|
||||
STYLE_COLOR_PROP(0xd3, 0x3c, 0x3c, 0x3c) ; lv_style_set_text_sel_color(&label_time_1_s0, LV_STATE_CHECKED, color);
|
||||
STYLE_COLOR_PROP(0x3a, 0x00, 0xb4, 0x95) ; lv_style_set_text_sel_bg_color(&label_time_1_s0, LV_STATE_CHECKED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_bg_color(&label_time_1_s0, LV_STATE_FOCUSED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&label_time_1_s0, LV_STATE_FOCUSED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&label_time_1_s0, LV_STATE_FOCUSED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_text_color(&label_time_1_s0, LV_STATE_FOCUSED, color);
|
||||
STYLE_COLOR_PROP(0xd3, 0x3c, 0x3c, 0x3c) ; lv_style_set_text_sel_color(&label_time_1_s0, LV_STATE_FOCUSED, color);
|
||||
STYLE_COLOR_PROP(0x3a, 0x00, 0xb4, 0x95) ; lv_style_set_text_sel_bg_color(&label_time_1_s0, LV_STATE_FOCUSED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_bg_color(&label_time_1_s0, LV_STATE_EDITED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&label_time_1_s0, LV_STATE_EDITED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&label_time_1_s0, LV_STATE_EDITED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_text_color(&label_time_1_s0, LV_STATE_EDITED, color);
|
||||
STYLE_COLOR_PROP(0xd3, 0x3c, 0x3c, 0x3c) ; lv_style_set_text_sel_color(&label_time_1_s0, LV_STATE_EDITED, color);
|
||||
STYLE_COLOR_PROP(0x3a, 0x00, 0xb4, 0x95) ; lv_style_set_text_sel_bg_color(&label_time_1_s0, LV_STATE_EDITED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_bg_color(&label_time_1_s0, LV_STATE_HOVERED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&label_time_1_s0, LV_STATE_HOVERED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&label_time_1_s0, LV_STATE_HOVERED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_text_color(&label_time_1_s0, LV_STATE_HOVERED, color);
|
||||
STYLE_COLOR_PROP(0xd3, 0x3c, 0x3c, 0x3c) ; lv_style_set_text_sel_color(&label_time_1_s0, LV_STATE_HOVERED, color);
|
||||
STYLE_COLOR_PROP(0x3a, 0x00, 0xb4, 0x95) ; lv_style_set_text_sel_bg_color(&label_time_1_s0, LV_STATE_HOVERED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_bg_color(&label_time_1_s0, LV_STATE_PRESSED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&label_time_1_s0, LV_STATE_PRESSED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&label_time_1_s0, LV_STATE_PRESSED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_text_color(&label_time_1_s0, LV_STATE_PRESSED, color);
|
||||
STYLE_COLOR_PROP(0xd3, 0x3c, 0x3c, 0x3c) ; lv_style_set_text_sel_color(&label_time_1_s0, LV_STATE_PRESSED, color);
|
||||
STYLE_COLOR_PROP(0x3a, 0x00, 0xb4, 0x95) ; lv_style_set_text_sel_bg_color(&label_time_1_s0, LV_STATE_PRESSED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_bg_color(&label_time_1_s0, LV_STATE_DISABLED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&label_time_1_s0, LV_STATE_DISABLED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&label_time_1_s0, LV_STATE_DISABLED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_text_color(&label_time_1_s0, LV_STATE_DISABLED, color);
|
||||
STYLE_COLOR_PROP(0xd3, 0x3c, 0x3c, 0x3c) ; lv_style_set_text_sel_color(&label_time_1_s0, LV_STATE_DISABLED, color);
|
||||
STYLE_COLOR_PROP(0x3a, 0x00, 0xb4, 0x95) ; lv_style_set_text_sel_bg_color(&label_time_1_s0, LV_STATE_DISABLED, color);
|
||||
lv_obj_t *label_time_1 = lv_label_create(container_send_time_1, NULL);
|
||||
lv_obj_set_hidden(label_time_1, false);
|
||||
lv_obj_set_click(label_time_1, false);
|
||||
lv_obj_set_drag(label_time_1, false);
|
||||
lv_plugin_label_allocate_ext_attr(label_time_1);
|
||||
lv_label_set_text(label_time_1,"Send Time 1");
|
||||
lv_plugin_label_allocate_ext_attr(label_time_1);
|
||||
lv_plugin_label_set_font_type(label_time_1, LV_PLUGIN_LANGUAGE_FONT_TYPE_0);
|
||||
lv_label_set_align(label_time_1, LV_LABEL_ALIGN_CENTER);
|
||||
lv_label_set_long_mode(label_time_1, LV_LABEL_LONG_SROLL);
|
||||
lv_obj_set_pos(label_time_1, 0, 20);
|
||||
lv_obj_set_size(label_time_1, 160, 20);
|
||||
lv_obj_add_style(label_time_1, 0, &label_time_1_s0);
|
||||
|
||||
label_time_1_scr_uiflowmenucommonoption = label_time_1;
|
||||
|
||||
|
||||
static lv_style_t label_time_2_s0;
|
||||
lv_style_init(&label_time_2_s0);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_bg_color(&label_time_2_s0, LV_STATE_DEFAULT, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&label_time_2_s0, LV_STATE_DEFAULT, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&label_time_2_s0, LV_STATE_DEFAULT, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_text_color(&label_time_2_s0, LV_STATE_DEFAULT, color);
|
||||
lv_style_set_text_font(&label_time_2_s0,LV_STATE_DEFAULT,&lv_font_montserrat_16);
|
||||
STYLE_COLOR_PROP(0xd3, 0x3c, 0x3c, 0x3c) ; lv_style_set_text_sel_color(&label_time_2_s0, LV_STATE_DEFAULT, color);
|
||||
STYLE_COLOR_PROP(0x3a, 0x00, 0xb4, 0x95) ; lv_style_set_text_sel_bg_color(&label_time_2_s0, LV_STATE_DEFAULT, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_bg_color(&label_time_2_s0, LV_STATE_CHECKED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&label_time_2_s0, LV_STATE_CHECKED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&label_time_2_s0, LV_STATE_CHECKED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_text_color(&label_time_2_s0, LV_STATE_CHECKED, color);
|
||||
STYLE_COLOR_PROP(0xd3, 0x3c, 0x3c, 0x3c) ; lv_style_set_text_sel_color(&label_time_2_s0, LV_STATE_CHECKED, color);
|
||||
STYLE_COLOR_PROP(0x3a, 0x00, 0xb4, 0x95) ; lv_style_set_text_sel_bg_color(&label_time_2_s0, LV_STATE_CHECKED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_bg_color(&label_time_2_s0, LV_STATE_FOCUSED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&label_time_2_s0, LV_STATE_FOCUSED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&label_time_2_s0, LV_STATE_FOCUSED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_text_color(&label_time_2_s0, LV_STATE_FOCUSED, color);
|
||||
STYLE_COLOR_PROP(0xd3, 0x3c, 0x3c, 0x3c) ; lv_style_set_text_sel_color(&label_time_2_s0, LV_STATE_FOCUSED, color);
|
||||
STYLE_COLOR_PROP(0x3a, 0x00, 0xb4, 0x95) ; lv_style_set_text_sel_bg_color(&label_time_2_s0, LV_STATE_FOCUSED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_bg_color(&label_time_2_s0, LV_STATE_EDITED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&label_time_2_s0, LV_STATE_EDITED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&label_time_2_s0, LV_STATE_EDITED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_text_color(&label_time_2_s0, LV_STATE_EDITED, color);
|
||||
STYLE_COLOR_PROP(0xd3, 0x3c, 0x3c, 0x3c) ; lv_style_set_text_sel_color(&label_time_2_s0, LV_STATE_EDITED, color);
|
||||
STYLE_COLOR_PROP(0x3a, 0x00, 0xb4, 0x95) ; lv_style_set_text_sel_bg_color(&label_time_2_s0, LV_STATE_EDITED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_bg_color(&label_time_2_s0, LV_STATE_HOVERED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&label_time_2_s0, LV_STATE_HOVERED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&label_time_2_s0, LV_STATE_HOVERED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_text_color(&label_time_2_s0, LV_STATE_HOVERED, color);
|
||||
STYLE_COLOR_PROP(0xd3, 0x3c, 0x3c, 0x3c) ; lv_style_set_text_sel_color(&label_time_2_s0, LV_STATE_HOVERED, color);
|
||||
STYLE_COLOR_PROP(0x3a, 0x00, 0xb4, 0x95) ; lv_style_set_text_sel_bg_color(&label_time_2_s0, LV_STATE_HOVERED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_bg_color(&label_time_2_s0, LV_STATE_PRESSED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&label_time_2_s0, LV_STATE_PRESSED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&label_time_2_s0, LV_STATE_PRESSED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_text_color(&label_time_2_s0, LV_STATE_PRESSED, color);
|
||||
STYLE_COLOR_PROP(0xd3, 0x3c, 0x3c, 0x3c) ; lv_style_set_text_sel_color(&label_time_2_s0, LV_STATE_PRESSED, color);
|
||||
STYLE_COLOR_PROP(0x3a, 0x00, 0xb4, 0x95) ; lv_style_set_text_sel_bg_color(&label_time_2_s0, LV_STATE_PRESSED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_bg_color(&label_time_2_s0, LV_STATE_DISABLED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&label_time_2_s0, LV_STATE_DISABLED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&label_time_2_s0, LV_STATE_DISABLED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_text_color(&label_time_2_s0, LV_STATE_DISABLED, color);
|
||||
STYLE_COLOR_PROP(0xd3, 0x3c, 0x3c, 0x3c) ; lv_style_set_text_sel_color(&label_time_2_s0, LV_STATE_DISABLED, color);
|
||||
STYLE_COLOR_PROP(0x3a, 0x00, 0xb4, 0x95) ; lv_style_set_text_sel_bg_color(&label_time_2_s0, LV_STATE_DISABLED, color);
|
||||
lv_obj_t *label_time_2 = lv_label_create(container_send_time_1, NULL);
|
||||
lv_obj_set_hidden(label_time_2, false);
|
||||
lv_obj_set_click(label_time_2, false);
|
||||
lv_obj_set_drag(label_time_2, false);
|
||||
lv_plugin_label_allocate_ext_attr(label_time_2);
|
||||
lv_label_set_text(label_time_2,"Send Time 2");
|
||||
lv_plugin_label_allocate_ext_attr(label_time_2);
|
||||
lv_plugin_label_set_font_type(label_time_2, LV_PLUGIN_LANGUAGE_FONT_TYPE_0);
|
||||
lv_label_set_align(label_time_2, LV_LABEL_ALIGN_CENTER);
|
||||
lv_label_set_long_mode(label_time_2, LV_LABEL_LONG_SROLL);
|
||||
lv_obj_set_pos(label_time_2, 160, 20);
|
||||
lv_obj_set_size(label_time_2, 160, 20);
|
||||
lv_obj_add_style(label_time_2, 0, &label_time_2_s0);
|
||||
|
||||
label_time_2_scr_uiflowmenucommonoption = label_time_2;
|
||||
|
||||
|
||||
static lv_style_t label_5_s0;
|
||||
lv_style_init(&label_5_s0);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_bg_color(&label_5_s0, LV_STATE_DEFAULT, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&label_5_s0, LV_STATE_DEFAULT, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&label_5_s0, LV_STATE_DEFAULT, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_text_color(&label_5_s0, LV_STATE_DEFAULT, color);
|
||||
lv_style_set_text_font(&label_5_s0,LV_STATE_DEFAULT,&lv_font_montserrat_16);
|
||||
STYLE_COLOR_PROP(0xd3, 0x3c, 0x3c, 0x3c) ; lv_style_set_text_sel_color(&label_5_s0, LV_STATE_DEFAULT, color);
|
||||
STYLE_COLOR_PROP(0x3a, 0x00, 0xb4, 0x95) ; lv_style_set_text_sel_bg_color(&label_5_s0, LV_STATE_DEFAULT, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_bg_color(&label_5_s0, LV_STATE_CHECKED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&label_5_s0, LV_STATE_CHECKED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&label_5_s0, LV_STATE_CHECKED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_text_color(&label_5_s0, LV_STATE_CHECKED, color);
|
||||
STYLE_COLOR_PROP(0xd3, 0x3c, 0x3c, 0x3c) ; lv_style_set_text_sel_color(&label_5_s0, LV_STATE_CHECKED, color);
|
||||
STYLE_COLOR_PROP(0x3a, 0x00, 0xb4, 0x95) ; lv_style_set_text_sel_bg_color(&label_5_s0, LV_STATE_CHECKED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_bg_color(&label_5_s0, LV_STATE_FOCUSED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&label_5_s0, LV_STATE_FOCUSED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&label_5_s0, LV_STATE_FOCUSED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_text_color(&label_5_s0, LV_STATE_FOCUSED, color);
|
||||
STYLE_COLOR_PROP(0xd3, 0x3c, 0x3c, 0x3c) ; lv_style_set_text_sel_color(&label_5_s0, LV_STATE_FOCUSED, color);
|
||||
STYLE_COLOR_PROP(0x3a, 0x00, 0xb4, 0x95) ; lv_style_set_text_sel_bg_color(&label_5_s0, LV_STATE_FOCUSED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_bg_color(&label_5_s0, LV_STATE_EDITED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&label_5_s0, LV_STATE_EDITED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&label_5_s0, LV_STATE_EDITED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_text_color(&label_5_s0, LV_STATE_EDITED, color);
|
||||
STYLE_COLOR_PROP(0xd3, 0x3c, 0x3c, 0x3c) ; lv_style_set_text_sel_color(&label_5_s0, LV_STATE_EDITED, color);
|
||||
STYLE_COLOR_PROP(0x3a, 0x00, 0xb4, 0x95) ; lv_style_set_text_sel_bg_color(&label_5_s0, LV_STATE_EDITED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_bg_color(&label_5_s0, LV_STATE_HOVERED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&label_5_s0, LV_STATE_HOVERED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&label_5_s0, LV_STATE_HOVERED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_text_color(&label_5_s0, LV_STATE_HOVERED, color);
|
||||
STYLE_COLOR_PROP(0xd3, 0x3c, 0x3c, 0x3c) ; lv_style_set_text_sel_color(&label_5_s0, LV_STATE_HOVERED, color);
|
||||
STYLE_COLOR_PROP(0x3a, 0x00, 0xb4, 0x95) ; lv_style_set_text_sel_bg_color(&label_5_s0, LV_STATE_HOVERED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_bg_color(&label_5_s0, LV_STATE_PRESSED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&label_5_s0, LV_STATE_PRESSED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&label_5_s0, LV_STATE_PRESSED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_text_color(&label_5_s0, LV_STATE_PRESSED, color);
|
||||
STYLE_COLOR_PROP(0xd3, 0x3c, 0x3c, 0x3c) ; lv_style_set_text_sel_color(&label_5_s0, LV_STATE_PRESSED, color);
|
||||
STYLE_COLOR_PROP(0x3a, 0x00, 0xb4, 0x95) ; lv_style_set_text_sel_bg_color(&label_5_s0, LV_STATE_PRESSED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_bg_color(&label_5_s0, LV_STATE_DISABLED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&label_5_s0, LV_STATE_DISABLED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&label_5_s0, LV_STATE_DISABLED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_text_color(&label_5_s0, LV_STATE_DISABLED, color);
|
||||
STYLE_COLOR_PROP(0xd3, 0x3c, 0x3c, 0x3c) ; lv_style_set_text_sel_color(&label_5_s0, LV_STATE_DISABLED, color);
|
||||
STYLE_COLOR_PROP(0x3a, 0x00, 0xb4, 0x95) ; lv_style_set_text_sel_bg_color(&label_5_s0, LV_STATE_DISABLED, color);
|
||||
lv_obj_t *label_5 = lv_label_create(container_send_time_1, NULL);
|
||||
lv_obj_set_hidden(label_5, false);
|
||||
lv_obj_set_click(label_5, false);
|
||||
lv_obj_set_drag(label_5, false);
|
||||
lv_plugin_label_allocate_ext_attr(label_5);
|
||||
lv_label_set_text(label_5,"HH : MM");
|
||||
lv_plugin_label_allocate_ext_attr(label_5);
|
||||
lv_plugin_label_set_font_type(label_5, LV_PLUGIN_LANGUAGE_FONT_TYPE_0);
|
||||
lv_label_set_align(label_5, LV_LABEL_ALIGN_CENTER);
|
||||
lv_label_set_long_mode(label_5, LV_LABEL_LONG_SROLL);
|
||||
lv_obj_set_pos(label_5, 0, 124);
|
||||
lv_obj_set_size(label_5, 160, 20);
|
||||
lv_obj_add_style(label_5, 0, &label_5_s0);
|
||||
|
||||
label_5_scr_uiflowmenucommonoption = label_5;
|
||||
|
||||
|
||||
static lv_style_t label_6_s0;
|
||||
lv_style_init(&label_6_s0);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_bg_color(&label_6_s0, LV_STATE_DEFAULT, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&label_6_s0, LV_STATE_DEFAULT, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&label_6_s0, LV_STATE_DEFAULT, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_text_color(&label_6_s0, LV_STATE_DEFAULT, color);
|
||||
lv_style_set_text_font(&label_6_s0,LV_STATE_DEFAULT,&lv_font_montserrat_16);
|
||||
STYLE_COLOR_PROP(0xd3, 0x3c, 0x3c, 0x3c) ; lv_style_set_text_sel_color(&label_6_s0, LV_STATE_DEFAULT, color);
|
||||
STYLE_COLOR_PROP(0x3a, 0x00, 0xb4, 0x95) ; lv_style_set_text_sel_bg_color(&label_6_s0, LV_STATE_DEFAULT, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_bg_color(&label_6_s0, LV_STATE_CHECKED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&label_6_s0, LV_STATE_CHECKED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&label_6_s0, LV_STATE_CHECKED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_text_color(&label_6_s0, LV_STATE_CHECKED, color);
|
||||
STYLE_COLOR_PROP(0xd3, 0x3c, 0x3c, 0x3c) ; lv_style_set_text_sel_color(&label_6_s0, LV_STATE_CHECKED, color);
|
||||
STYLE_COLOR_PROP(0x3a, 0x00, 0xb4, 0x95) ; lv_style_set_text_sel_bg_color(&label_6_s0, LV_STATE_CHECKED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_bg_color(&label_6_s0, LV_STATE_FOCUSED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&label_6_s0, LV_STATE_FOCUSED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&label_6_s0, LV_STATE_FOCUSED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_text_color(&label_6_s0, LV_STATE_FOCUSED, color);
|
||||
STYLE_COLOR_PROP(0xd3, 0x3c, 0x3c, 0x3c) ; lv_style_set_text_sel_color(&label_6_s0, LV_STATE_FOCUSED, color);
|
||||
STYLE_COLOR_PROP(0x3a, 0x00, 0xb4, 0x95) ; lv_style_set_text_sel_bg_color(&label_6_s0, LV_STATE_FOCUSED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_bg_color(&label_6_s0, LV_STATE_EDITED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&label_6_s0, LV_STATE_EDITED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&label_6_s0, LV_STATE_EDITED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_text_color(&label_6_s0, LV_STATE_EDITED, color);
|
||||
STYLE_COLOR_PROP(0xd3, 0x3c, 0x3c, 0x3c) ; lv_style_set_text_sel_color(&label_6_s0, LV_STATE_EDITED, color);
|
||||
STYLE_COLOR_PROP(0x3a, 0x00, 0xb4, 0x95) ; lv_style_set_text_sel_bg_color(&label_6_s0, LV_STATE_EDITED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_bg_color(&label_6_s0, LV_STATE_HOVERED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&label_6_s0, LV_STATE_HOVERED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&label_6_s0, LV_STATE_HOVERED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_text_color(&label_6_s0, LV_STATE_HOVERED, color);
|
||||
STYLE_COLOR_PROP(0xd3, 0x3c, 0x3c, 0x3c) ; lv_style_set_text_sel_color(&label_6_s0, LV_STATE_HOVERED, color);
|
||||
STYLE_COLOR_PROP(0x3a, 0x00, 0xb4, 0x95) ; lv_style_set_text_sel_bg_color(&label_6_s0, LV_STATE_HOVERED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_bg_color(&label_6_s0, LV_STATE_PRESSED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&label_6_s0, LV_STATE_PRESSED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&label_6_s0, LV_STATE_PRESSED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_text_color(&label_6_s0, LV_STATE_PRESSED, color);
|
||||
STYLE_COLOR_PROP(0xd3, 0x3c, 0x3c, 0x3c) ; lv_style_set_text_sel_color(&label_6_s0, LV_STATE_PRESSED, color);
|
||||
STYLE_COLOR_PROP(0x3a, 0x00, 0xb4, 0x95) ; lv_style_set_text_sel_bg_color(&label_6_s0, LV_STATE_PRESSED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_bg_color(&label_6_s0, LV_STATE_DISABLED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&label_6_s0, LV_STATE_DISABLED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&label_6_s0, LV_STATE_DISABLED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_text_color(&label_6_s0, LV_STATE_DISABLED, color);
|
||||
STYLE_COLOR_PROP(0xd3, 0x3c, 0x3c, 0x3c) ; lv_style_set_text_sel_color(&label_6_s0, LV_STATE_DISABLED, color);
|
||||
STYLE_COLOR_PROP(0x3a, 0x00, 0xb4, 0x95) ; lv_style_set_text_sel_bg_color(&label_6_s0, LV_STATE_DISABLED, color);
|
||||
lv_obj_t *label_6 = lv_label_create(container_send_time_1, NULL);
|
||||
lv_obj_set_hidden(label_6, false);
|
||||
lv_obj_set_click(label_6, false);
|
||||
lv_obj_set_drag(label_6, false);
|
||||
lv_plugin_label_allocate_ext_attr(label_6);
|
||||
lv_label_set_text(label_6,"HH : MM");
|
||||
lv_plugin_label_allocate_ext_attr(label_6);
|
||||
lv_plugin_label_set_font_type(label_6, LV_PLUGIN_LANGUAGE_FONT_TYPE_0);
|
||||
lv_label_set_align(label_6, LV_LABEL_ALIGN_CENTER);
|
||||
lv_label_set_long_mode(label_6, LV_LABEL_LONG_SROLL);
|
||||
lv_obj_set_pos(label_6, 160, 124);
|
||||
lv_obj_set_size(label_6, 160, 20);
|
||||
lv_obj_add_style(label_6, 0, &label_6_s0);
|
||||
|
||||
label_6_scr_uiflowmenucommonoption = label_6;
|
||||
|
||||
|
||||
return parent;
|
||||
}
|
||||
|
|
|
@ -37,6 +37,14 @@ extern lv_obj_t* image_option5_scr_uiflowmenucommonoption;
|
|||
extern lv_obj_t* container_option_title_scr_uiflowmenucommonoption;
|
||||
extern lv_obj_t* label_menu_item_scr_uiflowmenucommonoption;
|
||||
extern lv_obj_t* image_option_title_scr_uiflowmenucommonoption;
|
||||
extern lv_obj_t* container_send_time_0_scr_uiflowmenucommonoption;
|
||||
extern lv_obj_t* label_1_scr_uiflowmenucommonoption;
|
||||
extern lv_obj_t* label_2_scr_uiflowmenucommonoption;
|
||||
extern lv_obj_t* container_send_time_1_scr_uiflowmenucommonoption;
|
||||
extern lv_obj_t* label_time_1_scr_uiflowmenucommonoption;
|
||||
extern lv_obj_t* label_time_2_scr_uiflowmenucommonoption;
|
||||
extern lv_obj_t* label_5_scr_uiflowmenucommonoption;
|
||||
extern lv_obj_t* label_6_scr_uiflowmenucommonoption;
|
||||
|
||||
/**********************
|
||||
* GLOBAL PROTOTYPES
|
||||
|
|
|
@ -13,6 +13,7 @@ lv_obj_t* image_1_scr_uiflowpassword;
|
|||
lv_obj_t* label_enter_scr_uiflowpassword;
|
||||
lv_obj_t* button_matrix_password_scr_uiflowpassword;
|
||||
lv_obj_t* label_select_scr_uiflowpassword;
|
||||
lv_obj_t* image_2_scr_uiflowpassword;
|
||||
lv_obj_t* label_tips_scr_uiflowpassword;
|
||||
|
||||
lv_obj_t* UIFlowPassword_create(){
|
||||
|
@ -318,6 +319,54 @@ lv_obj_t* UIFlowPassword_create(){
|
|||
label_select_scr_uiflowpassword = label_select;
|
||||
|
||||
|
||||
static lv_style_t image_2_s0;
|
||||
lv_style_init(&image_2_s0);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_color(&image_2_s0, LV_STATE_DEFAULT, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&image_2_s0, LV_STATE_DEFAULT, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&image_2_s0, LV_STATE_DEFAULT, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_outline_color(&image_2_s0, LV_STATE_DEFAULT, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_image_recolor(&image_2_s0, LV_STATE_DEFAULT, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_color(&image_2_s0, LV_STATE_CHECKED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&image_2_s0, LV_STATE_CHECKED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&image_2_s0, LV_STATE_CHECKED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_outline_color(&image_2_s0, LV_STATE_CHECKED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_image_recolor(&image_2_s0, LV_STATE_CHECKED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_color(&image_2_s0, LV_STATE_FOCUSED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&image_2_s0, LV_STATE_FOCUSED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&image_2_s0, LV_STATE_FOCUSED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_outline_color(&image_2_s0, LV_STATE_FOCUSED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_image_recolor(&image_2_s0, LV_STATE_FOCUSED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_color(&image_2_s0, LV_STATE_EDITED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&image_2_s0, LV_STATE_EDITED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&image_2_s0, LV_STATE_EDITED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_outline_color(&image_2_s0, LV_STATE_EDITED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_image_recolor(&image_2_s0, LV_STATE_EDITED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_color(&image_2_s0, LV_STATE_HOVERED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&image_2_s0, LV_STATE_HOVERED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&image_2_s0, LV_STATE_HOVERED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_outline_color(&image_2_s0, LV_STATE_HOVERED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_image_recolor(&image_2_s0, LV_STATE_HOVERED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_color(&image_2_s0, LV_STATE_PRESSED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&image_2_s0, LV_STATE_PRESSED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&image_2_s0, LV_STATE_PRESSED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_outline_color(&image_2_s0, LV_STATE_PRESSED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_image_recolor(&image_2_s0, LV_STATE_PRESSED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_color(&image_2_s0, LV_STATE_DISABLED, color);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_grad_color(&image_2_s0, LV_STATE_DISABLED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_border_color(&image_2_s0, LV_STATE_DISABLED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_outline_color(&image_2_s0, LV_STATE_DISABLED, color);
|
||||
STYLE_COLOR_PROP(0x01, 0x00, 0x00, 0x00) ; lv_style_set_image_recolor(&image_2_s0, LV_STATE_DISABLED, color);
|
||||
lv_obj_t *image_2 = lv_img_create(image_1, NULL);
|
||||
lv_obj_set_hidden(image_2, false);
|
||||
lv_obj_set_click(image_2, false);
|
||||
lv_obj_set_drag(image_2, false);
|
||||
lv_obj_set_pos(image_2, 10, 12);
|
||||
lv_obj_set_size(image_2, 120, 44);
|
||||
lv_obj_add_style(image_2, 0, &image_2_s0);
|
||||
|
||||
image_2_scr_uiflowpassword = image_2;
|
||||
|
||||
|
||||
static lv_style_t label_tips_s0;
|
||||
lv_style_init(&label_tips_s0);
|
||||
STYLE_COLOR_PROP(0x02, 0xff, 0xff, 0xff) ; lv_style_set_bg_color(&label_tips_s0, LV_STATE_DEFAULT, color);
|
||||
|
|
|
@ -21,6 +21,7 @@ extern lv_obj_t* image_1_scr_uiflowpassword;
|
|||
extern lv_obj_t* label_enter_scr_uiflowpassword;
|
||||
extern lv_obj_t* button_matrix_password_scr_uiflowpassword;
|
||||
extern lv_obj_t* label_select_scr_uiflowpassword;
|
||||
extern lv_obj_t* image_2_scr_uiflowpassword;
|
||||
extern lv_obj_t* label_tips_scr_uiflowpassword;
|
||||
|
||||
/**********************
|
||||
|
|
Loading…
Reference in New Issue
Block a user