Get ui::Console to a working state.

This commit is contained in:
Jared Boone 2015-09-26 10:56:57 -07:00
parent 5c31e803c8
commit 5469a3a31d
2 changed files with 50 additions and 22 deletions

View file

@ -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();