MCPcopy Create free account
hub / github.com/XorTroll/Goldleaf / ReadLines

Method ReadLines

Goldleaf/include/ui/ui_FileContentLayout.hpp:40–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38 fs::Explorer *file_exp;
39
40 inline std::vector<std::string> ReadLines(const u32 line_offset, const u32 count) {
41 if(this->read_hex) {
42 return this->file_exp->ReadFileFormatHex(this->path, line_offset, count);
43 }
44 else {
45 return this->file_exp->ReadFileLines(this->path, line_offset, count);
46 }
47 }
48
49 void OnInput(const u64 keys_down, const u64 keys_up, const u64 keys_held, const pu::ui::TouchPoint touch_pos);
50 bool ScrollUp();

Callers 3

ScrollUpMethod · 0.95
ScrollDownMethod · 0.95
LoadFileMethod · 0.95

Calls 2

ReadFileFormatHexMethod · 0.80
ReadFileLinesMethod · 0.80

Tested by

no test coverage detected