|
|
|
@ -1582,7 +1582,11 @@ public:
|
|
|
|
|
this->InvalidateData();
|
|
|
|
|
}};
|
|
|
|
|
|
|
|
|
|
static inline HotkeyList hotkeys{"buildroadstop", {
|
|
|
|
|
static inline HotkeyList road_hotkeys{"buildroadstop", {
|
|
|
|
|
Hotkey('F', "focus_filter_box", BROSHK_FOCUS_FILTER_BOX),
|
|
|
|
|
}};
|
|
|
|
|
|
|
|
|
|
static inline HotkeyList tram_hotkeys{"buildtramstop", {
|
|
|
|
|
Hotkey('F', "focus_filter_box", BROSHK_FOCUS_FILTER_BOX),
|
|
|
|
|
}};
|
|
|
|
|
};
|
|
|
|
@ -1684,7 +1688,8 @@ static WindowDesc _road_station_picker_desc(__FILE__, __LINE__,
|
|
|
|
|
WDP_AUTO, "build_station_road", 0, 0,
|
|
|
|
|
WC_BUS_STATION, WC_BUILD_TOOLBAR,
|
|
|
|
|
WDF_CONSTRUCTION,
|
|
|
|
|
std::begin(_nested_road_station_picker_widgets), std::end(_nested_road_station_picker_widgets)
|
|
|
|
|
std::begin(_nested_road_station_picker_widgets), std::end(_nested_road_station_picker_widgets),
|
|
|
|
|
&BuildRoadStationWindow::road_hotkeys
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
/** Widget definition of the build tram station window */
|
|
|
|
@ -1761,7 +1766,8 @@ static WindowDesc _tram_station_picker_desc(__FILE__, __LINE__,
|
|
|
|
|
WDP_AUTO, "build_station_tram", 0, 0,
|
|
|
|
|
WC_BUS_STATION, WC_BUILD_TOOLBAR,
|
|
|
|
|
WDF_CONSTRUCTION,
|
|
|
|
|
std::begin(_nested_tram_station_picker_widgets), std::end(_nested_tram_station_picker_widgets)
|
|
|
|
|
std::begin(_nested_tram_station_picker_widgets), std::end(_nested_tram_station_picker_widgets),
|
|
|
|
|
&BuildRoadStationWindow::tram_hotkeys
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
static void ShowRVStationPicker(Window *parent, RoadStopType rs)
|
|
|
|
|