Show clearer indexing string

This commit is contained in:
Dave Allie
2025-12-13 16:02:27 +11:00
parent 492c6fd23e
commit 6ddcf9b592
4 changed files with 12 additions and 1 deletions

View File

@@ -162,7 +162,10 @@ void EpubReaderScreen::renderScreen() {
constexpr int y = 50;
const int w = textWidth + margin * 2;
const int h = renderer.getLineHeight(READER_FONT_ID) + margin * 2;
renderer.grayscaleRevert();
uint8_t *fb1 = renderer.getFrameBuffer();
renderer.swapBuffers();
memcpy(fb1, renderer.getFrameBuffer(), EInkDisplay::BUFFER_SIZE);
renderer.fillRect(x, y, w, h, 0);
renderer.drawText(READER_FONT_ID, x + margin, y + margin, "Indexing...");
renderer.drawRect(x + 5, y + 5, w - 10, h - 10);