Searched refs:new_canvas (Results 1 – 1 of 1) sorted by relevance
78 lv_obj_t * new_canvas = lv_img_create(par, copy); in lv_canvas_create() local79 LV_ASSERT_MEM(new_canvas); in lv_canvas_create()80 if(new_canvas == NULL) return NULL; in lv_canvas_create()83 lv_canvas_ext_t * ext = lv_obj_allocate_ext_attr(new_canvas, sizeof(lv_canvas_ext_t)); in lv_canvas_create()86 lv_obj_del(new_canvas); in lv_canvas_create()90 if(ancestor_signal == NULL) ancestor_signal = lv_obj_get_signal_cb(new_canvas); in lv_canvas_create()91 if(ancestor_design == NULL) ancestor_design = lv_obj_get_design_cb(new_canvas); in lv_canvas_create()101 lv_img_set_src(new_canvas, &ext->dsc); in lv_canvas_create()104 lv_obj_set_signal_cb(new_canvas, lv_canvas_signal); in lv_canvas_create()108 lv_theme_apply(new_canvas, LV_THEME_CANVAS); in lv_canvas_create()[all …]