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

Method Clear

src/Display/Lcd/Lcd.cpp:283–291  ·  view source on GitHub ↗

Clear part of the display and select non-inverted text.

Source from the content-addressed store, hash-verified

281
282// Clear part of the display and select non-inverted text.
283void Lcd::Clear(PixelNumber top, PixelNumber left, PixelNumber bottom, PixelNumber right) noexcept
284{
285 ClearBlock(top, left, bottom, right, false);
286
287 SetCursor(top, left);
288 textInverted = false;
289 leftMargin = left;
290 rightMargin = right;
291}
292
293// Write some spaces
294void Lcd::WriteSpaces(PixelNumber numPixels) noexcept

Callers 15

ProcessLineMethod · 0.45
GetJsonResponseMethod · 0.45
SendFileInfoMethod · 0.45
SendGCodeReplyMethod · 0.45
CancelUploadMethod · 0.45
StartUploadMethod · 0.45
FinishUploadMethod · 0.45
DisplayMessageBoxMethod · 0.45
ReloadMethod · 0.45
MenuItem.cppFile · 0.45
THROWSFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected