Commit cc7e1cd4 authored by Tomaz  Canabrava's avatar Tomaz Canabrava
Browse files

Add TODO - this ccan be a junior job

parent 496f4893
...@@ -105,6 +105,7 @@ void TerminalPainter::drawContents(Character *image, ...@@ -105,6 +105,7 @@ void TerminalPainter::drawContents(Character *image,
} }
} }
// TODO: Move all those lambdas to Character, so it's easy to test.
const bool lineDraw = LineBlockCharacters::canDraw(image[display->loc(x, y)].character); const bool lineDraw = LineBlockCharacters::canDraw(image[display->loc(x, y)].character);
const bool doubleWidth = (image[qMin(display->loc(x, y) + 1, imageSize - 1)].character == 0); const bool doubleWidth = (image[qMin(display->loc(x, y) + 1, imageSize - 1)].character == 0);
const CharacterColor currentForeground = image[display->loc(x, y)].foregroundColor; const CharacterColor currentForeground = image[display->loc(x, y)].foregroundColor;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment