InfiniTime.git

ref: fc5424cb72e477c5f1bbfaeddb5c50b851a965ae

src/displayapp/icons/battery/batteryicon.c


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#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,
};