Lots of work on Array tool and support property editors

This commit is contained in:
Lars Brubaker 2018-02-09 18:10:41 -08:00 committed by LarsBrubaker
parent 5675973207
commit 2cd09dd365
12 changed files with 503 additions and 61 deletions

View file

@ -37,6 +37,8 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
{
private CheckBox checkBoxWidget;
public bool Checked => checkBoxWidget.Checked;
public override void Initialize(int tabIndex)
{
checkBoxWidget = new CheckBox("")
@ -69,6 +71,18 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
private CheckBox checkBoxWidget;
private Color textColor;
public bool Checked
{
get
{
return checkBoxWidget.Checked;
}
set
{
checkBoxWidget.Checked = value;
}
}
public ToggleboxField(Color textColor)
{
this.textColor = textColor;