Files
AetherBags/KamiToolKit/Nodes/Component/WindowNodeBase.cs
T
KnackAtNite 8db4ce6094
Debug Build and Test / Build against Latest Dalamud (push) Has been cancelled
Debug Build and Test / Build against Staging Dalamud (push) Has been cancelled
Initial commit: AetherBags + KamiToolKit for FC Gitea
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-08 14:46:31 -05:00

20 lines
664 B
C#

using System.Numerics;
using FFXIVClientStructs.FFXIV.Component.GUI;
namespace KamiToolKit.Nodes;
public abstract unsafe class WindowNodeBase : ComponentNode<AtkComponentWindow, AtkUldComponentDataWindow> {
protected WindowNodeBase() {
SetInternalComponentType(ComponentType.Window);
}
public abstract Vector2 ContentSize { get; }
public abstract Vector2 ContentStartPosition { get; }
public abstract float HeaderHeight { get; }
public abstract ResNode WindowHeaderFocusNode { get; }
public virtual void SetTitle(string title, string? subtitle = null)
=> Component->SetTitle(title, subtitle ?? string.Empty);
}