2025-12-03 22:00:29 +11:00
|
|
|
#pragma once
|
|
|
|
|
#include <string>
|
|
|
|
|
#include <utility>
|
|
|
|
|
|
2025-12-06 00:34:16 +11:00
|
|
|
#include "EpdFontFamily.h"
|
2025-12-03 22:00:29 +11:00
|
|
|
#include "Screen.h"
|
|
|
|
|
|
|
|
|
|
class FullScreenMessageScreen final : public Screen {
|
|
|
|
|
std::string text;
|
2025-12-06 00:34:16 +11:00
|
|
|
EpdFontStyle style;
|
2025-12-03 22:00:29 +11:00
|
|
|
bool invert;
|
|
|
|
|
|
|
|
|
|
public:
|
2025-12-06 00:34:16 +11:00
|
|
|
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) {}
|
2025-12-03 22:00:29 +11:00
|
|
|
void onEnter() override;
|
|
|
|
|
};
|