-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathui_Screen1.c
276 lines (253 loc) · 17 KB
/
ui_Screen1.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
// This file was generated by SquareLine Studio
// SquareLine Studio version: SquareLine Studio 1.5.0
// LVGL version: 8.3.11
// Project name: TH1
#include "../ui.h"
void ui_Screen1_screen_init(void)
{
ui_Screen1 = lv_obj_create(NULL);
lv_obj_clear_flag(ui_Screen1, LV_OBJ_FLAG_SCROLLABLE); /// Flags
lv_obj_set_style_pad_left(ui_Screen1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_pad_right(ui_Screen1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_pad_top(ui_Screen1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_pad_bottom(ui_Screen1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
ui_Panel2 = lv_obj_create(ui_Screen1);
lv_obj_set_width(ui_Panel2, lv_pct(100));
lv_obj_set_height(ui_Panel2, lv_pct(100));
lv_obj_set_align(ui_Panel2, LV_ALIGN_BOTTOM_MID);
lv_obj_clear_flag(ui_Panel2, LV_OBJ_FLAG_SCROLLABLE); /// Flags
lv_obj_set_style_bg_grad_color(ui_Panel2, lv_color_hex(0x333131), LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_bg_main_stop(ui_Panel2, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_bg_grad_stop(ui_Panel2, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_bg_grad_dir(ui_Panel2, LV_GRAD_DIR_VER, LV_PART_MAIN | LV_STATE_DEFAULT);
ui_THTarc = lv_arc_create(ui_Panel2);
lv_obj_set_width(ui_THTarc, lv_pct(80));
lv_obj_set_height(ui_THTarc, lv_pct(90));
lv_obj_set_align(ui_THTarc, LV_ALIGN_CENTER);
lv_arc_set_value(ui_THTarc, 50);
lv_obj_set_style_bg_grad_color(ui_THTarc, lv_color_hex(0x5D5959), LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_bg_main_stop(ui_THTarc, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_bg_grad_stop(ui_THTarc, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_bg_grad_dir(ui_THTarc, LV_GRAD_DIR_HOR, LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_arc_color(ui_THTarc, lv_color_hex(0x747476), LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_arc_opa(ui_THTarc, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_arc_width(ui_THTarc, 22, LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_border_color(ui_THTarc, lv_color_hex(0x000000), LV_PART_INDICATOR | LV_STATE_DEFAULT);
lv_obj_set_style_border_opa(ui_THTarc, 255, LV_PART_INDICATOR | LV_STATE_DEFAULT);
lv_obj_set_style_border_width(ui_THTarc, 12, LV_PART_INDICATOR | LV_STATE_DEFAULT);
lv_obj_set_style_border_side(ui_THTarc, LV_BORDER_SIDE_FULL, LV_PART_INDICATOR | LV_STATE_DEFAULT);
lv_obj_set_style_pad_left(ui_THTarc, 0, LV_PART_INDICATOR | LV_STATE_DEFAULT);
lv_obj_set_style_pad_right(ui_THTarc, 0, LV_PART_INDICATOR | LV_STATE_DEFAULT);
lv_obj_set_style_pad_top(ui_THTarc, 0, LV_PART_INDICATOR | LV_STATE_DEFAULT);
lv_obj_set_style_pad_bottom(ui_THTarc, 0, LV_PART_INDICATOR | LV_STATE_DEFAULT);
lv_obj_set_style_arc_color(ui_THTarc, lv_color_hex(0x5D5959), LV_PART_INDICATOR | LV_STATE_DEFAULT);
lv_obj_set_style_arc_opa(ui_THTarc, 255, LV_PART_INDICATOR | LV_STATE_DEFAULT);
lv_obj_set_style_arc_width(ui_THTarc, 22, LV_PART_INDICATOR | LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui_THTarc, 60, LV_PART_KNOB | LV_STATE_DEFAULT);
lv_obj_set_style_bg_color(ui_THTarc, lv_color_hex(0xA10909), LV_PART_KNOB | LV_STATE_DEFAULT);
lv_obj_set_style_bg_opa(ui_THTarc, 255, LV_PART_KNOB | LV_STATE_DEFAULT);
lv_obj_set_style_bg_grad_color(ui_THTarc, lv_color_hex(0xECF310), LV_PART_KNOB | LV_STATE_DEFAULT);
lv_obj_set_style_bg_main_stop(ui_THTarc, 0, LV_PART_KNOB | LV_STATE_DEFAULT);
lv_obj_set_style_bg_grad_stop(ui_THTarc, 255, LV_PART_KNOB | LV_STATE_DEFAULT);
lv_obj_set_style_bg_grad_dir(ui_THTarc, LV_GRAD_DIR_VER, LV_PART_KNOB | LV_STATE_DEFAULT);
lv_obj_set_style_bg_img_recolor(ui_THTarc, lv_color_hex(0x636390), LV_PART_KNOB | LV_STATE_DEFAULT);
lv_obj_set_style_bg_img_recolor_opa(ui_THTarc, 255, LV_PART_KNOB | LV_STATE_DEFAULT);
lv_obj_set_style_bg_img_tiled(ui_THTarc, false, LV_PART_KNOB | LV_STATE_DEFAULT);
lv_obj_set_style_outline_color(ui_THTarc, lv_color_hex(0xB8C609), LV_PART_KNOB | LV_STATE_DEFAULT);
lv_obj_set_style_outline_opa(ui_THTarc, 255, LV_PART_KNOB | LV_STATE_DEFAULT);
lv_obj_set_style_outline_width(ui_THTarc, 5, LV_PART_KNOB | LV_STATE_DEFAULT);
lv_obj_set_style_outline_pad(ui_THTarc, 0, LV_PART_KNOB | LV_STATE_DEFAULT);
lv_obj_set_style_pad_left(ui_THTarc, 10, LV_PART_KNOB | LV_STATE_DEFAULT);
lv_obj_set_style_pad_right(ui_THTarc, 10, LV_PART_KNOB | LV_STATE_DEFAULT);
lv_obj_set_style_pad_top(ui_THTarc, 10, LV_PART_KNOB | LV_STATE_DEFAULT);
lv_obj_set_style_pad_bottom(ui_THTarc, 10, LV_PART_KNOB | LV_STATE_DEFAULT);
ui_rminL = lv_label_create(ui_THTarc);
lv_obj_set_width(ui_rminL, LV_SIZE_CONTENT); /// 1
lv_obj_set_height(ui_rminL, LV_SIZE_CONTENT); /// 1
lv_obj_set_x(ui_rminL, -80);
lv_obj_set_y(ui_rminL, 120);
lv_obj_set_align(ui_rminL, LV_ALIGN_CENTER);
lv_label_set_text(ui_rminL, "text");
lv_obj_set_style_text_color(ui_rminL, lv_color_hex(0xE91313), LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_text_opa(ui_rminL, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
ui_rmaxL = lv_label_create(ui_THTarc);
lv_obj_set_width(ui_rmaxL, LV_SIZE_CONTENT); /// 1
lv_obj_set_height(ui_rmaxL, LV_SIZE_CONTENT); /// 1
lv_obj_set_x(ui_rmaxL, 80);
lv_obj_set_y(ui_rmaxL, 120);
lv_obj_set_align(ui_rmaxL, LV_ALIGN_CENTER);
lv_label_set_text(ui_rmaxL, "text");
lv_obj_set_style_text_color(ui_rmaxL, lv_color_hex(0xE91313), LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_text_opa(ui_rmaxL, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
ui_Panel3 = lv_obj_create(ui_THTarc);
lv_obj_set_width(ui_Panel3, 180);
lv_obj_set_height(ui_Panel3, 180);
lv_obj_set_x(ui_Panel3, 0);
lv_obj_set_y(ui_Panel3, -20);
lv_obj_set_align(ui_Panel3, LV_ALIGN_CENTER);
lv_obj_clear_flag(ui_Panel3, LV_OBJ_FLAG_SCROLLABLE); /// Flags
lv_obj_set_style_radius(ui_Panel3, 200, LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_bg_color(ui_Panel3, lv_color_hex(0x999090), LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_bg_opa(ui_Panel3, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
ui_shL = lv_label_create(ui_Panel3);
lv_obj_set_width(ui_shL, LV_SIZE_CONTENT); /// 1
lv_obj_set_height(ui_shL, LV_SIZE_CONTENT); /// 1
lv_obj_set_align(ui_shL, LV_ALIGN_CENTER);
lv_label_set_text(ui_shL, "21,1");
lv_obj_set_style_text_color(ui_shL, lv_color_hex(0xE91313), LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_text_opa(ui_shL, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui_shL, &lv_font_montserrat_36, LV_PART_MAIN | LV_STATE_DEFAULT);
ui_Image1 = lv_img_create(ui_Panel3);
lv_img_set_src(ui_Image1, &ui_img_heat1_png);
lv_obj_set_width(ui_Image1, LV_SIZE_CONTENT); /// 1
lv_obj_set_height(ui_Image1, LV_SIZE_CONTENT); /// 1
lv_obj_set_x(ui_Image1, 0);
lv_obj_set_y(ui_Image1, -50);
lv_obj_set_align(ui_Image1, LV_ALIGN_CENTER);
lv_obj_add_flag(ui_Image1, LV_OBJ_FLAG_ADV_HITTEST); /// Flags
lv_obj_clear_flag(ui_Image1, LV_OBJ_FLAG_SCROLLABLE); /// Flags
ui_Image3 = lv_img_create(ui_Panel3);
lv_img_set_src(ui_Image3, &ui_img_1871335464);
lv_obj_set_width(ui_Image3, LV_SIZE_CONTENT); /// 1
lv_obj_set_height(ui_Image3, LV_SIZE_CONTENT); /// 1
lv_obj_set_x(ui_Image3, -44);
lv_obj_set_y(ui_Image3, 40);
lv_obj_set_align(ui_Image3, LV_ALIGN_CENTER);
lv_obj_add_flag(ui_Image3, LV_OBJ_FLAG_ADV_HITTEST); /// Flags
lv_obj_clear_flag(ui_Image3, LV_OBJ_FLAG_SCROLLABLE); /// Flags
ui_ptL = lv_label_create(ui_Panel3);
lv_obj_set_width(ui_ptL, LV_SIZE_CONTENT); /// 1
lv_obj_set_height(ui_ptL, LV_SIZE_CONTENT); /// 1
lv_obj_set_x(ui_ptL, 0);
lv_obj_set_y(ui_ptL, 41);
lv_obj_set_align(ui_ptL, LV_ALIGN_CENTER);
lv_label_set_text(ui_ptL, "-327,50 @c");
lv_obj_set_style_text_color(ui_ptL, lv_color_hex(0x0E6E0B), LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_text_opa(ui_ptL, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_text_align(ui_ptL, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui_ptL, &lv_font_montserrat_12, LV_PART_MAIN | LV_STATE_DEFAULT);
ui_Button1 = lv_btn_create(ui_THTarc);
lv_obj_set_width(ui_Button1, 30);
lv_obj_set_height(ui_Button1, 30);
lv_obj_set_x(ui_Button1, -39);
lv_obj_set_y(ui_Button1, 125);
lv_obj_set_align(ui_Button1, LV_ALIGN_CENTER);
lv_obj_add_flag(ui_Button1, LV_OBJ_FLAG_SCROLL_ON_FOCUS); /// Flags
lv_obj_clear_flag(ui_Button1, LV_OBJ_FLAG_SCROLLABLE); /// Flags
lv_obj_set_style_radius(ui_Button1, 15, LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_bg_color(ui_Button1, lv_color_hex(0xFFFFFF), LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_bg_opa(ui_Button1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_outline_color(ui_Button1, lv_color_hex(0xC80000), LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_outline_opa(ui_Button1, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_outline_width(ui_Button1, 3, LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_outline_pad(ui_Button1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
ui_Label11 = lv_label_create(ui_Button1);
lv_obj_set_width(ui_Label11, LV_SIZE_CONTENT); /// 1
lv_obj_set_height(ui_Label11, LV_SIZE_CONTENT); /// 1
lv_obj_set_x(ui_Label11, 0);
lv_obj_set_y(ui_Label11, -3);
lv_obj_set_align(ui_Label11, LV_ALIGN_CENTER);
lv_label_set_text(ui_Label11, "-");
lv_obj_set_style_text_color(ui_Label11, lv_color_hex(0xE01212), LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_text_opa(ui_Label11, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_text_align(ui_Label11, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui_Label11, &lv_font_montserrat_48, LV_PART_MAIN | LV_STATE_DEFAULT);
ui_Button3 = lv_btn_create(ui_THTarc);
lv_obj_set_width(ui_Button3, 30);
lv_obj_set_height(ui_Button3, 30);
lv_obj_set_x(ui_Button3, 39);
lv_obj_set_y(ui_Button3, 125);
lv_obj_set_align(ui_Button3, LV_ALIGN_CENTER);
lv_obj_add_flag(ui_Button3, LV_OBJ_FLAG_SCROLL_ON_FOCUS); /// Flags
lv_obj_clear_flag(ui_Button3, LV_OBJ_FLAG_SCROLLABLE); /// Flags
lv_obj_set_style_radius(ui_Button3, 15, LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_bg_color(ui_Button3, lv_color_hex(0xFFFFFF), LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_bg_opa(ui_Button3, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_outline_color(ui_Button3, lv_color_hex(0xC80000), LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_outline_opa(ui_Button3, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_outline_width(ui_Button3, 3, LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_outline_pad(ui_Button3, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
ui_Label9 = lv_label_create(ui_Button3);
lv_obj_set_width(ui_Label9, LV_SIZE_CONTENT); /// 1
lv_obj_set_height(ui_Label9, LV_SIZE_CONTENT); /// 1
lv_obj_set_x(ui_Label9, 1);
lv_obj_set_y(ui_Label9, 0);
lv_obj_set_align(ui_Label9, LV_ALIGN_CENTER);
lv_label_set_text(ui_Label9, "+");
lv_obj_set_style_text_color(ui_Label9, lv_color_hex(0xE01212), LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_text_opa(ui_Label9, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_text_align(ui_Label9, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui_Label9, &lv_font_montserrat_48, LV_PART_MAIN | LV_STATE_DEFAULT);
ui_THTarc2 = lv_arc_create(ui_Panel2);
lv_obj_set_width(ui_THTarc2, lv_pct(80));
lv_obj_set_height(ui_THTarc2, lv_pct(90));
lv_obj_set_align(ui_THTarc2, LV_ALIGN_CENTER);
lv_obj_clear_flag(ui_THTarc2, LV_OBJ_FLAG_CLICKABLE); /// Flags
lv_arc_set_value(ui_THTarc2, 90);
lv_obj_set_style_bg_grad_color(ui_THTarc2, lv_color_hex(0x5D5959), LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_bg_main_stop(ui_THTarc2, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_bg_grad_stop(ui_THTarc2, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_bg_grad_dir(ui_THTarc2, LV_GRAD_DIR_HOR, LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_blend_mode(ui_THTarc2, LV_BLEND_MODE_NORMAL, LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_arc_color(ui_THTarc2, lv_color_hex(0x747476), LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_arc_opa(ui_THTarc2, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_arc_width(ui_THTarc2, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_border_color(ui_THTarc2, lv_color_hex(0x000000), LV_PART_INDICATOR | LV_STATE_DEFAULT);
lv_obj_set_style_border_opa(ui_THTarc2, 255, LV_PART_INDICATOR | LV_STATE_DEFAULT);
lv_obj_set_style_border_width(ui_THTarc2, 12, LV_PART_INDICATOR | LV_STATE_DEFAULT);
lv_obj_set_style_border_side(ui_THTarc2, LV_BORDER_SIDE_FULL, LV_PART_INDICATOR | LV_STATE_DEFAULT);
lv_obj_set_style_blend_mode(ui_THTarc2, LV_BLEND_MODE_NORMAL, LV_PART_INDICATOR | LV_STATE_DEFAULT);
lv_obj_set_style_opa(ui_THTarc2, 0, LV_PART_INDICATOR | LV_STATE_DEFAULT);
lv_obj_set_style_arc_color(ui_THTarc2, lv_color_hex(0x5D5959), LV_PART_INDICATOR | LV_STATE_DEFAULT);
lv_obj_set_style_arc_opa(ui_THTarc2, 255, LV_PART_INDICATOR | LV_STATE_DEFAULT);
lv_obj_set_style_arc_width(ui_THTarc2, 22, LV_PART_INDICATOR | LV_STATE_DEFAULT);
lv_obj_set_style_bg_color(ui_THTarc2, lv_color_hex(0x0AA109), LV_PART_KNOB | LV_STATE_DEFAULT);
lv_obj_set_style_bg_opa(ui_THTarc2, 255, LV_PART_KNOB | LV_STATE_DEFAULT);
lv_obj_set_style_bg_grad_color(ui_THTarc2, lv_color_hex(0x284225), LV_PART_KNOB | LV_STATE_DEFAULT);
lv_obj_set_style_bg_main_stop(ui_THTarc2, 0, LV_PART_KNOB | LV_STATE_DEFAULT);
lv_obj_set_style_bg_grad_stop(ui_THTarc2, 255, LV_PART_KNOB | LV_STATE_DEFAULT);
lv_obj_set_style_bg_grad_dir(ui_THTarc2, LV_GRAD_DIR_VER, LV_PART_KNOB | LV_STATE_DEFAULT);
lv_obj_set_style_bg_img_recolor(ui_THTarc2, lv_color_hex(0x636390), LV_PART_KNOB | LV_STATE_DEFAULT);
lv_obj_set_style_bg_img_recolor_opa(ui_THTarc2, 255, LV_PART_KNOB | LV_STATE_DEFAULT);
lv_obj_set_style_bg_img_tiled(ui_THTarc2, false, LV_PART_KNOB | LV_STATE_DEFAULT);
lv_obj_set_style_outline_color(ui_THTarc2, lv_color_hex(0x6F961B), LV_PART_KNOB | LV_STATE_DEFAULT);
lv_obj_set_style_outline_opa(ui_THTarc2, 255, LV_PART_KNOB | LV_STATE_DEFAULT);
lv_obj_set_style_outline_width(ui_THTarc2, 2, LV_PART_KNOB | LV_STATE_DEFAULT);
lv_obj_set_style_outline_pad(ui_THTarc2, 0, LV_PART_KNOB | LV_STATE_DEFAULT);
lv_obj_set_style_blend_mode(ui_THTarc2, LV_BLEND_MODE_NORMAL, LV_PART_KNOB | LV_STATE_DEFAULT);
lv_obj_set_style_opa(ui_THTarc2, 255, LV_PART_KNOB | LV_STATE_DEFAULT);
lv_obj_set_style_pad_left(ui_THTarc2, 5, LV_PART_KNOB | LV_STATE_DEFAULT);
lv_obj_set_style_pad_right(ui_THTarc2, 5, LV_PART_KNOB | LV_STATE_DEFAULT);
lv_obj_set_style_pad_top(ui_THTarc2, 5, LV_PART_KNOB | LV_STATE_DEFAULT);
lv_obj_set_style_pad_bottom(ui_THTarc2, 5, LV_PART_KNOB | LV_STATE_DEFAULT);
ui_Button4 = lv_btn_create(ui_Screen1);
lv_obj_set_width(ui_Button4, 100);
lv_obj_set_height(ui_Button4, 50);
lv_obj_set_x(ui_Button4, -159);
lv_obj_set_y(ui_Button4, 187);
lv_obj_set_align(ui_Button4, LV_ALIGN_CENTER);
lv_obj_add_flag(ui_Button4, LV_OBJ_FLAG_CHECKABLE | LV_OBJ_FLAG_SCROLL_ON_FOCUS); /// Flags
lv_obj_clear_flag(ui_Button4, LV_OBJ_FLAG_SCROLLABLE); /// Flags
lv_obj_set_style_radius(ui_Button4, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_bg_color(ui_Button4, lv_color_hex(0x002D00), LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_bg_opa(ui_Button4, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_bg_grad_color(ui_Button4, lv_color_hex(0x00F000), LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_bg_main_stop(ui_Button4, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_bg_grad_stop(ui_Button4, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_bg_grad_dir(ui_Button4, LV_GRAD_DIR_VER, LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui_Button4, 0, LV_PART_MAIN | LV_STATE_CHECKED);
lv_obj_set_style_bg_color(ui_Button4, lv_color_hex(0xE10014), LV_PART_MAIN | LV_STATE_CHECKED);
lv_obj_set_style_bg_opa(ui_Button4, 255, LV_PART_MAIN | LV_STATE_CHECKED);
lv_obj_set_style_bg_grad_color(ui_Button4, lv_color_hex(0x370000), LV_PART_MAIN | LV_STATE_CHECKED);
lv_obj_set_style_bg_main_stop(ui_Button4, 0, LV_PART_MAIN | LV_STATE_CHECKED);
lv_obj_set_style_bg_grad_stop(ui_Button4, 255, LV_PART_MAIN | LV_STATE_CHECKED);
lv_obj_set_style_bg_grad_dir(ui_Button4, LV_GRAD_DIR_VER, LV_PART_MAIN | LV_STATE_CHECKED);
ui_Label10 = lv_label_create(ui_Button4);
lv_obj_set_width(ui_Label10, LV_SIZE_CONTENT); /// 1
lv_obj_set_height(ui_Label10, LV_SIZE_CONTENT); /// 1
lv_obj_set_align(ui_Label10, LV_ALIGN_CENTER);
lv_label_set_text(ui_Label10, "OFF");
lv_label_set_text(ui_Label10, "OFF");
lv_obj_add_event_cb(ui_Button3, ui_event_inc, LV_EVENT_ALL, NULL);
lv_obj_add_event_cb(ui_Button1, ui_event_dec, LV_EVENT_ALL, NULL);
}