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

Method BuildRailStationWindow

src/rail_gui.cpp:1094–1098  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1092
1093public:
1094 BuildRailStationWindow(WindowDesc &desc, Window *parent) : PickerWindow(desc, parent, TRANSPORT_RAIL, StationPickerCallbacks::instance)
1095 {
1096 this->coverage_height = 2 * GetCharacterHeight(FS_NORMAL) + WidgetDimensions::scaled.vsep_normal;
1097 this->ConstructWindow();
1098 }
1099
1100 void OnInit() override
1101 {

Callers

nothing calls this directly

Calls 2

GetCharacterHeightFunction · 0.85
ConstructWindowMethod · 0.45

Tested by

no test coverage detected