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

Method update

3ds/source/MessageOverlay.cpp:62–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62void 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
70InfoOverlay::InfoOverlay(Screen& screen, const std::string& mtext)
71 : 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