Add gutter icon support to MenuItems

- Convert checkbox items to simple MenuItems with check icon
- Issue MatterHackers/MCCentral#2235
Add icon support to popup menus
This commit is contained in:
John Lewin 2017-11-10 13:12:02 -08:00
parent b77aec3ff4
commit 9cff33b282
7 changed files with 123 additions and 88 deletions

View file

@ -32,6 +32,7 @@ using System.Collections.Generic;
using MatterHackers.Agg.UI;
using MatterHackers.MatterControl.CustomWidgets;
using MatterHackers.MatterControl.Library;
using MatterHackers.MatterControl.PartPreviewWindow;
namespace MatterHackers.MatterControl.PrintQueue
{
@ -45,7 +46,7 @@ namespace MatterHackers.MatterControl.PrintQueue
public bool AllowProtected { get; set; } = false;
public bool AllowContainers { get; set; } = false;
public bool AlwaysEnabled { get; set; } = false;
internal MenuItem MenuItem { get; set; }
internal PopupMenu.MenuItem MenuItem { get; set; }
}
public class MenuSeparator : PrintItemAction