Update function calls with LV_IMG_ENABLE_SYMBOLS 1
This commit is contained in:
@@ -299,7 +299,7 @@ static void lv_refr_area_part_vdb(const area_t * area_p)
|
|||||||
|
|
||||||
/*Do the refreshing from the top object*/
|
/*Do the refreshing from the top object*/
|
||||||
lv_refr_make(top_p, &start_mask);
|
lv_refr_make(top_p, &start_mask);
|
||||||
|
|
||||||
/*Flush the content of the VDB*/
|
/*Flush the content of the VDB*/
|
||||||
lv_vdb_flush();
|
lv_vdb_flush();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -325,7 +325,7 @@ static bool lv_img_design(lv_obj_t * img, const area_t * mask, lv_design_mode_t
|
|||||||
for(; cords_tmp.x1 < cords.x2; cords_tmp.x1 += ext->w, cords_tmp.x2 += ext->w) {
|
for(; cords_tmp.x1 < cords.x2; cords_tmp.x1 += ext->w, cords_tmp.x2 += ext->w) {
|
||||||
|
|
||||||
#if LV_IMG_ENABLE_SYMBOLS == 0
|
#if LV_IMG_ENABLE_SYMBOLS == 0
|
||||||
lv_draw_img(&cords_tmp, mask, style, opa, ext->fn);
|
lv_draw_img(&cords_tmp, mask, style, ext->fn);
|
||||||
#else
|
#else
|
||||||
if(sym == false) lv_draw_img(&cords_tmp, mask, style, ext->fn);
|
if(sym == false) lv_draw_img(&cords_tmp, mask, style, ext->fn);
|
||||||
else lv_draw_label(&cords_tmp, mask, style, ext->fn, TXT_FLAG_NONE, NULL);
|
else lv_draw_label(&cords_tmp, mask, style, ext->fn, TXT_FLAG_NONE, NULL);
|
||||||
|
|||||||
Reference in New Issue
Block a user