1 #ifndef LV_SYMBOL_DEF_H
2 #define LV_SYMBOL_DEF_H
3 
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7 
8 #include "../lv_conf_internal.h"
9 
10 /*-------------------------------
11  * Symbols from "normal" font
12  *-----------------------------*/
13 #if !defined LV_SYMBOL_BULLET
14 #define LV_SYMBOL_BULLET          "\xE2\x80\xA2" /*20042, 0x2022*/
15 #endif
16 
17 /*-------------------------------
18  * Symbols from FontAwesome font
19  *-----------------------------*/
20 
21 /*In the font converter use this list as range:
22       61441, 61448, 61451, 61452, 61453, 61457, 61459, 61461, 61465, 61468,
23       61473, 61478, 61479, 61480, 61502, 61507, 61512, 61515, 61516, 61517,
24       61521, 61522, 61523, 61524, 61543, 61544, 61550, 61552, 61553, 61556,
25       61559, 61560, 61561, 61563, 61587, 61589, 61636, 61637, 61639, 61641,
26       61664, 61671, 61674, 61683, 61724, 61732, 61787, 61931, 62016, 62017,
27       62018, 62019, 62020, 62087, 62099, 62189, 62212, 62810, 63426, 63650
28 */
29 
30 /* These symbols can be prefined in the lv_conf.h file.
31  * If they are not predefined, they will use the following values
32  */
33 
34 
35 #if !defined LV_SYMBOL_AUDIO
36 #define LV_SYMBOL_AUDIO           "\xEF\x80\x81" /*61441, 0xF001*/
37 #endif
38 
39 #if !defined LV_SYMBOL_VIDEO
40 #define LV_SYMBOL_VIDEO           "\xEF\x80\x88" /*61448, 0xF008*/
41 #endif
42 
43 #if !defined LV_SYMBOL_LIST
44 #define LV_SYMBOL_LIST            "\xEF\x80\x8B" /*61451, 0xF00B*/
45 #endif
46 
47 #if !defined LV_SYMBOL_OK
48 #define LV_SYMBOL_OK              "\xEF\x80\x8C" /*61452, 0xF00C*/
49 #endif
50 
51 #if !defined LV_SYMBOL_CLOSE
52 #define LV_SYMBOL_CLOSE           "\xEF\x80\x8D" /*61453, 0xF00D*/
53 #endif
54 
55 #if !defined LV_SYMBOL_POWER
56 #define LV_SYMBOL_POWER           "\xEF\x80\x91" /*61457, 0xF011*/
57 #endif
58 
59 #if !defined LV_SYMBOL_SETTINGS
60 #define LV_SYMBOL_SETTINGS        "\xEF\x80\x93" /*61459, 0xF013*/
61 #endif
62 
63 #if !defined LV_SYMBOL_HOME
64 #define LV_SYMBOL_HOME            "\xEF\x80\x95" /*61461, 0xF015*/
65 #endif
66 
67 #if !defined LV_SYMBOL_DOWNLOAD
68 #define LV_SYMBOL_DOWNLOAD        "\xEF\x80\x99" /*61465, 0xF019*/
69 #endif
70 
71 #if !defined LV_SYMBOL_DRIVE
72 #define LV_SYMBOL_DRIVE           "\xEF\x80\x9C" /*61468, 0xF01C*/
73 #endif
74 
75 #if !defined LV_SYMBOL_REFRESH
76 #define LV_SYMBOL_REFRESH         "\xEF\x80\xA1" /*61473, 0xF021*/
77 #endif
78 
79 #if !defined LV_SYMBOL_MUTE
80 #define LV_SYMBOL_MUTE            "\xEF\x80\xA6" /*61478, 0xF026*/
81 #endif
82 
83 #if !defined LV_SYMBOL_VOLUME_MID
84 #define LV_SYMBOL_VOLUME_MID      "\xEF\x80\xA7" /*61479, 0xF027*/
85 #endif
86 
87 #if !defined LV_SYMBOL_VOLUME_MAX
88 #define LV_SYMBOL_VOLUME_MAX      "\xEF\x80\xA8" /*61480, 0xF028*/
89 #endif
90 
91 #if !defined LV_SYMBOL_IMAGE
92 #define LV_SYMBOL_IMAGE           "\xEF\x80\xBE" /*61502, 0xF03E*/
93 #endif
94 
95 #if !defined LV_SYMBOL_TINT
96 #define LV_SYMBOL_TINT            "\xEF\x81\x83" /*61507, 0xF043*/
97 #endif
98 
99 #if !defined LV_SYMBOL_PREV
100 #define LV_SYMBOL_PREV            "\xEF\x81\x88" /*61512, 0xF048*/
101 #endif
102 
103 #if !defined LV_SYMBOL_PLAY
104 #define LV_SYMBOL_PLAY            "\xEF\x81\x8B" /*61515, 0xF04B*/
105 #endif
106 
107 #if !defined LV_SYMBOL_PAUSE
108 #define LV_SYMBOL_PAUSE           "\xEF\x81\x8C" /*61516, 0xF04C*/
109 #endif
110 
111 #if !defined LV_SYMBOL_STOP
112 #define LV_SYMBOL_STOP            "\xEF\x81\x8D" /*61517, 0xF04D*/
113 #endif
114 
115 #if !defined LV_SYMBOL_NEXT
116 #define LV_SYMBOL_NEXT            "\xEF\x81\x91" /*61521, 0xF051*/
117 #endif
118 
119 #if !defined LV_SYMBOL_EJECT
120 #define LV_SYMBOL_EJECT           "\xEF\x81\x92" /*61522, 0xF052*/
121 #endif
122 
123 #if !defined LV_SYMBOL_LEFT
124 #define LV_SYMBOL_LEFT            "\xEF\x81\x93" /*61523, 0xF053*/
125 #endif
126 
127 #if !defined LV_SYMBOL_RIGHT
128 #define LV_SYMBOL_RIGHT           "\xEF\x81\x94" /*61524, 0xF054*/
129 #endif
130 
131 #if !defined LV_SYMBOL_PLUS
132 #define LV_SYMBOL_PLUS            "\xEF\x81\xA7" /*61543, 0xF067*/
133 #endif
134 
135 #if !defined LV_SYMBOL_MINUS
136 #define LV_SYMBOL_MINUS           "\xEF\x81\xA8" /*61544, 0xF068*/
137 #endif
138 
139 #if !defined LV_SYMBOL_EYE_OPEN
140 #define LV_SYMBOL_EYE_OPEN        "\xEF\x81\xAE" /*61550, 0xF06E*/
141 #endif
142 
143 #if !defined LV_SYMBOL_EYE_CLOSE
144 #define LV_SYMBOL_EYE_CLOSE       "\xEF\x81\xB0" /*61552, 0xF070*/
145 #endif
146 
147 #if !defined LV_SYMBOL_WARNING
148 #define LV_SYMBOL_WARNING         "\xEF\x81\xB1" /*61553, 0xF071*/
149 #endif
150 
151 #if !defined LV_SYMBOL_SHUFFLE
152 #define LV_SYMBOL_SHUFFLE         "\xEF\x81\xB4" /*61556, 0xF074*/
153 #endif
154 
155 #if !defined LV_SYMBOL_UP
156 #define LV_SYMBOL_UP              "\xEF\x81\xB7" /*61559, 0xF077*/
157 #endif
158 
159 #if !defined LV_SYMBOL_DOWN
160 #define LV_SYMBOL_DOWN            "\xEF\x81\xB8" /*61560, 0xF078*/
161 #endif
162 
163 #if !defined LV_SYMBOL_LOOP
164 #define LV_SYMBOL_LOOP            "\xEF\x81\xB9" /*61561, 0xF079*/
165 #endif
166 
167 #if !defined LV_SYMBOL_DIRECTORY
168 #define LV_SYMBOL_DIRECTORY       "\xEF\x81\xBB" /*61563, 0xF07B*/
169 #endif
170 
171 #if !defined LV_SYMBOL_UPLOAD
172 #define LV_SYMBOL_UPLOAD          "\xEF\x82\x93" /*61587, 0xF093*/
173 #endif
174 
175 #if !defined LV_SYMBOL_CALL
176 #define LV_SYMBOL_CALL            "\xEF\x82\x95" /*61589, 0xF095*/
177 #endif
178 
179 #if !defined LV_SYMBOL_CUT
180 #define LV_SYMBOL_CUT             "\xEF\x83\x84" /*61636, 0xF0C4*/
181 #endif
182 
183 #if !defined LV_SYMBOL_COPY
184 #define LV_SYMBOL_COPY            "\xEF\x83\x85" /*61637, 0xF0C5*/
185 #endif
186 
187 #if !defined LV_SYMBOL_SAVE
188 #define LV_SYMBOL_SAVE            "\xEF\x83\x87" /*61639, 0xF0C7*/
189 #endif
190 
191 #if !defined LV_SYMBOL_BARS
192 #define LV_SYMBOL_BARS            "\xEF\x83\x89" /*61641, 0xF0C9*/
193 #endif
194 
195 #if !defined LV_SYMBOL_ENVELOPE
196 #define LV_SYMBOL_ENVELOPE        "\xEF\x83\xA0" /*61664, 0xF0E0*/
197 #endif
198 
199 #if !defined LV_SYMBOL_CHARGE
200 #define LV_SYMBOL_CHARGE          "\xEF\x83\xA7" /*61671, 0xF0E7*/
201 #endif
202 
203 #if !defined LV_SYMBOL_PASTE
204 #define LV_SYMBOL_PASTE           "\xEF\x83\xAA" /*61674, 0xF0EA*/
205 #endif
206 
207 #if !defined LV_SYMBOL_BELL
208 #define LV_SYMBOL_BELL            "\xEF\x83\xB3" /*61683, 0xF0F3*/
209 #endif
210 
211 #if !defined LV_SYMBOL_KEYBOARD
212 #define LV_SYMBOL_KEYBOARD        "\xEF\x84\x9C" /*61724, 0xF11C*/
213 #endif
214 
215 #if !defined LV_SYMBOL_GPS
216 #define LV_SYMBOL_GPS             "\xEF\x84\xA4" /*61732, 0xF124*/
217 #endif
218 
219 #if !defined LV_SYMBOL_FILE
220 #define LV_SYMBOL_FILE            "\xEF\x85\x9B" /*61787, 0xF158*/
221 #endif
222 
223 #if !defined LV_SYMBOL_WIFI
224 #define LV_SYMBOL_WIFI            "\xEF\x87\xAB" /*61931, 0xF1EB*/
225 #endif
226 
227 #if !defined LV_SYMBOL_BATTERY_FULL
228 #define LV_SYMBOL_BATTERY_FULL    "\xEF\x89\x80" /*62016, 0xF240*/
229 #endif
230 
231 #if !defined LV_SYMBOL_BATTERY_3
232 #define LV_SYMBOL_BATTERY_3       "\xEF\x89\x81" /*62017, 0xF241*/
233 #endif
234 
235 #if !defined LV_SYMBOL_BATTERY_2
236 #define LV_SYMBOL_BATTERY_2       "\xEF\x89\x82" /*62018, 0xF242*/
237 #endif
238 
239 #if !defined LV_SYMBOL_BATTERY_1
240 #define LV_SYMBOL_BATTERY_1       "\xEF\x89\x83" /*62019, 0xF243*/
241 #endif
242 
243 #if !defined LV_SYMBOL_BATTERY_EMPTY
244 #define LV_SYMBOL_BATTERY_EMPTY   "\xEF\x89\x84" /*62020, 0xF244*/
245 #endif
246 
247 #if !defined LV_SYMBOL_USB
248 #define LV_SYMBOL_USB             "\xEF\x8a\x87" /*62087, 0xF287*/
249 #endif
250 
251 #if !defined LV_SYMBOL_BLUETOOTH
252 #define LV_SYMBOL_BLUETOOTH       "\xEF\x8a\x93" /*62099, 0xF293*/
253 #endif
254 
255 #if !defined LV_SYMBOL_TRASH
256 #define LV_SYMBOL_TRASH           "\xEF\x8B\xAD" /*62189, 0xF2ED*/
257 #endif
258 
259 #if !defined LV_SYMBOL_EDIT
260 #define LV_SYMBOL_EDIT            "\xEF\x8C\x84" /*62212, 0xF304*/
261 #endif
262 
263 #if !defined LV_SYMBOL_BACKSPACE
264 #define LV_SYMBOL_BACKSPACE       "\xEF\x95\x9A" /*62810, 0xF55A*/
265 #endif
266 
267 #if !defined LV_SYMBOL_SD_CARD
268 #define LV_SYMBOL_SD_CARD         "\xEF\x9F\x82" /*63426, 0xF7C2*/
269 #endif
270 
271 #if !defined LV_SYMBOL_NEW_LINE
272 #define LV_SYMBOL_NEW_LINE        "\xEF\xA2\xA2" /*63650, 0xF8A2*/
273 #endif
274 
275 #if !defined LV_SYMBOL_DUMMY
276 /** Invalid symbol at (U+F8FF). If written before a string then `lv_img` will show it as a label*/
277 #define LV_SYMBOL_DUMMY           "\xEF\xA3\xBF"
278 #endif
279 
280 /*
281  * The following list is generated using
282  * cat src/font/lv_symbol_def.h | sed -E -n 's/^#define\s+LV_(SYMBOL_\w+).*".*$/    _LV_STR_\1,/p'
283  */
284 enum {
285     _LV_STR_SYMBOL_BULLET,
286     _LV_STR_SYMBOL_AUDIO,
287     _LV_STR_SYMBOL_VIDEO,
288     _LV_STR_SYMBOL_LIST,
289     _LV_STR_SYMBOL_OK,
290     _LV_STR_SYMBOL_CLOSE,
291     _LV_STR_SYMBOL_POWER,
292     _LV_STR_SYMBOL_SETTINGS,
293     _LV_STR_SYMBOL_HOME,
294     _LV_STR_SYMBOL_DOWNLOAD,
295     _LV_STR_SYMBOL_DRIVE,
296     _LV_STR_SYMBOL_REFRESH,
297     _LV_STR_SYMBOL_MUTE,
298     _LV_STR_SYMBOL_VOLUME_MID,
299     _LV_STR_SYMBOL_VOLUME_MAX,
300     _LV_STR_SYMBOL_IMAGE,
301     _LV_STR_SYMBOL_TINT,
302     _LV_STR_SYMBOL_PREV,
303     _LV_STR_SYMBOL_PLAY,
304     _LV_STR_SYMBOL_PAUSE,
305     _LV_STR_SYMBOL_STOP,
306     _LV_STR_SYMBOL_NEXT,
307     _LV_STR_SYMBOL_EJECT,
308     _LV_STR_SYMBOL_LEFT,
309     _LV_STR_SYMBOL_RIGHT,
310     _LV_STR_SYMBOL_PLUS,
311     _LV_STR_SYMBOL_MINUS,
312     _LV_STR_SYMBOL_EYE_OPEN,
313     _LV_STR_SYMBOL_EYE_CLOSE,
314     _LV_STR_SYMBOL_WARNING,
315     _LV_STR_SYMBOL_SHUFFLE,
316     _LV_STR_SYMBOL_UP,
317     _LV_STR_SYMBOL_DOWN,
318     _LV_STR_SYMBOL_LOOP,
319     _LV_STR_SYMBOL_DIRECTORY,
320     _LV_STR_SYMBOL_UPLOAD,
321     _LV_STR_SYMBOL_CALL,
322     _LV_STR_SYMBOL_CUT,
323     _LV_STR_SYMBOL_COPY,
324     _LV_STR_SYMBOL_SAVE,
325     _LV_STR_SYMBOL_BARS,
326     _LV_STR_SYMBOL_ENVELOPE,
327     _LV_STR_SYMBOL_CHARGE,
328     _LV_STR_SYMBOL_PASTE,
329     _LV_STR_SYMBOL_BELL,
330     _LV_STR_SYMBOL_KEYBOARD,
331     _LV_STR_SYMBOL_GPS,
332     _LV_STR_SYMBOL_FILE,
333     _LV_STR_SYMBOL_WIFI,
334     _LV_STR_SYMBOL_BATTERY_FULL,
335     _LV_STR_SYMBOL_BATTERY_3,
336     _LV_STR_SYMBOL_BATTERY_2,
337     _LV_STR_SYMBOL_BATTERY_1,
338     _LV_STR_SYMBOL_BATTERY_EMPTY,
339     _LV_STR_SYMBOL_USB,
340     _LV_STR_SYMBOL_BLUETOOTH,
341     _LV_STR_SYMBOL_TRASH,
342     _LV_STR_SYMBOL_EDIT,
343     _LV_STR_SYMBOL_BACKSPACE,
344     _LV_STR_SYMBOL_SD_CARD,
345     _LV_STR_SYMBOL_NEW_LINE,
346     _LV_STR_SYMBOL_DUMMY,
347 };
348 
349 #ifdef __cplusplus
350 } /*extern "C"*/
351 #endif
352 
353 #endif /*LV_SYMBOL_DEF_H*/
354