src/timetable_gui.cpp
changeset 9273 35e0224ea8f1
parent 9253 fb3bf727fc75
child 9317 f14eb8815829
equal deleted inserted replaced
9272:e64b518a7b54 9273:35e0224ea8f1
   106 		}
   106 		}
   107 
   107 
   108 		this->SetWidgetLoweredState(TTV_AUTOFILL, HasBit(v->vehicle_flags, VF_AUTOFILL_TIMETABLE));
   108 		this->SetWidgetLoweredState(TTV_AUTOFILL, HasBit(v->vehicle_flags, VF_AUTOFILL_TIMETABLE));
   109 
   109 
   110 		SetDParam(0, v->index);
   110 		SetDParam(0, v->index);
   111 		DrawWindowWidgets(this);
   111 		this->DrawWidgets();
   112 
   112 
   113 		int y = 15;
   113 		int y = 15;
   114 		int i = this->vscroll.pos;
   114 		int i = this->vscroll.pos;
   115 		VehicleOrderID order_id = (i + 1) / 2;
   115 		VehicleOrderID order_id = (i + 1) / 2;
   116 		bool final_order = false;
   116 		bool final_order = false;