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

Method ClearToMargin

src/Display/Lcd/Lcd.cpp:343–349  ·  view source on GitHub ↗

Clear a rectangle from the current position to the right margin. The height of the rectangle is the height of the current font.

Source from the content-addressed store, hash-verified

341
342// Clear a rectangle from the current position to the right margin. The height of the rectangle is the height of the current font.
343void Lcd::ClearToMargin() noexcept
344{
345 if (column < rightMargin)
346 {
347 WriteSpaces(rightMargin - column);
348 }
349}
350
351// Select normal or inverted text
352void Lcd::TextInvert(bool b) noexcept

Callers 2

FilesMenuItem.cppFile · 0.80
MenuItem.cppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected