mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-01-02 05:43:40 +01:00
Use ImGuiWindow from gen, support AddCallback
This commit is contained in:
parent
f7749237ee
commit
1a15600a8f
9 changed files with 91 additions and 87 deletions
|
|
@ -28,7 +28,7 @@ namespace Dalamud.Bindings.ImGui
|
|||
public ImTextureID(void* handle) { Handle = (ulong)handle; }
|
||||
public ulong Handle { get; }
|
||||
public bool IsNull => Handle == 0;
|
||||
public static ImTextureID Null => new ImTextureID(0);
|
||||
public static ImTextureID Null => default;
|
||||
public static implicit operator ImTextureID(ulong handle) => new ImTextureID(handle);
|
||||
public static bool operator ==(ImTextureID left, ImTextureID right) => left.Handle == right.Handle;
|
||||
public static bool operator !=(ImTextureID left, ImTextureID right) => left.Handle != right.Handle;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue