I marked the errors with a red frame and the correct symbols with a green one. Lv_img_set_src(cur_arrow_down, LV_SYMBOL_DOWN) Lv_obj_t* cur_arrow_down = lv_label_create(parent, label_arrow_right) Lv_img_set_src(cur_arrow_up, LV_SYMBOL_UP) Lv_obj_t* cur_arrow_up = lv_img_create(parent, label_arrow_right) Lv_label_set_text(label_arrow_up, LV_SYMBOL_UP"I") Lv_obj_t* label_arrow_up = lv_label_create(parent, label_arrow_right) Lv_img_set_src(img_arrow_right, LV_SYMBOL_RIGHT) Lv_obj_t* img_arrow_right = lv_img_create(parent, label_arrow_right) Lv_style_copy(&style_label_arrow_right, &lv_style_pretty) Static lv_style_t style_label_arrow_right Code to reproduce /* label_arrow_right style */ In the simulator (Visual Studio 2019) is perfect. Only the symbol LV_SYMBOL_UP is written on the display. STM32F769NI / STM32F769I-DISCO / Atollic TrueStudio What do you experience? What MCU/Processor/Board and compiler are you using? I want to use the symbols LV_SYMBOL_UP, LV_SYMBOL_DOWN, LV_SYMBOL_RIGHT as axes ends.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |