|
|
@@ -1,8 +1,7 @@
|
|
|
#include "display.h"
|
|
|
#include "config.h"
|
|
|
#include "logo.h"
|
|
|
-#include <Fonts/FreeSansBold24pt7b.h>
|
|
|
-#include <Fonts/FreeSans9pt7b.h>
|
|
|
+
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
// Helpers
|
|
|
@@ -22,7 +21,7 @@ static void drawStatusScreen(TFT_eSPI &tft,
|
|
|
|
|
|
// "SYSTEM" label
|
|
|
spr.setTextDatum(MC_DATUM);
|
|
|
- spr.setFreeFont(&FreeSans9pt7b);
|
|
|
+ spr.setTextFont(2);
|
|
|
spr.setTextColor(COL_LABEL, bgColour);
|
|
|
spr.drawString("SYSTEM", DISPLAY_CX, 72);
|
|
|
|
|
|
@@ -30,15 +29,16 @@ static void drawStatusScreen(TFT_eSPI &tft,
|
|
|
spr.drawFastHLine(DISPLAY_CX - 55, 88, 110, COL_LABEL);
|
|
|
|
|
|
// Large system letter (A or B)
|
|
|
- spr.setFreeFont(&FreeSansBold24pt7b);
|
|
|
+ spr.setTextFont(8); // large built-in font
|
|
|
spr.setTextColor(letterColour, bgColour);
|
|
|
+ spr.setTextDatum(MC_DATUM);
|
|
|
spr.drawString(letter, DISPLAY_CX, 138);
|
|
|
|
|
|
// Separator line above ACTIVE
|
|
|
spr.drawFastHLine(DISPLAY_CX - 55, 164, 110, COL_LABEL);
|
|
|
|
|
|
// "ACTIVE" label
|
|
|
- spr.setFreeFont(&FreeSans9pt7b);
|
|
|
+ spr.setTextFont(2);
|
|
|
spr.setTextColor(COL_LABEL, bgColour);
|
|
|
spr.drawString("ACTIVE", DISPLAY_CX, 180);
|
|
|
|