Initial commit: AetherBags + KamiToolKit for FC Gitea
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
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);
|
||||
}
|
||||
Reference in New Issue
Block a user