More changes
This commit is contained in:
@@ -88,7 +88,7 @@ public sealed class InventoryNotificationNode : SimpleComponentNode
|
||||
|
||||
Timeline?.PlayAnimation(101);
|
||||
}
|
||||
}
|
||||
} = null!;
|
||||
|
||||
// Future Zeff, this always goes on a parent
|
||||
private Timeline ParentLabels => new TimelineBuilder()
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
using System. Numerics;
|
||||
using FFXIVClientStructs.FFXIV.Component.GUI;
|
||||
using KamiToolKit.Classes;
|
||||
using KamiToolKit.Nodes;
|
||||
|
||||
namespace AetherBags.Nodes.Inventory;
|
||||
|
||||
public class SaddleBagFooterNode : SimpleComponentNode
|
||||
{
|
||||
private readonly TextNode _slotCounterNode;
|
||||
|
||||
private const float Padding = 8f;
|
||||
|
||||
public SaddleBagFooterNode()
|
||||
{
|
||||
_slotCounterNode = new TextNode
|
||||
{
|
||||
Position = new Vector2(Padding, 4f),
|
||||
Size = new Vector2(100, 20),
|
||||
AlignmentType = AlignmentType.Left,
|
||||
TextColor = new Vector4(1f, 1f, 1f, 1f),
|
||||
FontSize = 14,
|
||||
};
|
||||
_slotCounterNode.AttachNode(this);
|
||||
}
|
||||
|
||||
public string SlotAmountText
|
||||
{
|
||||
get => _slotCounterNode.String;
|
||||
set => _slotCounterNode.String = $"Slots: {value}";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user