(svn r26801) -Add: Labels above the lists in the autoreplace GUI.
This commit is contained in:
		| @@ -586,6 +586,14 @@ static const NWidgetPart _nested_replace_rail_vehicle_widgets[] = { | |||||||
| 		NWidget(WWT_DEFSIZEBOX, COLOUR_GREY), | 		NWidget(WWT_DEFSIZEBOX, COLOUR_GREY), | ||||||
| 		NWidget(WWT_STICKYBOX, COLOUR_GREY), | 		NWidget(WWT_STICKYBOX, COLOUR_GREY), | ||||||
| 	EndContainer(), | 	EndContainer(), | ||||||
|  | 	NWidget(NWID_HORIZONTAL, NC_EQUALSIZE), | ||||||
|  | 		NWidget(WWT_PANEL, COLOUR_GREY), | ||||||
|  | 			NWidget(WWT_LABEL, COLOUR_GREY), SetDataTip(STR_REPLACE_VEHICLE_VEHICLES_IN_USE, STR_REPLACE_VEHICLE_VEHICLES_IN_USE_TOOLTIP), SetFill(1, 1), SetMinimalSize(0, 12), SetResize(1, 0), | ||||||
|  | 		EndContainer(), | ||||||
|  | 		NWidget(WWT_PANEL, COLOUR_GREY), | ||||||
|  | 			NWidget(WWT_LABEL, COLOUR_GREY), SetDataTip(STR_REPLACE_VEHICLE_AVAILABLE_VEHICLES, STR_REPLACE_VEHICLE_AVAILABLE_VEHICLES_TOOLTIP), SetFill(1, 1), SetMinimalSize(0, 12), SetResize(1, 0), | ||||||
|  | 		EndContainer(), | ||||||
|  | 	EndContainer(), | ||||||
| 	NWidget(NWID_HORIZONTAL, NC_EQUALSIZE), | 	NWidget(NWID_HORIZONTAL, NC_EQUALSIZE), | ||||||
| 		NWidget(WWT_PANEL, COLOUR_GREY), SetResize(1, 0), EndContainer(), | 		NWidget(WWT_PANEL, COLOUR_GREY), SetResize(1, 0), EndContainer(), | ||||||
| 		NWidget(NWID_HORIZONTAL), | 		NWidget(NWID_HORIZONTAL), | ||||||
| @@ -634,6 +642,14 @@ static const NWidgetPart _nested_replace_vehicle_widgets[] = { | |||||||
| 		NWidget(WWT_DEFSIZEBOX, COLOUR_GREY), | 		NWidget(WWT_DEFSIZEBOX, COLOUR_GREY), | ||||||
| 		NWidget(WWT_STICKYBOX, COLOUR_GREY), | 		NWidget(WWT_STICKYBOX, COLOUR_GREY), | ||||||
| 	EndContainer(), | 	EndContainer(), | ||||||
|  | 	NWidget(NWID_HORIZONTAL, NC_EQUALSIZE), | ||||||
|  | 		NWidget(WWT_PANEL, COLOUR_GREY), | ||||||
|  | 			NWidget(WWT_LABEL, COLOUR_GREY), SetDataTip(STR_REPLACE_VEHICLE_VEHICLES_IN_USE, STR_REPLACE_VEHICLE_VEHICLES_IN_USE_TOOLTIP), SetFill(1, 1), SetMinimalSize(0, 12), SetResize(1, 0), | ||||||
|  | 		EndContainer(), | ||||||
|  | 		NWidget(WWT_PANEL, COLOUR_GREY), | ||||||
|  | 			NWidget(WWT_LABEL, COLOUR_GREY), SetDataTip(STR_REPLACE_VEHICLE_AVAILABLE_VEHICLES, STR_REPLACE_VEHICLE_AVAILABLE_VEHICLES_TOOLTIP), SetFill(1, 1), SetMinimalSize(0, 12), SetResize(1, 0), | ||||||
|  | 		EndContainer(), | ||||||
|  | 	EndContainer(), | ||||||
| 	NWidget(NWID_HORIZONTAL, NC_EQUALSIZE), | 	NWidget(NWID_HORIZONTAL, NC_EQUALSIZE), | ||||||
| 		NWidget(WWT_PANEL, COLOUR_GREY), SetResize(1, 0), EndContainer(), | 		NWidget(WWT_PANEL, COLOUR_GREY), SetResize(1, 0), EndContainer(), | ||||||
| 		NWidget(NWID_HORIZONTAL), | 		NWidget(NWID_HORIZONTAL), | ||||||
|   | |||||||
| @@ -3494,6 +3494,11 @@ STR_REPLACE_VEHICLE_ROAD_VEHICLE                                :Road Vehicle | |||||||
| STR_REPLACE_VEHICLE_SHIP                                        :Ship | STR_REPLACE_VEHICLE_SHIP                                        :Ship | ||||||
| STR_REPLACE_VEHICLE_AIRCRAFT                                    :Aircraft | STR_REPLACE_VEHICLE_AIRCRAFT                                    :Aircraft | ||||||
|  |  | ||||||
|  | STR_REPLACE_VEHICLE_VEHICLES_IN_USE                             :{YELLOW}Vehicles in use | ||||||
|  | STR_REPLACE_VEHICLE_VEHICLES_IN_USE_TOOLTIP                     :{BLACK}Column with vehicles that you own | ||||||
|  | STR_REPLACE_VEHICLE_AVAILABLE_VEHICLES                          :{YELLOW}Available vehicles | ||||||
|  | STR_REPLACE_VEHICLE_AVAILABLE_VEHICLES_TOOLTIP                  :{BLACK}Column with vehicles available for replacement | ||||||
|  |  | ||||||
| STR_REPLACE_HELP_LEFT_ARRAY                                     :{BLACK}Select the engine type to replace | STR_REPLACE_HELP_LEFT_ARRAY                                     :{BLACK}Select the engine type to replace | ||||||
| STR_REPLACE_HELP_RIGHT_ARRAY                                    :{BLACK}Select the new engine type you would like to use in place of the left selected engine type | STR_REPLACE_HELP_RIGHT_ARRAY                                    :{BLACK}Select the new engine type you would like to use in place of the left selected engine type | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 alberth
					alberth