Fix whitespace
This commit is contained in:
parent
37a323162f
commit
c0b7f39fd5
2 changed files with 15 additions and 1 deletions
|
|
@ -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; }
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue