mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-04 20:54:28 -04:00
Get ui::Console to a working state.
This commit is contained in:
parent
5c31e803c8
commit
5469a3a31d
2 changed files with 50 additions and 22 deletions
|
@ -38,15 +38,16 @@ public:
|
|||
{
|
||||
}
|
||||
|
||||
void clear();
|
||||
void write(const std::string message);
|
||||
void writeln(const std::string message);
|
||||
|
||||
void paint(Painter& painter) override;
|
||||
|
||||
void on_show() override;
|
||||
void on_hide() override;
|
||||
|
||||
private:
|
||||
static constexpr Color background { Color::black() };
|
||||
static constexpr Color foreground { Color::white() };
|
||||
|
||||
Point pos { 0, 0 };
|
||||
|
||||
void crlf();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue