mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-01-03 06:13:40 +01:00
wip2
This commit is contained in:
parent
cc741cec67
commit
51a20300d8
237 changed files with 104170 additions and 24 deletions
31
imgui/Dalamud.Bindings.ImGui/Custom/ImGuiWindow.Custom.cs
Normal file
31
imgui/Dalamud.Bindings.ImGui/Custom/ImGuiWindow.Custom.cs
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImGuiWindow
|
||||
{
|
||||
public readonly uint GetID(AutoUtf8Buffer str)
|
||||
{
|
||||
fixed (ImGuiWindow* thisPtr = &this)
|
||||
return ImGuiP.GetID(thisPtr, str);
|
||||
}
|
||||
|
||||
public readonly uint GetID(void* ptr)
|
||||
{
|
||||
fixed (ImGuiWindow* thisPtr = &this)
|
||||
return ImGuiP.GetID(thisPtr, ptr);
|
||||
}
|
||||
|
||||
public readonly uint GetID(int n)
|
||||
{
|
||||
fixed (ImGuiWindow* thisPtr = &this)
|
||||
return ImGuiP.GetID(thisPtr, n);
|
||||
}
|
||||
}
|
||||
|
||||
public unsafe partial struct ImGuiWindowPtr
|
||||
{
|
||||
public readonly uint GetID(AutoUtf8Buffer str) => ImGuiP.GetID(this.Handle, str);
|
||||
|
||||
public readonly uint GetID(void* ptr) => ImGuiP.GetID(this.Handle, ptr);
|
||||
|
||||
public readonly uint GetID(int n) => ImGuiP.GetID(this.Handle, n);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue