public CabViewCircularSpeedGaugeRenderer(Viewer viewer, MSTSLocomotive locomotive, CVCDigital control, CabShader shader) : base(viewer, locomotive, control, shader) { CircularSpeedGauge = new CircularSpeedGauge( (int)Control.Width, (int)Control.Height, (int)Control.MaxValue, Control.Units == CABViewControlUnits.KM_PER_HOUR, true, Control.MaxValue == 240 || Control.MaxValue == 260, (int)Control.MinValue, Locomotive, Viewer ); }
public CircularSpeedGaugeRenderer(Viewer viewer, MSTSLocomotive locomotive, CVCDigital control, CabShader shader) : base(viewer, locomotive, control, shader) { // Height is adjusted to keep compatibility DMI = new DriverMachineInterface((int)Control.Width, (int)Control.Height, locomotive, viewer, control); }