mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 17:07:22 +01:00
Add support for Palette+ (#40)
This commit is contained in:
parent
2eb9c0992b
commit
d218d06230
9 changed files with 128 additions and 0 deletions
|
|
@ -181,11 +181,13 @@ public partial class UiShared : IDisposable
|
|||
var glamourerExists = _ipcManager.CheckGlamourerApi();
|
||||
var heelsExists = _ipcManager.CheckHeelsApi();
|
||||
var customizeExists = _ipcManager.CheckCustomizePlusApi();
|
||||
var paletteExists = _ipcManager.CheckPalettePlusApi();
|
||||
|
||||
var penumbraColor = penumbraExists ? ImGuiColors.ParsedGreen : ImGuiColors.DalamudRed;
|
||||
var glamourerColor = glamourerExists ? ImGuiColors.ParsedGreen : ImGuiColors.DalamudRed;
|
||||
var heelsColor = heelsExists ? ImGuiColors.ParsedGreen : ImGuiColors.DalamudRed;
|
||||
var customizeColor = customizeExists ? ImGuiColors.ParsedGreen : ImGuiColors.DalamudRed;
|
||||
var paletteColor = paletteExists ? ImGuiColors.ParsedGreen : ImGuiColors.DalamudRed;
|
||||
ImGui.Text("Penumbra:");
|
||||
ImGui.SameLine();
|
||||
ImGui.TextColored(penumbraColor, penumbraExists ? "Available" : "Unavailable");
|
||||
|
|
@ -202,6 +204,10 @@ public partial class UiShared : IDisposable
|
|||
ImGui.Text("Customize+:");
|
||||
ImGui.SameLine();
|
||||
ImGui.TextColored(customizeColor, customizeExists ? "Available" : "Unavailable");
|
||||
ImGui.SameLine();
|
||||
ImGui.Text("PalettePlus+:");
|
||||
ImGui.SameLine();
|
||||
ImGui.TextColored(paletteColor, paletteExists ? "Available" : "Unavailable");
|
||||
|
||||
if (!penumbraExists || !glamourerExists)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue