Lines Matching refs:styles

171     my_theme_styles_t styles;  member
232 style_init_reset(&theme->styles.transition_delayed); in style_init()
233 style_init_reset(&theme->styles.transition_normal); in style_init()
238 lv_style_set_transition(&theme->styles.transition_delayed, in style_init()
241 …lv_style_set_transition(&theme->styles.transition_normal, &theme->trans_normal); /*Go back to defa… in style_init()
244 style_init_reset(&theme->styles.scrollbar); in style_init()
247 lv_style_set_bg_color(&theme->styles.scrollbar, sb_color); in style_init()
249 lv_style_set_radius(&theme->styles.scrollbar, LV_RADIUS_CIRCLE); in style_init()
250 lv_style_set_pad_all(&theme->styles.scrollbar, LV_DPX_CALC(theme->disp_dpi, 7)); in style_init()
251 lv_style_set_width(&theme->styles.scrollbar, LV_DPX_CALC(theme->disp_dpi, 5)); in style_init()
252 lv_style_set_bg_opa(&theme->styles.scrollbar, LV_OPA_40); in style_init()
254 lv_style_set_transition(&theme->styles.scrollbar, &theme->trans_normal); in style_init()
257 style_init_reset(&theme->styles.scrollbar_scrolled); in style_init()
258 lv_style_set_bg_opa(&theme->styles.scrollbar_scrolled, LV_OPA_COVER); in style_init()
260 style_init_reset(&theme->styles.scr); in style_init()
261 lv_style_set_bg_opa(&theme->styles.scr, LV_OPA_COVER); in style_init()
262 lv_style_set_bg_color(&theme->styles.scr, theme->color_scr); in style_init()
263 lv_style_set_text_color(&theme->styles.scr, theme->color_text); in style_init()
264 lv_style_set_text_font(&theme->styles.scr, theme->base.font_normal); in style_init()
265 lv_style_set_pad_row(&theme->styles.scr, PAD_SMALL); in style_init()
266 lv_style_set_pad_column(&theme->styles.scr, PAD_SMALL); in style_init()
267 lv_style_set_rotary_sensitivity(&theme->styles.scr, theme->disp_dpi / 4 * 256); in style_init()
269 style_init_reset(&theme->styles.card); in style_init()
270 lv_style_set_radius(&theme->styles.card, RADIUS_DEFAULT); in style_init()
271 lv_style_set_bg_opa(&theme->styles.card, LV_OPA_COVER); in style_init()
272 lv_style_set_bg_color(&theme->styles.card, theme->color_card); in style_init()
273 lv_style_set_border_color(&theme->styles.card, theme->color_grey); in style_init()
274 lv_style_set_border_width(&theme->styles.card, BORDER_WIDTH); in style_init()
275 lv_style_set_border_post(&theme->styles.card, true); in style_init()
276 lv_style_set_text_color(&theme->styles.card, theme->color_text); in style_init()
277 lv_style_set_pad_all(&theme->styles.card, PAD_DEF); in style_init()
278 lv_style_set_pad_row(&theme->styles.card, PAD_SMALL); in style_init()
279 lv_style_set_pad_column(&theme->styles.card, PAD_SMALL); in style_init()
280 lv_style_set_line_color(&theme->styles.card, lv_palette_main(LV_PALETTE_GREY)); in style_init()
281 lv_style_set_line_width(&theme->styles.card, LV_DPX_CALC(theme->disp_dpi, 1)); in style_init()
283 style_init_reset(&theme->styles.outline_primary); in style_init()
284 lv_style_set_outline_color(&theme->styles.outline_primary, theme->base.color_primary); in style_init()
285 lv_style_set_outline_width(&theme->styles.outline_primary, OUTLINE_WIDTH); in style_init()
286 lv_style_set_outline_pad(&theme->styles.outline_primary, OUTLINE_WIDTH); in style_init()
287 lv_style_set_outline_opa(&theme->styles.outline_primary, LV_OPA_50); in style_init()
289 style_init_reset(&theme->styles.outline_secondary); in style_init()
290 lv_style_set_outline_color(&theme->styles.outline_secondary, theme->base.color_secondary); in style_init()
291 lv_style_set_outline_width(&theme->styles.outline_secondary, OUTLINE_WIDTH); in style_init()
292 lv_style_set_outline_opa(&theme->styles.outline_secondary, LV_OPA_50); in style_init()
294 style_init_reset(&theme->styles.btn); in style_init()
295 lv_style_set_radius(&theme->styles.btn, in style_init()
297 lv_style_set_bg_opa(&theme->styles.btn, LV_OPA_COVER); in style_init()
298 lv_style_set_bg_color(&theme->styles.btn, theme->color_grey); in style_init()
300 lv_style_set_shadow_color(&theme->styles.btn, lv_palette_main(LV_PALETTE_GREY)); in style_init()
301 lv_style_set_shadow_width(&theme->styles.btn, LV_DPX(3)); in style_init()
302 lv_style_set_shadow_opa(&theme->styles.btn, LV_OPA_50); in style_init()
303 lv_style_set_shadow_offset_y(&theme->styles.btn, LV_DPX_CALC(theme->disp_dpi, LV_DPX(4))); in style_init()
305 lv_style_set_text_color(&theme->styles.btn, theme->color_text); in style_init()
306 lv_style_set_pad_hor(&theme->styles.btn, PAD_DEF); in style_init()
307 lv_style_set_pad_ver(&theme->styles.btn, PAD_SMALL); in style_init()
308 lv_style_set_pad_column(&theme->styles.btn, LV_DPX_CALC(theme->disp_dpi, 5)); in style_init()
309 lv_style_set_pad_row(&theme->styles.btn, LV_DPX_CALC(theme->disp_dpi, 5)); in style_init()
314 style_init_reset(&theme->styles.pressed); in style_init()
315 lv_style_set_color_filter_dsc(&theme->styles.pressed, &theme->dark_filter); in style_init()
316 lv_style_set_color_filter_opa(&theme->styles.pressed, 35); in style_init()
318 style_init_reset(&theme->styles.disabled); in style_init()
319 lv_style_set_color_filter_dsc(&theme->styles.disabled, &theme->grey_filter); in style_init()
320 lv_style_set_color_filter_opa(&theme->styles.disabled, LV_OPA_50); in style_init()
322 style_init_reset(&theme->styles.clip_corner); in style_init()
323 lv_style_set_clip_corner(&theme->styles.clip_corner, true); in style_init()
324 lv_style_set_border_post(&theme->styles.clip_corner, true); in style_init()
326 style_init_reset(&theme->styles.pad_normal); in style_init()
327 lv_style_set_pad_all(&theme->styles.pad_normal, PAD_DEF); in style_init()
328 lv_style_set_pad_row(&theme->styles.pad_normal, PAD_DEF); in style_init()
329 lv_style_set_pad_column(&theme->styles.pad_normal, PAD_DEF); in style_init()
331 style_init_reset(&theme->styles.pad_small); in style_init()
332 lv_style_set_pad_all(&theme->styles.pad_small, PAD_SMALL); in style_init()
333 lv_style_set_pad_gap(&theme->styles.pad_small, PAD_SMALL); in style_init()
335 style_init_reset(&theme->styles.pad_gap); in style_init()
336 lv_style_set_pad_row(&theme->styles.pad_gap, LV_DPX_CALC(theme->disp_dpi, 10)); in style_init()
337 lv_style_set_pad_column(&theme->styles.pad_gap, LV_DPX_CALC(theme->disp_dpi, 10)); in style_init()
339 style_init_reset(&theme->styles.line_space_large); in style_init()
340 lv_style_set_text_line_space(&theme->styles.line_space_large, LV_DPX_CALC(theme->disp_dpi, 20)); in style_init()
342 style_init_reset(&theme->styles.text_align_center); in style_init()
343 lv_style_set_text_align(&theme->styles.text_align_center, LV_TEXT_ALIGN_CENTER); in style_init()
345 style_init_reset(&theme->styles.pad_zero); in style_init()
346 lv_style_set_pad_all(&theme->styles.pad_zero, 0); in style_init()
347 lv_style_set_pad_row(&theme->styles.pad_zero, 0); in style_init()
348 lv_style_set_pad_column(&theme->styles.pad_zero, 0); in style_init()
350 style_init_reset(&theme->styles.pad_tiny); in style_init()
351 lv_style_set_pad_all(&theme->styles.pad_tiny, PAD_TINY); in style_init()
352 lv_style_set_pad_row(&theme->styles.pad_tiny, PAD_TINY); in style_init()
353 lv_style_set_pad_column(&theme->styles.pad_tiny, PAD_TINY); in style_init()
355 style_init_reset(&theme->styles.bg_color_primary); in style_init()
356 lv_style_set_bg_color(&theme->styles.bg_color_primary, theme->base.color_primary); in style_init()
357 lv_style_set_text_color(&theme->styles.bg_color_primary, lv_color_white()); in style_init()
358 lv_style_set_bg_opa(&theme->styles.bg_color_primary, LV_OPA_COVER); in style_init()
360 style_init_reset(&theme->styles.bg_color_primary_muted); in style_init()
361 lv_style_set_bg_color(&theme->styles.bg_color_primary_muted, theme->base.color_primary); in style_init()
362 lv_style_set_text_color(&theme->styles.bg_color_primary_muted, theme->base.color_primary); in style_init()
363 lv_style_set_bg_opa(&theme->styles.bg_color_primary_muted, LV_OPA_20); in style_init()
365 style_init_reset(&theme->styles.bg_color_secondary); in style_init()
366 lv_style_set_bg_color(&theme->styles.bg_color_secondary, theme->base.color_secondary); in style_init()
367 lv_style_set_text_color(&theme->styles.bg_color_secondary, lv_color_white()); in style_init()
368 lv_style_set_bg_opa(&theme->styles.bg_color_secondary, LV_OPA_COVER); in style_init()
370 style_init_reset(&theme->styles.bg_color_secondary_muted); in style_init()
371 lv_style_set_bg_color(&theme->styles.bg_color_secondary_muted, theme->base.color_secondary); in style_init()
372 lv_style_set_text_color(&theme->styles.bg_color_secondary_muted, theme->base.color_secondary); in style_init()
373 lv_style_set_bg_opa(&theme->styles.bg_color_secondary_muted, LV_OPA_20); in style_init()
375 style_init_reset(&theme->styles.bg_color_grey); in style_init()
376 lv_style_set_bg_color(&theme->styles.bg_color_grey, theme->color_grey); in style_init()
377 lv_style_set_bg_opa(&theme->styles.bg_color_grey, LV_OPA_COVER); in style_init()
378 lv_style_set_text_color(&theme->styles.bg_color_grey, theme->color_text); in style_init()
380 style_init_reset(&theme->styles.bg_color_white); in style_init()
381 lv_style_set_bg_color(&theme->styles.bg_color_white, theme->color_card); in style_init()
382 lv_style_set_bg_opa(&theme->styles.bg_color_white, LV_OPA_COVER); in style_init()
383 lv_style_set_text_color(&theme->styles.bg_color_white, theme->color_text); in style_init()
385 style_init_reset(&theme->styles.circle); in style_init()
386 lv_style_set_radius(&theme->styles.circle, LV_RADIUS_CIRCLE); in style_init()
388 style_init_reset(&theme->styles.no_radius); in style_init()
389 lv_style_set_radius(&theme->styles.no_radius, 0); in style_init()
391 style_init_reset(&theme->styles.rotary_scroll); in style_init()
392 lv_style_set_rotary_sensitivity(&theme->styles.rotary_scroll, theme->disp_dpi / 4 * 256); in style_init()
395 style_init_reset(&theme->styles.grow); in style_init()
396 lv_style_set_transform_width(&theme->styles.grow, LV_DPX_CALC(theme->disp_dpi, 3)); in style_init()
397 lv_style_set_transform_height(&theme->styles.grow, LV_DPX_CALC(theme->disp_dpi, 3)); in style_init()
400 style_init_reset(&theme->styles.knob); in style_init()
401 lv_style_set_bg_color(&theme->styles.knob, theme->base.color_primary); in style_init()
402 lv_style_set_bg_opa(&theme->styles.knob, LV_OPA_COVER); in style_init()
403 lv_style_set_pad_all(&theme->styles.knob, LV_DPX_CALC(theme->disp_dpi, 6)); in style_init()
404 lv_style_set_radius(&theme->styles.knob, LV_RADIUS_CIRCLE); in style_init()
406 style_init_reset(&theme->styles.anim); in style_init()
407 lv_style_set_anim_duration(&theme->styles.anim, 200); in style_init()
409 style_init_reset(&theme->styles.anim_fast); in style_init()
410 lv_style_set_anim_duration(&theme->styles.anim_fast, 120); in style_init()
413 style_init_reset(&theme->styles.arc_indic); in style_init()
414 lv_style_set_arc_color(&theme->styles.arc_indic, theme->color_grey); in style_init()
415 lv_style_set_arc_width(&theme->styles.arc_indic, LV_DPX_CALC(theme->disp_dpi, 15)); in style_init()
416 lv_style_set_arc_rounded(&theme->styles.arc_indic, true); in style_init()
418 style_init_reset(&theme->styles.arc_indic_primary); in style_init()
419 lv_style_set_arc_color(&theme->styles.arc_indic_primary, theme->base.color_primary); in style_init()
423 style_init_reset(&theme->styles.dropdown_list); in style_init()
424 lv_style_set_max_height(&theme->styles.dropdown_list, LV_DPI_DEF * 2); in style_init()
427 style_init_reset(&theme->styles.cb_marker); in style_init()
428 lv_style_set_pad_all(&theme->styles.cb_marker, LV_DPX_CALC(theme->disp_dpi, 3)); in style_init()
429 lv_style_set_border_width(&theme->styles.cb_marker, BORDER_WIDTH); in style_init()
430 lv_style_set_border_color(&theme->styles.cb_marker, theme->base.color_primary); in style_init()
431 lv_style_set_bg_color(&theme->styles.cb_marker, theme->color_card); in style_init()
432 lv_style_set_bg_opa(&theme->styles.cb_marker, LV_OPA_COVER); in style_init()
433 lv_style_set_radius(&theme->styles.cb_marker, RADIUS_DEFAULT / 2); in style_init()
434 lv_style_set_text_font(&theme->styles.cb_marker, theme->base.font_small); in style_init()
435 lv_style_set_text_color(&theme->styles.cb_marker, lv_color_white()); in style_init()
437 style_init_reset(&theme->styles.cb_marker_checked); in style_init()
438 lv_style_set_bg_image_src(&theme->styles.cb_marker_checked, LV_SYMBOL_OK); in style_init()
442 style_init_reset(&theme->styles.switch_knob); in style_init()
443 lv_style_set_pad_all(&theme->styles.switch_knob, - LV_DPX_CALC(theme->disp_dpi, 4)); in style_init()
444 lv_style_set_bg_color(&theme->styles.switch_knob, lv_color_white()); in style_init()
448 style_init_reset(&theme->styles.line); in style_init()
449 lv_style_set_line_width(&theme->styles.line, 1); in style_init()
450 lv_style_set_line_color(&theme->styles.line, theme->color_text); in style_init()
454 style_init_reset(&theme->styles.chart_bg); in style_init()
455 lv_style_set_border_post(&theme->styles.chart_bg, false); in style_init()
456 lv_style_set_pad_column(&theme->styles.chart_bg, LV_DPX_CALC(theme->disp_dpi, 10)); in style_init()
457 lv_style_set_line_color(&theme->styles.chart_bg, theme->color_grey); in style_init()
459 style_init_reset(&theme->styles.chart_series); in style_init()
460 lv_style_set_line_width(&theme->styles.chart_series, LV_DPX_CALC(theme->disp_dpi, 3)); in style_init()
461 lv_style_set_radius(&theme->styles.chart_series, LV_DPX_CALC(theme->disp_dpi, 3)); in style_init()
464 lv_style_set_size(&theme->styles.chart_series, chart_size, chart_size); in style_init()
465 lv_style_set_pad_column(&theme->styles.chart_series, LV_DPX_CALC(theme->disp_dpi, 2)); in style_init()
467 style_init_reset(&theme->styles.chart_indic); in style_init()
468 lv_style_set_radius(&theme->styles.chart_indic, LV_RADIUS_CIRCLE); in style_init()
469 lv_style_set_size(&theme->styles.chart_indic, chart_size, chart_size); in style_init()
470 lv_style_set_bg_color(&theme->styles.chart_indic, theme->base.color_primary); in style_init()
471 lv_style_set_bg_opa(&theme->styles.chart_indic, LV_OPA_COVER); in style_init()
475 style_init_reset(&theme->styles.menu_bg); in style_init()
476 lv_style_set_pad_all(&theme->styles.menu_bg, 0); in style_init()
477 lv_style_set_pad_gap(&theme->styles.menu_bg, 0); in style_init()
478 lv_style_set_radius(&theme->styles.menu_bg, 0); in style_init()
479 lv_style_set_clip_corner(&theme->styles.menu_bg, true); in style_init()
480 lv_style_set_border_side(&theme->styles.menu_bg, LV_BORDER_SIDE_NONE); in style_init()
482 style_init_reset(&theme->styles.menu_section); in style_init()
483 lv_style_set_radius(&theme->styles.menu_section, RADIUS_DEFAULT); in style_init()
484 lv_style_set_clip_corner(&theme->styles.menu_section, true); in style_init()
485 lv_style_set_bg_opa(&theme->styles.menu_section, LV_OPA_COVER); in style_init()
486 lv_style_set_bg_color(&theme->styles.menu_section, theme->color_card); in style_init()
487 lv_style_set_text_color(&theme->styles.menu_section, theme->color_text); in style_init()
489 style_init_reset(&theme->styles.menu_cont); in style_init()
490 lv_style_set_pad_hor(&theme->styles.menu_cont, PAD_SMALL); in style_init()
491 lv_style_set_pad_ver(&theme->styles.menu_cont, PAD_SMALL); in style_init()
492 lv_style_set_pad_gap(&theme->styles.menu_cont, PAD_SMALL); in style_init()
493 lv_style_set_border_width(&theme->styles.menu_cont, LV_DPX_CALC(theme->disp_dpi, 1)); in style_init()
494 lv_style_set_border_opa(&theme->styles.menu_cont, LV_OPA_10); in style_init()
495 lv_style_set_border_color(&theme->styles.menu_cont, theme->color_text); in style_init()
496 lv_style_set_border_side(&theme->styles.menu_cont, LV_BORDER_SIDE_NONE); in style_init()
498 style_init_reset(&theme->styles.menu_sidebar_cont); in style_init()
499 lv_style_set_pad_all(&theme->styles.menu_sidebar_cont, 0); in style_init()
500 lv_style_set_pad_gap(&theme->styles.menu_sidebar_cont, 0); in style_init()
501 lv_style_set_border_width(&theme->styles.menu_sidebar_cont, LV_DPX_CALC(theme->disp_dpi, 1)); in style_init()
502 lv_style_set_border_opa(&theme->styles.menu_sidebar_cont, LV_OPA_10); in style_init()
503 lv_style_set_border_color(&theme->styles.menu_sidebar_cont, theme->color_text); in style_init()
504 lv_style_set_border_side(&theme->styles.menu_sidebar_cont, LV_BORDER_SIDE_RIGHT); in style_init()
506 style_init_reset(&theme->styles.menu_main_cont); in style_init()
507 lv_style_set_pad_all(&theme->styles.menu_main_cont, 0); in style_init()
508 lv_style_set_pad_gap(&theme->styles.menu_main_cont, 0); in style_init()
510 style_init_reset(&theme->styles.menu_header_cont); in style_init()
511 lv_style_set_pad_hor(&theme->styles.menu_header_cont, PAD_SMALL); in style_init()
512 lv_style_set_pad_ver(&theme->styles.menu_header_cont, PAD_TINY); in style_init()
513 lv_style_set_pad_gap(&theme->styles.menu_header_cont, PAD_SMALL); in style_init()
515 style_init_reset(&theme->styles.menu_header_btn); in style_init()
516 lv_style_set_pad_hor(&theme->styles.menu_header_btn, PAD_TINY); in style_init()
517 lv_style_set_pad_ver(&theme->styles.menu_header_btn, PAD_TINY); in style_init()
518 lv_style_set_shadow_opa(&theme->styles.menu_header_btn, LV_OPA_TRANSP); in style_init()
519 lv_style_set_bg_opa(&theme->styles.menu_header_btn, LV_OPA_TRANSP); in style_init()
520 lv_style_set_text_color(&theme->styles.menu_header_btn, theme->color_text); in style_init()
522 style_init_reset(&theme->styles.menu_page); in style_init()
523 lv_style_set_pad_hor(&theme->styles.menu_page, 0); in style_init()
524 lv_style_set_pad_gap(&theme->styles.menu_page, 0); in style_init()
526 style_init_reset(&theme->styles.menu_pressed); in style_init()
527 lv_style_set_bg_opa(&theme->styles.menu_pressed, LV_OPA_20); in style_init()
528 lv_style_set_bg_color(&theme->styles.menu_pressed, lv_palette_main(LV_PALETTE_GREY)); in style_init()
530 style_init_reset(&theme->styles.menu_separator); in style_init()
531 lv_style_set_bg_opa(&theme->styles.menu_separator, LV_OPA_TRANSP); in style_init()
532 lv_style_set_pad_ver(&theme->styles.menu_separator, PAD_TINY); in style_init()
536 style_init_reset(&theme->styles.table_cell); in style_init()
537 lv_style_set_border_width(&theme->styles.table_cell, LV_DPX_CALC(theme->disp_dpi, 1)); in style_init()
538 lv_style_set_border_color(&theme->styles.table_cell, theme->color_grey); in style_init()
539 lv_style_set_border_side(&theme->styles.table_cell, LV_BORDER_SIDE_TOP | LV_BORDER_SIDE_BOTTOM); in style_init()
543 style_init_reset(&theme->styles.ta_cursor); in style_init()
544 lv_style_set_border_color(&theme->styles.ta_cursor, theme->color_text); in style_init()
545 lv_style_set_border_width(&theme->styles.ta_cursor, LV_DPX_CALC(theme->disp_dpi, 2)); in style_init()
546 lv_style_set_pad_left(&theme->styles.ta_cursor, - LV_DPX_CALC(theme->disp_dpi, 1)); in style_init()
547 lv_style_set_border_side(&theme->styles.ta_cursor, LV_BORDER_SIDE_LEFT); in style_init()
548 lv_style_set_anim_duration(&theme->styles.ta_cursor, 400); in style_init()
550 style_init_reset(&theme->styles.ta_placeholder); in style_init()
551 lv_style_set_text_color(&theme->styles.ta_placeholder, in style_init()
557 style_init_reset(&theme->styles.calendar_btnm_bg); in style_init()
558 lv_style_set_pad_all(&theme->styles.calendar_btnm_bg, PAD_SMALL); in style_init()
559 lv_style_set_pad_gap(&theme->styles.calendar_btnm_bg, PAD_SMALL / 2); in style_init()
561 style_init_reset(&theme->styles.calendar_btnm_day); in style_init()
562 lv_style_set_border_width(&theme->styles.calendar_btnm_day, LV_DPX_CALC(theme->disp_dpi, 1)); in style_init()
563 lv_style_set_border_color(&theme->styles.calendar_btnm_day, theme->color_grey); in style_init()
564 lv_style_set_bg_color(&theme->styles.calendar_btnm_day, theme->color_card); in style_init()
565 lv_style_set_bg_opa(&theme->styles.calendar_btnm_day, LV_OPA_20); in style_init()
567 style_init_reset(&theme->styles.calendar_header); in style_init()
568 lv_style_set_pad_hor(&theme->styles.calendar_header, PAD_SMALL); in style_init()
569 lv_style_set_pad_top(&theme->styles.calendar_header, PAD_SMALL); in style_init()
570 lv_style_set_pad_bottom(&theme->styles.calendar_header, PAD_TINY); in style_init()
571 lv_style_set_pad_gap(&theme->styles.calendar_header, PAD_SMALL); in style_init()
575 style_init_reset(&theme->styles.msgbox_backdrop_bg); in style_init()
576 lv_style_set_bg_color(&theme->styles.msgbox_backdrop_bg, lv_palette_main(LV_PALETTE_GREY)); in style_init()
577 lv_style_set_bg_opa(&theme->styles.msgbox_backdrop_bg, LV_OPA_50); in style_init()
580 style_init_reset(&theme->styles.keyboard_button_bg); in style_init()
581 lv_style_set_shadow_width(&theme->styles.keyboard_button_bg, 0); in style_init()
582 lv_style_set_radius(&theme->styles.keyboard_button_bg, in style_init()
587 style_init_reset(&theme->styles.tab_btn); in style_init()
588 lv_style_set_border_color(&theme->styles.tab_btn, theme->base.color_primary); in style_init()
589 lv_style_set_border_width(&theme->styles.tab_btn, BORDER_WIDTH * 2); in style_init()
590 lv_style_set_border_side(&theme->styles.tab_btn, LV_BORDER_SIDE_BOTTOM); in style_init()
591 lv_style_set_pad_top(&theme->styles.tab_btn, BORDER_WIDTH * 2); in style_init()
593 style_init_reset(&theme->styles.tab_bg_focus); in style_init()
594 lv_style_set_outline_pad(&theme->styles.tab_bg_focus, -BORDER_WIDTH); in style_init()
598 style_init_reset(&theme->styles.list_bg); in style_init()
599 lv_style_set_pad_hor(&theme->styles.list_bg, PAD_DEF); in style_init()
600 lv_style_set_pad_ver(&theme->styles.list_bg, 0); in style_init()
601 lv_style_set_pad_gap(&theme->styles.list_bg, 0); in style_init()
602 lv_style_set_clip_corner(&theme->styles.list_bg, true); in style_init()
604 style_init_reset(&theme->styles.list_btn); in style_init()
605 lv_style_set_border_width(&theme->styles.list_btn, LV_DPX_CALC(theme->disp_dpi, 1)); in style_init()
606 lv_style_set_border_color(&theme->styles.list_btn, theme->color_grey); in style_init()
607 lv_style_set_border_side(&theme->styles.list_btn, LV_BORDER_SIDE_BOTTOM); in style_init()
608 lv_style_set_pad_all(&theme->styles.list_btn, PAD_SMALL); in style_init()
609 lv_style_set_pad_column(&theme->styles.list_btn, PAD_SMALL); in style_init()
611 style_init_reset(&theme->styles.list_item_grow); in style_init()
612 lv_style_set_transform_width(&theme->styles.list_item_grow, PAD_DEF); in style_init()
616 style_init_reset(&theme->styles.led); in style_init()
617 lv_style_set_bg_opa(&theme->styles.led, LV_OPA_COVER); in style_init()
618 lv_style_set_bg_color(&theme->styles.led, lv_color_white()); in style_init()
619 lv_style_set_bg_grad_color(&theme->styles.led, lv_palette_main(LV_PALETTE_GREY)); in style_init()
620 lv_style_set_radius(&theme->styles.led, LV_RADIUS_CIRCLE); in style_init()
621 lv_style_set_shadow_width(&theme->styles.led, LV_DPX_CALC(theme->disp_dpi, 15)); in style_init()
622 lv_style_set_shadow_color(&theme->styles.led, lv_color_white()); in style_init()
623 lv_style_set_shadow_spread(&theme->styles.led, LV_DPX_CALC(theme->disp_dpi, 5)); in style_init()
627 style_init_reset(&theme->styles.scale); in style_init()
628 lv_style_set_line_color(&theme->styles.scale, theme->color_text); in style_init()
629 lv_style_set_line_width(&theme->styles.scale, LV_DPX(2)); in style_init()
630 lv_style_set_arc_color(&theme->styles.scale, theme->color_text); in style_init()
631 lv_style_set_arc_width(&theme->styles.scale, LV_DPX(2)); in style_init()
632 lv_style_set_length(&theme->styles.scale, LV_DPX(6)); in style_init()
698 lv_style_t * theme_styles = (lv_style_t *)(&(theme->styles)); in lv_theme_default_deinit()
734 lv_obj_add_style(obj, &theme->styles.scr, 0); in theme_apply()
735 lv_obj_add_style(obj, &theme->styles.scrollbar, LV_PART_SCROLLBAR); in theme_apply()
736 … lv_obj_add_style(obj, &theme->styles.scrollbar_scrolled, LV_PART_SCROLLBAR | LV_STATE_SCROLLED); in theme_apply()
748 lv_obj_add_style(obj, &theme->styles.bg_color_white, 0); in theme_apply()
749 lv_obj_add_style(obj, &theme->styles.outline_primary, LV_STATE_FOCUS_KEY); in theme_apply()
750 lv_obj_add_style(obj, &theme->styles.tab_bg_focus, LV_STATE_FOCUS_KEY); in theme_apply()
755 lv_obj_add_style(obj, &theme->styles.pad_normal, 0); in theme_apply()
756 lv_obj_add_style(obj, &theme->styles.rotary_scroll, 0); in theme_apply()
757 lv_obj_add_style(obj, &theme->styles.scrollbar, LV_PART_SCROLLBAR); in theme_apply()
758 … lv_obj_add_style(obj, &theme->styles.scrollbar_scrolled, LV_PART_SCROLLBAR | LV_STATE_SCROLLED); in theme_apply()
766 lv_obj_add_style(obj, &theme->styles.bg_color_grey, 0); in theme_apply()
767 lv_obj_add_style(obj, &theme->styles.pad_tiny, 0); in theme_apply()
772 lv_obj_add_style(obj, &theme->styles.scr, 0); in theme_apply()
773 lv_obj_add_style(obj, &theme->styles.pad_normal, 0); in theme_apply()
774 lv_obj_add_style(obj, &theme->styles.scrollbar, LV_PART_SCROLLBAR); in theme_apply()
775 … lv_obj_add_style(obj, &theme->styles.scrollbar_scrolled, LV_PART_SCROLLBAR | LV_STATE_SCROLLED); in theme_apply()
787 lv_obj_add_style(obj, &theme->styles.card, 0); in theme_apply()
788 lv_obj_add_style(obj, &theme->styles.scrollbar, LV_PART_SCROLLBAR); in theme_apply()
789 … lv_obj_add_style(obj, &theme->styles.scrollbar_scrolled, LV_PART_SCROLLBAR | LV_STATE_SCROLLED); in theme_apply()
798 lv_obj_add_style(obj, &theme->styles.pressed, LV_STATE_PRESSED); in theme_apply()
799 lv_obj_add_style(obj, &theme->styles.bg_color_primary_muted, LV_STATE_CHECKED); in theme_apply()
800 lv_obj_add_style(obj, &theme->styles.tab_btn, LV_STATE_CHECKED); in theme_apply()
801 lv_obj_add_style(obj, &theme->styles.outline_primary, LV_STATE_FOCUS_KEY); in theme_apply()
802 lv_obj_add_style(obj, &theme->styles.outline_secondary, LV_STATE_EDITED); in theme_apply()
803 lv_obj_add_style(obj, &theme->styles.tab_bg_focus, LV_STATE_FOCUS_KEY); in theme_apply()
809 lv_obj_add_style(obj, &theme->styles.btn, 0); in theme_apply()
810 lv_obj_add_style(obj, &theme->styles.bg_color_primary, 0); in theme_apply()
811 lv_obj_add_style(obj, &theme->styles.transition_delayed, 0); in theme_apply()
812 lv_obj_add_style(obj, &theme->styles.pressed, LV_STATE_PRESSED); in theme_apply()
813 lv_obj_add_style(obj, &theme->styles.transition_normal, LV_STATE_PRESSED); in theme_apply()
814 lv_obj_add_style(obj, &theme->styles.outline_primary, LV_STATE_FOCUS_KEY); in theme_apply()
816 lv_obj_add_style(obj, &theme->styles.grow, LV_STATE_PRESSED); in theme_apply()
818 lv_obj_add_style(obj, &theme->styles.bg_color_secondary, LV_STATE_CHECKED); in theme_apply()
819 lv_obj_add_style(obj, &theme->styles.disabled, LV_STATE_DISABLED); in theme_apply()
824 lv_obj_add_style(obj, &theme->styles.menu_header_btn, 0); in theme_apply()
825 lv_obj_add_style(obj, &theme->styles.menu_pressed, LV_STATE_PRESSED); in theme_apply()
833 lv_obj_add_style(obj, &theme->styles.line, 0); in theme_apply()
842 lv_obj_add_style(obj, &theme->styles.calendar_btnm_bg, 0); in theme_apply()
843 lv_obj_add_style(obj, &theme->styles.outline_primary, LV_STATE_FOCUS_KEY); in theme_apply()
844 lv_obj_add_style(obj, &theme->styles.outline_secondary, LV_STATE_EDITED); in theme_apply()
845 lv_obj_add_style(obj, &theme->styles.calendar_btnm_day, LV_PART_ITEMS); in theme_apply()
846 lv_obj_add_style(obj, &theme->styles.pressed, LV_PART_ITEMS | LV_STATE_PRESSED); in theme_apply()
847 lv_obj_add_style(obj, &theme->styles.disabled, LV_PART_ITEMS | LV_STATE_DISABLED); in theme_apply()
848 … lv_obj_add_style(obj, &theme->styles.outline_primary, LV_PART_ITEMS | LV_STATE_FOCUS_KEY); in theme_apply()
849 … lv_obj_add_style(obj, &theme->styles.outline_secondary, LV_PART_ITEMS | LV_STATE_EDITED); in theme_apply()
853 lv_obj_add_style(obj, &theme->styles.card, 0); in theme_apply()
854 lv_obj_add_style(obj, &theme->styles.outline_primary, LV_STATE_FOCUS_KEY); in theme_apply()
855 lv_obj_add_style(obj, &theme->styles.outline_secondary, LV_STATE_EDITED); in theme_apply()
856 lv_obj_add_style(obj, &theme->styles.btn, LV_PART_ITEMS); in theme_apply()
857 lv_obj_add_style(obj, &theme->styles.disabled, LV_PART_ITEMS | LV_STATE_DISABLED); in theme_apply()
858 lv_obj_add_style(obj, &theme->styles.pressed, LV_PART_ITEMS | LV_STATE_PRESSED); in theme_apply()
859 lv_obj_add_style(obj, &theme->styles.bg_color_primary, LV_PART_ITEMS | LV_STATE_CHECKED); in theme_apply()
860 lv_obj_add_style(obj, &theme->styles.outline_primary, LV_PART_ITEMS | LV_STATE_FOCUS_KEY); in theme_apply()
861 lv_obj_add_style(obj, &theme->styles.outline_secondary, LV_PART_ITEMS | LV_STATE_EDITED); in theme_apply()
867 lv_obj_add_style(obj, &theme->styles.bg_color_primary_muted, 0); in theme_apply()
868 lv_obj_add_style(obj, &theme->styles.circle, 0); in theme_apply()
869 lv_obj_add_style(obj, &theme->styles.outline_primary, LV_STATE_FOCUS_KEY); in theme_apply()
870 lv_obj_add_style(obj, &theme->styles.outline_secondary, LV_STATE_EDITED); in theme_apply()
871 lv_obj_add_style(obj, &theme->styles.bg_color_primary, LV_PART_INDICATOR); in theme_apply()
872 lv_obj_add_style(obj, &theme->styles.circle, LV_PART_INDICATOR); in theme_apply()
878 lv_obj_add_style(obj, &theme->styles.bg_color_primary_muted, 0); in theme_apply()
879 lv_obj_add_style(obj, &theme->styles.circle, 0); in theme_apply()
880 lv_obj_add_style(obj, &theme->styles.outline_primary, LV_STATE_FOCUS_KEY); in theme_apply()
881 lv_obj_add_style(obj, &theme->styles.outline_secondary, LV_STATE_EDITED); in theme_apply()
882 lv_obj_add_style(obj, &theme->styles.bg_color_primary, LV_PART_INDICATOR); in theme_apply()
883 lv_obj_add_style(obj, &theme->styles.circle, LV_PART_INDICATOR); in theme_apply()
884 lv_obj_add_style(obj, &theme->styles.knob, LV_PART_KNOB); in theme_apply()
886 lv_obj_add_style(obj, &theme->styles.grow, LV_PART_KNOB | LV_STATE_PRESSED); in theme_apply()
888 lv_obj_add_style(obj, &theme->styles.transition_delayed, LV_PART_KNOB); in theme_apply()
889 lv_obj_add_style(obj, &theme->styles.transition_normal, LV_PART_KNOB | LV_STATE_PRESSED); in theme_apply()
895 lv_obj_add_style(obj, &theme->styles.card, 0); in theme_apply()
896 lv_obj_add_style(obj, &theme->styles.pad_zero, 0); in theme_apply()
897 lv_obj_add_style(obj, &theme->styles.no_radius, 0); in theme_apply()
898 lv_obj_add_style(obj, &theme->styles.outline_primary, LV_STATE_FOCUS_KEY); in theme_apply()
899 lv_obj_add_style(obj, &theme->styles.outline_secondary, LV_STATE_EDITED); in theme_apply()
900 lv_obj_add_style(obj, &theme->styles.scrollbar, LV_PART_SCROLLBAR); in theme_apply()
901 … lv_obj_add_style(obj, &theme->styles.scrollbar_scrolled, LV_PART_SCROLLBAR | LV_STATE_SCROLLED); in theme_apply()
902 lv_obj_add_style(obj, &theme->styles.bg_color_white, LV_PART_ITEMS); in theme_apply()
903 lv_obj_add_style(obj, &theme->styles.table_cell, LV_PART_ITEMS); in theme_apply()
904 lv_obj_add_style(obj, &theme->styles.pad_normal, LV_PART_ITEMS); in theme_apply()
905 lv_obj_add_style(obj, &theme->styles.pressed, LV_PART_ITEMS | LV_STATE_PRESSED); in theme_apply()
906 lv_obj_add_style(obj, &theme->styles.bg_color_primary, LV_PART_ITEMS | LV_STATE_FOCUS_KEY); in theme_apply()
907 lv_obj_add_style(obj, &theme->styles.bg_color_secondary, LV_PART_ITEMS | LV_STATE_EDITED); in theme_apply()
913 lv_obj_add_style(obj, &theme->styles.pad_gap, 0); in theme_apply()
914 lv_obj_add_style(obj, &theme->styles.outline_primary, LV_STATE_FOCUS_KEY); in theme_apply()
915 lv_obj_add_style(obj, &theme->styles.disabled, LV_PART_INDICATOR | LV_STATE_DISABLED); in theme_apply()
916 lv_obj_add_style(obj, &theme->styles.cb_marker, LV_PART_INDICATOR); in theme_apply()
917 … lv_obj_add_style(obj, &theme->styles.bg_color_primary, LV_PART_INDICATOR | LV_STATE_CHECKED); in theme_apply()
918 … lv_obj_add_style(obj, &theme->styles.cb_marker_checked, LV_PART_INDICATOR | LV_STATE_CHECKED); in theme_apply()
919 lv_obj_add_style(obj, &theme->styles.pressed, LV_PART_INDICATOR | LV_STATE_PRESSED); in theme_apply()
921 lv_obj_add_style(obj, &theme->styles.grow, LV_PART_INDICATOR | LV_STATE_PRESSED); in theme_apply()
923 … lv_obj_add_style(obj, &theme->styles.transition_normal, LV_PART_INDICATOR | LV_STATE_PRESSED); in theme_apply()
924 lv_obj_add_style(obj, &theme->styles.transition_delayed, LV_PART_INDICATOR); in theme_apply()
930 lv_obj_add_style(obj, &theme->styles.bg_color_grey, 0); in theme_apply()
931 lv_obj_add_style(obj, &theme->styles.circle, 0); in theme_apply()
932 lv_obj_add_style(obj, &theme->styles.anim_fast, 0); in theme_apply()
933 lv_obj_add_style(obj, &theme->styles.disabled, LV_STATE_DISABLED); in theme_apply()
934 lv_obj_add_style(obj, &theme->styles.outline_primary, LV_STATE_FOCUS_KEY); in theme_apply()
935 … lv_obj_add_style(obj, &theme->styles.bg_color_primary, LV_PART_INDICATOR | LV_STATE_CHECKED); in theme_apply()
936 lv_obj_add_style(obj, &theme->styles.circle, LV_PART_INDICATOR); in theme_apply()
937 lv_obj_add_style(obj, &theme->styles.disabled, LV_PART_INDICATOR | LV_STATE_DISABLED); in theme_apply()
938 lv_obj_add_style(obj, &theme->styles.knob, LV_PART_KNOB); in theme_apply()
939 lv_obj_add_style(obj, &theme->styles.bg_color_white, LV_PART_KNOB); in theme_apply()
940 lv_obj_add_style(obj, &theme->styles.switch_knob, LV_PART_KNOB); in theme_apply()
941 lv_obj_add_style(obj, &theme->styles.disabled, LV_PART_KNOB | LV_STATE_DISABLED); in theme_apply()
943 … lv_obj_add_style(obj, &theme->styles.transition_normal, LV_PART_INDICATOR | LV_STATE_CHECKED); in theme_apply()
944 lv_obj_add_style(obj, &theme->styles.transition_normal, LV_PART_INDICATOR); in theme_apply()
950 lv_obj_add_style(obj, &theme->styles.card, 0); in theme_apply()
951 lv_obj_add_style(obj, &theme->styles.pad_small, 0); in theme_apply()
952 lv_obj_add_style(obj, &theme->styles.chart_bg, 0); in theme_apply()
953 lv_obj_add_style(obj, &theme->styles.scrollbar, LV_PART_SCROLLBAR); in theme_apply()
954 … lv_obj_add_style(obj, &theme->styles.scrollbar_scrolled, LV_PART_SCROLLBAR | LV_STATE_SCROLLED); in theme_apply()
955 lv_obj_add_style(obj, &theme->styles.chart_series, LV_PART_ITEMS); in theme_apply()
956 lv_obj_add_style(obj, &theme->styles.chart_indic, LV_PART_INDICATOR); in theme_apply()
957 lv_obj_add_style(obj, &theme->styles.chart_series, LV_PART_CURSOR); in theme_apply()
963 lv_obj_add_style(obj, &theme->styles.card, 0); in theme_apply()
964 lv_obj_add_style(obj, &theme->styles.anim, 0); in theme_apply()
965 lv_obj_add_style(obj, &theme->styles.line_space_large, 0); in theme_apply()
966 lv_obj_add_style(obj, &theme->styles.text_align_center, 0); in theme_apply()
967 lv_obj_add_style(obj, &theme->styles.outline_primary, LV_STATE_FOCUS_KEY); in theme_apply()
968 lv_obj_add_style(obj, &theme->styles.outline_secondary, LV_STATE_EDITED); in theme_apply()
969 lv_obj_add_style(obj, &theme->styles.bg_color_primary, LV_PART_SELECTED); in theme_apply()
975 lv_obj_add_style(obj, &theme->styles.card, 0); in theme_apply()
976 lv_obj_add_style(obj, &theme->styles.pad_small, 0); in theme_apply()
977 lv_obj_add_style(obj, &theme->styles.transition_delayed, 0); in theme_apply()
978 lv_obj_add_style(obj, &theme->styles.transition_normal, LV_STATE_PRESSED); in theme_apply()
979 lv_obj_add_style(obj, &theme->styles.pressed, LV_STATE_PRESSED); in theme_apply()
980 lv_obj_add_style(obj, &theme->styles.outline_primary, LV_STATE_FOCUS_KEY); in theme_apply()
981 lv_obj_add_style(obj, &theme->styles.outline_secondary, LV_STATE_EDITED); in theme_apply()
982 lv_obj_add_style(obj, &theme->styles.transition_normal, LV_PART_INDICATOR); in theme_apply()
983 lv_obj_add_style(obj, &theme->styles.disabled, LV_STATE_DISABLED); in theme_apply()
986 lv_obj_add_style(obj, &theme->styles.card, 0); in theme_apply()
987 lv_obj_add_style(obj, &theme->styles.clip_corner, 0); in theme_apply()
988 lv_obj_add_style(obj, &theme->styles.line_space_large, 0); in theme_apply()
989 lv_obj_add_style(obj, &theme->styles.dropdown_list, 0); in theme_apply()
990 lv_obj_add_style(obj, &theme->styles.scrollbar, LV_PART_SCROLLBAR); in theme_apply()
991 … lv_obj_add_style(obj, &theme->styles.scrollbar_scrolled, LV_PART_SCROLLBAR | LV_STATE_SCROLLED); in theme_apply()
992 lv_obj_add_style(obj, &theme->styles.bg_color_white, LV_PART_SELECTED); in theme_apply()
993 lv_obj_add_style(obj, &theme->styles.bg_color_primary, LV_PART_SELECTED | LV_STATE_CHECKED); in theme_apply()
994 lv_obj_add_style(obj, &theme->styles.pressed, LV_PART_SELECTED | LV_STATE_PRESSED); in theme_apply()
1000 lv_obj_add_style(obj, &theme->styles.arc_indic, 0); in theme_apply()
1001 lv_obj_add_style(obj, &theme->styles.arc_indic, LV_PART_INDICATOR); in theme_apply()
1002 lv_obj_add_style(obj, &theme->styles.arc_indic_primary, LV_PART_INDICATOR); in theme_apply()
1003 lv_obj_add_style(obj, &theme->styles.knob, LV_PART_KNOB); in theme_apply()
1009 lv_obj_add_style(obj, &theme->styles.arc_indic, 0); in theme_apply()
1010 lv_obj_add_style(obj, &theme->styles.arc_indic, LV_PART_INDICATOR); in theme_apply()
1011 lv_obj_add_style(obj, &theme->styles.arc_indic_primary, LV_PART_INDICATOR); in theme_apply()
1017 lv_obj_add_style(obj, &theme->styles.card, 0); in theme_apply()
1018 lv_obj_add_style(obj, &theme->styles.pad_small, 0); in theme_apply()
1019 lv_obj_add_style(obj, &theme->styles.disabled, LV_STATE_DISABLED); in theme_apply()
1020 lv_obj_add_style(obj, &theme->styles.outline_primary, LV_STATE_FOCUS_KEY); in theme_apply()
1021 lv_obj_add_style(obj, &theme->styles.outline_secondary, LV_STATE_EDITED); in theme_apply()
1022 lv_obj_add_style(obj, &theme->styles.scrollbar, LV_PART_SCROLLBAR); in theme_apply()
1023 … lv_obj_add_style(obj, &theme->styles.scrollbar_scrolled, LV_PART_SCROLLBAR | LV_STATE_SCROLLED); in theme_apply()
1024 lv_obj_add_style(obj, &theme->styles.ta_cursor, LV_PART_CURSOR | LV_STATE_FOCUSED); in theme_apply()
1025 lv_obj_add_style(obj, &theme->styles.ta_placeholder, LV_PART_TEXTAREA_PLACEHOLDER); in theme_apply()
1031 lv_obj_add_style(obj, &theme->styles.card, 0); in theme_apply()
1032 lv_obj_add_style(obj, &theme->styles.pad_zero, 0); in theme_apply()
1037 lv_obj_add_style(obj, &theme->styles.calendar_header, 0); in theme_apply()
1043 lv_obj_add_style(obj, &theme->styles.calendar_header, 0); in theme_apply()
1050 lv_obj_add_style(obj, &theme->styles.scr, 0); in theme_apply()
1051 …obj_add_style(obj, theme->disp_size == DISP_LARGE ? &theme->styles.pad_small : &theme->styles.pad_… in theme_apply()
1052 lv_obj_add_style(obj, &theme->styles.outline_primary, LV_STATE_FOCUS_KEY); in theme_apply()
1053 lv_obj_add_style(obj, &theme->styles.outline_secondary, LV_STATE_EDITED); in theme_apply()
1054 lv_obj_add_style(obj, &theme->styles.btn, LV_PART_ITEMS); in theme_apply()
1055 lv_obj_add_style(obj, &theme->styles.disabled, LV_PART_ITEMS | LV_STATE_DISABLED); in theme_apply()
1056 lv_obj_add_style(obj, &theme->styles.bg_color_white, LV_PART_ITEMS); in theme_apply()
1057 lv_obj_add_style(obj, &theme->styles.keyboard_button_bg, LV_PART_ITEMS); in theme_apply()
1058 lv_obj_add_style(obj, &theme->styles.pressed, LV_PART_ITEMS | LV_STATE_PRESSED); in theme_apply()
1059 lv_obj_add_style(obj, &theme->styles.bg_color_grey, LV_PART_ITEMS | LV_STATE_CHECKED); in theme_apply()
1060 … lv_obj_add_style(obj, &theme->styles.bg_color_primary_muted, LV_PART_ITEMS | LV_STATE_FOCUS_KEY); in theme_apply()
1061 … lv_obj_add_style(obj, &theme->styles.bg_color_secondary_muted, LV_PART_ITEMS | LV_STATE_EDITED); in theme_apply()
1067 lv_obj_add_style(obj, &theme->styles.bg_color_primary, LV_PART_SELECTED); in theme_apply()
1073 lv_obj_add_style(obj, &theme->styles.card, 0); in theme_apply()
1074 lv_obj_add_style(obj, &theme->styles.list_bg, 0); in theme_apply()
1075 lv_obj_add_style(obj, &theme->styles.scrollbar, LV_PART_SCROLLBAR); in theme_apply()
1076 … lv_obj_add_style(obj, &theme->styles.scrollbar_scrolled, LV_PART_SCROLLBAR | LV_STATE_SCROLLED); in theme_apply()
1080 lv_obj_add_style(obj, &theme->styles.bg_color_grey, 0); in theme_apply()
1081 lv_obj_add_style(obj, &theme->styles.list_item_grow, 0); in theme_apply()
1084 lv_obj_add_style(obj, &theme->styles.bg_color_white, 0); in theme_apply()
1085 lv_obj_add_style(obj, &theme->styles.list_btn, 0); in theme_apply()
1086 lv_obj_add_style(obj, &theme->styles.bg_color_primary, LV_STATE_FOCUS_KEY); in theme_apply()
1087 lv_obj_add_style(obj, &theme->styles.list_item_grow, LV_STATE_FOCUS_KEY); in theme_apply()
1088 lv_obj_add_style(obj, &theme->styles.list_item_grow, LV_STATE_PRESSED); in theme_apply()
1089 lv_obj_add_style(obj, &theme->styles.pressed, LV_STATE_PRESSED); in theme_apply()
1095 lv_obj_add_style(obj, &theme->styles.card, 0); in theme_apply()
1096 lv_obj_add_style(obj, &theme->styles.menu_bg, 0); in theme_apply()
1099 lv_obj_add_style(obj, &theme->styles.menu_sidebar_cont, 0); in theme_apply()
1100 lv_obj_add_style(obj, &theme->styles.scrollbar, LV_PART_SCROLLBAR); in theme_apply()
1101 … lv_obj_add_style(obj, &theme->styles.scrollbar_scrolled, LV_PART_SCROLLBAR | LV_STATE_SCROLLED); in theme_apply()
1104 lv_obj_add_style(obj, &theme->styles.menu_main_cont, 0); in theme_apply()
1105 lv_obj_add_style(obj, &theme->styles.scrollbar, LV_PART_SCROLLBAR); in theme_apply()
1106 … lv_obj_add_style(obj, &theme->styles.scrollbar_scrolled, LV_PART_SCROLLBAR | LV_STATE_SCROLLED); in theme_apply()
1109 lv_obj_add_style(obj, &theme->styles.menu_cont, 0); in theme_apply()
1110 lv_obj_add_style(obj, &theme->styles.menu_pressed, LV_STATE_PRESSED); in theme_apply()
1111 … lv_obj_add_style(obj, &theme->styles.bg_color_primary_muted, LV_STATE_PRESSED | LV_STATE_CHECKED); in theme_apply()
1112 lv_obj_add_style(obj, &theme->styles.bg_color_primary_muted, LV_STATE_CHECKED); in theme_apply()
1113 lv_obj_add_style(obj, &theme->styles.bg_color_primary, LV_STATE_FOCUS_KEY); in theme_apply()
1117 lv_obj_add_style(obj, &theme->styles.menu_header_cont, 0); in theme_apply()
1120 lv_obj_add_style(obj, &theme->styles.menu_page, 0); in theme_apply()
1121 lv_obj_add_style(obj, &theme->styles.scrollbar, LV_PART_SCROLLBAR); in theme_apply()
1122 … lv_obj_add_style(obj, &theme->styles.scrollbar_scrolled, LV_PART_SCROLLBAR | LV_STATE_SCROLLED); in theme_apply()
1125 lv_obj_add_style(obj, &theme->styles.menu_section, 0); in theme_apply()
1128 lv_obj_add_style(obj, &theme->styles.menu_separator, 0); in theme_apply()
1133 lv_obj_add_style(obj, &theme->styles.card, 0); in theme_apply()
1134 lv_obj_add_style(obj, &theme->styles.pad_zero, 0); in theme_apply()
1135 lv_obj_add_style(obj, &theme->styles.clip_corner, 0); in theme_apply()
1139 lv_obj_add_style(obj, &theme->styles.msgbox_backdrop_bg, 0); in theme_apply()
1143 lv_obj_add_style(obj, &theme->styles.pad_tiny, 0); in theme_apply()
1144 lv_obj_add_style(obj, &theme->styles.bg_color_grey, 0); in theme_apply()
1148 lv_obj_add_style(obj, &theme->styles.pad_tiny, 0); in theme_apply()
1152 lv_obj_add_style(obj, &theme->styles.scrollbar, LV_PART_SCROLLBAR); in theme_apply()
1153 … lv_obj_add_style(obj, &theme->styles.scrollbar_scrolled, LV_PART_SCROLLBAR | LV_STATE_SCROLLED); in theme_apply()
1154 lv_obj_add_style(obj, &theme->styles.pad_tiny, 0); in theme_apply()
1159 lv_obj_add_style(obj, &theme->styles.btn, 0); in theme_apply()
1160 lv_obj_add_style(obj, &theme->styles.bg_color_primary, 0); in theme_apply()
1161 lv_obj_add_style(obj, &theme->styles.transition_delayed, 0); in theme_apply()
1162 lv_obj_add_style(obj, &theme->styles.pressed, LV_STATE_PRESSED); in theme_apply()
1163 lv_obj_add_style(obj, &theme->styles.transition_normal, LV_STATE_PRESSED); in theme_apply()
1164 lv_obj_add_style(obj, &theme->styles.outline_primary, LV_STATE_FOCUS_KEY); in theme_apply()
1165 lv_obj_add_style(obj, &theme->styles.bg_color_secondary, LV_STATE_CHECKED); in theme_apply()
1166 lv_obj_add_style(obj, &theme->styles.disabled, LV_STATE_DISABLED); in theme_apply()
1174 lv_obj_add_style(obj, &theme->styles.card, 0); in theme_apply()
1175 lv_obj_add_style(obj, &theme->styles.pad_small, 0); in theme_apply()
1176 lv_obj_add_style(obj, &theme->styles.outline_primary, LV_STATE_FOCUS_KEY); in theme_apply()
1177 lv_obj_add_style(obj, &theme->styles.outline_secondary, LV_STATE_EDITED); in theme_apply()
1178 lv_obj_add_style(obj, &theme->styles.bg_color_primary, LV_PART_CURSOR); in theme_apply()
1183 lv_obj_add_style(obj, &theme->styles.scr, 0); in theme_apply()
1184 lv_obj_add_style(obj, &theme->styles.scrollbar, LV_PART_SCROLLBAR); in theme_apply()
1185 … lv_obj_add_style(obj, &theme->styles.scrollbar_scrolled, LV_PART_SCROLLBAR | LV_STATE_SCROLLED); in theme_apply()
1188 lv_obj_add_style(obj, &theme->styles.scrollbar, LV_PART_SCROLLBAR); in theme_apply()
1189 … lv_obj_add_style(obj, &theme->styles.scrollbar_scrolled, LV_PART_SCROLLBAR | LV_STATE_SCROLLED); in theme_apply()
1195 lv_obj_add_style(obj, &theme->styles.scr, 0); in theme_apply()
1196 lv_obj_add_style(obj, &theme->styles.pad_zero, 0); in theme_apply()
1202 lv_obj_add_style(obj, &theme->styles.clip_corner, 0); in theme_apply()
1208 lv_obj_add_style(obj, &theme->styles.led, 0); in theme_apply()
1214 lv_obj_add_style(obj, &theme->styles.scale, LV_PART_MAIN); in theme_apply()
1215 lv_obj_add_style(obj, &theme->styles.scale, LV_PART_INDICATOR); in theme_apply()
1216 lv_obj_add_style(obj, &theme->styles.scale, LV_PART_ITEMS); in theme_apply()