Home
last modified time | relevance | path

Searched refs:play_obj (Results 1 – 1 of 1) sorted by relevance

/lvgl-3.7.0/demos/music/
Dlv_demo_music_main.c94 static lv_obj_t * play_obj; variable
350 lv_obj_add_state(play_obj, LV_STATE_CHECKED); in _lv_demo_music_resume()
363 lv_obj_clear_state(play_obj, LV_STATE_CHECKED); in _lv_demo_music_pause()
582 play_obj = lv_imgbtn_create(cont); in create_ctrl_box()
583 lv_imgbtn_set_src(play_obj, LV_IMGBTN_STATE_RELEASED, NULL, &img_lv_demo_music_btn_play, NULL); in create_ctrl_box()
584 …lv_imgbtn_set_src(play_obj, LV_IMGBTN_STATE_CHECKED_RELEASED, NULL, &img_lv_demo_music_btn_pause, … in create_ctrl_box()
585 lv_obj_add_flag(play_obj, LV_OBJ_FLAG_CHECKABLE); in create_ctrl_box()
586 lv_obj_set_grid_cell(play_obj, LV_GRID_ALIGN_CENTER, 3, 1, LV_GRID_ALIGN_CENTER, 0, 1); in create_ctrl_box()
588 lv_obj_add_event_cb(play_obj, play_event_click_cb, LV_EVENT_CLICKED, NULL); in create_ctrl_box()
589 lv_obj_add_flag(play_obj, LV_OBJ_FLAG_CLICKABLE); in create_ctrl_box()
[all …]