added close to terminal and settings (default to close)

added ICloseableTab
changed to selected tab key
added keys to tool tabs
This commit is contained in:
Lars Brubaker 2018-09-07 14:49:26 -07:00
parent 164bc664f9
commit daec1a0420
14 changed files with 192 additions and 81 deletions

View file

@ -286,6 +286,20 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
IsEnabled = () => printer.Connection.IsConnected
},
new NamedBoolAction()
{
Title = "Show Controls".Localize(),
Action = () => { },
GetIsActive = () => printer.ViewState.ControlsVisible,
SetIsActive = (value) => printer.ViewState.ControlsVisible = value
},
new NamedBoolAction()
{
Title = "Show Terminal".Localize(),
Action = () => { },
GetIsActive = () => printer.ViewState.TerminalVisible,
SetIsActive = (value) => printer.ViewState.TerminalVisible = value
},
new NamedBoolAction()
{
Title = "Configure Printer".Localize(),
Action = () => { },