1 #ifndef LV_SYMBOL_DEF_H
2 #define LV_SYMBOL_DEF_H
3 /* clang-format off */
4 
5 #ifdef __cplusplus
6 extern "C" {
7 #endif
8 
9 #include "../lv_conf_internal.h"
10 
11 /*-------------------------------
12  * Symbols from FontAwesome font
13  *-----------------------------*/
14 
15 /* In the font converter use this list as range:
16       61441, 61448, 61451, 61452, 61453, 61457, 61459, 61461, 61465, 61468,
17       61473, 61478, 61479, 61480, 61502, 61512, 61515, 61516, 61517, 61521,
18       61522, 61523, 61524, 61543, 61544, 61550, 61552, 61553, 61556, 61559,
19       61560, 61561, 61563, 61587, 61589, 61636, 61637, 61639, 61671, 61674,
20       61683, 61724, 61732, 61787, 61931, 62016, 62017, 62018, 62019, 62020,
21       62087, 62099, 62212, 62189, 62810, 63426, 63650
22 */
23 
24 #define LV_SYMBOL_AUDIO           "\xef\x80\x81" /*61441, 0xF001*/
25 #define LV_SYMBOL_VIDEO           "\xef\x80\x88" /*61448, 0xF008*/
26 #define LV_SYMBOL_LIST            "\xef\x80\x8b" /*61451, 0xF00B*/
27 #define LV_SYMBOL_OK              "\xef\x80\x8c" /*61452, 0xF00C*/
28 #define LV_SYMBOL_CLOSE           "\xef\x80\x8d" /*61453, 0xF00D*/
29 #define LV_SYMBOL_POWER           "\xef\x80\x91" /*61457, 0xF011*/
30 #define LV_SYMBOL_SETTINGS        "\xef\x80\x93" /*61459, 0xF013*/
31 #define LV_SYMBOL_HOME            "\xef\x80\x95" /*61461, 0xF015*/
32 #define LV_SYMBOL_DOWNLOAD        "\xef\x80\x99" /*61465, 0xF019*/
33 #define LV_SYMBOL_DRIVE           "\xef\x80\x9c" /*61468, 0xF01C*/
34 #define LV_SYMBOL_REFRESH         "\xef\x80\xa1" /*61473, 0xF021*/
35 #define LV_SYMBOL_MUTE            "\xef\x80\xa6" /*61478, 0xF026*/
36 #define LV_SYMBOL_VOLUME_MID      "\xef\x80\xa7" /*61479, 0xF027*/
37 #define LV_SYMBOL_VOLUME_MAX      "\xef\x80\xa8" /*61480, 0xF028*/
38 #define LV_SYMBOL_IMAGE           "\xef\x80\xbe" /*61502, 0xF03E*/
39 #define LV_SYMBOL_EDIT            "\xef\x8C\x84" /*62212, 0xF304*/
40 #define LV_SYMBOL_PREV            "\xef\x81\x88" /*61512, 0xF048*/
41 #define LV_SYMBOL_PLAY            "\xef\x81\x8b" /*61515, 0xF04B*/
42 #define LV_SYMBOL_PAUSE           "\xef\x81\x8c" /*61516, 0xF04C*/
43 #define LV_SYMBOL_STOP            "\xef\x81\x8d" /*61517, 0xF04D*/
44 #define LV_SYMBOL_NEXT            "\xef\x81\x91" /*61521, 0xF051*/
45 #define LV_SYMBOL_EJECT           "\xef\x81\x92" /*61522, 0xF052*/
46 #define LV_SYMBOL_LEFT            "\xef\x81\x93" /*61523, 0xF053*/
47 #define LV_SYMBOL_RIGHT           "\xef\x81\x94" /*61524, 0xF054*/
48 #define LV_SYMBOL_PLUS            "\xef\x81\xa7" /*61543, 0xF067*/
49 #define LV_SYMBOL_MINUS           "\xef\x81\xa8" /*61544, 0xF068*/
50 #define LV_SYMBOL_EYE_OPEN        "\xef\x81\xae" /*61550, 0xF06E*/
51 #define LV_SYMBOL_EYE_CLOSE       "\xef\x81\xb0" /*61552, 0xF070*/
52 #define LV_SYMBOL_WARNING         "\xef\x81\xb1" /*61553, 0xF071*/
53 #define LV_SYMBOL_SHUFFLE         "\xef\x81\xb4" /*61556, 0xF074*/
54 #define LV_SYMBOL_UP              "\xef\x81\xb7" /*61559, 0xF077*/
55 #define LV_SYMBOL_DOWN            "\xef\x81\xb8" /*61560, 0xF078*/
56 #define LV_SYMBOL_LOOP            "\xef\x81\xb9" /*61561, 0xF079*/
57 #define LV_SYMBOL_DIRECTORY       "\xef\x81\xbb" /*61563, 0xF07B*/
58 #define LV_SYMBOL_UPLOAD          "\xef\x82\x93" /*61587, 0xF093*/
59 #define LV_SYMBOL_CALL            "\xef\x82\x95" /*61589, 0xF095*/
60 #define LV_SYMBOL_CUT             "\xef\x83\x84" /*61636, 0xF0C4*/
61 #define LV_SYMBOL_COPY            "\xef\x83\x85" /*61637, 0xF0C5*/
62 #define LV_SYMBOL_SAVE            "\xef\x83\x87" /*61639, 0xF0C7*/
63 #define LV_SYMBOL_CHARGE          "\xef\x83\xa7" /*61671, 0xF0E7*/
64 #define LV_SYMBOL_PASTE           "\xef\x83\xAA" /*61674, 0xF0EA*/
65 #define LV_SYMBOL_BELL            "\xef\x83\xb3" /*61683, 0xF0F3*/
66 #define LV_SYMBOL_KEYBOARD        "\xef\x84\x9c" /*61724, 0xF11C*/
67 #define LV_SYMBOL_GPS             "\xef\x84\xa4" /*61732, 0xF124*/
68 #define LV_SYMBOL_FILE            "\xef\x85\x9b" /*61787, 0xF158*/
69 #define LV_SYMBOL_WIFI            "\xef\x87\xab" /*61931, 0xF1EB*/
70 #define LV_SYMBOL_BATTERY_FULL    "\xef\x89\x80" /*62016, 0xF240*/
71 #define LV_SYMBOL_BATTERY_3       "\xef\x89\x81" /*62017, 0xF241*/
72 #define LV_SYMBOL_BATTERY_2       "\xef\x89\x82" /*62018, 0xF242*/
73 #define LV_SYMBOL_BATTERY_1       "\xef\x89\x83" /*62019, 0xF243*/
74 #define LV_SYMBOL_BATTERY_EMPTY   "\xef\x89\x84" /*62020, 0xF244*/
75 #define LV_SYMBOL_USB             "\xef\x8a\x87" /*62087, 0xF287*/
76 #define LV_SYMBOL_BLUETOOTH       "\xef\x8a\x93" /*62099, 0xF293*/
77 #define LV_SYMBOL_TRASH           "\xef\x8B\xAD" /*62189, 0xF2ED*/
78 #define LV_SYMBOL_BACKSPACE       "\xef\x95\x9A" /*62810, 0xF55A*/
79 #define LV_SYMBOL_SD_CARD         "\xef\x9F\x82" /*63426, 0xF7C2*/
80 #define LV_SYMBOL_NEW_LINE        "\xef\xA2\xA2" /*63650, 0xF8A2*/
81 
82 /** Invalid symbol at (U+F8FF). If written before a string then `lv_img` will show it as a label*/
83 #define LV_SYMBOL_DUMMY           "\xEF\xA3\xBF"
84 
85 /*-------------------------------
86  * Symbols from "normal" font
87  *-----------------------------*/
88 #define LV_SYMBOL_BULLET          "\xE2\x80\xA2"   /*20042, 0x2022*/
89 
90 /*
91  * The following list is generated using
92  * cat src/lv_misc/lv_symbol_def.h | sed -E -n 's/^#define\s+(LV_SYMBOL_\w+).*"$/    _LV_STR_\1,/p'
93  */
94 enum {
95     _LV_STR_SYMBOL_AUDIO,
96     _LV_STR_SYMBOL_VIDEO,
97     _LV_STR_SYMBOL_LIST,
98     _LV_STR_SYMBOL_OK,
99     _LV_STR_SYMBOL_CLOSE,
100     _LV_STR_SYMBOL_POWER,
101     _LV_STR_SYMBOL_SETTINGS,
102     _LV_STR_SYMBOL_HOME,
103     _LV_STR_SYMBOL_DOWNLOAD,
104     _LV_STR_SYMBOL_DRIVE,
105     _LV_STR_SYMBOL_REFRESH,
106     _LV_STR_SYMBOL_MUTE,
107     _LV_STR_SYMBOL_VOLUME_MID,
108     _LV_STR_SYMBOL_VOLUME_MAX,
109     _LV_STR_SYMBOL_IMAGE,
110     _LV_STR_SYMBOL_EDIT,
111     _LV_STR_SYMBOL_PREV,
112     _LV_STR_SYMBOL_PLAY,
113     _LV_STR_SYMBOL_PAUSE,
114     _LV_STR_SYMBOL_STOP,
115     _LV_STR_SYMBOL_NEXT,
116     _LV_STR_SYMBOL_EJECT,
117     _LV_STR_SYMBOL_LEFT,
118     _LV_STR_SYMBOL_RIGHT,
119     _LV_STR_SYMBOL_PLUS,
120     _LV_STR_SYMBOL_MINUS,
121     _LV_STR_SYMBOL_EYE_OPEN,
122     _LV_STR_SYMBOL_EYE_CLOSE,
123     _LV_STR_SYMBOL_WARNING,
124     _LV_STR_SYMBOL_SHUFFLE,
125     _LV_STR_SYMBOL_UP,
126     _LV_STR_SYMBOL_DOWN,
127     _LV_STR_SYMBOL_LOOP,
128     _LV_STR_SYMBOL_DIRECTORY,
129     _LV_STR_SYMBOL_UPLOAD,
130     _LV_STR_SYMBOL_CALL,
131     _LV_STR_SYMBOL_CUT,
132     _LV_STR_SYMBOL_COPY,
133     _LV_STR_SYMBOL_SAVE,
134     _LV_STR_SYMBOL_CHARGE,
135     _LV_STR_SYMBOL_PASTE,
136     _LV_STR_SYMBOL_BELL,
137     _LV_STR_SYMBOL_KEYBOARD,
138     _LV_STR_SYMBOL_GPS,
139     _LV_STR_SYMBOL_FILE,
140     _LV_STR_SYMBOL_WIFI,
141     _LV_STR_SYMBOL_BATTERY_FULL,
142     _LV_STR_SYMBOL_BATTERY_3,
143     _LV_STR_SYMBOL_BATTERY_2,
144     _LV_STR_SYMBOL_BATTERY_1,
145     _LV_STR_SYMBOL_BATTERY_EMPTY,
146     _LV_STR_SYMBOL_USB,
147     _LV_STR_SYMBOL_BLUETOOTH,
148     _LV_STR_SYMBOL_TRASH,
149     _LV_STR_SYMBOL_BACKSPACE,
150     _LV_STR_SYMBOL_SD_CARD,
151     _LV_STR_SYMBOL_NEW_LINE,
152     _LV_STR_SYMBOL_DUMMY,
153 };
154 
155 #ifdef __cplusplus
156 } /* extern "C" */
157 #endif
158 
159 
160 #endif /*LV_SYMBOL_DEF_H*/
161 
162 
163 
164 
165 
166