MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / OnKeyDown

Method OnKeyDown

engine/Poseidon/UI/Options/FlatMenuPage.cpp:34–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32}
33
34bool FlatMenuPage::OnKeyDown(OptionsShell& shell, unsigned nChar)
35{
36 if (nChar == SDLK_ESCAPE)
37 {
38 shell.PopPage();
39 return true;
40 }
41 return WrapFocus(shell, nChar, m_cycle, m_cycleSize);
42}
43
44void FlatMenuPage::OnSimulate(OptionsShell& shell)
45{

Callers

nothing calls this directly

Calls 1

PopPageMethod · 0.80

Tested by

no test coverage detected