MCPcopy Create free account
hub / github.com/BernardoGiordano/Checkpoint / update

Method update

3ds/source/MessageOverlay.cpp:60–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

removeOverlayMethod · 0.80
releasedMethod · 0.45

Tested by

no test coverage detected