Skip to content

Commit

Permalink
add github repo button
Browse files Browse the repository at this point in the history
  • Loading branch information
PrincessRTFM committed Feb 23, 2024
1 parent bc075ca commit 61ce8ed
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 13 deletions.
34 changes: 22 additions & 12 deletions XIVComboVX/Config/ConfigWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,19 +37,29 @@ public class ConfigWindow: Window {

public ConfigWindow() : base($"Custom Combo Setup - {Service.Plugin.ShortPluginSignature}, {Service.Plugin.PluginBuildType}###{Service.Plugin.Name} Custom Combo Setup", ImGuiWindowFlags.MenuBar) {
this.RespectCloseHotkey = true;
TitleBarButton kofi = new() {
Priority = int.MinValue,
Icon = FontAwesomeIcon.Heart,
IconOffset = new(2, 1),
Click = _ => Process.Start(new ProcessStartInfo("https://ko-fi.com/V7V7IK9UU") { UseShellExecute = true }),
ShowTooltip = () => {
ImGui.BeginTooltip();
ImGui.TextUnformatted("Support me on ko-fi");
ImGui.EndTooltip();
},
};
this.TitleBarButtons = new() {
kofi,
new() {
Priority = 0,
Icon = FontAwesomeIcon.Heart,
IconOffset = new(2, 1),
Click = _ => Process.Start(new ProcessStartInfo("https://ko-fi.com/V7V7IK9UU") { UseShellExecute = true }),
ShowTooltip = () => {
ImGui.BeginTooltip();
ImGui.TextUnformatted("Support me on ko-fi");
ImGui.EndTooltip();
},
},
new() {
Priority = 1,
Icon = FontAwesomeIcon.Code,
IconOffset = new(1, 1),
Click = _ => Process.Start(new ProcessStartInfo("https://github.com/PrincessRTFM/XIVComboPlugin") { UseShellExecute = true }),
ShowTooltip = () => {
ImGui.BeginTooltip();
ImGui.TextUnformatted("Browse the github repo");
ImGui.EndTooltip();
},
},
};
this.AllowClickthrough = false;
this.AllowPinning = true;
Expand Down
2 changes: 1 addition & 1 deletion XIVComboVX/XIVComboVX.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<Product>XIVComboVX</Product>
<Authors>attick, daemitus, VariableVixen</Authors>
<Version>9.15.0</Version>
<Version>9.16.0</Version>
<Description>This plugin condenses various abilities onto single buttons.</Description>
<PackageProjectUrl>https://github.com/PrincessRTFM/XIVComboPlugin</PackageProjectUrl>
<Copyright>Copyleft attick 2020 baybeeee</Copyright>
Expand Down

0 comments on commit 61ce8ed

Please sign in to comment.