MCPcopy Create free account
hub / github.com/Duet3D/RepRapFirmware / WriteSpaces

Method WriteSpaces

src/Display/Lcd/Lcd.cpp:294–308  ·  view source on GitHub ↗

Write some spaces

Source from the content-addressed store, hash-verified

292
293// Write some spaces
294void Lcd::WriteSpaces(PixelNumber numPixels) noexcept
295{
296 uint8_t ySize = GetFontHeight();
297 if (row < numRows)
298 {
299 if (row + ySize > numRows)
300 {
301 ySize = numRows - row;
302 }
303 ClearBlock(row, column, row + ySize, column + numPixels, textInverted);
304 }
305 column += numPixels;
306 lastCharColData = 0;
307 justSetCursor = false;
308}
309
310// printf to LCD
311int Lcd::printf(const char *_ecv_array fmt, ...) noexcept

Callers 2

ButtonMenuItem.cppFile · 0.80
ValueMenuItem.cppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected