From 8ff9f820dcb882d8b6d046c6966cfbe7c3c1e560 Mon Sep 17 00:00:00 2001 From: goat <16760685+goaaats@users.noreply.github.com> Date: Wed, 8 Dec 2021 09:30:30 +0100 Subject: [PATCH] feat: add support link to changelog window --- .../Internal/Windows/ChangelogWindow.cs | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/Dalamud/Interface/Internal/Windows/ChangelogWindow.cs b/Dalamud/Interface/Internal/Windows/ChangelogWindow.cs index 9188ccef8..5f97247bd 100644 --- a/Dalamud/Interface/Internal/Windows/ChangelogWindow.cs +++ b/Dalamud/Interface/Internal/Windows/ChangelogWindow.cs @@ -100,7 +100,7 @@ Thanks and have fun with the new expansion!"; if (ImGui.Button(FontAwesomeIcon.LaughBeam.ToIconString())) { - Process.Start("https://discord.gg/3NMcUV5"); + Util.OpenLink("https://discord.gg/3NMcUV5"); } if (ImGui.IsItemHovered()) @@ -114,7 +114,7 @@ Thanks and have fun with the new expansion!"; if (ImGui.Button(FontAwesomeIcon.Globe.ToIconString())) { - Process.Start("https://github.com/goatcorp/FFXIVQuickLauncher"); + Util.OpenLink("https://github.com/goatcorp/FFXIVQuickLauncher"); } if (ImGui.IsItemHovered()) @@ -124,6 +124,20 @@ Thanks and have fun with the new expansion!"; ImGui.PushFont(UiBuilder.IconFont); } + ImGui.SameLine(); + + if (ImGui.Button(FontAwesomeIcon.Heart.ToIconString())) + { + Util.OpenLink("https://goatcorp.github.io/faq/support"); + } + + if (ImGui.IsItemHovered()) + { + ImGui.PopFont(); + ImGui.SetTooltip("Support what we care about"); + ImGui.PushFont(UiBuilder.IconFont); + } + ImGui.PopFont(); ImGui.SameLine();