2015-05-19 14:43:24 -07:00
|
|
|
|
using MatterHackers.Agg;
|
|
|
|
|
|
using MatterHackers.Agg.UI;
|
|
|
|
|
|
using MatterHackers.Localizations;
|
|
|
|
|
|
using MatterHackers.MatterControl.DataStorage;
|
|
|
|
|
|
using MatterHackers.MatterControl.PrinterCommunication;
|
|
|
|
|
|
using MatterHackers.MatterControl.PrinterControls.PrinterConnections;
|
|
|
|
|
|
using MatterHackers.MatterControl.PrintQueue;
|
|
|
|
|
|
using MatterHackers.VectorMath;
|
|
|
|
|
|
using System;
|
2016-02-13 11:49:09 -08:00
|
|
|
|
using System.Collections.Generic;
|
2015-05-19 14:43:24 -07:00
|
|
|
|
using System.IO;
|
|
|
|
|
|
|
|
|
|
|
|
namespace MatterHackers.MatterControl
|
|
|
|
|
|
{
|
2015-05-20 17:34:55 -07:00
|
|
|
|
public class MenuOptionSettings : MenuBase
|
2015-05-19 14:43:24 -07:00
|
|
|
|
{
|
|
|
|
|
|
static public PopOutTextTabWidget sliceSettingsPopOut = null;
|
|
|
|
|
|
static public PopOutTextTabWidget controlsPopOut = null;
|
|
|
|
|
|
|
2016-04-18 11:31:31 -07:00
|
|
|
|
public MenuOptionSettings() : base("View".Localize())
|
2015-05-19 14:43:24 -07:00
|
|
|
|
{
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2016-06-10 15:31:15 -07:00
|
|
|
|
protected override IEnumerable<MenuItemAction> GetMenuActions()
|
2015-05-19 14:43:24 -07:00
|
|
|
|
{
|
2016-02-13 11:49:09 -08:00
|
|
|
|
return new List<MenuItemAction>
|
2015-05-19 14:43:24 -07:00
|
|
|
|
{
|
2016-04-18 11:31:31 -07:00
|
|
|
|
new MenuItemAction("Settings".Localize(), () => sliceSettingsPopOut?.ShowInWindow()),
|
|
|
|
|
|
new MenuItemAction("Controls".Localize(), () => controlsPopOut?.ShowInWindow()),
|
|
|
|
|
|
new MenuItemAction("Terminal".Localize(), () => UiThread.RunOnIdle(TerminalWindow.Show)),
|
|
|
|
|
|
};
|
2015-05-19 14:43:24 -07:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|