Searched refs:play_pause_img (Results 1 – 2 of 2) sorted by relevance
/lvgl-latest/demos/high_res/ |
D | lv_demo_high_res_app_smart_home.c | 325 lv_obj_t * play_pause_img = lv_event_get_target_obj(e); in widget3_play_pause_clicked_cb() local 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() 397 lv_obj_t * play_pause_img = lv_image_create(controls); in create_widget3() local 398 …lv_image_set_src(play_pause_img, c->imgs[lv_subject_get_int(&c->api.subjects.music_play) ? IMG_PLA… in create_widget3() 400 lv_obj_set_style_image_recolor(play_pause_img, lv_color_white(), 0); in create_widget3() 401 lv_obj_set_style_image_recolor_opa(play_pause_img, LV_OPA_COVER, 0); in create_widget3() 402 lv_obj_add_flag(play_pause_img, LV_OBJ_FLAG_CLICKABLE); in create_widget3() 403 lv_obj_add_event_cb(play_pause_img, widget3_play_pause_clicked_cb, LV_EVENT_CLICKED, c); in create_widget3()
|
D | lv_demo_high_res_app_about.c | 272 lv_obj_t * play_pause_img = lv_obj_get_child(play_pause, 0); in play_pause_clicked_cb() local 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()
|