🚸 E3V2 Enhanced cosmetic fixes (#23009)

This commit is contained in:
Lefteris Garyfalakis 2021-10-25 09:06:13 +03:00 committed by GitHub
parent d79ea20dcd
commit 5ef0468251
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View file

@ -1105,7 +1105,7 @@ void Draw_Info_Menu() {
LOOP_L_N(i, 3) { LOOP_L_N(i, 3) {
DWINUI::Draw_Icon(ICON_PrintSize + i, 26, 99 + i * 73); DWINUI::Draw_Icon(ICON_PrintSize + i, 26, 99 + i * 73);
DWIN_Draw_Line(HMI_data.SplitLine_Color, 16, MBASE(2) + i * 73, 256, 156 + i * 73); DWIN_Draw_HLine(HMI_data.SplitLine_Color, 16, MBASE(2) + i * 73, 240);
} }
DWIN_UpdateLCD(); DWIN_UpdateLCD();
@ -1651,6 +1651,7 @@ void HMI_SaveProcessID(const uint8_t id) {
void DWIN_StartHoming() { void DWIN_StartHoming() {
HMI_flag.home_flag = true; HMI_flag.home_flag = true;
HMI_SaveProcessID(Homing); HMI_SaveProcessID(Homing);
Title.ShowCaption(F("Axis Homing"));
DWIN_Draw_Popup(ICON_BLTouch, F("Axis Homing"), F("Please wait until done.")); DWIN_Draw_Popup(ICON_BLTouch, F("Axis Homing"), F("Please wait until done."));
} }
@ -1666,6 +1667,7 @@ void DWIN_CompletedHoming() {
void DWIN_MeshLevelingStart() { void DWIN_MeshLevelingStart() {
#if HAS_ONESTEP_LEVELING #if HAS_ONESTEP_LEVELING
HMI_SaveProcessID(Leveling); HMI_SaveProcessID(Leveling);
Title.ShowCaption(F("Bed Leveling"));
DWIN_Draw_Popup(ICON_AutoLeveling, GET_TEXT_F(MSG_BED_LEVELING), F("Please wait until done.")); DWIN_Draw_Popup(ICON_AutoLeveling, GET_TEXT_F(MSG_BED_LEVELING), F("Please wait until done."));
#elif ENABLED(MESH_BED_LEVELING) #elif ENABLED(MESH_BED_LEVELING)
Draw_ManualMesh_Menu(); Draw_ManualMesh_Menu();

View file

@ -51,7 +51,7 @@ void MeshViewerClass::Draw() {
NOLESS(maxz, v); NOLESS(maxz, v);
NOMORE(minz, v); NOMORE(minz, v);
} }
Title.ShowCaption(F("Mesh viewer")); Title.ShowCaption(F("Mesh Viewer"));
DWINUI::ClearMenuArea(); DWINUI::ClearMenuArea();
DWINUI::Draw_Icon(ICON_Continue_E, 86, 305); DWINUI::Draw_Icon(ICON_Continue_E, 86, 305);
DWIN_Draw_Rectangle(0, HMI_data.SplitLine_Color, px(0), py(0), px(GRID_MAX_POINTS_X - 1), py(GRID_MAX_POINTS_Y - 1)); DWIN_Draw_Rectangle(0, HMI_data.SplitLine_Color, px(0), py(0), px(GRID_MAX_POINTS_X - 1), py(GRID_MAX_POINTS_Y - 1));