Dalamud/Dalamud/Fools/Helper/YesHealMe/FontManager.cs

20 lines
437 B
C#

using System;
using Dalamud.Interface;
using Dalamud.Interface.GameFonts;
namespace Dalamud.Fools.Helper.YesHealMe;
public class FontManager : IDisposable
{
public FontManager(UiBuilder uiBuilder)
{
this.GameFont = uiBuilder.GetGameFontHandle(new GameFontStyle(GameFontFamily.Axis, 52.0f));
}
public GameFontHandle GameFont { get; }
public void Dispose()
{
this.GameFont.Dispose();
}
}