Lines Matching refs:styles

173 static my_theme_styles_t * styles;  variable
221 style_init_reset(&styles->transition_delayed); in style_init()
222 style_init_reset(&styles->transition_normal); in style_init()
230 …lv_style_set_transition(&styles->transition_delayed, &trans_delayed); /*Go back to default state w… in style_init()
232 …lv_style_set_transition(&styles->transition_normal, &trans_normal); /*Go back to default state wit… in style_init()
235 style_init_reset(&styles->scrollbar); in style_init()
238 lv_style_set_bg_color(&styles->scrollbar, sb_color); in style_init()
240 lv_style_set_radius(&styles->scrollbar, LV_RADIUS_CIRCLE); in style_init()
241 lv_style_set_pad_all(&styles->scrollbar, lv_disp_dpx(theme.disp, 7)); in style_init()
242 lv_style_set_width(&styles->scrollbar, lv_disp_dpx(theme.disp, 5)); in style_init()
243 lv_style_set_bg_opa(&styles->scrollbar, LV_OPA_40); in style_init()
245 lv_style_set_transition(&styles->scrollbar, &trans_normal); in style_init()
248 style_init_reset(&styles->scrollbar_scrolled); in style_init()
249 lv_style_set_bg_opa(&styles->scrollbar_scrolled, LV_OPA_COVER); in style_init()
251 style_init_reset(&styles->scr); in style_init()
252 lv_style_set_bg_opa(&styles->scr, LV_OPA_COVER); in style_init()
253 lv_style_set_bg_color(&styles->scr, color_scr); in style_init()
254 lv_style_set_text_color(&styles->scr, color_text); in style_init()
255 lv_style_set_pad_row(&styles->scr, PAD_SMALL); in style_init()
256 lv_style_set_pad_column(&styles->scr, PAD_SMALL); in style_init()
258 style_init_reset(&styles->card); in style_init()
259 lv_style_set_radius(&styles->card, RADIUS_DEFAULT); in style_init()
260 lv_style_set_bg_opa(&styles->card, LV_OPA_COVER); in style_init()
261 lv_style_set_bg_color(&styles->card, color_card); in style_init()
262 lv_style_set_border_color(&styles->card, color_grey); in style_init()
263 lv_style_set_border_width(&styles->card, BORDER_WIDTH); in style_init()
264 lv_style_set_border_post(&styles->card, true); in style_init()
265 lv_style_set_text_color(&styles->card, color_text); in style_init()
266 lv_style_set_pad_all(&styles->card, PAD_DEF); in style_init()
267 lv_style_set_pad_row(&styles->card, PAD_SMALL); in style_init()
268 lv_style_set_pad_column(&styles->card, PAD_SMALL); in style_init()
269 lv_style_set_line_color(&styles->card, lv_palette_main(LV_PALETTE_GREY)); in style_init()
270 lv_style_set_line_width(&styles->card, lv_disp_dpx(theme.disp, 1)); in style_init()
272 style_init_reset(&styles->outline_primary); in style_init()
273 lv_style_set_outline_color(&styles->outline_primary, theme.color_primary); in style_init()
274 lv_style_set_outline_width(&styles->outline_primary, OUTLINE_WIDTH); in style_init()
275 lv_style_set_outline_pad(&styles->outline_primary, OUTLINE_WIDTH); in style_init()
276 lv_style_set_outline_opa(&styles->outline_primary, LV_OPA_50); in style_init()
278 style_init_reset(&styles->outline_secondary); in style_init()
279 lv_style_set_outline_color(&styles->outline_secondary, theme.color_secondary); in style_init()
280 lv_style_set_outline_width(&styles->outline_secondary, OUTLINE_WIDTH); in style_init()
281 lv_style_set_outline_opa(&styles->outline_secondary, LV_OPA_50); in style_init()
283 style_init_reset(&styles->btn); in style_init()
284 lv_style_set_radius(&styles->btn, (disp_size == DISP_LARGE ? lv_disp_dpx(theme.disp, in style_init()
286 lv_style_set_bg_opa(&styles->btn, LV_OPA_COVER); in style_init()
287 lv_style_set_bg_color(&styles->btn, color_grey); in style_init()
289 lv_style_set_shadow_color(&styles->btn, lv_palette_main(LV_PALETTE_GREY)); in style_init()
290 lv_style_set_shadow_width(&styles->btn, LV_DPX(3)); in style_init()
291 lv_style_set_shadow_opa(&styles->btn, LV_OPA_50); in style_init()
292 lv_style_set_shadow_ofs_y(&styles->btn, lv_disp_dpx(theme.disp, LV_DPX(4))); in style_init()
294 lv_style_set_text_color(&styles->btn, color_text); in style_init()
295 lv_style_set_pad_hor(&styles->btn, PAD_DEF); in style_init()
296 lv_style_set_pad_ver(&styles->btn, PAD_SMALL); in style_init()
297 lv_style_set_pad_column(&styles->btn, lv_disp_dpx(theme.disp, 5)); in style_init()
298 lv_style_set_pad_row(&styles->btn, lv_disp_dpx(theme.disp, 5)); in style_init()
306 style_init_reset(&styles->pressed); in style_init()
307 lv_style_set_color_filter_dsc(&styles->pressed, &dark_filter); in style_init()
308 lv_style_set_color_filter_opa(&styles->pressed, 35); in style_init()
310 style_init_reset(&styles->disabled); in style_init()
311 lv_style_set_color_filter_dsc(&styles->disabled, &grey_filter); in style_init()
312 lv_style_set_color_filter_opa(&styles->disabled, LV_OPA_50); in style_init()
314 style_init_reset(&styles->clip_corner); in style_init()
315 lv_style_set_clip_corner(&styles->clip_corner, true); in style_init()
316 lv_style_set_border_post(&styles->clip_corner, true); in style_init()
318 style_init_reset(&styles->pad_normal); in style_init()
319 lv_style_set_pad_all(&styles->pad_normal, PAD_DEF); in style_init()
320 lv_style_set_pad_row(&styles->pad_normal, PAD_DEF); in style_init()
321 lv_style_set_pad_column(&styles->pad_normal, PAD_DEF); in style_init()
323 style_init_reset(&styles->pad_small); in style_init()
324 lv_style_set_pad_all(&styles->pad_small, PAD_SMALL); in style_init()
325 lv_style_set_pad_gap(&styles->pad_small, PAD_SMALL); in style_init()
327 style_init_reset(&styles->pad_gap); in style_init()
328 lv_style_set_pad_row(&styles->pad_gap, lv_disp_dpx(theme.disp, 10)); in style_init()
329 lv_style_set_pad_column(&styles->pad_gap, lv_disp_dpx(theme.disp, 10)); in style_init()
331 style_init_reset(&styles->line_space_large); in style_init()
332 lv_style_set_text_line_space(&styles->line_space_large, lv_disp_dpx(theme.disp, 20)); in style_init()
334 style_init_reset(&styles->text_align_center); in style_init()
335 lv_style_set_text_align(&styles->text_align_center, LV_TEXT_ALIGN_CENTER); in style_init()
337 style_init_reset(&styles->pad_zero); in style_init()
338 lv_style_set_pad_all(&styles->pad_zero, 0); in style_init()
339 lv_style_set_pad_row(&styles->pad_zero, 0); in style_init()
340 lv_style_set_pad_column(&styles->pad_zero, 0); in style_init()
342 style_init_reset(&styles->pad_tiny); in style_init()
343 lv_style_set_pad_all(&styles->pad_tiny, PAD_TINY); in style_init()
344 lv_style_set_pad_row(&styles->pad_tiny, PAD_TINY); in style_init()
345 lv_style_set_pad_column(&styles->pad_tiny, PAD_TINY); in style_init()
347 style_init_reset(&styles->bg_color_primary); in style_init()
348 lv_style_set_bg_color(&styles->bg_color_primary, theme.color_primary); in style_init()
349 lv_style_set_text_color(&styles->bg_color_primary, lv_color_white()); in style_init()
350 lv_style_set_bg_opa(&styles->bg_color_primary, LV_OPA_COVER); in style_init()
352 style_init_reset(&styles->bg_color_primary_muted); in style_init()
353 lv_style_set_bg_color(&styles->bg_color_primary_muted, theme.color_primary); in style_init()
354 lv_style_set_text_color(&styles->bg_color_primary_muted, theme.color_primary); in style_init()
355 lv_style_set_bg_opa(&styles->bg_color_primary_muted, LV_OPA_20); in style_init()
357 style_init_reset(&styles->bg_color_secondary); in style_init()
358 lv_style_set_bg_color(&styles->bg_color_secondary, theme.color_secondary); in style_init()
359 lv_style_set_text_color(&styles->bg_color_secondary, lv_color_white()); in style_init()
360 lv_style_set_bg_opa(&styles->bg_color_secondary, LV_OPA_COVER); in style_init()
362 style_init_reset(&styles->bg_color_secondary_muted); in style_init()
363 lv_style_set_bg_color(&styles->bg_color_secondary_muted, theme.color_secondary); in style_init()
364 lv_style_set_text_color(&styles->bg_color_secondary_muted, theme.color_secondary); in style_init()
365 lv_style_set_bg_opa(&styles->bg_color_secondary_muted, LV_OPA_20); in style_init()
367 style_init_reset(&styles->bg_color_grey); in style_init()
368 lv_style_set_bg_color(&styles->bg_color_grey, color_grey); in style_init()
369 lv_style_set_bg_opa(&styles->bg_color_grey, LV_OPA_COVER); in style_init()
370 lv_style_set_text_color(&styles->bg_color_grey, color_text); in style_init()
372 style_init_reset(&styles->bg_color_white); in style_init()
373 lv_style_set_bg_color(&styles->bg_color_white, color_card); in style_init()
374 lv_style_set_bg_opa(&styles->bg_color_white, LV_OPA_COVER); in style_init()
375 lv_style_set_text_color(&styles->bg_color_white, color_text); in style_init()
377 style_init_reset(&styles->circle); in style_init()
378 lv_style_set_radius(&styles->circle, LV_RADIUS_CIRCLE); in style_init()
380 style_init_reset(&styles->no_radius); in style_init()
381 lv_style_set_radius(&styles->no_radius, 0); in style_init()
384 style_init_reset(&styles->grow); in style_init()
385 lv_style_set_transform_width(&styles->grow, lv_disp_dpx(theme.disp, 3)); in style_init()
386 lv_style_set_transform_height(&styles->grow, lv_disp_dpx(theme.disp, 3)); in style_init()
389 style_init_reset(&styles->knob); in style_init()
390 lv_style_set_bg_color(&styles->knob, theme.color_primary); in style_init()
391 lv_style_set_bg_opa(&styles->knob, LV_OPA_COVER); in style_init()
392 lv_style_set_pad_all(&styles->knob, lv_disp_dpx(theme.disp, 6)); in style_init()
393 lv_style_set_radius(&styles->knob, LV_RADIUS_CIRCLE); in style_init()
395 style_init_reset(&styles->anim); in style_init()
396 lv_style_set_anim_time(&styles->anim, 200); in style_init()
398 style_init_reset(&styles->anim_fast); in style_init()
399 lv_style_set_anim_time(&styles->anim_fast, 120); in style_init()
402 style_init_reset(&styles->arc_indic); in style_init()
403 lv_style_set_arc_color(&styles->arc_indic, color_grey); in style_init()
404 lv_style_set_arc_width(&styles->arc_indic, lv_disp_dpx(theme.disp, 15)); in style_init()
405 lv_style_set_arc_rounded(&styles->arc_indic, true); in style_init()
407 style_init_reset(&styles->arc_indic_primary); in style_init()
408 lv_style_set_arc_color(&styles->arc_indic_primary, theme.color_primary); in style_init()
412 style_init_reset(&styles->dropdown_list); in style_init()
413 lv_style_set_max_height(&styles->dropdown_list, LV_DPI_DEF * 2); in style_init()
416 style_init_reset(&styles->cb_marker); in style_init()
417 lv_style_set_pad_all(&styles->cb_marker, lv_disp_dpx(theme.disp, 3)); in style_init()
418 lv_style_set_border_width(&styles->cb_marker, BORDER_WIDTH); in style_init()
419 lv_style_set_border_color(&styles->cb_marker, theme.color_primary); in style_init()
420 lv_style_set_bg_color(&styles->cb_marker, color_card); in style_init()
421 lv_style_set_bg_opa(&styles->cb_marker, LV_OPA_COVER); in style_init()
422 lv_style_set_radius(&styles->cb_marker, RADIUS_DEFAULT / 2); in style_init()
424 style_init_reset(&styles->cb_marker_checked); in style_init()
425 lv_style_set_bg_img_src(&styles->cb_marker_checked, LV_SYMBOL_OK); in style_init()
426 lv_style_set_text_color(&styles->cb_marker_checked, lv_color_white()); in style_init()
427 lv_style_set_text_font(&styles->cb_marker_checked, theme.font_small); in style_init()
431 style_init_reset(&styles->switch_knob); in style_init()
432 lv_style_set_pad_all(&styles->switch_knob, - lv_disp_dpx(theme.disp, 4)); in style_init()
433 lv_style_set_bg_color(&styles->switch_knob, lv_color_white()); in style_init()
437 style_init_reset(&styles->line); in style_init()
438 lv_style_set_line_width(&styles->line, 1); in style_init()
439 lv_style_set_line_color(&styles->line, color_text); in style_init()
443 style_init_reset(&styles->chart_bg); in style_init()
444 lv_style_set_border_post(&styles->chart_bg, false); in style_init()
445 lv_style_set_pad_column(&styles->chart_bg, lv_disp_dpx(theme.disp, 10)); in style_init()
446 lv_style_set_line_color(&styles->chart_bg, color_grey); in style_init()
448 style_init_reset(&styles->chart_series); in style_init()
449 lv_style_set_line_width(&styles->chart_series, lv_disp_dpx(theme.disp, 3)); in style_init()
450 lv_style_set_radius(&styles->chart_series, lv_disp_dpx(theme.disp, 3)); in style_init()
451 lv_style_set_size(&styles->chart_series, lv_disp_dpx(theme.disp, 8)); in style_init()
452 lv_style_set_pad_column(&styles->chart_series, lv_disp_dpx(theme.disp, 2)); in style_init()
454 style_init_reset(&styles->chart_indic); in style_init()
455 lv_style_set_radius(&styles->chart_indic, LV_RADIUS_CIRCLE); in style_init()
456 lv_style_set_size(&styles->chart_indic, lv_disp_dpx(theme.disp, 8)); in style_init()
457 lv_style_set_bg_color(&styles->chart_indic, theme.color_primary); in style_init()
458 lv_style_set_bg_opa(&styles->chart_indic, LV_OPA_COVER); in style_init()
460 style_init_reset(&styles->chart_ticks); in style_init()
461 lv_style_set_line_width(&styles->chart_ticks, lv_disp_dpx(theme.disp, 1)); in style_init()
462 lv_style_set_line_color(&styles->chart_ticks, color_text); in style_init()
463 lv_style_set_pad_all(&styles->chart_ticks, lv_disp_dpx(theme.disp, 2)); in style_init()
464 lv_style_set_text_color(&styles->chart_ticks, lv_palette_main(LV_PALETTE_GREY)); in style_init()
468 style_init_reset(&styles->menu_bg); in style_init()
469 lv_style_set_pad_all(&styles->menu_bg, 0); in style_init()
470 lv_style_set_pad_gap(&styles->menu_bg, 0); in style_init()
471 lv_style_set_radius(&styles->menu_bg, 0); in style_init()
472 lv_style_set_clip_corner(&styles->menu_bg, true); in style_init()
473 lv_style_set_border_side(&styles->menu_bg, LV_BORDER_SIDE_NONE); in style_init()
475 style_init_reset(&styles->menu_section); in style_init()
476 lv_style_set_radius(&styles->menu_section, RADIUS_DEFAULT); in style_init()
477 lv_style_set_clip_corner(&styles->menu_section, true); in style_init()
478 lv_style_set_bg_opa(&styles->menu_section, LV_OPA_COVER); in style_init()
479 lv_style_set_bg_color(&styles->menu_section, color_card); in style_init()
480 lv_style_set_text_color(&styles->menu_section, color_text); in style_init()
482 style_init_reset(&styles->menu_cont); in style_init()
483 lv_style_set_pad_hor(&styles->menu_cont, PAD_SMALL); in style_init()
484 lv_style_set_pad_ver(&styles->menu_cont, PAD_SMALL); in style_init()
485 lv_style_set_pad_gap(&styles->menu_cont, PAD_SMALL); in style_init()
486 lv_style_set_border_width(&styles->menu_cont, lv_disp_dpx(theme.disp, 1)); in style_init()
487 lv_style_set_border_opa(&styles->menu_cont, LV_OPA_10); in style_init()
488 lv_style_set_border_color(&styles->menu_cont, color_text); in style_init()
489 lv_style_set_border_side(&styles->menu_cont, LV_BORDER_SIDE_NONE); in style_init()
491 style_init_reset(&styles->menu_sidebar_cont); in style_init()
492 lv_style_set_pad_all(&styles->menu_sidebar_cont, 0); in style_init()
493 lv_style_set_pad_gap(&styles->menu_sidebar_cont, 0); in style_init()
494 lv_style_set_border_width(&styles->menu_sidebar_cont, lv_disp_dpx(theme.disp, 1)); in style_init()
495 lv_style_set_border_opa(&styles->menu_sidebar_cont, LV_OPA_10); in style_init()
496 lv_style_set_border_color(&styles->menu_sidebar_cont, color_text); in style_init()
497 lv_style_set_border_side(&styles->menu_sidebar_cont, LV_BORDER_SIDE_RIGHT); in style_init()
499 style_init_reset(&styles->menu_main_cont); in style_init()
500 lv_style_set_pad_all(&styles->menu_main_cont, 0); in style_init()
501 lv_style_set_pad_gap(&styles->menu_main_cont, 0); in style_init()
503 style_init_reset(&styles->menu_header_cont); in style_init()
504 lv_style_set_pad_hor(&styles->menu_header_cont, PAD_SMALL); in style_init()
505 lv_style_set_pad_ver(&styles->menu_header_cont, PAD_TINY); in style_init()
506 lv_style_set_pad_gap(&styles->menu_header_cont, PAD_SMALL); in style_init()
508 style_init_reset(&styles->menu_header_btn); in style_init()
509 lv_style_set_pad_hor(&styles->menu_header_btn, PAD_TINY); in style_init()
510 lv_style_set_pad_ver(&styles->menu_header_btn, PAD_TINY); in style_init()
511 lv_style_set_shadow_opa(&styles->menu_header_btn, LV_OPA_TRANSP); in style_init()
512 lv_style_set_bg_opa(&styles->menu_header_btn, LV_OPA_TRANSP); in style_init()
513 lv_style_set_text_color(&styles->menu_header_btn, color_text); in style_init()
515 style_init_reset(&styles->menu_page); in style_init()
516 lv_style_set_pad_hor(&styles->menu_page, 0); in style_init()
517 lv_style_set_pad_gap(&styles->menu_page, 0); in style_init()
519 style_init_reset(&styles->menu_pressed); in style_init()
520 lv_style_set_bg_opa(&styles->menu_pressed, LV_OPA_20); in style_init()
521 lv_style_set_bg_color(&styles->menu_pressed, lv_palette_main(LV_PALETTE_GREY)); in style_init()
523 style_init_reset(&styles->menu_separator); in style_init()
524 lv_style_set_bg_opa(&styles->menu_separator, LV_OPA_TRANSP); in style_init()
525 lv_style_set_pad_ver(&styles->menu_separator, PAD_TINY); in style_init()
529 style_init_reset(&styles->meter_marker); in style_init()
530 lv_style_set_line_width(&styles->meter_marker, lv_disp_dpx(theme.disp, 5)); in style_init()
531 lv_style_set_line_color(&styles->meter_marker, color_text); in style_init()
532 lv_style_set_size(&styles->meter_marker, lv_disp_dpx(theme.disp, 20)); in style_init()
533 lv_style_set_pad_left(&styles->meter_marker, lv_disp_dpx(theme.disp, 15)); in style_init()
535 style_init_reset(&styles->meter_indic); in style_init()
536 lv_style_set_radius(&styles->meter_indic, LV_RADIUS_CIRCLE); in style_init()
537 lv_style_set_bg_color(&styles->meter_indic, color_text); in style_init()
538 lv_style_set_bg_opa(&styles->meter_indic, LV_OPA_COVER); in style_init()
539 lv_style_set_size(&styles->meter_indic, lv_disp_dpx(theme.disp, 15)); in style_init()
543 style_init_reset(&styles->table_cell); in style_init()
544 lv_style_set_border_width(&styles->table_cell, lv_disp_dpx(theme.disp, 1)); in style_init()
545 lv_style_set_border_color(&styles->table_cell, color_grey); in style_init()
546 lv_style_set_border_side(&styles->table_cell, LV_BORDER_SIDE_TOP | LV_BORDER_SIDE_BOTTOM); in style_init()
550 style_init_reset(&styles->ta_cursor); in style_init()
551 lv_style_set_border_color(&styles->ta_cursor, color_text); in style_init()
552 lv_style_set_border_width(&styles->ta_cursor, lv_disp_dpx(theme.disp, 2)); in style_init()
553 lv_style_set_pad_left(&styles->ta_cursor, - lv_disp_dpx(theme.disp, 1)); in style_init()
554 lv_style_set_border_side(&styles->ta_cursor, LV_BORDER_SIDE_LEFT); in style_init()
555 lv_style_set_anim_time(&styles->ta_cursor, 400); in style_init()
557 style_init_reset(&styles->ta_placeholder); in style_init()
558 …lv_style_set_text_color(&styles->ta_placeholder, (theme.flags & MODE_DARK) ? lv_palette_darken(LV_… in style_init()
563 style_init_reset(&styles->calendar_btnm_bg); in style_init()
564 lv_style_set_pad_all(&styles->calendar_btnm_bg, PAD_SMALL); in style_init()
565 lv_style_set_pad_gap(&styles->calendar_btnm_bg, PAD_SMALL / 2); in style_init()
567 style_init_reset(&styles->calendar_btnm_day); in style_init()
568 lv_style_set_border_width(&styles->calendar_btnm_day, lv_disp_dpx(theme.disp, 1)); in style_init()
569 lv_style_set_border_color(&styles->calendar_btnm_day, color_grey); in style_init()
570 lv_style_set_bg_color(&styles->calendar_btnm_day, color_card); in style_init()
571 lv_style_set_bg_opa(&styles->calendar_btnm_day, LV_OPA_20); in style_init()
573 style_init_reset(&styles->calendar_header); in style_init()
574 lv_style_set_pad_hor(&styles->calendar_header, PAD_SMALL); in style_init()
575 lv_style_set_pad_top(&styles->calendar_header, PAD_SMALL); in style_init()
576 lv_style_set_pad_bottom(&styles->calendar_header, PAD_TINY); in style_init()
577 lv_style_set_pad_gap(&styles->calendar_header, PAD_SMALL); in style_init()
581 style_init_reset(&styles->colorwheel_main); in style_init()
582 lv_style_set_arc_width(&styles->colorwheel_main, lv_disp_dpx(theme.disp, 10)); in style_init()
587 style_init_reset(&styles->msgbox_btn_bg); in style_init()
588 lv_style_set_pad_all(&styles->msgbox_btn_bg, lv_disp_dpx(theme.disp, 4)); in style_init()
590 style_init_reset(&styles->msgbox_bg); in style_init()
591 lv_style_set_max_width(&styles->msgbox_bg, lv_pct(100)); in style_init()
593 style_init_reset(&styles->msgbox_backdrop_bg); in style_init()
594 lv_style_set_bg_color(&styles->msgbox_backdrop_bg, lv_palette_main(LV_PALETTE_GREY)); in style_init()
595 lv_style_set_bg_opa(&styles->msgbox_backdrop_bg, LV_OPA_50); in style_init()
598 style_init_reset(&styles->keyboard_btn_bg); in style_init()
599 lv_style_set_shadow_width(&styles->keyboard_btn_bg, 0); in style_init()
600 …lv_style_set_radius(&styles->keyboard_btn_bg, disp_size == DISP_SMALL ? RADIUS_DEFAULT / 2 : RADIU… in style_init()
604 style_init_reset(&styles->tab_btn); in style_init()
605 lv_style_set_border_color(&styles->tab_btn, theme.color_primary); in style_init()
606 lv_style_set_border_width(&styles->tab_btn, BORDER_WIDTH * 2); in style_init()
607 lv_style_set_border_side(&styles->tab_btn, LV_BORDER_SIDE_BOTTOM); in style_init()
609 style_init_reset(&styles->tab_bg_focus); in style_init()
610 lv_style_set_outline_pad(&styles->tab_bg_focus, -BORDER_WIDTH); in style_init()
614 style_init_reset(&styles->list_bg); in style_init()
615 lv_style_set_pad_hor(&styles->list_bg, PAD_DEF); in style_init()
616 lv_style_set_pad_ver(&styles->list_bg, 0); in style_init()
617 lv_style_set_pad_gap(&styles->list_bg, 0); in style_init()
618 lv_style_set_clip_corner(&styles->list_bg, true); in style_init()
620 style_init_reset(&styles->list_btn); in style_init()
621 lv_style_set_border_width(&styles->list_btn, lv_disp_dpx(theme.disp, 1)); in style_init()
622 lv_style_set_border_color(&styles->list_btn, color_grey); in style_init()
623 lv_style_set_border_side(&styles->list_btn, LV_BORDER_SIDE_BOTTOM); in style_init()
624 lv_style_set_pad_all(&styles->list_btn, PAD_SMALL); in style_init()
625 lv_style_set_pad_column(&styles->list_btn, PAD_SMALL); in style_init()
627 style_init_reset(&styles->list_item_grow); in style_init()
628 lv_style_set_transform_width(&styles->list_item_grow, PAD_DEF); in style_init()
633 style_init_reset(&styles->led); in style_init()
634 lv_style_set_bg_opa(&styles->led, LV_OPA_COVER); in style_init()
635 lv_style_set_bg_color(&styles->led, lv_color_white()); in style_init()
636 lv_style_set_bg_grad_color(&styles->led, lv_palette_main(LV_PALETTE_GREY)); in style_init()
637 lv_style_set_radius(&styles->led, LV_RADIUS_CIRCLE); in style_init()
638 lv_style_set_shadow_width(&styles->led, lv_disp_dpx(theme.disp, 15)); in style_init()
639 lv_style_set_shadow_color(&styles->led, lv_color_white()); in style_init()
640 lv_style_set_shadow_spread(&styles->led, lv_disp_dpx(theme.disp, 5)); in style_init()
658 styles = (my_theme_styles_t *)LV_GC_ROOT(_lv_theme_default_styles); in lv_theme_default_init()
703 lv_obj_add_style(obj, &styles->scr, 0); in theme_apply()
704 lv_obj_add_style(obj, &styles->scrollbar, LV_PART_SCROLLBAR); in theme_apply()
705 lv_obj_add_style(obj, &styles->scrollbar_scrolled, LV_PART_SCROLLBAR | LV_STATE_SCROLLED); in theme_apply()
718 lv_obj_add_style(obj, &styles->pad_normal, 0); in theme_apply()
719 lv_obj_add_style(obj, &styles->scrollbar, LV_PART_SCROLLBAR); in theme_apply()
720 … lv_obj_add_style(obj, &styles->scrollbar_scrolled, LV_PART_SCROLLBAR | LV_STATE_SCROLLED); in theme_apply()
728 lv_obj_add_style(obj, &styles->bg_color_grey, 0); in theme_apply()
729 lv_obj_add_style(obj, &styles->pad_tiny, 0); in theme_apply()
734 lv_obj_add_style(obj, &styles->scr, 0); in theme_apply()
735 lv_obj_add_style(obj, &styles->pad_normal, 0); in theme_apply()
736 lv_obj_add_style(obj, &styles->scrollbar, LV_PART_SCROLLBAR); in theme_apply()
737 … lv_obj_add_style(obj, &styles->scrollbar_scrolled, LV_PART_SCROLLBAR | LV_STATE_SCROLLED); in theme_apply()
750 lv_obj_add_style(obj, &styles->card, 0); in theme_apply()
751 lv_obj_add_style(obj, &styles->scrollbar, LV_PART_SCROLLBAR); in theme_apply()
752 lv_obj_add_style(obj, &styles->scrollbar_scrolled, LV_PART_SCROLLBAR | LV_STATE_SCROLLED); in theme_apply()
756 lv_obj_add_style(obj, &styles->btn, 0); in theme_apply()
757 lv_obj_add_style(obj, &styles->bg_color_primary, 0); in theme_apply()
758 lv_obj_add_style(obj, &styles->transition_delayed, 0); in theme_apply()
759 lv_obj_add_style(obj, &styles->pressed, LV_STATE_PRESSED); in theme_apply()
760 lv_obj_add_style(obj, &styles->transition_normal, LV_STATE_PRESSED); in theme_apply()
761 lv_obj_add_style(obj, &styles->outline_primary, LV_STATE_FOCUS_KEY); in theme_apply()
763 lv_obj_add_style(obj, &styles->grow, LV_STATE_PRESSED); in theme_apply()
765 lv_obj_add_style(obj, &styles->bg_color_secondary, LV_STATE_CHECKED); in theme_apply()
766 lv_obj_add_style(obj, &styles->disabled, LV_STATE_DISABLED); in theme_apply()
771 lv_obj_add_style(obj, &styles->menu_header_btn, 0); in theme_apply()
772 lv_obj_add_style(obj, &styles->menu_pressed, LV_STATE_PRESSED); in theme_apply()
780 lv_obj_add_style(obj, &styles->line, 0); in theme_apply()
788 lv_obj_add_style(obj, &styles->msgbox_btn_bg, 0); in theme_apply()
789 lv_obj_add_style(obj, &styles->pad_gap, 0); in theme_apply()
790 lv_obj_add_style(obj, &styles->btn, LV_PART_ITEMS); in theme_apply()
791 lv_obj_add_style(obj, &styles->pressed, LV_PART_ITEMS | LV_STATE_PRESSED); in theme_apply()
792 lv_obj_add_style(obj, &styles->disabled, LV_PART_ITEMS | LV_STATE_DISABLED); in theme_apply()
793 lv_obj_add_style(obj, &styles->bg_color_primary, LV_PART_ITEMS | LV_STATE_CHECKED); in theme_apply()
794 … lv_obj_add_style(obj, &styles->bg_color_primary_muted, LV_PART_ITEMS | LV_STATE_FOCUS_KEY); in theme_apply()
795 … lv_obj_add_style(obj, &styles->bg_color_secondary_muted, LV_PART_ITEMS | LV_STATE_EDITED); in theme_apply()
801 lv_obj_add_style(obj, &styles->bg_color_white, 0); in theme_apply()
802 lv_obj_add_style(obj, &styles->outline_primary, LV_STATE_FOCUS_KEY); in theme_apply()
803 lv_obj_add_style(obj, &styles->tab_bg_focus, LV_STATE_FOCUS_KEY); in theme_apply()
804 lv_obj_add_style(obj, &styles->pressed, LV_PART_ITEMS | LV_STATE_PRESSED); in theme_apply()
805 … lv_obj_add_style(obj, &styles->bg_color_primary_muted, LV_PART_ITEMS | LV_STATE_CHECKED); in theme_apply()
806 lv_obj_add_style(obj, &styles->tab_btn, LV_PART_ITEMS | LV_STATE_CHECKED); in theme_apply()
807 lv_obj_add_style(obj, &styles->outline_primary, LV_PART_ITEMS | LV_STATE_FOCUS_KEY); in theme_apply()
808 lv_obj_add_style(obj, &styles->outline_secondary, LV_PART_ITEMS | LV_STATE_EDITED); in theme_apply()
809 lv_obj_add_style(obj, &styles->tab_bg_focus, LV_PART_ITEMS | LV_STATE_FOCUS_KEY); in theme_apply()
816 lv_obj_add_style(obj, &styles->calendar_btnm_bg, 0); in theme_apply()
817 lv_obj_add_style(obj, &styles->outline_primary, LV_STATE_FOCUS_KEY); in theme_apply()
818 lv_obj_add_style(obj, &styles->outline_secondary, LV_STATE_EDITED); in theme_apply()
819 lv_obj_add_style(obj, &styles->calendar_btnm_day, LV_PART_ITEMS); in theme_apply()
820 lv_obj_add_style(obj, &styles->pressed, LV_PART_ITEMS | LV_STATE_PRESSED); in theme_apply()
821 lv_obj_add_style(obj, &styles->disabled, LV_PART_ITEMS | LV_STATE_DISABLED); in theme_apply()
822 lv_obj_add_style(obj, &styles->outline_primary, LV_PART_ITEMS | LV_STATE_FOCUS_KEY); in theme_apply()
823 lv_obj_add_style(obj, &styles->outline_secondary, LV_PART_ITEMS | LV_STATE_EDITED); in theme_apply()
827 lv_obj_add_style(obj, &styles->card, 0); in theme_apply()
828 lv_obj_add_style(obj, &styles->outline_primary, LV_STATE_FOCUS_KEY); in theme_apply()
829 lv_obj_add_style(obj, &styles->outline_secondary, LV_STATE_EDITED); in theme_apply()
830 lv_obj_add_style(obj, &styles->btn, LV_PART_ITEMS); in theme_apply()
831 lv_obj_add_style(obj, &styles->disabled, LV_PART_ITEMS | LV_STATE_DISABLED); in theme_apply()
832 lv_obj_add_style(obj, &styles->pressed, LV_PART_ITEMS | LV_STATE_PRESSED); in theme_apply()
833 lv_obj_add_style(obj, &styles->bg_color_primary, LV_PART_ITEMS | LV_STATE_CHECKED); in theme_apply()
834 lv_obj_add_style(obj, &styles->outline_primary, LV_PART_ITEMS | LV_STATE_FOCUS_KEY); in theme_apply()
835 lv_obj_add_style(obj, &styles->outline_secondary, LV_PART_ITEMS | LV_STATE_EDITED); in theme_apply()
841 lv_obj_add_style(obj, &styles->bg_color_primary_muted, 0); in theme_apply()
842 lv_obj_add_style(obj, &styles->circle, 0); in theme_apply()
843 lv_obj_add_style(obj, &styles->outline_primary, LV_STATE_FOCUS_KEY); in theme_apply()
844 lv_obj_add_style(obj, &styles->outline_secondary, LV_STATE_EDITED); in theme_apply()
845 lv_obj_add_style(obj, &styles->bg_color_primary, LV_PART_INDICATOR); in theme_apply()
846 lv_obj_add_style(obj, &styles->circle, LV_PART_INDICATOR); in theme_apply()
852 lv_obj_add_style(obj, &styles->bg_color_primary_muted, 0); in theme_apply()
853 lv_obj_add_style(obj, &styles->circle, 0); in theme_apply()
854 lv_obj_add_style(obj, &styles->outline_primary, LV_STATE_FOCUS_KEY); in theme_apply()
855 lv_obj_add_style(obj, &styles->outline_secondary, LV_STATE_EDITED); in theme_apply()
856 lv_obj_add_style(obj, &styles->bg_color_primary, LV_PART_INDICATOR); in theme_apply()
857 lv_obj_add_style(obj, &styles->circle, LV_PART_INDICATOR); in theme_apply()
858 lv_obj_add_style(obj, &styles->knob, LV_PART_KNOB); in theme_apply()
860 lv_obj_add_style(obj, &styles->grow, LV_PART_KNOB | LV_STATE_PRESSED); in theme_apply()
862 lv_obj_add_style(obj, &styles->transition_delayed, LV_PART_KNOB); in theme_apply()
863 lv_obj_add_style(obj, &styles->transition_normal, LV_PART_KNOB | LV_STATE_PRESSED); in theme_apply()
869 lv_obj_add_style(obj, &styles->card, 0); in theme_apply()
870 lv_obj_add_style(obj, &styles->pad_zero, 0); in theme_apply()
871 lv_obj_add_style(obj, &styles->no_radius, 0); in theme_apply()
872 lv_obj_add_style(obj, &styles->outline_primary, LV_STATE_FOCUS_KEY); in theme_apply()
873 lv_obj_add_style(obj, &styles->outline_secondary, LV_STATE_EDITED); in theme_apply()
874 lv_obj_add_style(obj, &styles->scrollbar, LV_PART_SCROLLBAR); in theme_apply()
875 lv_obj_add_style(obj, &styles->scrollbar_scrolled, LV_PART_SCROLLBAR | LV_STATE_SCROLLED); in theme_apply()
876 lv_obj_add_style(obj, &styles->bg_color_white, LV_PART_ITEMS); in theme_apply()
877 lv_obj_add_style(obj, &styles->table_cell, LV_PART_ITEMS); in theme_apply()
878 lv_obj_add_style(obj, &styles->pad_normal, LV_PART_ITEMS); in theme_apply()
879 lv_obj_add_style(obj, &styles->pressed, LV_PART_ITEMS | LV_STATE_PRESSED); in theme_apply()
880 lv_obj_add_style(obj, &styles->bg_color_primary, LV_PART_ITEMS | LV_STATE_FOCUS_KEY); in theme_apply()
881 lv_obj_add_style(obj, &styles->bg_color_secondary, LV_PART_ITEMS | LV_STATE_EDITED); in theme_apply()
887 lv_obj_add_style(obj, &styles->pad_gap, 0); in theme_apply()
888 lv_obj_add_style(obj, &styles->outline_primary, LV_STATE_FOCUS_KEY); in theme_apply()
889 lv_obj_add_style(obj, &styles->disabled, LV_PART_INDICATOR | LV_STATE_DISABLED); in theme_apply()
890 lv_obj_add_style(obj, &styles->cb_marker, LV_PART_INDICATOR); in theme_apply()
891 lv_obj_add_style(obj, &styles->bg_color_primary, LV_PART_INDICATOR | LV_STATE_CHECKED); in theme_apply()
892 lv_obj_add_style(obj, &styles->cb_marker_checked, LV_PART_INDICATOR | LV_STATE_CHECKED); in theme_apply()
893 lv_obj_add_style(obj, &styles->pressed, LV_PART_INDICATOR | LV_STATE_PRESSED); in theme_apply()
895 lv_obj_add_style(obj, &styles->grow, LV_PART_INDICATOR | LV_STATE_PRESSED); in theme_apply()
897 lv_obj_add_style(obj, &styles->transition_normal, LV_PART_INDICATOR | LV_STATE_PRESSED); in theme_apply()
898 lv_obj_add_style(obj, &styles->transition_delayed, LV_PART_INDICATOR); in theme_apply()
904 lv_obj_add_style(obj, &styles->bg_color_grey, 0); in theme_apply()
905 lv_obj_add_style(obj, &styles->circle, 0); in theme_apply()
906 lv_obj_add_style(obj, &styles->anim_fast, 0); in theme_apply()
907 lv_obj_add_style(obj, &styles->disabled, LV_STATE_DISABLED); in theme_apply()
908 lv_obj_add_style(obj, &styles->outline_primary, LV_STATE_FOCUS_KEY); in theme_apply()
909 lv_obj_add_style(obj, &styles->bg_color_primary, LV_PART_INDICATOR | LV_STATE_CHECKED); in theme_apply()
910 lv_obj_add_style(obj, &styles->circle, LV_PART_INDICATOR); in theme_apply()
911 lv_obj_add_style(obj, &styles->disabled, LV_PART_INDICATOR | LV_STATE_DISABLED); in theme_apply()
912 lv_obj_add_style(obj, &styles->knob, LV_PART_KNOB); in theme_apply()
913 lv_obj_add_style(obj, &styles->bg_color_white, LV_PART_KNOB); in theme_apply()
914 lv_obj_add_style(obj, &styles->switch_knob, LV_PART_KNOB); in theme_apply()
915 lv_obj_add_style(obj, &styles->disabled, LV_PART_KNOB | LV_STATE_DISABLED); in theme_apply()
917 lv_obj_add_style(obj, &styles->transition_normal, LV_PART_INDICATOR | LV_STATE_CHECKED); in theme_apply()
918 lv_obj_add_style(obj, &styles->transition_normal, LV_PART_INDICATOR); in theme_apply()
924 lv_obj_add_style(obj, &styles->card, 0); in theme_apply()
925 lv_obj_add_style(obj, &styles->pad_small, 0); in theme_apply()
926 lv_obj_add_style(obj, &styles->chart_bg, 0); in theme_apply()
927 lv_obj_add_style(obj, &styles->scrollbar, LV_PART_SCROLLBAR); in theme_apply()
928 lv_obj_add_style(obj, &styles->scrollbar_scrolled, LV_PART_SCROLLBAR | LV_STATE_SCROLLED); in theme_apply()
929 lv_obj_add_style(obj, &styles->chart_series, LV_PART_ITEMS); in theme_apply()
930 lv_obj_add_style(obj, &styles->chart_indic, LV_PART_INDICATOR); in theme_apply()
931 lv_obj_add_style(obj, &styles->chart_ticks, LV_PART_TICKS); in theme_apply()
932 lv_obj_add_style(obj, &styles->chart_series, LV_PART_CURSOR); in theme_apply()
938 lv_obj_add_style(obj, &styles->card, 0); in theme_apply()
939 lv_obj_add_style(obj, &styles->anim, 0); in theme_apply()
940 lv_obj_add_style(obj, &styles->line_space_large, 0); in theme_apply()
941 lv_obj_add_style(obj, &styles->text_align_center, 0); in theme_apply()
942 lv_obj_add_style(obj, &styles->outline_primary, LV_STATE_FOCUS_KEY); in theme_apply()
943 lv_obj_add_style(obj, &styles->outline_secondary, LV_STATE_EDITED); in theme_apply()
944 lv_obj_add_style(obj, &styles->bg_color_primary, LV_PART_SELECTED); in theme_apply()
950 lv_obj_add_style(obj, &styles->card, 0); in theme_apply()
951 lv_obj_add_style(obj, &styles->pad_small, 0); in theme_apply()
952 lv_obj_add_style(obj, &styles->transition_delayed, 0); in theme_apply()
953 lv_obj_add_style(obj, &styles->transition_normal, LV_STATE_PRESSED); in theme_apply()
954 lv_obj_add_style(obj, &styles->pressed, LV_STATE_PRESSED); in theme_apply()
955 lv_obj_add_style(obj, &styles->outline_primary, LV_STATE_FOCUS_KEY); in theme_apply()
956 lv_obj_add_style(obj, &styles->outline_secondary, LV_STATE_EDITED); in theme_apply()
957 lv_obj_add_style(obj, &styles->transition_normal, LV_PART_INDICATOR); in theme_apply()
960 lv_obj_add_style(obj, &styles->card, 0); in theme_apply()
961 lv_obj_add_style(obj, &styles->clip_corner, 0); in theme_apply()
962 lv_obj_add_style(obj, &styles->line_space_large, 0); in theme_apply()
963 lv_obj_add_style(obj, &styles->dropdown_list, 0); in theme_apply()
964 lv_obj_add_style(obj, &styles->scrollbar, LV_PART_SCROLLBAR); in theme_apply()
965 lv_obj_add_style(obj, &styles->scrollbar_scrolled, LV_PART_SCROLLBAR | LV_STATE_SCROLLED); in theme_apply()
966 lv_obj_add_style(obj, &styles->bg_color_white, LV_PART_SELECTED); in theme_apply()
967 lv_obj_add_style(obj, &styles->bg_color_primary, LV_PART_SELECTED | LV_STATE_CHECKED); in theme_apply()
968 lv_obj_add_style(obj, &styles->pressed, LV_PART_SELECTED | LV_STATE_PRESSED); in theme_apply()
974 lv_obj_add_style(obj, &styles->arc_indic, 0); in theme_apply()
975 lv_obj_add_style(obj, &styles->arc_indic, LV_PART_INDICATOR); in theme_apply()
976 lv_obj_add_style(obj, &styles->arc_indic_primary, LV_PART_INDICATOR); in theme_apply()
977 lv_obj_add_style(obj, &styles->knob, LV_PART_KNOB); in theme_apply()
984 lv_obj_add_style(obj, &styles->arc_indic, 0); in theme_apply()
985 lv_obj_add_style(obj, &styles->arc_indic, LV_PART_INDICATOR); in theme_apply()
986 lv_obj_add_style(obj, &styles->arc_indic_primary, LV_PART_INDICATOR); in theme_apply()
992 lv_obj_add_style(obj, &styles->card, 0); in theme_apply()
993 lv_obj_add_style(obj, &styles->circle, 0); in theme_apply()
994 lv_obj_add_style(obj, &styles->meter_indic, LV_PART_INDICATOR); in theme_apply()
1000 lv_obj_add_style(obj, &styles->card, 0); in theme_apply()
1001 lv_obj_add_style(obj, &styles->pad_small, 0); in theme_apply()
1002 lv_obj_add_style(obj, &styles->disabled, LV_STATE_DISABLED); in theme_apply()
1003 lv_obj_add_style(obj, &styles->outline_primary, LV_STATE_FOCUS_KEY); in theme_apply()
1004 lv_obj_add_style(obj, &styles->outline_secondary, LV_STATE_EDITED); in theme_apply()
1005 lv_obj_add_style(obj, &styles->scrollbar, LV_PART_SCROLLBAR); in theme_apply()
1006 lv_obj_add_style(obj, &styles->scrollbar_scrolled, LV_PART_SCROLLBAR | LV_STATE_SCROLLED); in theme_apply()
1007 lv_obj_add_style(obj, &styles->ta_cursor, LV_PART_CURSOR | LV_STATE_FOCUSED); in theme_apply()
1008 lv_obj_add_style(obj, &styles->ta_placeholder, LV_PART_TEXTAREA_PLACEHOLDER); in theme_apply()
1014 lv_obj_add_style(obj, &styles->card, 0); in theme_apply()
1015 lv_obj_add_style(obj, &styles->pad_zero, 0); in theme_apply()
1021 lv_obj_add_style(obj, &styles->calendar_header, 0); in theme_apply()
1027 lv_obj_add_style(obj, &styles->calendar_header, 0); in theme_apply()
1033 lv_obj_add_style(obj, &styles->scr, 0); in theme_apply()
1034 lv_obj_add_style(obj, disp_size == DISP_LARGE ? &styles->pad_small : &styles->pad_tiny, 0); in theme_apply()
1035 lv_obj_add_style(obj, &styles->outline_primary, LV_STATE_FOCUS_KEY); in theme_apply()
1036 lv_obj_add_style(obj, &styles->outline_secondary, LV_STATE_EDITED); in theme_apply()
1037 lv_obj_add_style(obj, &styles->btn, LV_PART_ITEMS); in theme_apply()
1038 lv_obj_add_style(obj, &styles->disabled, LV_PART_ITEMS | LV_STATE_DISABLED); in theme_apply()
1039 lv_obj_add_style(obj, &styles->bg_color_white, LV_PART_ITEMS); in theme_apply()
1040 lv_obj_add_style(obj, &styles->keyboard_btn_bg, LV_PART_ITEMS); in theme_apply()
1041 lv_obj_add_style(obj, &styles->pressed, LV_PART_ITEMS | LV_STATE_PRESSED); in theme_apply()
1042 lv_obj_add_style(obj, &styles->bg_color_grey, LV_PART_ITEMS | LV_STATE_CHECKED); in theme_apply()
1043 lv_obj_add_style(obj, &styles->bg_color_primary_muted, LV_PART_ITEMS | LV_STATE_FOCUS_KEY); in theme_apply()
1044 lv_obj_add_style(obj, &styles->bg_color_secondary_muted, LV_PART_ITEMS | LV_STATE_EDITED); in theme_apply()
1049 lv_obj_add_style(obj, &styles->card, 0); in theme_apply()
1050 lv_obj_add_style(obj, &styles->list_bg, 0); in theme_apply()
1051 lv_obj_add_style(obj, &styles->scrollbar, LV_PART_SCROLLBAR); in theme_apply()
1052 lv_obj_add_style(obj, &styles->scrollbar_scrolled, LV_PART_SCROLLBAR | LV_STATE_SCROLLED); in theme_apply()
1056 lv_obj_add_style(obj, &styles->bg_color_grey, 0); in theme_apply()
1057 lv_obj_add_style(obj, &styles->list_item_grow, 0); in theme_apply()
1060 lv_obj_add_style(obj, &styles->bg_color_white, 0); in theme_apply()
1061 lv_obj_add_style(obj, &styles->list_btn, 0); in theme_apply()
1062 lv_obj_add_style(obj, &styles->bg_color_primary, LV_STATE_FOCUS_KEY); in theme_apply()
1063 lv_obj_add_style(obj, &styles->list_item_grow, LV_STATE_FOCUS_KEY); in theme_apply()
1064 lv_obj_add_style(obj, &styles->list_item_grow, LV_STATE_PRESSED); in theme_apply()
1065 lv_obj_add_style(obj, &styles->pressed, LV_STATE_PRESSED); in theme_apply()
1071 lv_obj_add_style(obj, &styles->card, 0); in theme_apply()
1072 lv_obj_add_style(obj, &styles->menu_bg, 0); in theme_apply()
1075 lv_obj_add_style(obj, &styles->menu_sidebar_cont, 0); in theme_apply()
1076 lv_obj_add_style(obj, &styles->scrollbar, LV_PART_SCROLLBAR); in theme_apply()
1077 lv_obj_add_style(obj, &styles->scrollbar_scrolled, LV_PART_SCROLLBAR | LV_STATE_SCROLLED); in theme_apply()
1080 lv_obj_add_style(obj, &styles->menu_main_cont, 0); in theme_apply()
1081 lv_obj_add_style(obj, &styles->scrollbar, LV_PART_SCROLLBAR); in theme_apply()
1082 lv_obj_add_style(obj, &styles->scrollbar_scrolled, LV_PART_SCROLLBAR | LV_STATE_SCROLLED); in theme_apply()
1085 lv_obj_add_style(obj, &styles->menu_cont, 0); in theme_apply()
1086 lv_obj_add_style(obj, &styles->menu_pressed, LV_STATE_PRESSED); in theme_apply()
1087 lv_obj_add_style(obj, &styles->bg_color_primary_muted, LV_STATE_PRESSED | LV_STATE_CHECKED); in theme_apply()
1088 lv_obj_add_style(obj, &styles->bg_color_primary_muted, LV_STATE_CHECKED); in theme_apply()
1089 lv_obj_add_style(obj, &styles->bg_color_primary, LV_STATE_FOCUS_KEY); in theme_apply()
1093 lv_obj_add_style(obj, &styles->menu_header_cont, 0); in theme_apply()
1096 lv_obj_add_style(obj, &styles->menu_page, 0); in theme_apply()
1097 lv_obj_add_style(obj, &styles->scrollbar, LV_PART_SCROLLBAR); in theme_apply()
1098 lv_obj_add_style(obj, &styles->scrollbar_scrolled, LV_PART_SCROLLBAR | LV_STATE_SCROLLED); in theme_apply()
1101 lv_obj_add_style(obj, &styles->menu_section, 0); in theme_apply()
1104 lv_obj_add_style(obj, &styles->menu_separator, 0); in theme_apply()
1109 lv_obj_add_style(obj, &styles->card, 0); in theme_apply()
1110 lv_obj_add_style(obj, &styles->msgbox_bg, 0); in theme_apply()
1114 lv_obj_add_style(obj, &styles->msgbox_backdrop_bg, 0); in theme_apply()
1119 lv_obj_add_style(obj, &styles->card, 0); in theme_apply()
1120 lv_obj_add_style(obj, &styles->pad_small, 0); in theme_apply()
1121 lv_obj_add_style(obj, &styles->outline_primary, LV_STATE_FOCUS_KEY); in theme_apply()
1122 lv_obj_add_style(obj, &styles->outline_secondary, LV_STATE_EDITED); in theme_apply()
1123 lv_obj_add_style(obj, &styles->bg_color_primary, LV_PART_CURSOR); in theme_apply()
1128 lv_obj_add_style(obj, &styles->scr, 0); in theme_apply()
1129 lv_obj_add_style(obj, &styles->scrollbar, LV_PART_SCROLLBAR); in theme_apply()
1130 lv_obj_add_style(obj, &styles->scrollbar_scrolled, LV_PART_SCROLLBAR | LV_STATE_SCROLLED); in theme_apply()
1133 lv_obj_add_style(obj, &styles->scrollbar, LV_PART_SCROLLBAR); in theme_apply()
1134 lv_obj_add_style(obj, &styles->scrollbar_scrolled, LV_PART_SCROLLBAR | LV_STATE_SCROLLED); in theme_apply()
1140 lv_obj_add_style(obj, &styles->scr, 0); in theme_apply()
1141 lv_obj_add_style(obj, &styles->pad_zero, 0); in theme_apply()
1147 lv_obj_add_style(obj, &styles->clip_corner, 0); in theme_apply()
1153 lv_obj_add_style(obj, &styles->colorwheel_main, 0); in theme_apply()
1154 lv_obj_add_style(obj, &styles->pad_normal, 0); in theme_apply()
1155 lv_obj_add_style(obj, &styles->bg_color_white, LV_PART_KNOB); in theme_apply()
1156 lv_obj_add_style(obj, &styles->pad_normal, LV_PART_KNOB); in theme_apply()
1162 lv_obj_add_style(obj, &styles->led, 0); in theme_apply()