mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-12-18 09:12:22 -05:00
Clean up UI type static_casts.
So disgusting, but not entirely gone yet...
This commit is contained in:
parent
60b8b38652
commit
ce481c0b5a
9 changed files with 45 additions and 62 deletions
|
|
@ -49,7 +49,7 @@ void Console::write(const std::string message) {
|
|||
crlf();
|
||||
}
|
||||
const Point pos_glyph {
|
||||
static_cast<Coord>(rect.pos.x + pos.x),
|
||||
rect.pos.x + pos.x,
|
||||
display.scroll_area_y(pos.y)
|
||||
};
|
||||
display.draw_glyph(pos_glyph, glyph, s.foreground, s.background);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue