Color-code the DTR entry (#76)

This commit is contained in:
N. Lo
2024-08-19 10:23:40 +02:00
committed by Loporrit
parent d39c79a227
commit fec13209d8
3 changed files with 34 additions and 2 deletions

View File

@@ -979,6 +979,7 @@ public class SettingsUi : WindowMediatorSubscriberBase
var enableDtrEntry = _configService.Current.EnableDtrEntry;
var showUidInDtrTooltip = _configService.Current.ShowUidInDtrTooltip;
var preferNoteInDtrTooltip = _configService.Current.PreferNoteInDtrTooltip;
var useColorsInDtr = _configService.Current.UseColorsInDtr;
if (ImGui.Checkbox("Enable Game Right Click Menu Entries", ref enableRightClickMenu))
{
@@ -1016,6 +1017,12 @@ public class SettingsUi : WindowMediatorSubscriberBase
_configService.Current.DtrStyle = i;
_configService.Save();
}, _configService.Current.DtrStyle);
if (ImGui.Checkbox("Color-code the Server Info Bar entry according to status", ref useColorsInDtr))
{
_configService.Current.UseColorsInDtr = useColorsInDtr;
_configService.Save();
}
}
if (ImGui.Checkbox("Show separate Visible group", ref showVisibleSeparate))