Make the DTR colors configurable (#77)

* Make the DTR colors configurable

* Allow using (most of) the full RGB space (thanks @Caraxi)
This commit is contained in:
N. Lo
2024-08-27 09:25:36 +02:00
committed by Loporrit
parent fec13209d8
commit 24593becc9
3 changed files with 99 additions and 16 deletions

View File

@@ -1,4 +1,5 @@
using MareSynchronos.MareConfiguration.Models;
using MareSynchronos.UI;
using Microsoft.Extensions.Logging;
namespace MareSynchronos.MareConfiguration.Configurations;
@@ -14,6 +15,9 @@ public class MareConfig : IMareConfiguration
public bool ShowUidInDtrTooltip { get; set; } = true;
public bool PreferNoteInDtrTooltip { get; set; } = false;
public bool UseColorsInDtr { get; set; } = true;
public DtrEntry.Colors DtrColorsDefault { get; set; } = default;
public DtrEntry.Colors DtrColorsNotConnected { get; set; } = new(Glow: 0x0428FFu);
public DtrEntry.Colors DtrColorsPairsInRange { get; set; } = new(Glow: 0xFFBA47u);
public bool EnableRightClickMenus { get; set; } = true;
public NotificationLocation ErrorNotification { get; set; } = NotificationLocation.Both;
public string ExportFolder { get; set; } = string.Empty;