Changed RGBA_Bytes -> Color

This commit is contained in:
Lars Brubaker 2017-10-31 11:43:25 -07:00
parent c6a3c14118
commit 8d1fecab8c
107 changed files with 495 additions and 495 deletions

View file

@ -49,7 +49,7 @@ namespace MatterHackers.GCodeVisualizer
return Vector2.Zero;
}
public Func<int, RGBA_Bytes> GetMaterialColor { get; }
public Func<int, Color> GetMaterialColor { get; }
public int StartLayerIndex { get; set; }
@ -76,7 +76,7 @@ namespace MatterHackers.GCodeVisualizer
double featureToStartOnRatio0To1, double featureToEndOnRatio0To1,
Vector2[] extruderOffsets,
Func<RenderType> getRenderType,
Func<int, RGBA_Bytes> getMaterialColor)
Func<int, Color> getMaterialColor)
{
this.GetMaterialColor = getMaterialColor;
this.StartLayerIndex = startLayerIndex;