mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-11-01 13:13:21 -07:00
28 lines
601 B
C#
28 lines
601 B
C#
using Avalonia.Media;
|
|
|
|
namespace SourceGit.Models
|
|
{
|
|
public enum DecoratorType
|
|
{
|
|
None,
|
|
CurrentBranchHead,
|
|
LocalBranchHead,
|
|
CurrentCommitHead,
|
|
RemoteBranchHead,
|
|
Tag,
|
|
}
|
|
|
|
public class Decorator
|
|
{
|
|
public DecoratorType Type { get; set; } = DecoratorType.None;
|
|
public string Name { get; set; } = "";
|
|
}
|
|
|
|
public static class DecoratorResources
|
|
{
|
|
public static readonly IBrush[] Backgrounds = [
|
|
new SolidColorBrush(0xFF02C302),
|
|
new SolidColorBrush(0xFFFFB835),
|
|
];
|
|
}
|
|
}
|