Working on Queue done button working test (+2 squashed commit)

Test that MatterControl vanilla actually stars up
Finished the resume print test
Set backup to 0
Created a SwitchToAdvancedSettings function
This commit is contained in:
Lars Brubaker 2016-09-20 14:32:22 -07:00
parent acc4460142
commit c3d96b6601
10 changed files with 131 additions and 85 deletions

View file

@ -409,6 +409,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
buttonRightPanel.AddChild(modelOptionsContainer);
expandDisplayOptions = ExpandMenuOptionFactory.GenerateCheckBoxButton("Display".Localize().ToUpper(), StaticData.Instance.LoadIcon("icon_arrow_right_no_border_32x32.png", 32, 32).InvertLightness());
expandDisplayOptions.Name = "Display Checkbox";
expandDisplayOptions.Margin = new BorderDouble(bottom: 2);
buttonRightPanel.AddChild(expandDisplayOptions);
expandDisplayOptions.Checked = false;
@ -752,6 +753,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
{
syncToPrint = new CheckBox("Sync To Print".Localize(), textColor: ActiveTheme.Instance.PrimaryTextColor);
syncToPrint.Checked = (UserSettings.Instance.get("LayerViewSyncToPrint") == "True");
syncToPrint.Name = "Sync To Print Checkbox";
syncToPrint.CheckedStateChanged += (sender, e) =>
{
UserSettings.Instance.set("LayerViewSyncToPrint", syncToPrint.Checked.ToString());
@ -1235,6 +1237,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
editCurrentLayerIndex.VAnchor = VAnchor.ParentCenter;
editCurrentLayerIndex.Margin = new BorderDouble(5, 0);
editCurrentLayerIndex.EditComplete += new EventHandler(editCurrentLayerIndex_EditComplete);
editCurrentLayerIndex.Name = "Current GCode Layer Edit";
this.AddChild(editCurrentLayerIndex);
gcodeViewWidget.ActiveLayerChanged += new EventHandler(gcodeViewWidget_ActiveLayerChanged);