mirror of
https://github.com/lvgl/lvgl.git
synced 2026-05-28 13:36:27 +08:00
fix(demos/smartwatch): fix image color format error (#7819)
Signed-off-by: jialuxiao <jialuxiao@xiaomi.com>
This commit is contained in:
@@ -34,6 +34,6 @@ const lv_img_dsc_t img_application_icon = {
|
|||||||
.header.w = 24,
|
.header.w = 24,
|
||||||
.header.h = 24,
|
.header.h = 24,
|
||||||
.data_size = sizeof(img_application_icon_data),
|
.data_size = sizeof(img_application_icon_data),
|
||||||
.header.cf = LV_COLOR_FORMAT_NATIVE_WITH_ALPHA,
|
.header.cf = LV_COLOR_FORMAT_RGB565A8,
|
||||||
.data = img_application_icon_data};
|
.data = img_application_icon_data};
|
||||||
|
|
||||||
|
|||||||
@@ -34,6 +34,6 @@ const lv_img_dsc_t img_chat_icon = {
|
|||||||
.header.w = 24,
|
.header.w = 24,
|
||||||
.header.h = 24,
|
.header.h = 24,
|
||||||
.data_size = sizeof(img_chat_icon_data),
|
.data_size = sizeof(img_chat_icon_data),
|
||||||
.header.cf = LV_COLOR_FORMAT_NATIVE_WITH_ALPHA,
|
.header.cf = LV_COLOR_FORMAT_RGB565A8,
|
||||||
.data = img_chat_icon_data};
|
.data = img_chat_icon_data};
|
||||||
|
|
||||||
|
|||||||
@@ -34,6 +34,6 @@ const lv_img_dsc_t img_cloud_icon = {
|
|||||||
.header.w = 24,
|
.header.w = 24,
|
||||||
.header.h = 24,
|
.header.h = 24,
|
||||||
.data_size = sizeof(img_cloud_icon_data),
|
.data_size = sizeof(img_cloud_icon_data),
|
||||||
.header.cf = LV_COLOR_FORMAT_NATIVE_WITH_ALPHA,
|
.header.cf = LV_COLOR_FORMAT_RGB565A8,
|
||||||
.data = img_cloud_icon_data};
|
.data = img_cloud_icon_data};
|
||||||
|
|
||||||
|
|||||||
@@ -34,6 +34,6 @@ const lv_img_dsc_t img_note_icon = {
|
|||||||
.header.w = 24,
|
.header.w = 24,
|
||||||
.header.h = 24,
|
.header.h = 24,
|
||||||
.data_size = sizeof(img_note_icon_data),
|
.data_size = sizeof(img_note_icon_data),
|
||||||
.header.cf = LV_COLOR_FORMAT_NATIVE_WITH_ALPHA,
|
.header.cf = LV_COLOR_FORMAT_RGB565A8,
|
||||||
.data = img_note_icon_data};
|
.data = img_note_icon_data};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user