| 60 | } |
| 61 | |
| 62 | void MessageOverlay::update(const InputState& input) |
| 63 | { |
| 64 | (void)input; |
| 65 | if (mButton->released() || (hidKeysDown() & KEY_A) || (hidKeysDown() & KEY_B)) { |
| 66 | screen.removeOverlay(); |
| 67 | } |
| 68 | } |
| 69 | |
| 70 | InfoOverlay::InfoOverlay(Screen& screen, const std::string& mtext) |
| 71 | : MessageOverlay(screen, mtext, Style{COLOR_LINE, COLOR_ACCENT, COLOR_WHITE, COLOR_RING, "", 0}) |
nothing calls this directly
no test coverage detected