Add TFT_LVGL_UI support (#18438)
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
*/
|
||||
#include "../../../../inc/MarlinConfigPre.h"
|
||||
|
||||
#if ENABLED(TFT_LITTLE_VGL_UI)
|
||||
#if ENABLED(TFT_LVGL_UI)
|
||||
|
||||
#include "lv_conf.h"
|
||||
#include "draw_ui.h"
|
||||
@@ -308,13 +308,13 @@ void lv_draw_printing(void) {
|
||||
lv_label_set_text(labelPause, printing_menu.pause);
|
||||
else
|
||||
lv_label_set_text(labelPause, printing_menu.resume);
|
||||
lv_obj_align(labelPause, buttonPause, LV_ALIGN_CENTER, 30, 0);
|
||||
lv_obj_align(labelPause, buttonPause, LV_ALIGN_CENTER, 20, 0);
|
||||
|
||||
lv_label_set_text(labelStop, printing_menu.stop);
|
||||
lv_obj_align(labelStop, buttonStop, LV_ALIGN_CENTER, 30, 0);
|
||||
lv_obj_align(labelStop, buttonStop, LV_ALIGN_CENTER, 20, 0);
|
||||
|
||||
lv_label_set_text(labelOperat, printing_menu.option);
|
||||
lv_obj_align(labelOperat, buttonOperat, LV_ALIGN_CENTER, 30, 0);
|
||||
lv_obj_align(labelOperat, buttonOperat, LV_ALIGN_CENTER, 20, 0);
|
||||
}
|
||||
|
||||
lv_style_copy(&lv_bar_style_indic, &lv_style_pretty_color);
|
||||
@@ -440,4 +440,4 @@ void setProBarRate() {
|
||||
|
||||
void lv_clear_printing() { lv_obj_del(scr); }
|
||||
|
||||
#endif // TFT_LITTLE_VGL_UI
|
||||
#endif // TFT_LVGL_UI
|
||||
|
||||
Reference in New Issue
Block a user