Hide ui::Rect implementation.

This commit is contained in:
Jared Boone 2016-11-28 11:25:27 -08:00
parent d15ace4676
commit e820bed097
12 changed files with 52 additions and 42 deletions

View file

@ -49,7 +49,7 @@ void Console::write(const std::string& message) {
crlf();
}
const Point pos_glyph {
rect.pos.x() + pos.x(),
rect.left() + pos.x(),
display.scroll_area_y(pos.y())
};
display.draw_glyph(pos_glyph, glyph, s.foreground, s.background);