Put in retraction viewing.

This commit is contained in:
larsbrubaker 2014-02-17 14:36:24 -08:00
parent a770450c1e
commit 242927ac48

View file

@ -412,6 +412,15 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
};
layerInfoContainer.AddChild(showMoves);
// put in a show Retractions checkbox
CheckBox showRetractions = new CheckBox(new LocalizedString("Show Retractions").Translated, textColor: RGBA_Bytes.White);
showRetractions.Checked = gcodeViewWidget.RenderRetractions;
showRetractions.CheckedStateChanged += (sender, e) =>
{
gcodeViewWidget.RenderRetractions = showRetractions.Checked;
};
layerInfoContainer.AddChild(showRetractions);
//layerInfoContainer.AddChild(new CheckBox("Show Retractions", textColor: RGBA_Bytes.White));
buttonPanel.AddChild(layerInfoContainer);