From 6f880087374f04c39d6112e57db3beff0c6c3cc4 Mon Sep 17 00:00:00 2001 From: Dave Allie Date: Mon, 8 Dec 2025 19:07:33 +1100 Subject: [PATCH] Move text around slightly on Boot and Sleep screens --- src/screens/BootLogoScreen.cpp | 4 ++-- src/screens/SleepScreen.cpp | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/screens/BootLogoScreen.cpp b/src/screens/BootLogoScreen.cpp index 9469b42..2113a07 100644 --- a/src/screens/BootLogoScreen.cpp +++ b/src/screens/BootLogoScreen.cpp @@ -12,8 +12,8 @@ void BootLogoScreen::onEnter() { // Location for images is from top right in landscape orientation renderer.drawImage(CrossLarge, (pageHeight - 128) / 2, (pageWidth - 128) / 2, 128, 128); const int width = renderer.getUiTextWidth("CrossPoint", BOLD); - renderer.drawUiText((pageWidth - width)/ 2, pageHeight / 2 + 100, "CrossPoint", true, BOLD); + renderer.drawUiText((pageWidth - width)/ 2, pageHeight / 2 + 70, "CrossPoint", true, BOLD); const int bootingWidth = renderer.getSmallTextWidth("BOOTING"); - renderer.drawSmallText((pageWidth - bootingWidth) / 2, pageHeight / 2 + 125, "BOOTING"); + renderer.drawSmallText((pageWidth - bootingWidth) / 2, pageHeight / 2 + 95, "BOOTING"); renderer.flushDisplay(); } diff --git a/src/screens/SleepScreen.cpp b/src/screens/SleepScreen.cpp index 67d199e..0099aa9 100644 --- a/src/screens/SleepScreen.cpp +++ b/src/screens/SleepScreen.cpp @@ -11,9 +11,9 @@ void SleepScreen::onEnter() { renderer.clearScreen(); renderer.drawImage(CrossLarge, (pageHeight - 128) / 2, (pageWidth - 128) / 2, 128, 128); const int width = renderer.getUiTextWidth("CrossPoint", BOLD); - renderer.drawUiText((pageWidth - width)/ 2, pageHeight / 2 + 100, "CrossPoint", true, BOLD); + renderer.drawUiText((pageWidth - width)/ 2, pageHeight / 2 + 70, "CrossPoint", true, BOLD); const int bootingWidth = renderer.getSmallTextWidth("SLEEPING"); - renderer.drawSmallText((pageWidth - bootingWidth) / 2, pageHeight / 2 + 125, "SLEEPING"); + renderer.drawSmallText((pageWidth - bootingWidth) / 2, pageHeight / 2 + 95, "SLEEPING"); renderer.invertScreen(); - renderer.flushDisplay(EInkDisplay::HALF_REFRESH); + renderer.flushDisplay(EInkDisplay::FULL_REFRESH); }