Browse Source

🚸 E3V2 Enhanced cosmetic fixes (#23009)

vanilla_fb_2.0.x
Lefteris Garyfalakis 3 years ago
committed by Scott Lahteine
parent
commit
5f35c539ce
  1. 4
      Marlin/src/lcd/e3v2/enhanced/dwin.cpp
  2. 2
      Marlin/src/lcd/e3v2/enhanced/meshviewer.cpp

4
Marlin/src/lcd/e3v2/enhanced/dwin.cpp

@ -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();

2
Marlin/src/lcd/e3v2/enhanced/meshviewer.cpp

@ -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));

Loading…
Cancel
Save