MCPcopy Create free account
hub / github.com/BruceDevices/firmware / scrollDown

Method scrollDown

src/core/scrollableTextArea.cpp:49–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49void ScrollableTextArea::scrollDown() {
50 if (firstVisibleLine + _maxVisibleLines <= linesBuffer.size()) {
51 if (firstVisibleLine == 0) firstVisibleLine++;
52 firstVisibleLine++;
53 _redraw = true;
54 }
55}
56
57void ScrollableTextArea::scrollToLine(size_t lineNumber) {
58 if (linesBuffer.empty()) return; // Ensure there's content to scroll

Callers 14

mainFunction · 0.80
updateAreaFunction · 0.80
hf14aMfReadDumpModeMethod · 0.80
hf14aMfuReadDumpModeMethod · 0.80
hf14aMfuWriteDumpModeMethod · 0.80
hf14aMfWriteDumpModeMethod · 0.80
hf14aMfWriteDumpMethod · 0.80
hf15ReadDumpModeMethod · 0.80
hf15WriteDumpModeMethod · 0.80
loadIso15693DumpFileMethod · 0.80

Calls 1

sizeMethod · 0.80

Tested by

no test coverage detected