feat: add support link to changelog window

This commit is contained in:
goat 2021-12-08 09:30:30 +01:00
parent dd12a284e5
commit 8ff9f820dc
No known key found for this signature in database
GPG key ID: 7773BB5B43BA52E5

View file

@ -100,7 +100,7 @@ Thanks and have fun with the new expansion!";
if (ImGui.Button(FontAwesomeIcon.LaughBeam.ToIconString())) if (ImGui.Button(FontAwesomeIcon.LaughBeam.ToIconString()))
{ {
Process.Start("https://discord.gg/3NMcUV5"); Util.OpenLink("https://discord.gg/3NMcUV5");
} }
if (ImGui.IsItemHovered()) if (ImGui.IsItemHovered())
@ -114,7 +114,7 @@ Thanks and have fun with the new expansion!";
if (ImGui.Button(FontAwesomeIcon.Globe.ToIconString())) if (ImGui.Button(FontAwesomeIcon.Globe.ToIconString()))
{ {
Process.Start("https://github.com/goatcorp/FFXIVQuickLauncher"); Util.OpenLink("https://github.com/goatcorp/FFXIVQuickLauncher");
} }
if (ImGui.IsItemHovered()) if (ImGui.IsItemHovered())
@ -124,6 +124,20 @@ Thanks and have fun with the new expansion!";
ImGui.PushFont(UiBuilder.IconFont); 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.PopFont();
ImGui.SameLine(); ImGui.SameLine();