28 u16 rows = 40, u16 cols = 80);
34 {
' ',
'*',
' ',
'E',
' ',
'W',
' ',
'I',
' ',
'D'};
Required API for display devices.
Each "draw command" updates a rectangular region of pixels.
Implement the gui::Display API using a temporary file.
bool draw(const satcat5::gui::Cursor &cursor, const satcat5::gui::DrawCmd &cmd) override
Implement the required draw() method.
static constexpr LogColors LOG_COLORS
"Color" parameters for this display are actually characters.
FileDisplay(const char *filename, u16 rows=40, u16 cols=80)
Create a "display" using the specified file.
"Display" and "Canvas" API for rendering text and graphics
Cursor object tracks position and foreground/background colors.
Color parameters for the LogToDisplay class.