(svn r25290) -Add: Assign string names to notable windows.
This commit is contained in:
@@ -714,7 +714,7 @@ static const NWidgetPart _nested_build_road_widgets[] = {
|
||||
};
|
||||
|
||||
static WindowDesc _build_road_desc(
|
||||
WDP_ALIGN_TOOLBAR, 0, 0,
|
||||
WDP_ALIGN_TOOLBAR, "toolbar_road", 0, 0,
|
||||
WC_BUILD_TOOLBAR, WC_NONE,
|
||||
WDF_CONSTRUCTION,
|
||||
_nested_build_road_widgets, lengthof(_nested_build_road_widgets)
|
||||
@@ -753,7 +753,7 @@ static const NWidgetPart _nested_build_tramway_widgets[] = {
|
||||
};
|
||||
|
||||
static WindowDesc _build_tramway_desc(
|
||||
WDP_ALIGN_TOOLBAR, 0, 0,
|
||||
WDP_ALIGN_TOOLBAR, "toolbar_tramway", 0, 0,
|
||||
WC_BUILD_TOOLBAR, WC_NONE,
|
||||
WDF_CONSTRUCTION,
|
||||
_nested_build_tramway_widgets, lengthof(_nested_build_tramway_widgets)
|
||||
@@ -813,7 +813,7 @@ static const NWidgetPart _nested_build_road_scen_widgets[] = {
|
||||
};
|
||||
|
||||
static WindowDesc _build_road_scen_desc(
|
||||
WDP_AUTO, 0, 0,
|
||||
WDP_AUTO, "toolbar_road_scen", 0, 0,
|
||||
WC_SCEN_BUILD_TOOLBAR, WC_NONE,
|
||||
WDF_CONSTRUCTION,
|
||||
_nested_build_road_scen_widgets, lengthof(_nested_build_road_scen_widgets)
|
||||
@@ -910,7 +910,7 @@ static const NWidgetPart _nested_build_road_depot_widgets[] = {
|
||||
};
|
||||
|
||||
static WindowDesc _build_road_depot_desc(
|
||||
WDP_AUTO, 0, 0,
|
||||
WDP_AUTO, NULL, 0, 0,
|
||||
WC_BUILD_DEPOT, WC_BUILD_TOOLBAR,
|
||||
WDF_CONSTRUCTION,
|
||||
_nested_build_road_depot_widgets, lengthof(_nested_build_road_depot_widgets)
|
||||
@@ -1064,7 +1064,7 @@ static const NWidgetPart _nested_rv_station_picker_widgets[] = {
|
||||
};
|
||||
|
||||
static WindowDesc _rv_station_picker_desc(
|
||||
WDP_AUTO, 0, 0,
|
||||
WDP_AUTO, NULL, 0, 0,
|
||||
WC_BUS_STATION, WC_BUILD_TOOLBAR,
|
||||
WDF_CONSTRUCTION,
|
||||
_nested_rv_station_picker_widgets, lengthof(_nested_rv_station_picker_widgets)
|
||||
|
Reference in New Issue
Block a user