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 #ifdef LV_CONF_INCLUDE_SIMPLE 9 #include "lv_conf.h" 10 #else 11 #include "../../lv_conf.h" 12 #endif 13 14 15 #define LV_SYMBOL_AUDIO "\xef\x80\x81" 16 #define LV_SYMBOL_VIDEO "\xef\x80\x88" 17 #define LV_SYMBOL_LIST "\xef\x80\x8b" 18 #define LV_SYMBOL_OK "\xef\x80\x8c" 19 #define LV_SYMBOL_CLOSE "\xef\x80\x8d" 20 #define LV_SYMBOL_POWER "\xef\x80\x91" 21 #define LV_SYMBOL_SETTINGS "\xef\x80\x93" 22 #define LV_SYMBOL_TRASH "\xef\x80\x94" 23 #define LV_SYMBOL_HOME "\xef\x80\x95" 24 #define LV_SYMBOL_DOWNLOAD "\xef\x80\x99" 25 #define LV_SYMBOL_DRIVE "\xef\x80\x9c" 26 #define LV_SYMBOL_REFRESH "\xef\x80\xa1" 27 #define LV_SYMBOL_MUTE "\xef\x80\xa6" 28 #define LV_SYMBOL_VOLUME_MID "\xef\x80\xa7" 29 #define LV_SYMBOL_VOLUME_MAX "\xef\x80\xa8" 30 #define LV_SYMBOL_IMAGE "\xef\x80\xbe" 31 #define LV_SYMBOL_EDIT "\xef\x81\x80" 32 #define LV_SYMBOL_PREV "\xef\x81\x88" 33 #define LV_SYMBOL_PLAY "\xef\x81\x8b" 34 #define LV_SYMBOL_PAUSE "\xef\x81\x8c" 35 #define LV_SYMBOL_STOP "\xef\x81\x8d" 36 #define LV_SYMBOL_NEXT "\xef\x81\x91" 37 #define LV_SYMBOL_EJECT "\xef\x81\x92" 38 #define LV_SYMBOL_LEFT "\xef\x81\x93" 39 #define LV_SYMBOL_RIGHT "\xef\x81\x94" 40 #define LV_SYMBOL_PLUS "\xef\x81\xa7" 41 #define LV_SYMBOL_MINUS "\xef\x81\xa8" 42 #define LV_SYMBOL_WARNING "\xef\x81\xb1" 43 #define LV_SYMBOL_SHUFFLE "\xef\x81\xb4" 44 #define LV_SYMBOL_UP "\xef\x81\xb7" 45 #define LV_SYMBOL_DOWN "\xef\x81\xb8" 46 #define LV_SYMBOL_LOOP "\xef\x81\xb9" 47 #define LV_SYMBOL_DIRECTORY "\xef\x81\xbb" 48 #define LV_SYMBOL_UPLOAD "\xef\x82\x93" 49 #define LV_SYMBOL_CALL "\xef\x82\x95" 50 #define LV_SYMBOL_CUT "\xef\x83\x84" 51 #define LV_SYMBOL_COPY "\xef\x83\x85" 52 #define LV_SYMBOL_SAVE "\xef\x83\x87" 53 #define LV_SYMBOL_CHARGE "\xef\x83\xa7" 54 #define LV_SYMBOL_BELL "\xef\x83\xb3" 55 #define LV_SYMBOL_KEYBOARD "\xef\x84\x9c" 56 #define LV_SYMBOL_GPS "\xef\x84\xa4" 57 #define LV_SYMBOL_FILE "\xef\x85\x9b" 58 #define LV_SYMBOL_WIFI "\xef\x87\xab" 59 #define LV_SYMBOL_BATTERY_FULL "\xef\x89\x80" 60 #define LV_SYMBOL_BATTERY_3 "\xef\x89\x81" 61 #define LV_SYMBOL_BATTERY_2 "\xef\x89\x82" 62 #define LV_SYMBOL_BATTERY_1 "\xef\x89\x83" 63 #define LV_SYMBOL_BATTERY_EMPTY "\xef\x89\x84" 64 #define LV_SYMBOL_BLUETOOTH "\xef\x8a\x93" 65 66 /** Invalid symbol at (U+F8FF). If written before a string then `lv_img` will show it as a label*/ 67 #define LV_SYMBOL_DUMMY "\xEF\xA3\xBF" 68 69 /* 70 * The following list is generated using 71 * cat src/lv_misc/lv_symbol_def.h | sed -E -n 's/^#define\s+(LV_SYMBOL_\w+).*"$/ _LV_STR_\1,/p' 72 */ 73 enum { 74 _LV_STR_SYMBOL_AUDIO, 75 _LV_STR_SYMBOL_VIDEO, 76 _LV_STR_SYMBOL_LIST, 77 _LV_STR_SYMBOL_OK, 78 _LV_STR_SYMBOL_CLOSE, 79 _LV_STR_SYMBOL_POWER, 80 _LV_STR_SYMBOL_SETTINGS, 81 _LV_STR_SYMBOL_TRASH, 82 _LV_STR_SYMBOL_HOME, 83 _LV_STR_SYMBOL_DOWNLOAD, 84 _LV_STR_SYMBOL_DRIVE, 85 _LV_STR_SYMBOL_REFRESH, 86 _LV_STR_SYMBOL_MUTE, 87 _LV_STR_SYMBOL_VOLUME_MID, 88 _LV_STR_SYMBOL_VOLUME_MAX, 89 _LV_STR_SYMBOL_IMAGE, 90 _LV_STR_SYMBOL_EDIT, 91 _LV_STR_SYMBOL_PREV, 92 _LV_STR_SYMBOL_PLAY, 93 _LV_STR_SYMBOL_PAUSE, 94 _LV_STR_SYMBOL_STOP, 95 _LV_STR_SYMBOL_NEXT, 96 _LV_STR_SYMBOL_EJECT, 97 _LV_STR_SYMBOL_LEFT, 98 _LV_STR_SYMBOL_RIGHT, 99 _LV_STR_SYMBOL_PLUS, 100 _LV_STR_SYMBOL_MINUS, 101 _LV_STR_SYMBOL_WARNING, 102 _LV_STR_SYMBOL_SHUFFLE, 103 _LV_STR_SYMBOL_UP, 104 _LV_STR_SYMBOL_DOWN, 105 _LV_STR_SYMBOL_LOOP, 106 _LV_STR_SYMBOL_DIRECTORY, 107 _LV_STR_SYMBOL_UPLOAD, 108 _LV_STR_SYMBOL_CALL, 109 _LV_STR_SYMBOL_CUT, 110 _LV_STR_SYMBOL_COPY, 111 _LV_STR_SYMBOL_SAVE, 112 _LV_STR_SYMBOL_CHARGE, 113 _LV_STR_SYMBOL_BELL, 114 _LV_STR_SYMBOL_KEYBOARD, 115 _LV_STR_SYMBOL_GPS, 116 _LV_STR_SYMBOL_FILE, 117 _LV_STR_SYMBOL_WIFI, 118 _LV_STR_SYMBOL_BATTERY_FULL, 119 _LV_STR_SYMBOL_BATTERY_3, 120 _LV_STR_SYMBOL_BATTERY_2, 121 _LV_STR_SYMBOL_BATTERY_1, 122 _LV_STR_SYMBOL_BATTERY_EMPTY, 123 _LV_STR_SYMBOL_BLUETOOTH, 124 _LV_STR_SYMBOL_DUMMY, 125 }; 126 127 #ifdef __cplusplus 128 } /* extern "C" */ 129 #endif 130 131 132 #endif /*LV_SYMBOL_DEF_H*/ 133 134 135 136 137 138