parent
3a0c42f924
commit
85379b359c
@ -0,0 +1,52 @@ |
||||
#ifdef __has_include |
||||
#if __has_include("lvgl.h") |
||||
#ifndef LV_LVGL_H_INCLUDE_SIMPLE |
||||
#define LV_LVGL_H_INCLUDE_SIMPLE |
||||
#endif |
||||
#endif |
||||
#endif |
||||
|
||||
#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_BATTERY_20 |
||||
#define LV_ATTRIBUTE_IMG_BATTERY_20 |
||||
#endif |
||||
|
||||
const LV_ATTRIBUTE_MEM_ALIGN LV_ATTRIBUTE_LARGE_CONST LV_ATTRIBUTE_IMG_BATTERY_20 uint8_t battery_20_map[] = { |
||||
0x00, 0x00, 0x00, 0xff, /*Color of index 0*/ |
||||
0xfd, 0xfe, 0xfd, 0xff, /*Color of index 1*/ |
||||
0x26, 0xc1, 0x38, 0xff, /*Color of index 2*/ |
||||
0x01, 0xbe, 0x37, 0xff, /*Color of index 3*/ |
||||
|
||||
0x55, 0x00, 0x55,
|
||||
0x54, 0x00, 0x15,
|
||||
0x54, 0x55, 0x15,
|
||||
0x54, 0x55, 0x15,
|
||||
0x54, 0x55, 0x15,
|
||||
0x54, 0x55, 0x15,
|
||||
0x54, 0x55, 0x15,
|
||||
0x54, 0x55, 0x15,
|
||||
0x54, 0x55, 0x15,
|
||||
0x54, 0xaa, 0x15,
|
||||
0x54, 0xff, 0x15,
|
||||
0x54, 0x00, 0x15,
|
||||
}; |
||||
|
||||
const lv_img_dsc_t battery_20 = { |
||||
.header.cf = LV_IMG_CF_INDEXED_2BIT, |
||||
.header.always_zero = 0, |
||||
.header.reserved = 0, |
||||
.header.w = 12, |
||||
.header.h = 12, |
||||
.data_size = 52, |
||||
.data = battery_20_map, |
||||
}; |
@ -0,0 +1,52 @@ |
||||
#ifdef __has_include |
||||
#if __has_include("lvgl.h") |
||||
#ifndef LV_LVGL_H_INCLUDE_SIMPLE |
||||
#define LV_LVGL_H_INCLUDE_SIMPLE |
||||
#endif |
||||
#endif |
||||
#endif |
||||
|
||||
#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_BATTERY_40 |
||||
#define LV_ATTRIBUTE_IMG_BATTERY_40 |
||||
#endif |
||||
|
||||
const LV_ATTRIBUTE_MEM_ALIGN LV_ATTRIBUTE_LARGE_CONST LV_ATTRIBUTE_IMG_BATTERY_40 uint8_t battery_40_map[] = { |
||||
0x00, 0x00, 0x00, 0xff, /*Color of index 0*/ |
||||
0xfd, 0xfe, 0xfd, 0xff, /*Color of index 1*/ |
||||
0x26, 0xc1, 0x38, 0xff, /*Color of index 2*/ |
||||
0x01, 0xbe, 0x37, 0xff, /*Color of index 3*/ |
||||
|
||||
0x55, 0x00, 0x55,
|
||||
0x54, 0x00, 0x15,
|
||||
0x54, 0x55, 0x15,
|
||||
0x54, 0x55, 0x15,
|
||||
0x54, 0x55, 0x15,
|
||||
0x54, 0x55, 0x15,
|
||||
0x54, 0x55, 0x15,
|
||||
0x54, 0x55, 0x15,
|
||||
0x54, 0xaa, 0x15,
|
||||
0x54, 0xff, 0x15,
|
||||
0x54, 0xff, 0x15,
|
||||
0x54, 0x00, 0x15,
|
||||
}; |
||||
|
||||
const lv_img_dsc_t battery_40 = { |
||||
.header.cf = LV_IMG_CF_INDEXED_2BIT, |
||||
.header.always_zero = 0, |
||||
.header.reserved = 0, |
||||
.header.w = 12, |
||||
.header.h = 12, |
||||
.data_size = 52, |
||||
.data = battery_40_map, |
||||
}; |
@ -0,0 +1,52 @@ |
||||
#ifdef __has_include |
||||
#if __has_include("lvgl.h") |
||||
#ifndef LV_LVGL_H_INCLUDE_SIMPLE |
||||
#define LV_LVGL_H_INCLUDE_SIMPLE |
||||
#endif |
||||
#endif |
||||
#endif |
||||
|
||||
#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_BATTERY_60 |
||||
#define LV_ATTRIBUTE_IMG_BATTERY_60 |
||||
#endif |
||||
|
||||
const LV_ATTRIBUTE_MEM_ALIGN LV_ATTRIBUTE_LARGE_CONST LV_ATTRIBUTE_IMG_BATTERY_60 uint8_t battery_60_map[] = { |
||||
0x00, 0x00, 0x00, 0xff, /*Color of index 0*/ |
||||
0xfd, 0xfe, 0xfd, 0xff, /*Color of index 1*/ |
||||
0x26, 0xc1, 0x38, 0xff, /*Color of index 2*/ |
||||
0x01, 0xbe, 0x37, 0xff, /*Color of index 3*/ |
||||
|
||||
0x55, 0x00, 0x55,
|
||||
0x54, 0x00, 0x15,
|
||||
0x54, 0x55, 0x15,
|
||||
0x54, 0x55, 0x15,
|
||||
0x54, 0x55, 0x15,
|
||||
0x54, 0x55, 0x15,
|
||||
0x54, 0xaa, 0x15,
|
||||
0x54, 0xaa, 0x15,
|
||||
0x54, 0xaa, 0x15,
|
||||
0x54, 0xff, 0x15,
|
||||
0x54, 0xff, 0x15,
|
||||
0x54, 0x00, 0x15,
|
||||
}; |
||||
|
||||
const lv_img_dsc_t battery_60 = { |
||||
.header.cf = LV_IMG_CF_INDEXED_2BIT, |
||||
.header.always_zero = 0, |
||||
.header.reserved = 0, |
||||
.header.w = 12, |
||||
.header.h = 12, |
||||
.data_size = 52, |
||||
.data = battery_60_map, |
||||
}; |
@ -0,0 +1,52 @@ |
||||
#ifdef __has_include |
||||
#if __has_include("lvgl.h") |
||||
#ifndef LV_LVGL_H_INCLUDE_SIMPLE |
||||
#define LV_LVGL_H_INCLUDE_SIMPLE |
||||
#endif |
||||
#endif |
||||
#endif |
||||
|
||||
#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_BATTERY_80 |
||||
#define LV_ATTRIBUTE_IMG_BATTERY_80 |
||||
#endif |
||||
|
||||
const LV_ATTRIBUTE_MEM_ALIGN LV_ATTRIBUTE_LARGE_CONST LV_ATTRIBUTE_IMG_BATTERY_80 uint8_t battery_80_map[] = { |
||||
0x00, 0x00, 0x00, 0xff, /*Color of index 0*/ |
||||
0xfd, 0xfe, 0xfd, 0xff, /*Color of index 1*/ |
||||
0x26, 0xc1, 0x38, 0xff, /*Color of index 2*/ |
||||
0x01, 0xbe, 0x37, 0xff, /*Color of index 3*/ |
||||
|
||||
0x55, 0x00, 0x55,
|
||||
0x54, 0x00, 0x15,
|
||||
0x54, 0x55, 0x15,
|
||||
0x54, 0x55, 0x15,
|
||||
0x54, 0xaa, 0x15,
|
||||
0x54, 0xaa, 0x15,
|
||||
0x54, 0xaa, 0x15,
|
||||
0x54, 0xaa, 0x15,
|
||||
0x54, 0xaa, 0x15,
|
||||
0x54, 0xff, 0x15,
|
||||
0x54, 0xff, 0x15,
|
||||
0x54, 0x00, 0x15,
|
||||
}; |
||||
|
||||
const lv_img_dsc_t battery_80 = { |
||||
.header.cf = LV_IMG_CF_INDEXED_2BIT, |
||||
.header.always_zero = 0, |
||||
.header.reserved = 0, |
||||
.header.w = 12, |
||||
.header.h = 12, |
||||
.data_size = 52, |
||||
.data = battery_80_map, |
||||
}; |
@ -0,0 +1,52 @@ |
||||
#ifdef __has_include |
||||
#if __has_include("lvgl.h") |
||||
#ifndef LV_LVGL_H_INCLUDE_SIMPLE |
||||
#define LV_LVGL_H_INCLUDE_SIMPLE |
||||
#endif |
||||
#endif |
||||
#endif |
||||
|
||||
#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_BATTERY_EMPTY |
||||
#define LV_ATTRIBUTE_IMG_BATTERY_EMPTY |
||||
#endif |
||||
|
||||
const LV_ATTRIBUTE_MEM_ALIGN LV_ATTRIBUTE_LARGE_CONST LV_ATTRIBUTE_IMG_BATTERY_EMPTY uint8_t battery_empty_map[] = { |
||||
0xfd, 0xfd, 0xfd, 0xff, /*Color of index 0*/ |
||||
0x00, 0x00, 0x00, 0xff, /*Color of index 1*/ |
||||
0x26, 0x2c, 0xfa, 0xff, /*Color of index 2*/ |
||||
0x00, 0x00, 0x00, 0x00, /*Color of index 3*/ |
||||
|
||||
0x00, 0x55, 0x00,
|
||||
0x01, 0x55, 0x40,
|
||||
0x01, 0x00, 0x40,
|
||||
0x01, 0x00, 0x40,
|
||||
0x01, 0x00, 0x40,
|
||||
0x01, 0x00, 0x40,
|
||||
0x01, 0x00, 0x40,
|
||||
0x01, 0x00, 0x40,
|
||||
0x01, 0x00, 0x40,
|
||||
0x01, 0xaa, 0x40,
|
||||
0x01, 0xaa, 0x40,
|
||||
0x01, 0x55, 0x40,
|
||||
}; |
||||
|
||||
const lv_img_dsc_t battery_empty = { |
||||
.header.cf = LV_IMG_CF_INDEXED_2BIT, |
||||
.header.always_zero = 0, |
||||
.header.reserved = 0, |
||||
.header.w = 12, |
||||
.header.h = 12, |
||||
.data_size = 52, |
||||
.data = battery_empty_map, |
||||
}; |
@ -0,0 +1,52 @@ |
||||
#ifdef __has_include |
||||
#if __has_include("lvgl.h") |
||||
#ifndef LV_LVGL_H_INCLUDE_SIMPLE |
||||
#define LV_LVGL_H_INCLUDE_SIMPLE |
||||
#endif |
||||
#endif |
||||
#endif |
||||
|
||||
#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_BATTERY_FULL |
||||
#define LV_ATTRIBUTE_IMG_BATTERY_FULL |
||||
#endif |
||||
|
||||
const LV_ATTRIBUTE_MEM_ALIGN LV_ATTRIBUTE_LARGE_CONST LV_ATTRIBUTE_IMG_BATTERY_FULL uint8_t battery_full_map[] = { |
||||
0x00, 0x00, 0x00, 0xff, /*Color of index 0*/ |
||||
0xfd, 0xfe, 0xfd, 0xff, /*Color of index 1*/ |
||||
0x26, 0xc1, 0x38, 0xff, /*Color of index 2*/ |
||||
0x01, 0xbe, 0x37, 0xff, /*Color of index 3*/ |
||||
|
||||
0x55, 0x00, 0x55,
|
||||
0x54, 0x00, 0x15,
|
||||
0x54, 0xaa, 0x15,
|
||||
0x54, 0xaa, 0x15,
|
||||
0x54, 0xaa, 0x15,
|
||||
0x54, 0xaa, 0x15,
|
||||
0x54, 0xaa, 0x15,
|
||||
0x54, 0xaa, 0x15,
|
||||
0x54, 0xaa, 0x15,
|
||||
0x54, 0xff, 0x15,
|
||||
0x54, 0xff, 0x15,
|
||||
0x54, 0x00, 0x15,
|
||||
}; |
||||
|
||||
const lv_img_dsc_t battery_full = { |
||||
.header.cf = LV_IMG_CF_INDEXED_2BIT, |
||||
.header.always_zero = 0, |
||||
.header.reserved = 0, |
||||
.header.w = 12, |
||||
.header.h = 12, |
||||
.data_size = 52, |
||||
.data = battery_full_map, |
||||
}; |
After Width: | Height: | Size: 617 B |
After Width: | Height: | Size: 617 B |
After Width: | Height: | Size: 618 B |
After Width: | Height: | Size: 622 B |
After Width: | Height: | Size: 614 B |
After Width: | Height: | Size: 618 B |
Loading…
Reference in new issue