mirror of
https://github.com/daveallie/crosspoint-reader.git
synced 2025-12-18 15:17:42 +03:00
19 lines
505 B
C++
19 lines
505 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;
|
|
|
|
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) {}
|
|
void onEnter() override;
|
|
};
|