Add UI font

This commit is contained in:
Dave Allie
2025-12-06 01:44:14 +11:00
parent aed915713b
commit 58cd36d51e
13 changed files with 4222 additions and 24 deletions
+3 -2
View File
@@ -9,10 +9,11 @@ class FullScreenMessageScreen final : public Screen {
std::string text;
EpdFontStyle style;
bool invert;
bool partialUpdate;
public:
explicit FullScreenMessageScreen(EpdRenderer* renderer, std::string text, const EpdFontStyle style = REGULAR,
const bool invert = false)
: Screen(renderer), text(std::move(text)), style(style), invert(invert) {}
const bool invert = false, const bool partialUpdate = true)
: Screen(renderer), text(std::move(text)), style(style), invert(invert), partialUpdate(partialUpdate) {}
void onEnter() override;
};