add LV_SYMBOL_DUMMY (if added before a string then lv_img will draw it as a label)

This commit is contained in:
Gabor Kiss-Vamosi
2018-09-03 15:56:57 +02:00
parent cafdce69fe
commit 657a3b76c5
+2 -5
View File
@@ -75,9 +75,9 @@ extern "C" {
#define SYMBOL_BATTERY_1 "\xEF"
#define SYMBOL_BATTERY_EMPTY "\xF0"
#define SYMBOL_BLUETOOTH "\xF1"
#define SYMBOL_DUMMY "\xFF" /*Invalid symbol. If written before a string then `lv_img` will show it as a label*/
#else
#define LV_SYMBOL_GLYPH_FIRST 0xF000
#define SYMBOL_AUDIO "\xEF\x80\x80"
#define SYMBOL_VIDEO "\xEF\x80\x81"
#define SYMBOL_LIST "\xEF\x80\x82"
@@ -128,13 +128,10 @@ extern "C" {
#define SYMBOL_BATTERY_1 "\xEF\x80\xAF"
#define SYMBOL_BATTERY_EMPTY "\xEF\x80\xB0"
#define SYMBOL_BLUETOOTH "\xEF\x80\xB1"
#define SYMBOL_DUMMY "\xEF\x8B\xBF" /*Invalid symbol. If written before a string then `lv_img` will show it as a label*/
#endif
#ifdef __cplusplus
} /* extern "C" */
#endif