sourcegit/src/SourceGit/Models/Decorator.cs

27 lines
573 B
C#
Raw Normal View History

using Avalonia.Media;
2020-07-03 00:24:31 -07:00
namespace SourceGit.Models
{
public enum DecoratorType
{
2020-07-03 00:24:31 -07:00
None,
CurrentBranchHead,
LocalBranchHead,
RemoteBranchHead,
Tag,
}
public class Decorator
{
2021-04-29 05:05:55 -07:00
public DecoratorType Type { get; set; } = DecoratorType.None;
public string Name { get; set; } = "";
2020-07-03 00:24:31 -07:00
}
public static class DecoratorResources
{
public static readonly IBrush[] Backgrounds = [
new SolidColorBrush(0xFF02C302),
new SolidColorBrush(0xFFFFB835),
];
}
}