mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-13 12:14:16 +01:00
32 lines
930 B
C#
32 lines
930 B
C#
namespace Dalamud.Interface.ManagedFontAtlas.Internals;
|
|
|
|
/// <summary>
|
|
/// Manager for <see cref="IFontHandle"/>.
|
|
/// </summary>
|
|
internal interface IFontHandleManager : IDisposable
|
|
{
|
|
/// <inheritdoc cref="IFontAtlas.RebuildRecommend"/>
|
|
event Action? RebuildRecommend;
|
|
|
|
/// <summary>
|
|
/// Gets the name of the font handle manager. For logging and debugging purposes.
|
|
/// </summary>
|
|
string Name { get; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the active font handle substance.
|
|
/// </summary>
|
|
IFontHandleSubstance? Substance { get; set; }
|
|
|
|
/// <summary>
|
|
/// Decrease font reference counter.
|
|
/// </summary>
|
|
/// <param name="handle">Handle being released.</param>
|
|
void FreeFontHandle(IFontHandle handle);
|
|
|
|
/// <summary>
|
|
/// Creates a new substance of the font atlas.
|
|
/// </summary>
|
|
/// <returns>The new substance.</returns>
|
|
IFontHandleSubstance NewSubstance();
|
|
}
|