mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-01-03 14:23:40 +01:00
reformat
This commit is contained in:
parent
11aef2f4d6
commit
f391ac57d3
13 changed files with 787 additions and 413 deletions
|
|
@ -4,30 +4,25 @@ namespace Dalamud.Bindings.ImGui;
|
|||
|
||||
public unsafe partial struct ImGuiWindow
|
||||
{
|
||||
public readonly uint GetID([InterpolatedStringHandlerArgument] AutoUtf8Buffer str)
|
||||
public readonly uint GetID(AutoUtf8Buffer str)
|
||||
{
|
||||
fixed (ImGuiWindow* thisPtr = &this)
|
||||
return ImGuiP.GetID(thisPtr, 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);
|
||||
fixed (ImGuiWindow* thisPtr = &this) return ImGuiP.GetID(thisPtr, ptr);
|
||||
}
|
||||
|
||||
public readonly uint GetID(int n)
|
||||
{
|
||||
fixed (ImGuiWindow* thisPtr = &this)
|
||||
return ImGuiP.GetID(thisPtr, n);
|
||||
fixed (ImGuiWindow* thisPtr = &this) return ImGuiP.GetID(thisPtr, n);
|
||||
}
|
||||
}
|
||||
|
||||
public unsafe partial struct ImGuiWindowPtr
|
||||
{
|
||||
public readonly uint GetID([InterpolatedStringHandlerArgument] AutoUtf8Buffer str) => ImGuiP.GetID(this.Handle, str);
|
||||
|
||||
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