mirror of
https://github.com/lvgl/lvgl.git
synced 2026-06-01 08:54:52 +08:00
refactor(btn, img): rename btn to button and img to image
This commit is contained in:
@@ -7,10 +7,10 @@
|
||||
#ifndef LV_ATTRIBUTE_MEM_ALIGN
|
||||
#define LV_ATTRIBUTE_MEM_ALIGN
|
||||
#endif
|
||||
#ifndef LV_ATTRIBUTE_IMG_1F617
|
||||
#define LV_ATTRIBUTE_IMG_1F617
|
||||
#ifndef LV_ATTRIBUTE_IMAGE_1F617
|
||||
#define LV_ATTRIBUTE_IMAGE_1F617
|
||||
#endif
|
||||
const LV_ATTRIBUTE_MEM_ALIGN LV_ATTRIBUTE_IMG_1F617 uint8_t emoji_F617_map[] = {
|
||||
const LV_ATTRIBUTE_MEM_ALIGN LV_ATTRIBUTE_IMAGE_1F617 uint8_t emoji_F617_map[] = {
|
||||
#if LV_COLOR_DEPTH == 1 || LV_COLOR_DEPTH == 8
|
||||
/*Pixel format: Red: 3 bit, Green: 3 bit, Blue: 2 bit*/
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xd1,
|
||||
@@ -238,7 +238,7 @@ const LV_ATTRIBUTE_MEM_ALIGN LV_ATTRIBUTE_IMG_1F617 uint8_t emoji_F617_map[] = {
|
||||
#endif
|
||||
};
|
||||
|
||||
const lv_img_dsc_t emoji_F617 = {
|
||||
const lv_image_dsc_t emoji_F617 = {
|
||||
.header.cf = LV_COLOR_FORMAT_NATIVE,
|
||||
.header.always_zero = 0,
|
||||
.header.w = 72,
|
||||
|
||||
Reference in New Issue
Block a user