mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-16 12:57:44 +01:00
* Implement FontChooserDialog * Minor fixes * Fixes 2 * Add Reset default font button * Add failsafe * reduce uninteresting exception message * Add remarks to use AttachExtraGlyphsForDalamudLanguage * Support advanced font configuration options * fixes * Shift ui elements * more fixes * Add To(Localized)String for IFontSpec * Untie GlobalFontScale from default font size * Layout fixes * Make UiBuilder.DefaultFontSize point to user configured value * Update example for NewDelegateFontHandle * Font interfaces: write notes on not intended for plugins to implement * Update default gamma to 1.7 to match closer to prev behavior (1.4**2) * Fix console window layout
22 lines
679 B
C#
22 lines
679 B
C#
using ImGuiNET;
|
|
|
|
namespace Dalamud.Interface.ManagedFontAtlas;
|
|
|
|
/// <summary>
|
|
/// The wrapper for <see cref="ImFontPtr"/>, guaranteeing that the associated data will be available as long as
|
|
/// this struct is not disposed.<br />
|
|
/// Not intended for plugins to implement.
|
|
/// </summary>
|
|
public interface ILockedImFont : IDisposable
|
|
{
|
|
/// <summary>
|
|
/// Gets the associated <see cref="ImFontPtr"/>.
|
|
/// </summary>
|
|
ImFontPtr ImFont { get; }
|
|
|
|
/// <summary>
|
|
/// Creates a new instance of <see cref="ILockedImFont"/> with an additional reference to the owner.
|
|
/// </summary>
|
|
/// <returns>The new locked instance.</returns>
|
|
ILockedImFont NewRef();
|
|
}
|