mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
Make ImU8String not IDisposable
This commit is contained in:
parent
5fee90085c
commit
afe58dae76
15 changed files with 267 additions and 267 deletions
|
|
@ -13,7 +13,7 @@ public static unsafe partial class ImGui
|
|||
fixed (Vector3* colPtr = &col)
|
||||
{
|
||||
var res = ImGuiNative.ColorEdit3(labelPtr, &colPtr->X, flags) != 0;
|
||||
label.Dispose();
|
||||
label.Recycle();
|
||||
return res;
|
||||
}
|
||||
}
|
||||
|
|
@ -25,7 +25,7 @@ public static unsafe partial class ImGui
|
|||
fixed (Vector4* colPtr = &col)
|
||||
{
|
||||
var res = ImGuiNative.ColorEdit4(labelPtr, &colPtr->X, flags) != 0;
|
||||
label.Dispose();
|
||||
label.Recycle();
|
||||
return res;
|
||||
}
|
||||
}
|
||||
|
|
@ -37,7 +37,7 @@ public static unsafe partial class ImGui
|
|||
fixed (Vector3* colPtr = &col)
|
||||
{
|
||||
var res = ImGuiNative.ColorPicker3(labelPtr, &colPtr->X, flags) != 0;
|
||||
label.Dispose();
|
||||
label.Recycle();
|
||||
return res;
|
||||
}
|
||||
}
|
||||
|
|
@ -49,7 +49,7 @@ public static unsafe partial class ImGui
|
|||
fixed (Vector4* colPtr = &col)
|
||||
{
|
||||
var res = ImGuiNative.ColorPicker4(labelPtr, &colPtr->X, flags, null) != 0;
|
||||
label.Dispose();
|
||||
label.Recycle();
|
||||
return res;
|
||||
}
|
||||
}
|
||||
|
|
@ -62,7 +62,7 @@ public static unsafe partial class ImGui
|
|||
fixed (Vector4* refColPtr = &refCol)
|
||||
{
|
||||
var res = ImGuiNative.ColorPicker4(labelPtr, &colPtr->X, flags, &refColPtr->X) != 0;
|
||||
label.Dispose();
|
||||
label.Recycle();
|
||||
return res;
|
||||
}
|
||||
}
|
||||
|
|
@ -74,7 +74,7 @@ public static unsafe partial class ImGui
|
|||
fixed (Vector4* refColPtr = &refCol)
|
||||
{
|
||||
var res = ImGuiNative.ColorPicker4(labelPtr, &colPtr->X, ImGuiColorEditFlags.None, &refColPtr->X) != 0;
|
||||
label.Dispose();
|
||||
label.Recycle();
|
||||
return res;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue