53 lines
890 B
C
53 lines
890 B
C
#if defined(LV_LVGL_H_INCLUDE_SIMPLE)
|
|
#include "lvgl.h"
|
|
#else
|
|
#include "lvgl/lvgl.h"
|
|
#endif
|
|
|
|
|
|
#ifndef LV_ATTRIBUTE_MEM_ALIGN
|
|
#define LV_ATTRIBUTE_MEM_ALIGN
|
|
#endif
|
|
|
|
#ifndef LV_ATTRIBUTE_IMG_BATTERYICON
|
|
#define LV_ATTRIBUTE_IMG_BATTERYICON
|
|
#endif
|
|
|
|
const LV_ATTRIBUTE_MEM_ALIGN LV_ATTRIBUTE_LARGE_CONST LV_ATTRIBUTE_IMG_BATTERYICON uint8_t batteryicon_map[] = {
|
|
0xff, 0xff, 0xff, 0xff, /*Color of index 0*/
|
|
0x6a, 0xfc, 0x6c, 0xff, /*Color of index 1*/
|
|
|
|
0xe0, 0x70,
|
|
0xe0, 0x70,
|
|
0x00, 0x00,
|
|
0x00, 0x00,
|
|
0x3f, 0xc0,
|
|
0x3f, 0xc0,
|
|
0x3f, 0xc0,
|
|
0x3f, 0xc0,
|
|
0x3f, 0xc0,
|
|
0x3f, 0xc0,
|
|
0x3f, 0xc0,
|
|
0x3f, 0xc0,
|
|
0x3f, 0xc0,
|
|
0x3f, 0xc0,
|
|
0x3f, 0xc0,
|
|
0x3f, 0xc0,
|
|
0x3f, 0xc0,
|
|
0x3f, 0xc0,
|
|
0x00, 0x00,
|
|
0x00, 0x00,
|
|
};
|
|
|
|
const lv_img_dsc_t batteryicon = {
|
|
{
|
|
LV_IMG_CF_INDEXED_1BIT,
|
|
0,
|
|
0,
|
|
12,
|
|
20,
|
|
},
|
|
48,
|
|
batteryicon_map,
|
|
};
|