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

Method ClearHighlighting

src/Display/Menu.cpp:782–786  ·  view source on GitHub ↗

Clear any highlighting. Call Refresh() after calling this to clear it on the display.

Source from the content-addressed store, hash-verified

780
781// Clear any highlighting. Call Refresh() after calling this to clear it on the display.
782void Menu::ClearHighlighting() noexcept
783{
784 highlightedItem = nullptr;
785 itemIsSelected = false;
786}
787
788// Move the highlighted item forwards or backwards through the selectable items, setting it to nullptr if nothing is selectable
789// On entry, n is nonzero

Callers 1

SpinMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected