diff options
-rw-r--r-- | src/road_gui.cpp | 34 |
1 files changed, 16 insertions, 18 deletions
diff --git a/src/road_gui.cpp b/src/road_gui.cpp index 70666494e..35ba8150b 100644 --- a/src/road_gui.cpp +++ b/src/road_gui.cpp @@ -890,25 +890,23 @@ static void ShowRoadDepotPicker(Window *parent) new BuildRoadDepotWindow(&_build_road_depot_desc, parent); } +/** Enum referring to the widgets of the build road station window */ +enum BuildRoadStationWidgets { + BRSW_CLOSEBOX = 0, + BRSW_CAPTION, + BRSW_BACKGROUND, + BRSW_STATION_NE, + BRSW_STATION_SE, + BRSW_STATION_SW, + BRSW_STATION_NW, + BRSW_STATION_X, + BRSW_STATION_Y, + BRSW_LT_OFF, + BRSW_LT_ON, + BRSW_INFO, +}; + struct BuildRoadStationWindow : public PickerWindowBase { -private: - /** Enum referring to the widgets of the build road station window */ - enum BuildRoadStationWidgets { - BRSW_CLOSEBOX = 0, - BRSW_CAPTION, - BRSW_BACKGROUND, - BRSW_STATION_NE, - BRSW_STATION_SE, - BRSW_STATION_SW, - BRSW_STATION_NW, - BRSW_STATION_X, - BRSW_STATION_Y, - BRSW_LT_OFF, - BRSW_LT_ON, - BRSW_INFO, - }; - -public: BuildRoadStationWindow(const WindowDesc *desc, Window *parent, RoadStopType rs) : PickerWindowBase(desc, parent) { /* Trams don't have non-drivethrough stations */ |