|
@@ -151,13 +151,13 @@ static const NWidgetPart _nested_air_too
|
|
|
};
|
|
|
|
|
|
static const WindowDesc _air_toolbar_desc(
|
|
|
WDP_ALIGN_TBR, 22, 64, 36, 64, 36,
|
|
|
WC_BUILD_TOOLBAR, WC_NONE,
|
|
|
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_STICKY_BUTTON | WDF_CONSTRUCTION,
|
|
|
NULL, _nested_air_toolbar_widgets, lengthof(_nested_air_toolbar_widgets)
|
|
|
_nested_air_toolbar_widgets, lengthof(_nested_air_toolbar_widgets)
|
|
|
);
|
|
|
|
|
|
void ShowBuildAirToolbar()
|
|
|
{
|
|
|
if (!Company::IsValidID(_local_company)) return;
|
|
|
|
|
@@ -384,13 +384,13 @@ static const NWidgetPart _nested_build_a
|
|
|
};
|
|
|
|
|
|
static const WindowDesc _build_airport_desc(
|
|
|
WDP_AUTO, WDP_AUTO, 148, 245, 148, 245,
|
|
|
WC_BUILD_STATION, WC_BUILD_TOOLBAR,
|
|
|
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_CONSTRUCTION,
|
|
|
NULL, _nested_build_airport_widgets, lengthof(_nested_build_airport_widgets)
|
|
|
_nested_build_airport_widgets, lengthof(_nested_build_airport_widgets)
|
|
|
);
|
|
|
|
|
|
static void ShowBuildAirportPicker(Window *parent)
|
|
|
{
|
|
|
new AirportPickerWindow(&_build_airport_desc, parent);
|
|
|
}
|