MCPcopy Create free account
hub / github.com/OpenLoco/OpenLoco / callKeyUpEventBackToFront

Function callKeyUpEventBackToFront

src/OpenLoco/src/Ui/WindowManager.cpp:962–973  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

960 }
961
962 bool callKeyUpEventBackToFront(uint32_t charCode, uint32_t keyCode)
963 {
964 for (auto it = _windows.rbegin(); it != _windows.rend(); it++)
965 {
966 auto& w = *it;
967 if (w.callKeyUp(charCode, keyCode))
968 {
969 return true;
970 }
971 }
972 return false;
973 }
974
975 // 0x004CD296
976 void relocateWindows()

Callers 1

normalKeyFunction · 0.85

Calls 3

rbeginMethod · 0.80
rendMethod · 0.80
callKeyUpMethod · 0.80

Tested by

no test coverage detected