Fix whitespace

This commit is contained in:
John Lewin 2019-05-10 20:11:10 -07:00
parent 37a323162f
commit c0b7f39fd5
2 changed files with 15 additions and 1 deletions

View file

@ -37,10 +37,15 @@ namespace MatterHackers.MatterControl
public class NamedAction
{
public string Title { get; set; }
public string Shortcut { get; set; }
public Action Action { get; set; }
public ImageBuffer Icon { get; set; }
public Func<bool> IsEnabled { get; set; }
public string ID { get; set; }
}
@ -51,13 +56,16 @@ namespace MatterHackers.MatterControl
public class NamedBoolAction : NamedAction
{
public Func<bool> GetIsActive { get; set; }
public Action<bool> SetIsActive { get; set; }
}
public abstract class LocalizedAction
{
public Func<string> TitleResolver { get; set; }
public string Title => this.TitleResolver?.Invoke();
public ImageBuffer Icon { get; set; }
}