MCPcopy Create free account
hub / github.com/OpenRCT2/OpenRCT2 / ForceClose

Method ForceClose

src/openrct2-ui/WindowManager.cpp:585–604  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

583 }
584
585 void ForceClose(WindowClass windowClass) override
586 {
587 switch (windowClass)
588 {
589 case WindowClass::editorObjectSelection:
590 EditorObjectSelectionClose();
591 break;
592
593 case WindowClass::networkStatus:
594 WindowNetworkStatusClose();
595 break;
596
597 case WindowClass::progressWindow:
598 ProgressWindowClose();
599 break;
600
601 default:
602 break;
603 }
604 }
605
606 void UpdateMapTooltip() override
607 {

Callers 3

InstallTrackOpenFunction · 0.45
onScrollMouseDownMethod · 0.45

Calls 3

WindowNetworkStatusCloseFunction · 0.85
ProgressWindowCloseFunction · 0.85

Tested by

no test coverage detected