(svn r18134) -Codechange: scale the offset of the text/vehicle in the vehicle lists based on the font and the unit numbers in the list

This commit is contained in:
rubidium
2009-11-17 09:09:20 +00:00
parent 68f146d83c
commit ab85bb7080
3 changed files with 24 additions and 5 deletions

View File

@@ -20,6 +20,7 @@ struct BaseVehicleListWindow: public Window {
GUIVehicleList vehicles; ///< The list of vehicles
Listing *sorting; ///< Pointer to the vehicle type related sorting.
VehicleType vehicle_type; ///< The vehicle type that is sorted
UnitID max_unitnumber; ///< The maximum UnitID
static const StringID vehicle_sorter_names[];
static GUIVehicleList::SortFunction * const vehicle_sorter_funcs[];