1
0

Yeet sponsorship

This commit is contained in:
Liza 2023-02-22 23:00:47 +01:00
parent e40b06424e
commit b0472f8ecc
3 changed files with 1121 additions and 1164 deletions

View File

@ -44,9 +44,6 @@ namespace FFXIV_Vibe_Plugin {
// Patterns // Patterns
private readonly Patterns Patterns = new(); private readonly Patterns Patterns = new();
private readonly string DonationLink = "https://paypal.me/kaciedev";
private readonly string PatreonLink = "https://www.patreon.com/kaciexx";
private bool _expandedOnce = false; private bool _expandedOnce = false;
private readonly int WIDTH = 700; private readonly int WIDTH = 700;
private readonly int HEIGHT = 600; private readonly int HEIGHT = 600;
@ -163,7 +160,7 @@ namespace FFXIV_Vibe_Plugin {
ImGui.Spacing(); ImGui.Spacing();
FFXIV_Vibe_Plugin.UI.UIBanner.Draw(this.frameCounter, this.Logger, this.loadedImages["icon.png"], this.DonationLink, this.PatreonLink, this.DevicesController); FFXIV_Vibe_Plugin.UI.UIBanner.Draw(this.frameCounter, this.Logger, this.loadedImages["icon.png"], this.DevicesController);
// Back to on column // Back to on column
ImGui.Columns(1); ImGui.Columns(1);

View File

@ -11,7 +11,7 @@ using FFXIV_Vibe_Plugin.Device;
namespace FFXIV_Vibe_Plugin.UI { namespace FFXIV_Vibe_Plugin.UI {
internal class UIBanner { internal class UIBanner {
public static void Draw(int frameCounter, Logger logger, ImGuiScene.TextureWrap image, String donationLink, String patreonLink, DevicesController devicesController) { public static void Draw(int frameCounter, Logger logger, ImGuiScene.TextureWrap image, DevicesController devicesController) {
ImGui.Columns(2, "###main_header", false); ImGui.Columns(2, "###main_header", false);
float logoScale = 0.2f; float logoScale = 0.2f;
ImGui.SetColumnWidth(0, (int)(image.Width * logoScale + 20)); ImGui.SetColumnWidth(0, (int)(image.Width * logoScale + 20));
@ -24,22 +24,6 @@ namespace FFXIV_Vibe_Plugin.UI {
} else { } else {
ImGui.TextColored(ImGuiColors.ParsedGrey, "Your are not connected!"); ImGui.TextColored(ImGuiColors.ParsedGrey, "Your are not connected!");
} }
if(frameCounter < 200) { // Make blink effect
ImGui.Text("Donations: ");
} else {
ImGui.Text(" ");
}
ImGui.SameLine();
ImGui.Text($"{donationLink}");
ImGui.SameLine();
UI.Components.ButtonLink.Draw("Thanks for the donation ;)", donationLink, Dalamud.Interface.FontAwesomeIcon.Pray, logger);
ImGui.SameLine();
ImGui.Text($"{patreonLink}");
ImGui.SameLine();
UI.Components.ButtonLink.Draw("Thanks for the donation ;)", patreonLink, Dalamud.Interface.FontAwesomeIcon.HollyBerry, logger);
} }
} }
} }

View File

@ -1,8 +1,5 @@
# FFXIV Vibe Plugin # FFXIV Vibe Plugin
<img src="https://img.shields.io/github/downloads/kaciexx/FFXIV_Vibe_Plugin/total?label=Downloads" /> <img src="https://img.shields.io/discord/914941648859963503"/> <img src="https://img.shields.io/github/last-commit/kaciexx/FFXIV_Vibe_Plugin" />
<a href="https://patreon.com/kaciexx"><img src="https://img.shields.io/endpoint.svg?url=https%3A%2F%2Fshieldsio-patreon.vercel.app%2Fapi%3Fusername%3Dkaciexx%26type%3Dpatrons&style=flat" alt="Support me on Patreon" /></a>
<p align="center"> <p align="center">
<img width="200" height="200" src="./images/icon.png" /> <img width="200" height="200" src="./images/icon.png" />
</p> </p>
@ -145,24 +142,3 @@ If it works, then it probably a bluetooth issue. Nothing we can do about.
### How do I share my configuration ### How do I share my configuration
You can copy/past the file located at: `%AppData%\XIVLauncher\pluginConfigs\FFXIV_Vibe_Plugin.json`. You can copy/past the file located at: `%AppData%\XIVLauncher\pluginConfigs\FFXIV_Vibe_Plugin.json`.
Be aware: this will overrides everything. Be aware: this will overrides everything.
# Discord
- [This plugin discord](https://discord.gg/JnCGxa3gGa)
- [Ms. Tress #discussion](https://discord.gg/fx5pABsE)
# Donation & Donors
Donation link:
- [https://paypal.me/kaciedev](https://paypal.me/kaciedev)
- [https://www.patreon.com/kaciexx](https://www.patreon.com/kaciexx)
Please concider doing a small donation if you like this plugin. We worked a lot, gave a lots of free nights to design it, listening to everything people wanted and doing the implementation.
Thanks to:
- Hooper (36$)
- Victor (20.70$)
- Maple (20$)
- May B (20$)
- Iris K (20$)
- Morris (9.50$)
- PM (1.90$)