| 113 | } |
| 114 | |
| 115 | void Menu::LoadFixedMenu() noexcept |
| 116 | { |
| 117 | displayingFixedMenu = true; |
| 118 | numNestedMenus = 0; |
| 119 | commandBufferIndex = 0; |
| 120 | rowOffset = currentMargin = 0; |
| 121 | lcd.ClearAll(); |
| 122 | |
| 123 | // Instead of Reload(): |
| 124 | lcd.SetRightMargin(lcd.GetNumCols()); |
| 125 | |
| 126 | ResetCache(); |
| 127 | |
| 128 | #if HAS_MASS_STORAGE |
| 129 | char acLine1[] = "text R3 C5 F0 T\"No SD Card Found\""; |
| 130 | char acLine2[] = "button R15 C5 F0 T\"Mount SD\" A\"M21\""; |
| 131 | |
| 132 | (void)ParseMenuLine(acLine1); |
| 133 | (void)ParseMenuLine(acLine2); |
| 134 | #endif |
| 135 | } |
| 136 | |
| 137 | // Display a M291 message box |
| 138 | void Menu::DisplayMessageBox(const MessageBox& mbox) noexcept |
nothing calls this directly
no test coverage detected