|
@ -959,10 +959,12 @@ void MarlinUI::draw_status_message(const bool blink) { |
|
|
|
|
|
|
|
|
// If the remaining string doesn't completely fill the screen
|
|
|
// If the remaining string doesn't completely fill the screen
|
|
|
if (rlen < lcd_width) { |
|
|
if (rlen < lcd_width) { |
|
|
lcd_put_wchar('.'); // Always at 1+ spaces left, draw a dot
|
|
|
|
|
|
uint8_t chars = lcd_width - rlen; // Amount of space left in characters
|
|
|
uint8_t chars = lcd_width - rlen; // Amount of space left in characters
|
|
|
if (--chars) { // Draw a second dot if there's space
|
|
|
lcd_put_wchar(' '); // Always at 1+ spaces left, draw a space
|
|
|
lcd_put_wchar('.'); |
|
|
if (--chars) { // Draw a second space if there's room
|
|
|
|
|
|
lcd_put_wchar(' '); |
|
|
|
|
|
if (--chars) { // Draw a third space if there's room
|
|
|
|
|
|
lcd_put_wchar(' '); |
|
|
if (--chars) { // Print a second copy of the message
|
|
|
if (--chars) { // Print a second copy of the message
|
|
|
lcd_put_u8str_max(status_message, pixel_width - (rlen + 2) * (MENU_FONT_WIDTH)); |
|
|
lcd_put_u8str_max(status_message, pixel_width - (rlen + 2) * (MENU_FONT_WIDTH)); |
|
|
lcd_put_wchar(' '); |
|
|
lcd_put_wchar(' '); |
|
@ -970,6 +972,7 @@ void MarlinUI::draw_status_message(const bool blink) { |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
#else // !STATUS_MESSAGE_SCROLLING
|
|
|
#else // !STATUS_MESSAGE_SCROLLING
|
|
|
|
|
|
|
|
|