Files
crosspoint-reader/src/screens/FullScreenMessageScreen.h

19 lines
514 B
C
Raw Normal View History

2025-12-03 22:00:29 +11:00
#pragma once
#include <string>
#include <utility>
#include "Screen.h"
class FullScreenMessageScreen final : public Screen {
std::string text;
bool bold;
bool italic;
bool invert;
public:
explicit FullScreenMessageScreen(EpdRenderer* renderer, std::string text, const bool bold = false,
const bool italic = false, const bool invert = false)
: Screen(renderer), text(std::move(text)), bold(bold), italic(italic), invert(invert) {}
void onEnter() override;
};