t-watch: spiffs+littlefs partition, maps initial support

This commit is contained in:
Pelgraine
2026-07-09 06:32:57 +10:00
parent d9d0634bf3
commit ada989ea72
6 changed files with 828 additions and 6 deletions
+4
View File
@@ -35,6 +35,10 @@ public:
// Rounded-rect helpers for the P4-style tile grid (LovyanGFX buffer).
void fillRoundRect(int x, int y, int w, int h, int r) { buffer.fillRoundRect(x, y, w, h, r, _color); }
void drawRoundRect(int x, int y, int w, int h, int r) { buffer.drawRoundRect(x, y, w, h, r, _color); }
// Plot a single pixel at an exact RGB565 colour directly into the sprite
// buffer. Used by WatchMapScreen to draw decoded map tiles, markers and the
// crosshair (parallels GxEPDDisplay::drawPixelRaw on the e-ink boards).
void drawPixelRaw(int x, int y, uint16_t c) { buffer.drawPixel(x, y, c); }
// Render a string in a very small font at (x,y) so long node names fit
// beside the centred clock, then restore the default GLCD font + size so
// later text is unaffected. Uses the colour set via setColor()/setRawColor().