Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
feat: add some linking button.
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchiDog1998 committed Jan 19, 2023
1 parent c9dec3b commit be8473e
Showing 1 changed file with 27 additions and 1 deletion.
28 changes: 27 additions & 1 deletion RotationSolver/Windows/RotationConfigWindow_Help.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
using ImGuiNET;
using Dalamud.Interface.Colors;
using Dalamud.Utility;
using ImGuiNET;
using RotationSolver.Commands;
using RotationSolver.Helpers;
using RotationSolver.Localization;
using System.Numerics;

Expand All @@ -11,6 +14,29 @@ private void DrawHelpTab()
{
ImGui.Text(LocalizationManager.RightLang.ConfigWindow_HelpItem_Description);

ImGui.PushStyleColor(ImGuiCol.Button, ImGuiColors.ParsedGreen);
if (ImGui.Button("Github"))
{
Util.OpenLink("https://github.com/ArchiDog1998/RotationSolver");
}

ImGui.SameLine();
ImGuiHelper.Spacing();

if (ImGui.Button("Discord"))
{
Util.OpenLink("https://discord.gg/4fECHunam9");
}

ImGui.SameLine();
ImGuiHelper.Spacing();

if (ImGui.Button("Wiki"))
{
Util.OpenLink("https://archidog1998.github.io/RotationSolver/");
}
ImGui.PopStyleColor();

if (ImGui.BeginChild("Help Infomation", new Vector2(0f, -1f), true))
{
ImGui.PushStyleVar(ImGuiStyleVar.ItemSpacing, new Vector2(0f, 5f));
Expand Down

0 comments on commit be8473e

Please sign in to comment.