(svn r18324) -Codechange: there's no need for a default size when the window isn't resizable
This commit is contained in:
@@ -856,7 +856,7 @@ static const NWidgetPart _nested_build_rail_widgets[] = {
|
||||
};
|
||||
|
||||
static const WindowDesc _build_rail_desc(
|
||||
WDP_ALIGN_TOOLBAR, 350, 36,
|
||||
WDP_ALIGN_TOOLBAR, 0, 0,
|
||||
WC_BUILD_TOOLBAR, WC_NONE,
|
||||
WDF_CONSTRUCTION,
|
||||
_nested_build_rail_widgets, lengthof(_nested_build_rail_widgets)
|
||||
@@ -1461,7 +1461,7 @@ static const NWidgetPart _nested_newstation_builder_widgets[] = {
|
||||
|
||||
/** High level window description of the default station-build window */
|
||||
static const WindowDesc _station_builder_desc(
|
||||
WDP_AUTO, 148, 200,
|
||||
WDP_AUTO, 0, 0,
|
||||
WC_BUILD_STATION, WC_BUILD_TOOLBAR,
|
||||
WDF_CONSTRUCTION,
|
||||
_nested_station_builder_widgets, lengthof(_nested_station_builder_widgets)
|
||||
@@ -1469,7 +1469,7 @@ static const WindowDesc _station_builder_desc(
|
||||
|
||||
/** High level window description of the newGRF station-build window */
|
||||
static const WindowDesc _newstation_builder_desc(
|
||||
WDP_AUTO, 148, 290,
|
||||
WDP_AUTO, 0, 0,
|
||||
WC_BUILD_STATION, WC_BUILD_TOOLBAR,
|
||||
WDF_CONSTRUCTION,
|
||||
_nested_newstation_builder_widgets, lengthof(_nested_newstation_builder_widgets)
|
||||
@@ -1674,7 +1674,7 @@ static const NWidgetPart _nested_signal_builder_widgets[] = {
|
||||
|
||||
/** Signal selection window description */
|
||||
static const WindowDesc _signal_builder_desc(
|
||||
WDP_AUTO, 154, 68,
|
||||
WDP_AUTO, 0, 0,
|
||||
WC_BUILD_SIGNAL, WC_BUILD_TOOLBAR,
|
||||
WDF_UNCLICK_BUTTONS | WDF_CONSTRUCTION,
|
||||
_nested_signal_builder_widgets, lengthof(_nested_signal_builder_widgets)
|
||||
@@ -1764,7 +1764,7 @@ static const NWidgetPart _nested_build_depot_widgets[] = {
|
||||
};
|
||||
|
||||
static const WindowDesc _build_depot_desc(
|
||||
WDP_AUTO, 140, 122,
|
||||
WDP_AUTO, 0, 0,
|
||||
WC_BUILD_DEPOT, WC_BUILD_TOOLBAR,
|
||||
WDF_CONSTRUCTION,
|
||||
_nested_build_depot_widgets, lengthof(_nested_build_depot_widgets)
|
||||
@@ -1864,7 +1864,7 @@ static const NWidgetPart _nested_build_waypoint_widgets[] = {
|
||||
};
|
||||
|
||||
static const WindowDesc _build_waypoint_desc(
|
||||
WDP_AUTO, 344, 92,
|
||||
WDP_AUTO, 0, 0,
|
||||
WC_BUILD_DEPOT, WC_BUILD_TOOLBAR,
|
||||
WDF_CONSTRUCTION,
|
||||
_nested_build_waypoint_widgets, lengthof(_nested_build_waypoint_widgets)
|
||||
|
Reference in New Issue
Block a user