MCPcopy Create free account
hub / github.com/AxisNimble/TheFlightWall_OSS / drawTextLine

Method drawTextLine

firmware/adapters/NeoMatrixDisplay.cpp:105–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103}
104
105void NeoMatrixDisplay::drawTextLine(int16_t x, int16_t y, const String &text, uint16_t color)
106{
107 _matrix->setCursor(x, y);
108 _matrix->setTextColor(color);
109 for (size_t i = 0; i < (size_t)text.length(); ++i)
110 {
111 _matrix->write(text[i]);
112 }
113}
114
115String NeoMatrixDisplay::truncateToColumns(const String &text, int maxColumns)
116{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected