depot_gui.c
changeset 4771 7d693e37a683
parent 4763 c74b3eac2b73
child 4796 20f8d2582b7b
equal deleted inserted replaced
4770:7092e6b90693 4771:7d693e37a683
  1006 			+ (type == VEH_Train ? 1 : w->hscroll.cap); // number of boxes in each row. Trains always have just one
  1006 			+ (type == VEH_Train ? 1 : w->hscroll.cap); // number of boxes in each row. Trains always have just one
  1007 
  1007 
  1008 
  1008 
  1009 		SetWindowWidgetsHiddenState(w, type != VEH_Train,
  1009 		SetWindowWidgetsHiddenState(w, type != VEH_Train,
  1010 			DEPOT_WIDGET_H_SCROLL,
  1010 			DEPOT_WIDGET_H_SCROLL,
  1011 			DEPOT_WIDGET_H_SCROLL,
  1011 			DEPOT_WIDGET_SELL_CHAIN,
  1012 			WIDGET_LIST_END);
  1012 			WIDGET_LIST_END);
  1013 
  1013 
  1014 		/* Move the widgets to their right locations */
  1014 		/* Move the widgets to their right locations */
  1015 		ResizeWindowWidgets(w, widget_moves, lengthof(widget_moves), horizontal, vertical);
  1015 		ResizeWindowWidgets(w, widget_moves, lengthof(widget_moves), horizontal, vertical);
  1016 
  1016