(svn r20453) -Codechange: Remove direct accesses to Window::hscroll, vscroll and vscroll2.
Note: All windows get individual members with the same names, which are initialised via Window::GetScrollbar(). This caching is not required at all, but simplifies conversion.
This commit is contained in:
		| @@ -23,6 +23,7 @@ struct BaseVehicleListWindow : public Window { | ||||
| 	Listing *sorting;         ///< Pointer to the vehicle type related sorting. | ||||
| 	VehicleType vehicle_type; ///< The vehicle type that is sorted | ||||
| 	byte unitnumber_digits;   ///< The number of digits of the highest unit number | ||||
| 	Scrollbar *vscroll; | ||||
|  | ||||
| 	enum ActionDropdownItem { | ||||
| 		ADI_REPLACE, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 frosch
					frosch