mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-23 00:07:49 +01:00
Fix ImGuiTextFilter function types
This commit is contained in:
parent
3e2a6ec9cb
commit
5d8e4bee92
2 changed files with 12 additions and 9 deletions
|
|
@ -204,11 +204,14 @@ public static unsafe partial class ImGui
|
|||
text.Dispose();
|
||||
}
|
||||
|
||||
public static void PassFilter(ImGuiTextFilterPtr self, ImU8String text)
|
||||
public static bool PassFilter(ImGuiTextFilterPtr self, ImU8String text)
|
||||
{
|
||||
fixed (byte* textPtr = text)
|
||||
ImGuiNative.PassFilter(self.Handle, textPtr, textPtr + text.Length);
|
||||
text.Dispose();
|
||||
{
|
||||
var r = ImGuiNative.PassFilter(self.Handle, textPtr, textPtr + text.Length) != 0;
|
||||
text.Dispose();
|
||||
return r;
|
||||
}
|
||||
}
|
||||
|
||||
public static void RenderText(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue