Add new boot logo screen

This commit is contained in:
Dave Allie
2025-12-06 00:35:58 +11:00
parent 05a027e2bf
commit 248af4b8fb
4 changed files with 31 additions and 1 deletions

View File

@@ -0,0 +1,14 @@
#include "BootLogoScreen.h"
#include <EpdRenderer.h>
#include "images/CrossLarge.h"
void BootLogoScreen::onEnter() {
const auto pageWidth = renderer->getPageWidth();
const auto pageHeight = renderer->getPageHeight();
renderer->clearScreen();
// Location for images is from top right in landscape orientation
renderer->drawImage(CrossLarge, (pageHeight - 128) /2, (pageWidth - 128) / 2, 128, 128);
}