parent
fa7fa98dc1
commit
c214d4b40e
@ -0,0 +1,54 @@ |
|||||||
|
#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_BLUETOOTH |
||||||
|
#define LV_ATTRIBUTE_IMG_BLUETOOTH |
||||||
|
#endif |
||||||
|
|
||||||
|
static const LV_ATTRIBUTE_MEM_ALIGN LV_ATTRIBUTE_LARGE_CONST LV_ATTRIBUTE_IMG_BLUETOOTH uint8_t bluetooth_map[] = { |
||||||
|
0xfe, 0xfe, 0xfe, 0xff, /*Color of index 0*/ |
||||||
|
0xff, 0x75, 0x00, 0xff, /*Color of index 1*/ |
||||||
|
0x00, 0x00, 0x00, 0x00, /*Color of index 2*/ |
||||||
|
0x00, 0x00, 0x00, 0x00, /*Color of index 3*/ |
||||||
|
|
||||||
|
0x00, 0x55, 0x40, 0x00,
|
||||||
|
0x01, 0x51, 0x50, 0x00,
|
||||||
|
0x05, 0x50, 0x54, 0x00,
|
||||||
|
0x05, 0x51, 0x14, 0x00,
|
||||||
|
0x05, 0x11, 0x04, 0x00,
|
||||||
|
0x15, 0x40, 0x15, 0x00,
|
||||||
|
0x15, 0x50, 0x55, 0x00,
|
||||||
|
0x15, 0x40, 0x15, 0x00,
|
||||||
|
0x05, 0x11, 0x04, 0x00,
|
||||||
|
0x05, 0x51, 0x14, 0x00,
|
||||||
|
0x05, 0x50, 0x54, 0x00,
|
||||||
|
0x01, 0x51, 0x50, 0x00,
|
||||||
|
0x00, 0x55, 0x40, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00,
|
||||||
|
}; |
||||||
|
|
||||||
|
const lv_img_dsc_t kIconBluetooth = { |
||||||
|
.header.cf = LV_IMG_CF_INDEXED_2BIT, |
||||||
|
.header.always_zero = 0, |
||||||
|
.header.reserved = 0, |
||||||
|
.header.w = 14, |
||||||
|
.header.h = 14, |
||||||
|
.data_size = 72, |
||||||
|
.data = bluetooth_map, |
||||||
|
}; |
@ -0,0 +1,54 @@ |
|||||||
|
#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_PAUSE |
||||||
|
#define LV_ATTRIBUTE_IMG_PAUSE |
||||||
|
#endif |
||||||
|
|
||||||
|
static const LV_ATTRIBUTE_MEM_ALIGN LV_ATTRIBUTE_LARGE_CONST LV_ATTRIBUTE_IMG_PAUSE uint8_t pause_map[] = { |
||||||
|
0xfe, 0xfe, 0xfe, 0xff, /*Color of index 0*/ |
||||||
|
0x00, 0x00, 0x00, 0xff, /*Color of index 1*/ |
||||||
|
0x00, 0x00, 0x00, 0x00, /*Color of index 2*/ |
||||||
|
0x00, 0x00, 0x00, 0x00, /*Color of index 3*/ |
||||||
|
|
||||||
|
0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x50, 0x14, 0x00,
|
||||||
|
0x00, 0x50, 0x14, 0x00,
|
||||||
|
0x00, 0x50, 0x14, 0x00,
|
||||||
|
0x00, 0x50, 0x14, 0x00,
|
||||||
|
0x00, 0x50, 0x14, 0x00,
|
||||||
|
0x00, 0x50, 0x14, 0x00,
|
||||||
|
0x00, 0x50, 0x14, 0x00,
|
||||||
|
0x00, 0x50, 0x14, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00,
|
||||||
|
}; |
||||||
|
|
||||||
|
const lv_img_dsc_t kIconPause = { |
||||||
|
.header.cf = LV_IMG_CF_INDEXED_2BIT, |
||||||
|
.header.always_zero = 0, |
||||||
|
.header.reserved = 0, |
||||||
|
.header.w = 14, |
||||||
|
.header.h = 14, |
||||||
|
.data_size = 72, |
||||||
|
.data = pause_map, |
||||||
|
}; |
@ -0,0 +1,54 @@ |
|||||||
|
#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_PLAY |
||||||
|
#define LV_ATTRIBUTE_IMG_PLAY |
||||||
|
#endif |
||||||
|
|
||||||
|
static const LV_ATTRIBUTE_MEM_ALIGN LV_ATTRIBUTE_LARGE_CONST LV_ATTRIBUTE_IMG_PLAY uint8_t play_map[] = { |
||||||
|
0xfe, 0xfe, 0xfe, 0xff, /*Color of index 0*/ |
||||||
|
0x00, 0x00, 0x00, 0xff, /*Color of index 1*/ |
||||||
|
0x00, 0x00, 0x00, 0x00, /*Color of index 2*/ |
||||||
|
0x00, 0x00, 0x00, 0x00, /*Color of index 3*/ |
||||||
|
|
||||||
|
0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x50, 0x00, 0x00,
|
||||||
|
0x00, 0x55, 0x00, 0x00,
|
||||||
|
0x00, 0x55, 0x50, 0x00,
|
||||||
|
0x00, 0x55, 0x54, 0x00,
|
||||||
|
0x00, 0x55, 0x54, 0x00,
|
||||||
|
0x00, 0x55, 0x50, 0x00,
|
||||||
|
0x00, 0x55, 0x00, 0x00,
|
||||||
|
0x00, 0x50, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00,
|
||||||
|
0x00, 0x00, 0x00, 0x00,
|
||||||
|
}; |
||||||
|
|
||||||
|
const lv_img_dsc_t kIconPlay = { |
||||||
|
.header.cf = LV_IMG_CF_INDEXED_2BIT, |
||||||
|
.header.always_zero = 0, |
||||||
|
.header.reserved = 0, |
||||||
|
.header.w = 14, |
||||||
|
.header.h = 14, |
||||||
|
.data_size = 72, |
||||||
|
.data = play_map, |
||||||
|
}; |
After Width: | Height: | Size: 623 B |
After Width: | Height: | Size: 654 B |
After Width: | Height: | Size: 608 B |
After Width: | Height: | Size: 616 B |
Loading…
Reference in new issue