summaryrefslogtreecommitdiff
path: root/src/vehicle_gui_base.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2010-07-17 14:58:35 +0000
committerfrosch <frosch@openttd.org>2010-07-17 14:58:35 +0000
commitf06560ad45f5f81e6d5f165dae4c3553989b06f5 (patch)
tree3919922b19fe8c4831bdbccc23e0b7b68e213ea8 /src/vehicle_gui_base.h
parent240e8df0523be8a10eeaf306367b9dff4700ae26 (diff)
downloadopenttd-f06560ad45f5f81e6d5f165dae4c3553989b06f5.tar.xz
(svn r20172) -Codechange: Use BaseVehicleListWindow::BuildActionDropdownList() also for the normal vehicle list.
Diffstat (limited to 'src/vehicle_gui_base.h')
-rw-r--r--src/vehicle_gui_base.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vehicle_gui_base.h b/src/vehicle_gui_base.h
index 2feda34bc..002dc8b4c 100644
--- a/src/vehicle_gui_base.h
+++ b/src/vehicle_gui_base.h
@@ -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);