muffin v7.5.0

This commit is contained in:
alydev 2026-05-01 05:17:35 +10:00
parent afafd5e377
commit a6481e7b9a
67 changed files with 4281 additions and 2372 deletions

View file

@ -1,3 +1,4 @@
using System;
using Dalamud.Bindings.ImGui;
using Dalamud.Interface;
using Dalamud.Interface.Colors;
@ -43,7 +44,8 @@ internal sealed class OneTimeSetupWindow : LWindow
ImGui.Spacing();
if (allRequiredInstalled)
{
using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.ParsedGreen))
ColorDisposable val = ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.ParsedGreen, true);
try
{
if (ImGuiComponents.IconButtonWithText(FontAwesomeIcon.Check, "Finish Setup"))
{
@ -53,15 +55,29 @@ internal sealed class OneTimeSetupWindow : LWindow
base.IsOpen = false;
}
}
finally
{
((IDisposable)val)?.Dispose();
}
}
else
{
using (ImRaii.Disabled())
DisabledDisposable val2 = ImRaii.Disabled();
try
{
using (ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.DalamudRed))
ColorDisposable val = ImRaii.PushColor(ImGuiCol.Text, ImGuiColors.DalamudRed, true);
try
{
ImGuiComponents.IconButtonWithText(FontAwesomeIcon.Check, "Missing required plugins");
}
finally
{
((IDisposable)val)?.Dispose();
}
}
finally
{
((IDisposable)val2)?.Dispose();
}
}
ImGui.SameLine();