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

Method show

src/core/scrollableTextArea.cpp:74–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72size_t ScrollableTextArea::getMaxLines() { return linesBuffer.size(); }
73
74void ScrollableTextArea::show(bool force) {
75 draw(force);
76
77 while (check(SelPress)) {
78 update(force);
79 yield();
80 }
81 while (!check(SelPress)) {
82 update(force);
83 yield();
84 }
85}
86
87uint32_t ScrollableTextArea::getMaxVisibleTextLength() { return _maxVisibleLines * _maxCharactersPerLine; }
88

Callers 15

fillInfoFunction · 0.80
displayAPInfoFunction · 0.80
setupMethod · 0.80
native_dialogViewTextFunction · 0.80
showDeviceInfoFunction · 0.80
led_control.cppFile · 0.80
setLedColorFunction · 0.80
setLedBrightnessFunction · 0.80
viewFileFunction · 0.80
index.jsFile · 0.80
appendFileToQueueFunction · 0.80
runCommandFunction · 0.80

Calls 1

checkFunction · 0.85

Tested by

no test coverage detected