Initial commit: AetherBags + KamiToolKit for FC Gitea
Debug Build and Test / Build against Latest Dalamud (push) Has been cancelled
Debug Build and Test / Build against Staging Dalamud (push) Has been cancelled

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-02-08 14:46:31 -05:00
commit 8db4ce6094
375 changed files with 34124 additions and 0 deletions
@@ -0,0 +1,26 @@
using System.Numerics;
using Dalamud.Interface;
namespace KamiToolKit.Nodes;
/// <summary>
/// A simple image node that makes it easy to display a single color.
/// </summary>
public unsafe class BackgroundImageNode : SimpleImageNode {
public BackgroundImageNode() {
FitTexture = true;
}
public new Vector4 Color {
get => new(AddColor.X, AddColor.Y, AddColor.Z, ResNode->Color.A / 255.0f);
set {
ResNode->Color = new Vector4(0.0f, 0.0f, 0.0f, value.W).ToByteColor();
AddColor = value.AsVector3Color();
}
}
public new ColorHelpers.HsvaColor ColorHsva {
get => ColorHelpers.RgbaToHsv(Color);
set => Color = ColorHelpers.HsvToRgb(value);
}
}