mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-28 07:03:00 +08:00
test fix warning and docs build error
This commit is contained in:
parent
18f61c5f77
commit
d908f31f8f
@ -26,5 +26,16 @@ void lv_example_freetype_1(void)
|
|||||||
lv_label_set_text(label, "Hello world\nI'm a font created with FreeType");
|
lv_label_set_text(label, "Hello world\nI'm a font created with FreeType");
|
||||||
lv_obj_center(label);
|
lv_obj_center(label);
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
|
||||||
|
void lv_example_freetype_1(void)
|
||||||
|
{
|
||||||
|
/*TODO
|
||||||
|
*fallback for online examples*/
|
||||||
|
|
||||||
|
lv_obj_t * label = lv_label_create(lv_scr_act());
|
||||||
|
lv_label_set_text(label, "FreeType is not installed");
|
||||||
|
lv_obj_center(label);
|
||||||
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -145,7 +145,7 @@ static void next_frame_task_cb(lv_timer_t * t)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
gd_render_frame(gifobj->gif, gifobj->imgdsc.data);
|
gd_render_frame(gifobj->gif, (uint8_t *)gifobj->imgdsc.data);
|
||||||
|
|
||||||
lv_img_cache_invalidate_src(lv_img_get_src(obj));
|
lv_img_cache_invalidate_src(lv_img_get_src(obj));
|
||||||
lv_obj_invalidate(obj);
|
lv_obj_invalidate(obj);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user