/lvgl-latest/demos/high_res/ |
D | lv_demo_high_res_app_smart_home.c | 67 &c->imgs[IMG_LIGHT_BG_SMART_HOME]); in lv_demo_high_res_app_smart_home() 90 lv_image_set_src(back_icon, c->imgs[IMG_ARROW_LEFT]); in lv_demo_high_res_app_smart_home() 143 lv_obj_set_style_bg_image_src(widget, c->imgs[IMG_SMART_HOME_WIDGET1_BG], 0); in create_widget1() 208 lv_obj_set_style_bg_image_src(widget, c->imgs[IMG_SMART_HOME_WIDGET2_BG], 0); in create_widget_charging() 291 &c->imgs[IMG_LIGHT_WIDGET2_BG]); in create_widget2() 308 lv_obj_set_style_bg_image_src(slider, c->imgs[IMG_UNLOCK], LV_PART_KNOB); in create_widget2() 328 bool was_playing = lv_image_get_src(play_pause_img) == c->imgs[IMG_PLAY_ICON]; in widget3_play_pause_clicked_cb() 329 lv_image_set_src(play_pause_img, c->imgs[was_playing ? IMG_PLAY_ICON_1 : IMG_PLAY_ICON]); in widget3_play_pause_clicked_cb() 339 &c->imgs[IMG_LIGHT_WIDGET3_BG]); in create_widget3() 383 lv_image_set_src(slider_volume_img, c->imgs[IMG_VOLUME]); in create_widget3() [all …]
|
D | lv_demo_high_res_app_about.c | 62 (void *)&c->imgs[IMG_LIGHT_BG_ABOUT]); in lv_demo_high_res_app_about() 84 lv_image_set_src(back_icon, c->imgs[IMG_ARROW_LEFT]); in lv_demo_high_res_app_about() 132 lv_obj_t * left = create_button(buttons, c->imgs[IMG_PAGER_LEFT], c); in lv_demo_high_res_app_about() 135 lv_obj_t * play_pause = create_button(buttons, c->imgs[IMG_PAGER_PAUSE], c); in lv_demo_high_res_app_about() 138 lv_obj_t * right = create_button(buttons, c->imgs[IMG_PAGER_RIGHT], c); in lv_demo_high_res_app_about() 274 if(lv_image_get_src(play_pause_img) == c->imgs[IMG_PAGER_PAUSE]) { in play_pause_clicked_cb() 275 lv_image_set_src(play_pause_img, c->imgs[IMG_PAGER_PLAY]); in play_pause_clicked_cb() 279 lv_image_set_src(play_pause_img, c->imgs[IMG_PAGER_PAUSE]); in play_pause_clicked_cb()
|
D | lv_demo_high_res_home.c | 64 …ver_obj(&c->th, lv_demo_high_res_theme_observer_image_src_cb, bg_img, &c->imgs[IMG_LIGHT_BG_HOME]); in lv_demo_high_res_home() 111 lv_image_set_src(weather_img, c->imgs[IMG_WEATHER]); in lv_demo_high_res_home() 153 …app_card_create(c, apps, "EV Charging", c->imgs[IMG_EV_CHARGING_APP_ICON], lv_demo_high_res_app_ev… in lv_demo_high_res_home() 154 …app_card_create(c, apps, "Smart Home", c->imgs[IMG_SMART_HOME_APP_ICON], lv_demo_high_res_app_smar… in lv_demo_high_res_home() 155 …app_card_create(c, apps, "Smart Meter", c->imgs[IMG_SMART_METER_APP_ICON], lv_demo_high_res_app_sm… in lv_demo_high_res_home() 156 …app_card_create(c, apps, "Thermostat", c->imgs[IMG_THERMOSTAT_APP_ICON], lv_demo_high_res_app_ther… in lv_demo_high_res_home() 157 app_card_create(c, apps, "About", c->imgs[IMG_ABOUT_APP_ICON], lv_demo_high_res_app_about); in lv_demo_high_res_home() 195 &c->imgs[IMG_LIGHT_LIGHT_THEME_ICON]); in lv_demo_high_res_home() 204 &c->imgs[IMG_LIGHT_DARK_THEME_ICON]); in lv_demo_high_res_home()
|
D | lv_demo_high_res_app_thermostat.c | 72 &c->imgs[IMG_LIGHT_BG_THERMOSTAT]); in lv_demo_high_res_app_thermostat() 95 lv_image_set_src(back_icon, c->imgs[IMG_ARROW_LEFT]); in lv_demo_high_res_app_thermostat() 150 &c->imgs[IMG_LIGHT_WIDGET1_BG]); in create_widget1() 287 lv_image_set_src(minus, c->imgs[IMG_MINUS]); in create_widget2_value() 305 lv_image_set_src(plus, c->imgs[IMG_PLUS]); in create_widget2_value() 316 &c->imgs[IMG_LIGHT_WIDGET1_BG]); in create_widget2() 488 …lv_obj_set_size(widget, c->imgs[IMG_LIGHT_WIDGET5_BG]->header.w, c->imgs[IMG_LIGHT_WIDGET5_BG]->he… in create_widget3() 490 &c->imgs[IMG_LIGHT_WIDGET5_BG]); in create_widget3() 574 …lv_obj_t * setting1 = create_widget3_setting(c, setting_box, c->imgs[IMG_COLD_ICON], "Cold", true); in create_widget3() 575 … lv_obj_t * setting2 = create_widget3_setting(c, setting_box, c->imgs[IMG_DRY_ICON], "Dry", false); in create_widget3() [all …]
|
D | lv_demo_high_res_app_ev_charging.c | 87 &c->imgs[IMG_LIGHT_BG_EV_CHARGING]); in lv_demo_high_res_app_ev_charging() 129 lv_image_set_src(back_icon, c->imgs[IMG_ARROW_LEFT]); in lv_demo_high_res_app_ev_charging() 248 &c->imgs[IMG_LIGHT_WIDGET3_BG]); in create_widget1() 342 &c->imgs[IMG_LIGHT_WIDGET1_BG]); in create_widget2() 493 …lv_obj_set_size(widget, c->imgs[IMG_LIGHT_WIDGET5_BG]->header.w, c->imgs[IMG_LIGHT_WIDGET5_BG]->he… in create_widget3() 497 …lv_obj_set_style_bg_image_src(widget, c->imgs[is_animating ? IMG_EV_CHARGING_WIDGET3_BG : IMG_EV_C… in create_widget3() 550 …anim_state->time_to_full_label = create_widget3_info(c, info_box, c->imgs[IMG_TIME_ICON], "Time to… in create_widget3() 551 …anim_state->energy_consumed_label = create_widget3_info(c, info_box, c->imgs[IMG_ENERGY_ICON], "En… in create_widget3() 553 …anim_state->driving_range_label = create_widget3_info(c, info_box, c->imgs[IMG_RANGE_ICON], "Drivi… in create_widget3() 578 …lv_obj_set_style_bg_image_src(widget, c->imgs[was_charging ? IMG_EV_CHARGING_WIDGET3_1_BG : IMG_EV… in charging_status_box_clicked_cb()
|
D | lv_demo_high_res_top_margin.c | 93 lv_image_set_src(logout_icon, c->imgs[IMG_LOGOUT_ICON]); in lv_demo_high_res_top_margin_create() 103 lv_image_set_src(wifi_icon, c->imgs[IMG_WIFI_ICON]); in lv_demo_high_res_top_margin_create() 109 …n = create_icon(top_margin_right_cluster, &c->top_margin_health_subject, &c->imgs[IMG_HEALTH_ICON], in lv_demo_high_res_top_margin_create() 111 …lv_image_set_src(health_icon, c->imgs[lv_subject_get_int(&c->top_margin_health_subject) ? IMG_HEAL… in lv_demo_high_res_top_margin_create() 118 &c->imgs[IMG_SETTING_ICON], c); in lv_demo_high_res_top_margin_create() 119 …lv_image_set_src(settings_icon, c->imgs[lv_subject_get_int(&c->top_margin_setting_subject) ? IMG_S… in lv_demo_high_res_top_margin_create()
|
D | lv_demo_high_res_app_smart_meter.c | 85 &c->imgs[IMG_LIGHT_BG_SMART_METER]); in lv_demo_high_res_app_smart_meter() 108 lv_image_set_src(back_icon, c->imgs[IMG_ARROW_LEFT]); in lv_demo_high_res_app_smart_meter() 154 &c->imgs[IMG_LIGHT_WIDGET1_BG]); in create_widget1_part() 404 &c->imgs[IMG_LIGHT_WIDGET1_BG]); in create_widget2() 621 …lv_obj_set_size(widget, c->imgs[IMG_LIGHT_WIDGET5_BG]->header.w, c->imgs[IMG_LIGHT_WIDGET5_BG]->he… in create_widget3() 623 &c->imgs[IMG_LIGHT_WIDGET5_BG]); in create_widget3()
|
D | lv_demo_high_res_private.h | 187 lv_image_dsc_t * imgs[IMG_COUNT]; member
|
D | lv_demo_high_res_util.c | 263 c->imgs[i] = lv_demo_high_res_image_preload(path_buf, image_details[i].cf, LV_SCALE_NONE); in lv_demo_high_res_base_obj_create() 558 lv_draw_buf_destroy((lv_draw_buf_t *)c->imgs[i]); in free_ctx_event_cb()
|