Add support for color overrides

This commit is contained in:
John Lewin 2019-02-22 07:11:27 -08:00
parent 4f7d46aa13
commit 1e965fc2e7
4 changed files with 33 additions and 19 deletions

View file

@ -36,7 +36,7 @@ namespace MatterHackers.GCodeVisualizer
{
protected int extruderIndex;
public abstract void Render(Graphics2D graphics2D, GCodeRenderInfo renderInfo);
public abstract void Render(Graphics2D graphics2D, GCodeRenderInfo renderInfo, Color overrideColor = default(Color));
public abstract void CreateRender3DData(VectorPOD<ColorVertexData> colorVertexData, VectorPOD<int> indexData, GCodeRenderInfo renderInfo);