fix(image): add data_size filed to all c-array images (#5608)

Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
This commit is contained in:
Neo Xu
2024-02-07 12:13:00 +08:00
committed by GitHub
parent d697a3fc95
commit 7579b96b9b
109 changed files with 112 additions and 62 deletions

View File

@@ -251,6 +251,7 @@ const lv_image_dsc_t img_clothes = {
.header.h = 56,
.header.cf = LV_COLOR_DEPTH == 16 ? LV_COLOR_FORMAT_RGB565A8 : LV_COLOR_FORMAT_ARGB8888,
.data = img_clothes_map,
.data_size = sizeof(img_clothes_map),
};
#endif

View File

@@ -184,4 +184,5 @@ const lv_image_dsc_t img_demo_widgets_avatar = {
.header.w = 160,
.header.h = 154,
.data = img_demo_widgets_avatar_map,
.data_size = sizeof(img_demo_widgets_avatar_map),
};

View File

@@ -62,6 +62,7 @@ const lv_image_dsc_t img_lvgl_logo = {
.header.h = 43,
.header.cf = LV_COLOR_FORMAT_ARGB8888,
.data = img_lvgl_logo_map,
.data_size = sizeof(img_lvgl_logo_map),
};
#endif