Lots of work on Array tool and support property editors
This commit is contained in:
parent
5675973207
commit
2cd09dd365
12 changed files with 503 additions and 61 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue