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