mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-01-02 13:53:40 +01:00
wip bindings upgrade
This commit is contained in:
parent
bd7e56850a
commit
0690cce995
272 changed files with 139041 additions and 1541 deletions
|
|
@ -1,6 +1,6 @@
|
|||
using System.Numerics;
|
||||
|
||||
using ImGuiNET;
|
||||
using Dalamud.Bindings.ImGui;
|
||||
|
||||
using Lumina.Text.Payloads;
|
||||
|
||||
|
|
@ -105,8 +105,8 @@ public record struct SeStringDrawParams
|
|||
|
||||
/// <summary>Gets the effective font.</summary>
|
||||
internal readonly unsafe ImFont* EffectiveFont =>
|
||||
(this.Font ?? ImGui.GetFont()) is var f && f.NativePtr is not null
|
||||
? f.NativePtr
|
||||
(this.Font ?? ImGui.GetFont()) is var f && f.Handle is not null
|
||||
? f.Handle
|
||||
: throw new ArgumentException("Specified font is empty.");
|
||||
|
||||
/// <summary>Gets the effective line height in pixels.</summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue