mirror of
https://github.com/lvgl/lvgl.git
synced 2026-06-01 08:54:52 +08:00
add LV_SYMBOL_DUMMY (if added before a string then lv_img will draw it as a label)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user