MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / Close

Method Close

src/misc_gui.cpp:1089–1093  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1087 }
1088
1089 void Close([[maybe_unused]] int data = 0) override
1090 {
1091 if (this->proc != nullptr) this->proc(this->parent, false);
1092 this->Window::Close();
1093 }
1094
1095 void FindWindowPlacementAndResize(int, int, bool) override
1096 {

Callers 4

OnClickMethod · 0.95
OnKeyPressMethod · 0.95
OnMouseLoopMethod · 0.45
ShowQueryFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected