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

Method OnDraw

engine/Poseidon/UI/OptionsUIApp.cpp:1902–1910  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1900 if (_started)
1901 ApplyView();
1902 Display::OnSimulate(vehicle);
1903}
1904
1905void DisplayMain::OnButtonClicked(int idc)
1906{
1907 // Dispatch registered game module buttons via registry
1908 if (auto* mod = GameModuleRegistry::FindByIDC(idc))
1909 {
1910 mod->menuAction(this);
1911 return;
1912 }
1913

Callers

nothing calls this directly

Calls 2

SetMainPlayerControlTextFunction · 0.85
GetCtrlFunction · 0.85

Tested by

no test coverage detected