//[CallOnThread("Loader")]
 public CabViewCircularSpeedGaugeRenderer(Viewer viewer, MSTSLocomotive locomotive, CabViewDigitalControl control, CabShader shader)
     : base(viewer, locomotive, control, shader)
 {
     CircularSpeedGauge = new CircularSpeedGauge(
         control.Bounds.Width,
         Control.Bounds.Height,
         (int)Control.ScaleRangeMax,
         Control.ControlUnit == CabViewControlUnit.Km_Per_Hour,
         true,
         Control.ScaleRangeMax == 240 || Control.ScaleRangeMax == 260,
         (int)Control.ScaleRangeMin,
         Locomotive,
         Viewer,
         shader
         );
 }
 public CircularSpeedGaugeControl(int width, int height, float maxSpeedMpS, WindowManager owner)
     : base(0, 0, width, height)
 {
     CircularSpeedGauge = new CircularSpeedGauge(
         width,
         height,
         (int)Speed.MeterPerSecond.FromMpS(maxSpeedMpS, owner.Viewer.MilepostUnitsMetric),
         owner.Viewer.MilepostUnitsMetric,
         true,
         (int)Speed.MeterPerSecond.ToKpH(maxSpeedMpS) == 240 || (int)Speed.MeterPerSecond.ToKpH(maxSpeedMpS) == 260,
         0,
         (MSTSLocomotive)owner.Viewer.PlayerLocomotive,
         owner.Viewer,
         null
         );
 }