(svn r20172) -Codechange: Use BaseVehicleListWindow::BuildActionDropdownList() also for the normal vehicle list.
This commit is contained in:
@@ -44,8 +44,8 @@ struct BaseVehicleListWindow : public Window {
|
||||
void DrawVehicleListItems(VehicleID selected_vehicle, int line_height, const Rect &r) const;
|
||||
void SortVehicleList();
|
||||
void BuildVehicleList(Owner owner, uint16 index, uint16 window_type);
|
||||
Dimension GetActionDropdownSize(bool show_group);
|
||||
DropDownList *BuildActionDropdownList(bool show_group);
|
||||
Dimension GetActionDropdownSize(bool show_autoreplace, bool show_group);
|
||||
DropDownList *BuildActionDropdownList(bool show_autoreplace, bool show_group);
|
||||
};
|
||||
|
||||
uint GetVehicleListHeight(VehicleType type, uint divisor = 1);
|
||||
|
||||
Reference in New Issue
Block a user