mirror of
https://github.com/daveallie/crosspoint-reader.git
synced 2025-12-18 07:07:41 +03:00
25 lines
699 B
C++
25 lines
699 B
C++
#pragma once
|
|
#include <string>
|
|
#include <utility>
|
|
|
|
#include "EpdFontFamily.h"
|
|
#include "Screen.h"
|
|
|
|
class FullScreenMessageScreen final : public Screen {
|
|
std::string text;
|
|
EpdFontStyle style;
|
|
bool invert;
|
|
bool partialUpdate;
|
|
|
|
public:
|
|
explicit FullScreenMessageScreen(EpdRenderer& renderer, InputManager& inputManager, std::string text,
|
|
const EpdFontStyle style = REGULAR, const bool invert = false,
|
|
const bool partialUpdate = true)
|
|
: Screen(renderer, inputManager),
|
|
text(std::move(text)),
|
|
style(style),
|
|
invert(invert),
|
|
partialUpdate(partialUpdate) {}
|
|
void onEnter() override;
|
|
};
|