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

Method OnButtonClicked

engine/Poseidon/UI/Options/ScrollListPage.cpp:45–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43}
44
45bool ScrollListPage::OnButtonClicked(OptionsShell& shell, int idc)
46{
47 if (idc == IDC_CANCEL)
48 {
49 shell.PopPage();
50 return true;
51 }
52 if (m_list && m_list->OnButtonClicked(idc))
53 return true;
54 return false;
55}
56
57bool ScrollListPage::OnKeyDown(OptionsShell& shell, unsigned nChar)
58{

Callers

nothing calls this directly

Calls 1

PopPageMethod · 0.80

Tested by

no test coverage detected