diff --git a/Dalamud/Dalamud.csproj.DotSettings b/Dalamud/Dalamud.csproj.DotSettings index 9089754a3..e723e4da1 100644 --- a/Dalamud/Dalamud.csproj.DotSettings +++ b/Dalamud/Dalamud.csproj.DotSettings @@ -1,3 +1,3 @@  -True -300000 +True + True diff --git a/Dalamud/Interface/ImGuiBackend/InputHandler/Win32InputHandler.cs b/Dalamud/Interface/ImGuiBackend/InputHandler/Win32InputHandler.cs index ff71ecdf7..1842028e2 100644 --- a/Dalamud/Interface/ImGuiBackend/InputHandler/Win32InputHandler.cs +++ b/Dalamud/Interface/ImGuiBackend/InputHandler/Win32InputHandler.cs @@ -348,7 +348,7 @@ internal sealed unsafe partial class Win32InputHandler : IImGuiInputHandler case WM.WM_CHAR: if (io.WantTextInput) { - io.AddInputCharacter((uint)wParam); + io.AddInputCharacter(new Rune((uint)wParam)); return nint.Zero; } diff --git a/Dalamud/Interface/ImGuiBackend/Renderers/Dx11Renderer.cs b/Dalamud/Interface/ImGuiBackend/Renderers/Dx11Renderer.cs index 080b52427..9e97a11b8 100644 --- a/Dalamud/Interface/ImGuiBackend/Renderers/Dx11Renderer.cs +++ b/Dalamud/Interface/ImGuiBackend/Renderers/Dx11Renderer.cs @@ -343,31 +343,50 @@ internal unsafe partial class Dx11Renderer : IImGuiRenderer var vertexOffset = 0; var indexOffset = 0; var clipOff = new Vector4(drawData.DisplayPos, drawData.DisplayPos.X, drawData.DisplayPos.Y); + this.context.Get()->PSSetShader(this.pixelShader, null, 0); + this.context.Get()->PSSetSamplers(0, 1, this.sampler.GetAddressOf()); foreach (ref var cmdList in cmdLists) { var cmds = new ImVectorWrapper(cmdList.Handle->CmdBuffer.ToUntyped()); foreach (ref var cmd in cmds.DataSpan) { - var clipV4 = cmd.ClipRect - clipOff; - var clipRect = new RECT((int)clipV4.X, (int)clipV4.Y, (int)clipV4.Z, (int)clipV4.W); - - // Skip the draw if nothing would be visible - if (clipRect.left >= clipRect.right || clipRect.top >= clipRect.bottom) - continue; - - this.context.Get()->RSSetScissorRects(1, &clipRect); - - if (cmd.UserCallback == null) + switch ((ImDrawCallbackEnum)(nint)cmd.UserCallback) { - // Bind texture and draw - var srv = (ID3D11ShaderResourceView*)cmd.TextureId.Handle; - this.context.Get()->PSSetShader(this.pixelShader, null, 0); - this.context.Get()->PSSetSamplers(0, 1, this.sampler.GetAddressOf()); - this.context.Get()->PSSetShaderResources(0, 1, &srv); - this.context.Get()->DrawIndexed( - cmd.ElemCount, - (uint)(cmd.IdxOffset + indexOffset), - (int)(cmd.VtxOffset + vertexOffset)); + case ImDrawCallbackEnum.Empty: + { + var clipV4 = cmd.ClipRect - clipOff; + var clipRect = new RECT((int)clipV4.X, (int)clipV4.Y, (int)clipV4.Z, (int)clipV4.W); + + // Skip the draw if nothing would be visible + if (clipRect.left >= clipRect.right || clipRect.top >= clipRect.bottom) + continue; + + this.context.Get()->RSSetScissorRects(1, &clipRect); + + // Bind texture and draw + var srv = (ID3D11ShaderResourceView*)cmd.TextureId.Handle; + this.context.Get()->PSSetShaderResources(0, 1, &srv); + this.context.Get()->DrawIndexed( + cmd.ElemCount, + (uint)(cmd.IdxOffset + indexOffset), + (int)(cmd.VtxOffset + vertexOffset)); + break; + } + + case ImDrawCallbackEnum.ResetRenderState: + { + // Special callback value used by the user to request the renderer to reset render state. + this.SetupRenderState(drawData); + break; + } + + default: + { + // User callback, registered via ImDrawList::AddCallback() + var cb = (delegate*)cmd.UserCallback; + cb(cmdList, ref cmd); + break; + } } } diff --git a/Dalamud/Interface/ImGuiFontChooserDialog/SingleFontChooserDialog.cs b/Dalamud/Interface/ImGuiFontChooserDialog/SingleFontChooserDialog.cs index 2b25ffca5..9ebb873d3 100644 --- a/Dalamud/Interface/ImGuiFontChooserDialog/SingleFontChooserDialog.cs +++ b/Dalamud/Interface/ImGuiFontChooserDialog/SingleFontChooserDialog.cs @@ -205,8 +205,8 @@ public sealed class SingleFontChooserDialog : IDisposable /// Gets or sets a value indicating whether this popup should be modal, blocking everything behind from /// being interacted. - /// If true, then will be - /// used. Otherwise, will be used. + /// If true, then will be + /// used. Otherwise, will be used. public bool IsModal { get; set; } = true; /// Gets or sets the window flags. @@ -558,21 +558,10 @@ public sealed class SingleFontChooserDialog : IDisposable ImGui.SetNextItemWidth(ImGui.GetContentRegionAvail().X); using (this.fontHandle?.Push()) { - unsafe - { - fixed (byte* buf = this.fontPreviewText) - fixed (byte* label = "##fontPreviewText"u8) - { - ImGui.InputTextMultiline( - label, - buf, - (uint)this.fontPreviewText.Length, - ImGui.GetContentRegionAvail(), - ImGuiInputTextFlags.None, - null, - null); - } - } + ImGui.InputTextMultiline( + "##fontPreviewText"u8, + this.fontPreviewText, + ImGui.GetContentRegionAvail()); } } } @@ -608,15 +597,15 @@ public sealed class SingleFontChooserDialog : IDisposable ref this.familySearch, 255, ImGuiInputTextFlags.AutoSelectAll | ImGuiInputTextFlags.CallbackHistory, - data => + (ref ImGuiInputTextCallbackData data) => { if (families.Count == 0) return 0; var baseIndex = this.selectedFamilyIndex; - if (data->SelectionStart == 0 && data->SelectionEnd == data->BufTextLen) + if (data.SelectionStart == 0 && data.SelectionEnd == data.BufTextLen) { - switch (data->EventKey) + switch (data.EventKey) { case ImGuiKey.DownArrow: this.selectedFamilyIndex = (this.selectedFamilyIndex + 1) % families.Count; @@ -632,13 +621,13 @@ public sealed class SingleFontChooserDialog : IDisposable if (changed) { ImGuiHelpers.SetTextFromCallback( - data, + ref data, this.ExtractName(families[this.selectedFamilyIndex])); } } else { - switch (data->EventKey) + switch (data.EventKey) { case ImGuiKey.DownArrow: this.selectedFamilyIndex = families.FindIndex( @@ -776,15 +765,15 @@ public sealed class SingleFontChooserDialog : IDisposable ref this.fontSearch, 255, ImGuiInputTextFlags.AutoSelectAll | ImGuiInputTextFlags.CallbackHistory, - data => + (ref ImGuiInputTextCallbackData data) => { if (fonts.Count == 0) return 0; var baseIndex = this.selectedFontIndex; - if (data->SelectionStart == 0 && data->SelectionEnd == data->BufTextLen) + if (data.SelectionStart == 0 && data.SelectionEnd == data.BufTextLen) { - switch (data->EventKey) + switch (data.EventKey) { case ImGuiKey.DownArrow: this.selectedFontIndex = (this.selectedFontIndex + 1) % fonts.Count; @@ -799,13 +788,13 @@ public sealed class SingleFontChooserDialog : IDisposable if (changed) { ImGuiHelpers.SetTextFromCallback( - data, + ref data, this.ExtractName(fonts[this.selectedFontIndex])); } } else { - switch (data->EventKey) + switch (data.EventKey) { case ImGuiKey.DownArrow: this.selectedFontIndex = fonts.FindIndex( @@ -925,9 +914,9 @@ public sealed class SingleFontChooserDialog : IDisposable 255, ImGuiInputTextFlags.AutoSelectAll | ImGuiInputTextFlags.CallbackHistory | ImGuiInputTextFlags.CharsDecimal, - data => + (ref ImGuiInputTextCallbackData data) => { - switch (data->EventKey) + switch (data.EventKey) { case ImGuiKey.DownArrow: this.selectedFont = this.selectedFont with @@ -946,7 +935,7 @@ public sealed class SingleFontChooserDialog : IDisposable } if (changed) - ImGuiHelpers.SetTextFromCallback(data, $"{this.selectedFont.SizePt:0.##}"); + ImGuiHelpers.SetTextFromCallback(ref data, $"{this.selectedFont.SizePt:0.##}"); return 0; })) @@ -1129,19 +1118,19 @@ public sealed class SingleFontChooserDialog : IDisposable 255, ImGuiInputTextFlags.AutoSelectAll | ImGuiInputTextFlags.CallbackHistory | ImGuiInputTextFlags.CharsDecimal, - data => + (ref ImGuiInputTextCallbackData data) => { - switch (data->EventKey) + switch (data.EventKey) { case ImGuiKey.DownArrow: changed2 = true; value = Math.Min(max, (MathF.Round(value / step) * step) + step); - ImGuiHelpers.SetTextFromCallback(data, $"{value:0.##}"); + ImGuiHelpers.SetTextFromCallback(ref data, $"{value:0.##}"); break; case ImGuiKey.UpArrow: changed2 = true; value = Math.Max(min, (MathF.Round(value / step) * step) - step); - ImGuiHelpers.SetTextFromCallback(data, $"{value:0.##}"); + ImGuiHelpers.SetTextFromCallback(ref data, $"{value:0.##}"); break; } diff --git a/Dalamud/Interface/ImGuiNotification/Internal/ActiveNotification.ImGui.cs b/Dalamud/Interface/ImGuiNotification/Internal/ActiveNotification.ImGui.cs index 1afc1262b..351f0a2e1 100644 --- a/Dalamud/Interface/ImGuiNotification/Internal/ActiveNotification.ImGui.cs +++ b/Dalamud/Interface/ImGuiNotification/Internal/ActiveNotification.ImGui.cs @@ -218,7 +218,7 @@ internal sealed partial class ActiveNotification /// Calculates the effective expiry, taking ImGui window state into account. /// Notification will not dismiss while this paramter is true. /// The calculated effective expiry. - /// Expected to be called BETWEEN and . + /// Expected to be called BETWEEN and . private DateTime CalculateEffectiveExpiry(ref bool warrantsExtension) { DateTime expiry; diff --git a/Dalamud/Interface/Internal/UiDebug.cs b/Dalamud/Interface/Internal/UiDebug.cs index 21dc9d3eb..11858e49d 100644 --- a/Dalamud/Interface/Internal/UiDebug.cs +++ b/Dalamud/Interface/Internal/UiDebug.cs @@ -87,7 +87,7 @@ internal unsafe class UiDebug var addonName = atkUnitBase->NameString; var agent = Service.Get().FindAgentInterface(atkUnitBase); - ImGui.Text($"{addonName}"); + ImGui.Text(addonName); ImGui.SameLine(); ImGui.PushStyleColor(ImGuiCol.Text, isVisible ? 0xFF00FF00 : 0xFF0000FF); ImGui.Text(isVisible ? "Visible" : "Not Visible"); @@ -211,7 +211,7 @@ internal unsafe class UiDebug ImGui.SameLine(); Service.Get().Draw(textNode->NodeText); - ImGui.InputText($"Replace Text##{(ulong)textNode:X}", textNode->NodeText.StringPtr, (uint)textNode->NodeText.BufSize); + ImGui.InputText($"Replace Text##{(ulong)textNode:X}", new(textNode->NodeText.StringPtr, (int)textNode->NodeText.BufSize)); ImGui.SameLine(); if (ImGui.Button($"Encode##{(ulong)textNode:X}")) diff --git a/Dalamud/Interface/Internal/UiDebug2/Browsing/AddonTree.AtkValues.cs b/Dalamud/Interface/Internal/UiDebug2/Browsing/AddonTree.AtkValues.cs index f9853d506..4c3daa864 100644 --- a/Dalamud/Interface/Internal/UiDebug2/Browsing/AddonTree.AtkValues.cs +++ b/Dalamud/Interface/Internal/UiDebug2/Browsing/AddonTree.AtkValues.cs @@ -1,3 +1,5 @@ +using System.Numerics; + using Dalamud.Bindings.ImGui; using Dalamud.Interface.Internal.UiDebug2.Utility; using Dalamud.Interface.Utility.Raii; @@ -110,7 +112,7 @@ public unsafe partial class AddonTree } catch (Exception ex) { - ImGui.TextColored(new(1, 0, 0, 1), $"{ex}"); + ImGui.TextColored(new Vector4(1, 0, 0, 1), $"{ex}"); } } } diff --git a/Dalamud/Interface/Internal/UiDebug2/Browsing/AddonTree.cs b/Dalamud/Interface/Internal/UiDebug2/Browsing/AddonTree.cs index abb07e8b9..f377f8890 100644 --- a/Dalamud/Interface/Internal/UiDebug2/Browsing/AddonTree.cs +++ b/Dalamud/Interface/Internal/UiDebug2/Browsing/AddonTree.cs @@ -121,7 +121,7 @@ public unsafe partial class AddonTree : IDisposable ImGui.SameLine(); ImGui.SameLine(); - ImGui.TextColored(isVisible ? new(0.1f, 1f, 0.1f, 1f) : new(0.6f, 0.6f, 0.6f, 1), isVisible ? "Visible" : "Not Visible"); + ImGui.TextColored(isVisible ? new Vector4(0.1f, 1f, 0.1f, 1f) : new(0.6f, 0.6f, 0.6f, 1), isVisible ? "Visible" : "Not Visible"); ImGui.SameLine(ImGui.GetWindowWidth() - 100); diff --git a/Dalamud/Interface/Internal/UiDebug2/Browsing/Events.cs b/Dalamud/Interface/Internal/UiDebug2/Browsing/Events.cs index e091187d5..a943858be 100644 --- a/Dalamud/Interface/Internal/UiDebug2/Browsing/Events.cs +++ b/Dalamud/Interface/Internal/UiDebug2/Browsing/Events.cs @@ -57,11 +57,11 @@ public static class Events ImGui.TableNextColumn(); ImGui.TextUnformatted($"{evt->State.StateFlags}"); ImGui.TableNextColumn(); - ImGui.TextUnformatted($"{evt->State.UnkFlags1}"); + ImGui.TextUnformatted($"{evt->State.ReturnFlags}"); ImGui.TableNextColumn(); - ImGuiHelpers.ClickToCopyText($"{(nint)evt->Target:X}", null, new Vector4(0.6f, 0.6f, 0.6f, 1)); + ImGuiHelpers.ClickToCopyText($"{(nint)evt->Target:X}", default, new Vector4(0.6f, 0.6f, 0.6f, 1)); ImGui.TableNextColumn(); - ImGuiHelpers.ClickToCopyText($"{(nint)evt->Listener:X}", null, new Vector4(0.6f, 0.6f, 0.6f, 1)); + ImGuiHelpers.ClickToCopyText($"{(nint)evt->Listener:X}", default, new Vector4(0.6f, 0.6f, 0.6f, 1)); evt = evt->NextEvent; } } diff --git a/Dalamud/Interface/Internal/UiDebug2/Browsing/NodeTree.Editor.cs b/Dalamud/Interface/Internal/UiDebug2/Browsing/NodeTree.Editor.cs index b940dddea..a1a98f287 100644 --- a/Dalamud/Interface/Internal/UiDebug2/Browsing/NodeTree.Editor.cs +++ b/Dalamud/Interface/Internal/UiDebug2/Browsing/NodeTree.Editor.cs @@ -321,7 +321,7 @@ internal unsafe partial class TextNodeTree ImGui.Text("Font:"); ImGui.TableNextColumn(); ImGui.SetNextItemWidth(150); - if (ImGui.Combo($"##{(nint)this.Node:X}fontType", ref fontIndex, FontNames, FontList.Count)) + if (ImGui.Combo($"##{(nint)this.Node:X}fontType", ref fontIndex, FontNames)) { this.TxtNode->FontType = FontList[fontIndex]; } diff --git a/Dalamud/Interface/Internal/UiDebug2/Browsing/NodeTree.Image.cs b/Dalamud/Interface/Internal/UiDebug2/Browsing/NodeTree.Image.cs index cd91e4a9f..eb1e1ff96 100644 --- a/Dalamud/Interface/Internal/UiDebug2/Browsing/NodeTree.Image.cs +++ b/Dalamud/Interface/Internal/UiDebug2/Browsing/NodeTree.Image.cs @@ -226,13 +226,13 @@ internal unsafe partial class ImageNodeTree : ResNodeTree ImGui.TableNextColumn(); - ImGui.TextColored(!hiRes ? new(1) : new(0.6f, 0.6f, 0.6f, 1), "Standard:\t"); + ImGui.TextColored(!hiRes ? new Vector4(1) : new(0.6f, 0.6f, 0.6f, 1), "Standard:\t"); ImGui.SameLine(); var cursX = ImGui.GetCursorPosX(); PrintPartCoords(u / 2f, v / 2f, width / 2f, height / 2f); - ImGui.TextColored(hiRes ? new(1) : new(0.6f, 0.6f, 0.6f, 1), "Hi-Res:\t"); + ImGui.TextColored(hiRes ? new Vector4(1) : new(0.6f, 0.6f, 0.6f, 1), "Hi-Res:\t"); ImGui.SameLine(); ImGui.SetCursorPosX(cursX); diff --git a/Dalamud/Interface/Internal/UiDebug2/Browsing/NodeTree.Text.cs b/Dalamud/Interface/Internal/UiDebug2/Browsing/NodeTree.Text.cs index a0368b945..3651a853b 100644 --- a/Dalamud/Interface/Internal/UiDebug2/Browsing/NodeTree.Text.cs +++ b/Dalamud/Interface/Internal/UiDebug2/Browsing/NodeTree.Text.cs @@ -1,3 +1,4 @@ +using System.Numerics; using System.Runtime.InteropServices; using Dalamud.Bindings.ImGui; @@ -46,7 +47,7 @@ internal unsafe partial class TextNodeTree : ResNodeTree return; } - ImGui.TextColored(new(1), "Text:"); + ImGui.TextColored(new Vector4(1), "Text:"); ImGui.SameLine(); try diff --git a/Dalamud/Interface/Internal/UiDebug2/Browsing/TimelineTree.cs b/Dalamud/Interface/Internal/UiDebug2/Browsing/TimelineTree.cs index 060f28d1a..b20b80653 100644 --- a/Dalamud/Interface/Internal/UiDebug2/Browsing/TimelineTree.cs +++ b/Dalamud/Interface/Internal/UiDebug2/Browsing/TimelineTree.cs @@ -74,7 +74,7 @@ public readonly unsafe partial struct TimelineTree ("Frame Time", $"{this.NodeTimeline->FrameTime:F2} ({this.NodeTimeline->FrameTime * 30:F0})")); PrintFieldValuePairs(("Active Label Id", $"{this.NodeTimeline->ActiveLabelId}"), ("Duration", $"{this.NodeTimeline->LabelFrameIdxDuration}"), ("End Frame", $"{this.NodeTimeline->LabelEndFrameIdx}")); - ImGui.TextColored(new(0.6f, 0.6f, 0.6f, 1), "Animation List"); + ImGui.TextColored(new Vector4(0.6f, 0.6f, 0.6f, 1), "Animation List"); for (var a = 0; a < animationCount; a++) { diff --git a/Dalamud/Interface/Internal/UiDebug2/Utility/Gui.cs b/Dalamud/Interface/Internal/UiDebug2/Utility/Gui.cs index 759c75587..094150f4c 100644 --- a/Dalamud/Interface/Internal/UiDebug2/Utility/Gui.cs +++ b/Dalamud/Interface/Internal/UiDebug2/Utility/Gui.cs @@ -28,7 +28,7 @@ internal static class Gui var grey60 = new Vector4(0.6f, 0.6f, 0.6f, 1); if (copy) { - ImGuiHelpers.ClickToCopyText(value, null, grey60); + ImGuiHelpers.ClickToCopyText(value, default, grey60); } else { diff --git a/Dalamud/Interface/Internal/Windows/BranchSwitcherWindow.cs b/Dalamud/Interface/Internal/Windows/BranchSwitcherWindow.cs index 4af9b7cfd..bcb3141f9 100644 --- a/Dalamud/Interface/Internal/Windows/BranchSwitcherWindow.cs +++ b/Dalamud/Interface/Internal/Windows/BranchSwitcherWindow.cs @@ -68,7 +68,7 @@ public class BranchSwitcherWindow : Window var si = Service.Get().StartInfo; var itemsArray = this.branches.Select(x => x.Key).ToArray(); - ImGui.ListBox("Branch", ref this.selectedBranchIndex, itemsArray, itemsArray.Length); + ImGui.ListBox("Branch", ref this.selectedBranchIndex, itemsArray); var pickedBranch = this.branches.ElementAt(this.selectedBranchIndex); diff --git a/Dalamud/Interface/Internal/Windows/ConsoleWindow.cs b/Dalamud/Interface/Internal/Windows/ConsoleWindow.cs index 8e030819b..4786373ba 100644 --- a/Dalamud/Interface/Internal/Windows/ConsoleWindow.cs +++ b/Dalamud/Interface/Internal/Windows/ConsoleWindow.cs @@ -835,11 +835,9 @@ internal class ConsoleWindow : Window, IDisposable } } - private unsafe int CommandInputCallback(ImGuiInputTextCallbackData* data) + private int CommandInputCallback(ref ImGuiInputTextCallbackData data) { - var ptr = new ImGuiInputTextCallbackDataPtr(data); - - switch (data->EventFlag) + switch (data.EventFlag) { case ImGuiInputTextFlags.CallbackEdit: this.completionZipText = null; @@ -847,9 +845,7 @@ internal class ConsoleWindow : Window, IDisposable break; case ImGuiInputTextFlags.CallbackCompletion: - var textBytes = new byte[data->BufTextLen]; - Marshal.Copy((IntPtr)data->Buf, textBytes, 0, data->BufTextLen); - var text = Encoding.UTF8.GetString(textBytes); + var text = Encoding.UTF8.GetString(data.BufTextSpan); var words = text.Split(); @@ -894,8 +890,8 @@ internal class ConsoleWindow : Window, IDisposable if (toComplete != null) { - ptr.DeleteChars(0, ptr.BufTextLen); - ptr.InsertChars(0, toComplete); + data.DeleteChars(0, data.BufTextLen); + data.InsertChars(0, toComplete); } } @@ -904,14 +900,14 @@ internal class ConsoleWindow : Window, IDisposable case ImGuiInputTextFlags.CallbackHistory: var prevPos = this.historyPos; - if (ptr.EventKey == ImGuiKey.UpArrow) + if (data.EventKey == ImGuiKey.UpArrow) { if (this.historyPos == -1) this.historyPos = this.configuration.LogCommandHistory.Count - 1; else if (this.historyPos > 0) this.historyPos--; } - else if (data->EventKey == ImGuiKey.DownArrow) + else if (data.EventKey == ImGuiKey.DownArrow) { if (this.historyPos != -1) { @@ -926,8 +922,8 @@ internal class ConsoleWindow : Window, IDisposable { var historyStr = this.historyPos >= 0 ? this.configuration.LogCommandHistory[this.historyPos] : string.Empty; - ptr.DeleteChars(0, ptr.BufTextLen); - ptr.InsertChars(0, historyStr); + data.DeleteChars(0, data.BufTextLen); + data.InsertChars(0, historyStr); } break; diff --git a/Dalamud/Interface/Internal/Windows/Data/DataWindowWidgetExtensions.cs b/Dalamud/Interface/Internal/Windows/Data/DataWindowWidgetExtensions.cs index 662118fb5..487f53f1f 100644 --- a/Dalamud/Interface/Internal/Windows/Data/DataWindowWidgetExtensions.cs +++ b/Dalamud/Interface/Internal/Windows/Data/DataWindowWidgetExtensions.cs @@ -49,7 +49,7 @@ internal static class DataWindowWidgetExtensions { ImGui.SetClipboardText(s); Service.Get().AddNotification( - $"Copied {ImGui.TableGetColumnNameS()} to clipboard.", + $"Copied {ImGui.TableGetColumnName()} to clipboard.", widget.DisplayName, NotificationType.Success); } diff --git a/Dalamud/Interface/Internal/Windows/Data/Widgets/DataShareWidget.cs b/Dalamud/Interface/Internal/Windows/Data/Widgets/DataShareWidget.cs index 534911708..80e2acf8c 100644 --- a/Dalamud/Interface/Internal/Windows/Data/Widgets/DataShareWidget.cs +++ b/Dalamud/Interface/Internal/Windows/Data/Widgets/DataShareWidget.cs @@ -120,23 +120,13 @@ internal class DataShareWidget : IDataWindowWidget ImGui.SameLine(); if (ImGui.Button("Copy")) - { - fixed (byte* pData = data) - ImGui.SetClipboardText(pData); - } + ImGui.SetClipboardText(data); - fixed (byte* pLabel = "text"u8) - fixed (byte* pData = data) - { - ImGui.InputTextMultiline( - pLabel, - pData, - (uint)data.Length, - ImGui.GetContentRegionAvail(), - ImGuiInputTextFlags.ReadOnly, - null, - null); - } + ImGui.InputTextMultiline( + "text"u8, + data, + ImGui.GetContentRegionAvail(), + ImGuiInputTextFlags.ReadOnly); } this.nextTab = -1; @@ -243,7 +233,7 @@ internal class DataShareWidget : IDataWindowWidget { ImGui.SetClipboardText(tooltip?.Invoke() ?? s); Service.Get().AddNotification( - $"Copied {ImGui.TableGetColumnNameS()} to clipboard.", + $"Copied {ImGui.TableGetColumnName()} to clipboard.", this.DisplayName, NotificationType.Success); } diff --git a/Dalamud/Interface/Internal/Windows/Data/Widgets/FontAwesomeTestWidget.cs b/Dalamud/Interface/Internal/Windows/Data/Widgets/FontAwesomeTestWidget.cs index 3b8c29d9e..b12d5261b 100644 --- a/Dalamud/Interface/Internal/Windows/Data/Widgets/FontAwesomeTestWidget.cs +++ b/Dalamud/Interface/Internal/Windows/Data/Widgets/FontAwesomeTestWidget.cs @@ -69,7 +69,7 @@ internal class FontAwesomeTestWidget : IDataWindowWidget ImGui.SetNextItemWidth(160f); var categoryIndex = this.selectedIconCategory; - if (ImGui.Combo("####FontAwesomeCategorySearch", ref categoryIndex, this.iconCategories, this.iconCategories.Length)) + if (ImGui.Combo("####FontAwesomeCategorySearch", ref categoryIndex, this.iconCategories)) { this.selectedIconCategory = categoryIndex; this.iconSearchChanged = true; diff --git a/Dalamud/Interface/Internal/Windows/Data/Widgets/GamePrebakedFontsTestWidget.cs b/Dalamud/Interface/Internal/Windows/Data/Widgets/GamePrebakedFontsTestWidget.cs index 8a6ec135e..6e2aca3ff 100644 --- a/Dalamud/Interface/Internal/Windows/Data/Widgets/GamePrebakedFontsTestWidget.cs +++ b/Dalamud/Interface/Internal/Windows/Data/Widgets/GamePrebakedFontsTestWidget.cs @@ -61,58 +61,25 @@ internal class GamePrebakedFontsTestWidget : IDataWindowWidget, IDisposable public unsafe void Draw() { ImGui.AlignTextToFramePadding(); - if (ImGui.Combo("Global Scale per Font", ref this.fontScaleMode, FontScaleModes, FontScaleModes.Length)) + if (ImGui.Combo("Global Scale per Font"u8, ref this.fontScaleMode, FontScaleModes)) + this.ClearAtlas(); + if (ImGui.Checkbox("Global Scale for Atlas"u8, ref this.atlasScaleMode)) this.ClearAtlas(); - fixed (byte* labelPtr = "Global Scale for Atlas"u8) - { - var v = this.atlasScaleMode; - if (ImGui.Checkbox(labelPtr, ref v)) - { - this.atlasScaleMode = v; - this.ClearAtlas(); - } - } ImGui.SameLine(); - fixed (byte* labelPtr = "Word Wrap"u8) - { - var v = this.useWordWrap; - if (ImGui.Checkbox(labelPtr, &v)) - this.useWordWrap = v; - } + ImGui.Checkbox("Word Wrap"u8, ref this.useWordWrap); ImGui.SameLine(); - fixed (byte* labelPtr = "Italic"u8) - { - var v = this.useItalic; - if (ImGui.Checkbox(labelPtr, &v)) - { - this.useItalic = v; - this.ClearAtlas(); - } - } + if (ImGui.Checkbox("Italic"u8, ref this.useItalic)) + this.ClearAtlas(); ImGui.SameLine(); - fixed (byte* labelPtr = "Bold"u8) - { - var v = this.useBold; - if (ImGui.Checkbox(labelPtr, &v)) - { - this.useBold = v; - this.ClearAtlas(); - } - } + if (ImGui.Checkbox("Bold"u8, ref this.useBold)) + this.ClearAtlas(); ImGui.SameLine(); - fixed (byte* labelPtr = "Minimum Range"u8) - { - var v = this.useMinimumBuild; - if (ImGui.Checkbox(labelPtr, &v)) - { - this.useMinimumBuild = v; - this.ClearAtlas(); - } - } + if (ImGui.Checkbox("Minimum Range"u8, ref this.useMinimumBuild)) + this.ClearAtlas(); ImGui.SameLine(); if (ImGui.Button("Reset Text") || this.testStringBuffer.IsDisposed) @@ -215,12 +182,8 @@ internal class GamePrebakedFontsTestWidget : IDataWindowWidget, IDisposable { if (ImGui.InputTextMultiline( labelPtr, - this.testStringBuffer.Data, - (uint)this.testStringBuffer.Capacity, - new(ImGui.GetContentRegionAvail().X, ImGui.GetTextLineHeight() * 3), - 0, - null, - null)) + this.testStringBuffer.StorageSpan, + new(ImGui.GetContentRegionAvail().X, ImGui.GetTextLineHeight() * 3))) { var len = this.testStringBuffer.StorageSpan.IndexOf((byte)0); if (len + 4 >= this.testStringBuffer.Capacity) @@ -293,8 +256,7 @@ internal class GamePrebakedFontsTestWidget : IDataWindowWidget, IDisposable } else if (!handle.Value.Available) { - fixed (byte* labelPtr = "Loading..."u8) - ImGui.TextUnformatted(labelPtr, labelPtr + 8 + ((Environment.TickCount / 200) % 3)); + ImGui.TextUnformatted("Loading..."u8[..(8 + ((Environment.TickCount / 200) % 3))]); } else { @@ -303,16 +265,12 @@ internal class GamePrebakedFontsTestWidget : IDataWindowWidget, IDisposable if (counter++ % 2 == 0) { using var pushPop = handle.Value.Push(); - ImGui.TextUnformatted( - this.testStringBuffer.Data, - this.testStringBuffer.Data + this.testStringBuffer.Length); + ImGui.TextUnformatted(this.testStringBuffer.DataSpan); } else { handle.Value.Push(); - ImGui.TextUnformatted( - this.testStringBuffer.Data, - this.testStringBuffer.Data + this.testStringBuffer.Length); + ImGui.TextUnformatted(this.testStringBuffer.DataSpan); handle.Value.Pop(); } } @@ -379,12 +337,9 @@ internal class GamePrebakedFontsTestWidget : IDataWindowWidget, IDisposable return; - unsafe void TestSingle(ImFontPtr fontPtr, IFontHandle handle) + void TestSingle(ImFontPtr fontPtr, IFontHandle handle) { - var dim = default(Vector2); - var test = "Test string"u8; - fixed (byte* pTest = test) - ImGui.CalcTextSizeA(ref dim, fontPtr, fontPtr.FontSize, float.MaxValue, 0f, pTest, (string)null, null); + var dim = ImGui.CalcTextSizeA(fontPtr, fontPtr.FontSize, float.MaxValue, 0f, "Test string"u8, out _); Log.Information($"{nameof(GamePrebakedFontsTestWidget)}: {handle} => {dim}"); } } diff --git a/Dalamud/Interface/Internal/Windows/Data/Widgets/ImGuiWidget.cs b/Dalamud/Interface/Internal/Windows/Data/Widgets/ImGuiWidget.cs index f7b14769f..1ddcb8cb6 100644 --- a/Dalamud/Interface/Internal/Windows/Data/Widgets/ImGuiWidget.cs +++ b/Dalamud/Interface/Internal/Windows/Data/Widgets/ImGuiWidget.cs @@ -73,17 +73,9 @@ internal class ImGuiWidget : IDataWindowWidget ImGui.Checkbox("##manualType", ref this.notificationTemplate.ManualType); ImGui.SameLine(); - ImGui.Combo( - "Type##type", - ref this.notificationTemplate.TypeInt, - NotificationTemplate.TypeTitles, - NotificationTemplate.TypeTitles.Length); + ImGui.Combo("Type##type", ref this.notificationTemplate.TypeInt, NotificationTemplate.TypeTitles); - ImGui.Combo( - "Icon##iconCombo", - ref this.notificationTemplate.IconInt, - NotificationTemplate.IconTitles, - NotificationTemplate.IconTitles.Length); + ImGui.Combo("Icon##iconCombo", ref this.notificationTemplate.IconInt, NotificationTemplate.IconTitles); switch (this.notificationTemplate.IconInt) { case 1 or 2: @@ -96,8 +88,7 @@ internal class ImGuiWidget : IDataWindowWidget ImGui.Combo( "Asset##iconAssetCombo", ref this.notificationTemplate.IconAssetInt, - NotificationTemplate.AssetSources, - NotificationTemplate.AssetSources.Length); + NotificationTemplate.AssetSources); break; case 3 or 7: ImGui.InputText( @@ -116,20 +107,17 @@ internal class ImGuiWidget : IDataWindowWidget ImGui.Combo( "Initial Duration", ref this.notificationTemplate.InitialDurationInt, - NotificationTemplate.InitialDurationTitles, - NotificationTemplate.InitialDurationTitles.Length); + NotificationTemplate.InitialDurationTitles); ImGui.Combo( "Extension Duration", ref this.notificationTemplate.HoverExtendDurationInt, - NotificationTemplate.HoverExtendDurationTitles, - NotificationTemplate.HoverExtendDurationTitles.Length); + NotificationTemplate.HoverExtendDurationTitles); ImGui.Combo( "Progress", ref this.notificationTemplate.ProgressMode, - NotificationTemplate.ProgressModeTitles, - NotificationTemplate.ProgressModeTitles.Length); + NotificationTemplate.ProgressModeTitles); ImGui.Checkbox("Respect UI Hidden", ref this.notificationTemplate.RespectUiHidden); diff --git a/Dalamud/Interface/Internal/Windows/Data/Widgets/NounProcessorWidget.cs b/Dalamud/Interface/Internal/Windows/Data/Widgets/NounProcessorWidget.cs index 5f0eb9444..ec1b298fc 100644 --- a/Dalamud/Interface/Internal/Windows/Data/Widgets/NounProcessorWidget.cs +++ b/Dalamud/Interface/Internal/Windows/Data/Widgets/NounProcessorWidget.cs @@ -89,7 +89,7 @@ internal class NounProcessorWidget : IDataWindowWidget var language = this.languages[this.selectedLanguageIndex]; ImGui.SetNextItemWidth(300); - if (ImGui.Combo("###SelectedSheetName", ref this.selectedSheetNameIndex, NounSheets.Select(t => t.Name).ToArray(), NounSheets.Length)) + if (ImGui.Combo("###SelectedSheetName", ref this.selectedSheetNameIndex, NounSheets.Select(t => t.Name).ToArray())) { this.rowId = 1; } @@ -97,7 +97,7 @@ internal class NounProcessorWidget : IDataWindowWidget ImGui.SameLine(); ImGui.SetNextItemWidth(120); - if (ImGui.Combo("###SelectedLanguage", ref this.selectedLanguageIndex, this.languageNames, this.languageNames.Length)) + if (ImGui.Combo("###SelectedLanguage", ref this.selectedLanguageIndex, this.languageNames)) { language = this.languages[this.selectedLanguageIndex]; this.rowId = 1; @@ -107,7 +107,7 @@ internal class NounProcessorWidget : IDataWindowWidget var sheet = dataManager.Excel.GetSheet(Language.English, sheetType.Name); var minRowId = (int)sheet.FirstOrDefault().RowId; var maxRowId = (int)sheet.LastOrDefault().RowId; - if (ImGui.InputInt("RowId###RowId", ref this.rowId, 1, 10, ImGuiInputTextFlags.AutoSelectAll)) + if (ImGui.InputInt("RowId###RowId", ref this.rowId, 1, 10, flags: ImGuiInputTextFlags.AutoSelectAll)) { if (this.rowId < minRowId) this.rowId = minRowId; @@ -120,7 +120,7 @@ internal class NounProcessorWidget : IDataWindowWidget ImGui.TextUnformatted($"(Range: {minRowId} - {maxRowId})"); ImGui.SetNextItemWidth(120); - if (ImGui.InputInt("Amount###Amount", ref this.amount, 1, 10, ImGuiInputTextFlags.AutoSelectAll)) + if (ImGui.InputInt("Amount###Amount", ref this.amount, 1, 10, flags: ImGuiInputTextFlags.AutoSelectAll)) { if (this.amount <= 0) this.amount = 1; diff --git a/Dalamud/Interface/Internal/Windows/Data/Widgets/SeStringCreatorWidget.cs b/Dalamud/Interface/Internal/Windows/Data/Widgets/SeStringCreatorWidget.cs index 11c10e515..b9902f388 100644 --- a/Dalamud/Interface/Internal/Windows/Data/Widgets/SeStringCreatorWidget.cs +++ b/Dalamud/Interface/Internal/Windows/Data/Widgets/SeStringCreatorWidget.cs @@ -568,7 +568,7 @@ internal class SeStringCreatorWidget : IDataWindowWidget } }).OrderBy(sheetName => sheetName, StringComparer.InvariantCulture).ToArray(); - var sheetChanged = ImGui.Combo("Sheet Name", ref this.importSelectedSheetName, this.validImportSheetNames, this.validImportSheetNames.Length); + var sheetChanged = ImGui.Combo("Sheet Name", ref this.importSelectedSheetName, this.validImportSheetNames); try { @@ -683,7 +683,7 @@ internal class SeStringCreatorWidget : IDataWindowWidget ImGui.TableNextColumn(); // Type var type = (int)entry.Type; ImGui.SetNextItemWidth(-1); - if (ImGui.Combo($"##Type{i}", ref type, ["String", "Macro", "Fixed"], 3)) + if (ImGui.Combo($"##Type{i}", ref type, ["String", "Macro", "Fixed"])) { entry.Type = (TextEntryType)type; updateString |= true; diff --git a/Dalamud/Interface/Internal/Windows/Data/Widgets/SeStringRendererTestWidget.cs b/Dalamud/Interface/Internal/Windows/Data/Widgets/SeStringRendererTestWidget.cs index 418eac80d..8a675f2e7 100644 --- a/Dalamud/Interface/Internal/Windows/Data/Widgets/SeStringRendererTestWidget.cs +++ b/Dalamud/Interface/Internal/Windows/Data/Widgets/SeStringRendererTestWidget.cs @@ -115,7 +115,7 @@ internal unsafe class SeStringRendererTestWidget : IDataWindowWidget ImGui.SameLine(); var t4 = this.style.ThemeIndex ?? AtkStage.Instance()->AtkUIColorHolder->ActiveColorThemeType; ImGui.PushItemWidth(ImGui.CalcTextSize("WWWWWWWWWWWWWW").X); - if (ImGui.Combo("##theme", ref t4, ThemeNames, ThemeNames.Length)) + if (ImGui.Combo("##theme", ref t4, ThemeNames)) this.style.ThemeIndex = t4; ImGui.SameLine(); @@ -265,12 +265,8 @@ internal unsafe class SeStringRendererTestWidget : IDataWindowWidget { if (ImGui.InputTextMultiline( labelPtr, - this.testStringBuffer.Data, - (uint)this.testStringBuffer.Capacity, - new(ImGui.GetContentRegionAvail().X, ImGui.GetTextLineHeight() * 3), - 0, - null, - null)) + this.testStringBuffer.StorageSpan, + new(ImGui.GetContentRegionAvail().X, ImGui.GetTextLineHeight() * 3))) { var len = this.testStringBuffer.StorageSpan.IndexOf((byte)0); if (len + 4 >= this.testStringBuffer.Capacity) @@ -278,7 +274,7 @@ internal unsafe class SeStringRendererTestWidget : IDataWindowWidget if (len < this.testStringBuffer.Capacity) { this.testStringBuffer.LengthUnsafe = len; - this.testStringBuffer.StorageSpan[len] = default; + this.testStringBuffer.StorageSpan[len] = 0; } this.testString = string.Empty; diff --git a/Dalamud/Interface/Internal/Windows/Data/Widgets/TaskSchedulerWidget.cs b/Dalamud/Interface/Internal/Windows/Data/Widgets/TaskSchedulerWidget.cs index adaff5496..2b07a2ec2 100644 --- a/Dalamud/Interface/Internal/Windows/Data/Widgets/TaskSchedulerWidget.cs +++ b/Dalamud/Interface/Internal/Windows/Data/Widgets/TaskSchedulerWidget.cs @@ -243,8 +243,8 @@ internal class TaskSchedulerWidget : IDataWindowWidget if (ImGui.CollapsingHeader("Download")) { - ImGui.InputText("URL", ref this.url, (uint)this.url.Length); - ImGui.InputText("Local Path", ref this.localPath, (uint)this.localPath.Length); + ImGui.InputText("URL", ref this.url); + ImGui.InputText("Local Path", ref this.localPath); ImGui.SameLine(); if (ImGuiComponents.IconButton("##localpathpicker", FontAwesomeIcon.File)) diff --git a/Dalamud/Interface/Internal/Windows/Data/Widgets/TexWidget.cs b/Dalamud/Interface/Internal/Windows/Data/Widgets/TexWidget.cs index 027e792ab..1ebd681d9 100644 --- a/Dalamud/Interface/Internal/Windows/Data/Widgets/TexWidget.cs +++ b/Dalamud/Interface/Internal/Windows/Data/Widgets/TexWidget.cs @@ -71,7 +71,7 @@ internal class TexWidget : IDataWindowWidget private enum DrawBlameTableColumnUserId { - NativeAddress, + NativeAddress = 1, Actions, Name, Width, @@ -231,7 +231,7 @@ internal class TexWidget : IDataWindowWidget ImGui.PopID(); } - if (ImGui.CollapsingHeader($"CropCopy##{this.DrawExistingTextureModificationArgs}")) + if (ImGui.CollapsingHeader($"CropCopy##{nameof(this.DrawExistingTextureModificationArgs)}")) { ImGui.PushID(nameof(this.DrawExistingTextureModificationArgs)); this.DrawExistingTextureModificationArgs(); @@ -709,8 +709,7 @@ internal class TexWidget : IDataWindowWidget if (ImGui.Combo( "Assembly", ref this.inputManifestResourceAssemblyIndex, - this.inputManifestResourceAssemblyCandidateNames, - this.inputManifestResourceAssemblyCandidateNames.Length)) + this.inputManifestResourceAssemblyCandidateNames)) { this.inputManifestResourceNameIndex = 0; this.inputManifestResourceNameCandidates = null; @@ -727,8 +726,7 @@ internal class TexWidget : IDataWindowWidget ImGui.Combo( "Name", ref this.inputManifestResourceNameIndex, - this.inputManifestResourceNameCandidates, - this.inputManifestResourceNameCandidates.Length); + this.inputManifestResourceNameCandidates); var name = this.inputManifestResourceNameIndex >= 0 @@ -844,15 +842,14 @@ internal class TexWidget : IDataWindowWidget ImGui.Combo( nameof(this.textureModificationArgs.DxgiFormat), ref this.renderTargetChoiceInt, - this.supportedRenderTargetFormatNames, - this.supportedRenderTargetFormatNames.Length); + this.supportedRenderTargetFormatNames); Span wh = stackalloc int[2]; wh[0] = this.textureModificationArgs.NewWidth; wh[1] = this.textureModificationArgs.NewHeight; - if (ImGui.InputInt2( + if (ImGui.InputInt( $"{nameof(this.textureModificationArgs.NewWidth)}/{nameof(this.textureModificationArgs.NewHeight)}", - ref wh[0])) + wh)) { this.textureModificationArgs.NewWidth = wh[0]; this.textureModificationArgs.NewHeight = wh[1]; diff --git a/Dalamud/Interface/Internal/Windows/Data/Widgets/ToastWidget.cs b/Dalamud/Interface/Internal/Windows/Data/Widgets/ToastWidget.cs index c9d3c119d..c667b6282 100644 --- a/Dalamud/Interface/Internal/Windows/Data/Widgets/ToastWidget.cs +++ b/Dalamud/Interface/Internal/Windows/Data/Widgets/ToastWidget.cs @@ -41,9 +41,9 @@ internal class ToastWidget : IDataWindowWidget ImGui.InputText("Toast text", ref this.inputTextToast, 200); - ImGui.Combo("Toast Position", ref this.toastPosition, new[] { "Bottom", "Top", }, 2); - ImGui.Combo("Toast Speed", ref this.toastSpeed, new[] { "Slow", "Fast", }, 2); - ImGui.Combo("Quest Toast Position", ref this.questToastPosition, new[] { "Centre", "Right", "Left" }, 3); + ImGui.Combo("Toast Position", ref this.toastPosition, ["Bottom", "Top"]); + ImGui.Combo("Toast Speed", ref this.toastSpeed, ["Slow", "Fast"]); + ImGui.Combo("Quest Toast Position", ref this.questToastPosition, ["Centre", "Right", "Left"]); ImGui.Checkbox("Quest Checkmark", ref this.questToastCheckmark); ImGui.Checkbox("Quest Play Sound", ref this.questToastSound); ImGui.InputInt("Quest Icon ID", ref this.questToastIconId); diff --git a/Dalamud/Interface/Internal/Windows/Data/Widgets/UldWidget.cs b/Dalamud/Interface/Internal/Windows/Data/Widgets/UldWidget.cs index f8d04e2cc..742530dd6 100644 --- a/Dalamud/Interface/Internal/Windows/Data/Widgets/UldWidget.cs +++ b/Dalamud/Interface/Internal/Windows/Data/Widgets/UldWidget.cs @@ -101,7 +101,7 @@ internal class UldWidget : IDataWindowWidget } var selectedUldPrev = this.selectedUld; - ImGui.Combo("##selectUld", ref this.selectedUld, uldNames, uldNames.Length); + ImGui.Combo("##selectUld", ref this.selectedUld, uldNames); ImGui.SameLine(); if (ImGuiComponents.IconButton("selectUldLeft", FontAwesomeIcon.AngleLeft)) this.selectedUld = ((this.selectedUld + uldNames.Length) - 1) % uldNames.Length; @@ -117,7 +117,7 @@ internal class UldWidget : IDataWindowWidget ClearTask(ref this.selectedUldFileTask); } - ImGui.Combo("##selectTheme", ref this.selectedTheme, ThemeDisplayNames, ThemeDisplayNames.Length); + ImGui.Combo("##selectTheme", ref this.selectedTheme, ThemeDisplayNames); ImGui.SameLine(); if (ImGuiComponents.IconButton("selectThemeLeft", FontAwesomeIcon.AngleLeft)) this.selectedTheme = ((this.selectedTheme + ThemeDisplayNames.Length) - 1) % ThemeDisplayNames.Length; diff --git a/Dalamud/Interface/Internal/Windows/PluginInstaller/ProfileManagerWidget.cs b/Dalamud/Interface/Internal/Windows/PluginInstaller/ProfileManagerWidget.cs index 999e25316..f6e2f6593 100644 --- a/Dalamud/Interface/Internal/Windows/PluginInstaller/ProfileManagerWidget.cs +++ b/Dalamud/Interface/Internal/Windows/PluginInstaller/ProfileManagerWidget.cs @@ -174,7 +174,7 @@ internal class ProfileManagerWidget { try { - profman.ImportProfile(ImGui.GetClipboardTextS()); + profman.ImportProfile(ImGui.GetClipboardText()); Service.Get().AddNotification(Locs.NotificationImportSuccess, type: NotificationType.Success); } catch (Exception ex) diff --git a/Dalamud/Interface/Internal/Windows/Settings/Tabs/SettingsTabLook.cs b/Dalamud/Interface/Internal/Windows/Settings/Tabs/SettingsTabLook.cs index 513d99e00..8b67eeaa8 100644 --- a/Dalamud/Interface/Internal/Windows/Settings/Tabs/SettingsTabLook.cs +++ b/Dalamud/Interface/Internal/Windows/Settings/Tabs/SettingsTabLook.cs @@ -210,7 +210,8 @@ public class SettingsTabLook : SettingsTab var len = Encoding.UTF8.GetByteCount(buildingFonts); var p = stackalloc byte[len]; Encoding.UTF8.GetBytes(buildingFonts, new(p, len)); - ImGui.TextUnformatted(p, (p + len + ((Environment.TickCount / 200) % 3)) - 2); + ImGui.TextUnformatted( + new ReadOnlySpan(p, len)[..((len + ((Environment.TickCount / 200) % 3)) - 2)]); } } diff --git a/Dalamud/Interface/Internal/Windows/Settings/Widgets/LanguageChooserSettingsEntry.cs b/Dalamud/Interface/Internal/Windows/Settings/Widgets/LanguageChooserSettingsEntry.cs index 6589a9d64..6d495ee2c 100644 --- a/Dalamud/Interface/Internal/Windows/Settings/Widgets/LanguageChooserSettingsEntry.cs +++ b/Dalamud/Interface/Internal/Windows/Settings/Widgets/LanguageChooserSettingsEntry.cs @@ -70,7 +70,7 @@ public sealed class LanguageChooserSettingsEntry : SettingsEntry public override void Draw() { ImGui.Text(this.Name); - ImGui.Combo("##XlLangCombo", ref this.langIndex, this.locLanguages, this.locLanguages.Length); + ImGui.Combo("##XlLangCombo", ref this.langIndex, this.locLanguages); ImGuiHelpers.SafeTextColoredWrapped(ImGuiColors.DalamudGrey, Loc.Localize("DalamudSettingsLanguageHint", "Select the language Dalamud will be displayed in.")); } } diff --git a/Dalamud/Interface/Internal/Windows/StyleEditor/StyleEditorWindow.cs b/Dalamud/Interface/Internal/Windows/StyleEditor/StyleEditorWindow.cs index 9f6dc3f32..38befa79b 100644 --- a/Dalamud/Interface/Internal/Windows/StyleEditor/StyleEditorWindow.cs +++ b/Dalamud/Interface/Internal/Windows/StyleEditor/StyleEditorWindow.cs @@ -84,7 +84,7 @@ public class StyleEditorWindow : Window var styleAry = config.SavedStyles.Select(x => x.Name).ToArray(); ImGui.Text(Loc.Localize("StyleEditorChooseStyle", "Choose Style:")); - if (ImGui.Combo("###styleChooserCombo", ref this.currentSel, styleAry, styleAry.Length)) + if (ImGui.Combo("###styleChooserCombo", ref this.currentSel, styleAry)) { var newStyle = config.SavedStyles[this.currentSel]; newStyle.Apply(); @@ -166,7 +166,7 @@ public class StyleEditorWindow : Window { this.SaveStyle(); - var styleJson = ImGui.GetClipboardTextS(); + var styleJson = ImGui.GetClipboardText(); try { @@ -245,7 +245,7 @@ public class StyleEditorWindow : Window ImGui.Text("Alignment"); ImGui.SliderFloat2("WindowTitleAlign", ref style.WindowTitleAlign, 0.0f, 1.0f, "%.2f"); var windowMenuButtonPosition = (int)style.WindowMenuButtonPosition + 1; - if (ImGui.Combo("WindowMenuButtonPosition", ref windowMenuButtonPosition, "None\0Left\0Right\0")) + if (ImGui.Combo("WindowMenuButtonPosition", ref windowMenuButtonPosition, ["None", "Left", "Right"])) style.WindowMenuButtonPosition = (ImGuiDir)(windowMenuButtonPosition - 1); ImGui.SliderFloat2("ButtonTextAlign", ref style.ButtonTextAlign, 0.0f, 1.0f, "%.2f"); ImGui.SameLine(); diff --git a/Dalamud/Interface/Textures/TextureWraps/IDrawListTextureWrap.cs b/Dalamud/Interface/Textures/TextureWraps/IDrawListTextureWrap.cs index 4c351258a..55a0ca027 100644 --- a/Dalamud/Interface/Textures/TextureWraps/IDrawListTextureWrap.cs +++ b/Dalamud/Interface/Textures/TextureWraps/IDrawListTextureWrap.cs @@ -54,7 +54,7 @@ public interface IDrawListTextureWrap : IDalamudTextureWrap /// Resizes this texture and draws an ImGui window. /// Name and ID of the window to draw. Use the value that goes into - /// . + /// . /// Scale to apply to all draw commands in the draw list. void ResizeAndDrawWindow(ReadOnlySpan windowName, Vector2 scale); } diff --git a/Dalamud/Interface/Textures/TextureWraps/Internal/DrawListTextureWrap/WindowPrinter.cs b/Dalamud/Interface/Textures/TextureWraps/Internal/DrawListTextureWrap/WindowPrinter.cs index e9a786a8c..18eaab37c 100644 --- a/Dalamud/Interface/Textures/TextureWraps/Internal/DrawListTextureWrap/WindowPrinter.cs +++ b/Dalamud/Interface/Textures/TextureWraps/Internal/DrawListTextureWrap/WindowPrinter.cs @@ -1,9 +1,4 @@ -using System.Diagnostics; -using System.Linq; using System.Numerics; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using System.Text; using Dalamud.Bindings.ImGui; @@ -15,13 +10,13 @@ internal sealed unsafe partial class DrawListTextureWrap /// public void ResizeAndDrawWindow(ReadOnlySpan windowName, Vector2 scale) { - ref var window = ref ImGuiWindow.FindWindowByName(windowName); - if (Unsafe.IsNullRef(ref window)) + var window = ImGuiP.FindWindowByName(windowName); + if (window.IsNull) throw new ArgumentException("Window not found", nameof(windowName)); this.Size = window.Size; - var numDrawList = CountDrawList(ref window); + var numDrawList = CountDrawList(window); var drawLists = stackalloc ImDrawList*[numDrawList]; var drawData = new ImDrawData { @@ -34,7 +29,7 @@ internal sealed unsafe partial class DrawListTextureWrap DisplaySize = window.Size, FramebufferScale = scale, }; - AddWindowToDrawData(ref window, ref drawLists); + AddWindowToDrawData(window, ref drawLists); for (var i = 0; i < numDrawList; i++) { drawData.TotalVtxCount += drawData.CmdLists[i]->VtxBuffer.Size; @@ -45,10 +40,9 @@ internal sealed unsafe partial class DrawListTextureWrap return; - static bool IsWindowActiveAndVisible(scoped in ImGuiWindow window) => - window.Active != 0 && window.Hidden == 0; + static bool IsWindowActiveAndVisible(ImGuiWindowPtr window) => window is { Active: true, Hidden: false }; - static void AddWindowToDrawData(scoped ref ImGuiWindow window, ref ImDrawList** wptr) + static void AddWindowToDrawData(ImGuiWindowPtr window, ref ImDrawList** wptr) { switch (window.DrawList.CmdBuffer.Size) { @@ -63,13 +57,13 @@ internal sealed unsafe partial class DrawListTextureWrap for (var i = 0; i < window.DC.ChildWindows.Size; i++) { - ref var child = ref *(ImGuiWindow*)window.DC.ChildWindows[i]; - if (IsWindowActiveAndVisible(in child)) // Clipped children may have been marked not active - AddWindowToDrawData(ref child, ref wptr); + var child = window.DC.ChildWindows[i]; + if (IsWindowActiveAndVisible(child)) // Clipped children may have been marked not active + AddWindowToDrawData(child, ref wptr); } } - static int CountDrawList(scoped ref ImGuiWindow window) + static int CountDrawList(ImGuiWindowPtr window) { var res = window.DrawList.CmdBuffer.Size switch { @@ -79,51 +73,8 @@ internal sealed unsafe partial class DrawListTextureWrap _ => 1, }; for (var i = 0; i < window.DC.ChildWindows.Size; i++) - res += CountDrawList(ref *(ImGuiWindow*)window.DC.ChildWindows[i]); + res += CountDrawList(window.DC.ChildWindows[i]); return res; } } - - [StructLayout(LayoutKind.Explicit, Size = 0x448)] - private struct ImGuiWindow - { - [FieldOffset(0x048)] - public Vector2 Pos; - - [FieldOffset(0x050)] - public Vector2 Size; - - [FieldOffset(0x0CB)] - public byte Active; - - [FieldOffset(0x0D2)] - public byte Hidden; - - [FieldOffset(0x118)] - public ImGuiWindowTempData DC; - - [FieldOffset(0x2C0)] - public ImDrawListPtr DrawList; - - [DllImport("cimgui", CallingConvention = CallingConvention.Cdecl)] -#pragma warning disable SA1300 - public static extern ImGuiWindow* igCustom_FindWindowByName(byte* inherit); -#pragma warning restore SA1300 - - public static ref ImGuiWindow FindWindowByName(ReadOnlySpan name) - { - var nb = Encoding.UTF8.GetByteCount(name); - var buf = stackalloc byte[nb + 1]; - buf[Encoding.UTF8.GetBytes(name, new(buf, nb))] = 0; - - return ref *igCustom_FindWindowByName(buf); - } - - [StructLayout(LayoutKind.Explicit, Size = 0xF0)] - public struct ImGuiWindowTempData - { - [FieldOffset(0x98)] - public ImVector ChildWindows; - } - } } diff --git a/Dalamud/Interface/Textures/TextureWraps/Internal/UnknownTextureWrap.cs b/Dalamud/Interface/Textures/TextureWraps/Internal/UnknownTextureWrap.cs index f5b96870a..f0a9a474f 100644 --- a/Dalamud/Interface/Textures/TextureWraps/Internal/UnknownTextureWrap.cs +++ b/Dalamud/Interface/Textures/TextureWraps/Internal/UnknownTextureWrap.cs @@ -16,7 +16,7 @@ internal sealed unsafe class UnknownTextureWrap : IDalamudTextureWrap, IDeferred /// Initializes a new instance of the class. /// The pointer to that is suitable for use with - /// . + /// . /// The width of the texture. /// The height of the texture. /// If true, call . diff --git a/Dalamud/Interface/Utility/ImGuiExtensions.cs b/Dalamud/Interface/Utility/ImGuiExtensions.cs index 5a7ee61a2..9ded58e7a 100644 --- a/Dalamud/Interface/Utility/ImGuiExtensions.cs +++ b/Dalamud/Interface/Utility/ImGuiExtensions.cs @@ -44,7 +44,14 @@ public static class ImGuiExtensions if (needClipping) { var fineClipRect = new Vector4(clipMin.X, clipMin.Y, clipMax.X, clipMax.Y); - drawListPtr.AddText(ImGui.GetFont(), ImGui.GetFontSize(), pos, ImGui.GetColorU32(ImGuiCol.Text), text, ref fineClipRect); + drawListPtr.AddText( + ImGui.GetFont(), + ImGui.GetFontSize(), + pos, + ImGui.GetColorU32(ImGuiCol.Text), + text, + 0, + fineClipRect); } else { diff --git a/Dalamud/Interface/Utility/ImGuiHelpers.cs b/Dalamud/Interface/Utility/ImGuiHelpers.cs index 4294042ea..4a2f36bc3 100644 --- a/Dalamud/Interface/Utility/ImGuiHelpers.cs +++ b/Dalamud/Interface/Utility/ImGuiHelpers.cs @@ -136,11 +136,7 @@ public static partial class ImGuiHelpers /// The name/ID of the window. /// The position of the window. /// When to set the position. - public static void SetWindowPosRelativeMainViewport(string name, Vector2 position, ImGuiCond condition = ImGuiCond.None) - => ImGui.SetWindowPos(name, position + MainViewport.Pos, condition); - - /// - public static void SetWindowPosRelativeMainViewport(ReadOnlySpan name, Vector2 position, ImGuiCond condition = ImGuiCond.None) + public static void SetWindowPosRelativeMainViewport(ImU8String name, Vector2 position, ImGuiCond condition = ImGuiCond.None) => ImGui.SetWindowPos(name, position + MainViewport.Pos, condition); /// @@ -166,11 +162,7 @@ public static partial class ImGuiHelpers /// /// Text in the button. /// with the size of the button. - public static Vector2 GetButtonSize(string text) - => ImGui.CalcTextSize(text) + (ImGui.GetStyle().FramePadding * 2); - - /// - public static Vector2 GetButtonSize(ReadOnlySpan text) + public static Vector2 GetButtonSize(ImU8String text) => ImGui.CalcTextSize(text) + (ImGui.GetStyle().FramePadding * 2); /// @@ -179,11 +171,8 @@ public static partial class ImGuiHelpers /// The text to show. /// The text to copy when clicked. /// The color of the text. - public static void ClickToCopyText(string text, string? textCopy = null, Vector4? color = null) + public static void ClickToCopyText(ImU8String text, ImU8String textCopy = default, Vector4? color = null) { - text ??= string.Empty; - textCopy ??= text; - using (var col = new ImRaii.Color()) { if (color.HasValue) @@ -191,7 +180,7 @@ public static partial class ImGuiHelpers col.Push(ImGuiCol.Text, color.Value); } - ImGui.TextUnformatted(text); + ImGui.TextUnformatted(text.Span); } if (ImGui.IsItemHovered()) @@ -206,52 +195,17 @@ public static partial class ImGuiHelpers } ImGui.SameLine(); - ImGui.TextUnformatted(textCopy); + ImGui.TextUnformatted(textCopy.IsNull ? text.Span : textCopy.Span); } } if (ImGui.IsItemClicked()) { - ImGui.SetClipboardText(textCopy); - } - } - - /// - public static void ClickToCopyText(ReadOnlySpan text, ReadOnlySpan textCopy = default, Vector4? color = null) - { - if (textCopy.IsEmpty) - textCopy = text; - - using (var col = new ImRaii.Color()) - { - if (color.HasValue) - { - col.Push(ImGuiCol.Text, color.Value); - } - - ImGui.TextUnformatted(text); + ImGui.SetClipboardText(textCopy.IsNull ? text.Span : textCopy.Span); } - if (ImGui.IsItemHovered()) - { - ImGui.SetMouseCursor(ImGuiMouseCursor.Hand); - - using (ImRaii.Tooltip()) - { - using (ImRaii.PushFont(UiBuilder.IconFont)) - { - ImGui.TextUnformatted(FontAwesomeIcon.Copy.ToIconString()); - } - - ImGui.SameLine(); - ImGui.TextUnformatted(textCopy); - } - } - - if (ImGui.IsItemClicked()) - { - ImGui.SetClipboardText(textCopy); - } + text.Dispose(); + textCopy.Dispose(); } /// Draws a SeString. @@ -285,32 +239,14 @@ public static partial class ImGuiHelpers /// Write unformatted text wrapped. /// /// The text to write. - public static void SafeTextWrapped(string text) => ImGui.TextWrapped(text.Replace("%", "%%")); - - /// - public static void SafeTextWrapped(ReadOnlySpan text) - { - if (text.Contains((byte)'%')) - ImGui.TextWrapped(Encoding.UTF8.GetString(text).Replace("%", "%%")); - else - ImGui.TextWrapped(text); - } + public static void SafeTextWrapped(ImU8String text) => ImGui.TextWrapped(text); /// /// Write unformatted text wrapped. /// /// The color of the text. /// The text to write. - public static void SafeTextColoredWrapped(Vector4 color, string text) - { - using (ImRaii.PushColor(ImGuiCol.Text, color)) - { - SafeTextWrapped(text); - } - } - - /// - public static void SafeTextColoredWrapped(Vector4 color, ReadOnlySpan text) + public static void SafeTextColoredWrapped(Vector4 color, ImU8String text) { using (ImRaii.PushColor(ImGuiCol.Text, color)) { @@ -510,16 +446,9 @@ public static partial class ImGuiHelpers /// Show centered text. /// /// Text to show. - public static void CenteredText(string text) + public static void CenteredText(ImU8String text) { - CenterCursorForText(text); - ImGui.TextUnformatted(text); - } - - /// - public static void CenteredText(ReadOnlySpan text) - { - CenterCursorForText(text); + CenterCursorForText(text.Span); ImGui.TextUnformatted(text); } @@ -527,11 +456,7 @@ public static partial class ImGuiHelpers /// Center the ImGui cursor for a certain text. /// /// The text to center for. - public static void CenterCursorForText(string text) - => CenterCursorFor(ImGui.CalcTextSize(text).X); - - /// - public static void CenterCursorForText(ReadOnlySpan text) + public static void CenterCursorForText(ImU8String text) => CenterCursorFor(ImGui.CalcTextSize(text).X); /// @@ -666,17 +591,13 @@ public static partial class ImGuiHelpers /// /// The callback data. /// The new text. - internal static unsafe void SetTextFromCallback(ImGuiInputTextCallbackData* data, string s) + internal static void SetTextFromCallback(ref ImGuiInputTextCallbackData data, ImU8String s) { - if (data->BufTextLen != 0) - data->DeleteChars(0, data->BufTextLen); + if (data.BufTextLen != 0) + data.DeleteChars(0, data.BufTextLen); - var len = Encoding.UTF8.GetByteCount(s); - var buf = len < 1024 ? stackalloc byte[len] : new byte[len]; - Encoding.UTF8.GetBytes(s, buf); - fixed (byte* pBuf = buf) - data->InsertChars(0, pBuf, pBuf + len); - data->SelectAll(); + data.InsertChars(0, s); + data.SelectAll(); } /// diff --git a/Dalamud/Interface/Utility/ImGuiId.cs b/Dalamud/Interface/Utility/ImGuiId.cs index a5739afa9..12f1cd0a2 100644 --- a/Dalamud/Interface/Utility/ImGuiId.cs +++ b/Dalamud/Interface/Utility/ImGuiId.cs @@ -161,12 +161,10 @@ public readonly ref struct ImGuiId ImGui.PushID((void*)this.Numeric); return true; case Type.U16: - fixed (void* p = this.U16) - ImGui.PushID((byte*)p, (byte*)p + (this.U16.Length * 2)); + ImGui.PushID(this.U16); return true; case Type.U8: - fixed (void* p = this.U8) - ImGui.PushID((byte*)p, (byte*)p + this.U8.Length); + ImGui.PushID(this.U8); return true; case Type.None: default: diff --git a/Dalamud/Interface/Utility/ImVectorWrapper.cs b/Dalamud/Interface/Utility/ImVectorWrapper.cs index d501563b1..dee0f5994 100644 --- a/Dalamud/Interface/Utility/ImVectorWrapper.cs +++ b/Dalamud/Interface/Utility/ImVectorWrapper.cs @@ -25,7 +25,7 @@ public unsafe struct ImVectorWrapper : IList, IList, IReadOnlyList, IDi /// Initializes a new instance of the struct.
/// If is set to true, you must call after use, /// and the underlying memory for must have been allocated using - /// . Otherwise, it will crash. + /// . Otherwise, it will crash. ///
/// The underlying vector. /// The destroyer function to call on item removal. diff --git a/Dalamud/Interface/Utility/Raii/EndObjects.cs b/Dalamud/Interface/Utility/Raii/EndObjects.cs index 5b33b3273..f84844dda 100644 --- a/Dalamud/Interface/Utility/Raii/EndObjects.cs +++ b/Dalamud/Interface/Utility/Raii/EndObjects.cs @@ -1,5 +1,4 @@ using System.Numerics; -using System.Text; using Dalamud.Bindings.ImGui; @@ -11,28 +10,16 @@ public static partial class ImRaii { private static int disabledCount = 0; - public static IEndObject Child(string strId) + public static IEndObject Child(ImU8String strId) => new EndUnconditionally(ImGui.EndChild, ImGui.BeginChild(strId)); - public static IEndObject Child(ReadOnlySpan strId) - => new EndUnconditionally(ImGui.EndChild, ImGui.BeginChild(strId)); - - public static IEndObject Child(string strId, Vector2 size) + public static IEndObject Child(ImU8String strId, Vector2 size) => new EndUnconditionally(ImGui.EndChild, ImGui.BeginChild(strId, size)); - public static IEndObject Child(ReadOnlySpan strId, Vector2 size) - => new EndUnconditionally(ImGui.EndChild, ImGui.BeginChild(strId, size)); - - public static IEndObject Child(string strId, Vector2 size, bool border) + public static IEndObject Child(ImU8String strId, Vector2 size, bool border) => new EndUnconditionally(ImGui.EndChild, ImGui.BeginChild(strId, size, border)); - public static IEndObject Child(ReadOnlySpan strId, Vector2 size, bool border) - => new EndUnconditionally(ImGui.EndChild, ImGui.BeginChild(strId, size, border)); - - public static IEndObject Child(string strId, Vector2 size, bool border, ImGuiWindowFlags flags) - => new EndUnconditionally(ImGui.EndChild, ImGui.BeginChild(strId, size, border, flags)); - - public static IEndObject Child(ReadOnlySpan strId, Vector2 size, bool border, ImGuiWindowFlags flags) + public static IEndObject Child(ImU8String strId, Vector2 size, bool border, ImGuiWindowFlags flags) => new EndUnconditionally(ImGui.EndChild, ImGui.BeginChild(strId, size, border, flags)); public static IEndObject DragDropTarget() @@ -44,88 +31,40 @@ public static partial class ImRaii public static IEndObject DragDropSource(ImGuiDragDropFlags flags) => new EndConditionally(ImGui.EndDragDropSource, ImGui.BeginDragDropSource(flags)); - public static IEndObject Popup(string id) + public static IEndObject Popup(ImU8String id) => new EndConditionally(ImGui.EndPopup, ImGui.BeginPopup(id)); - public static IEndObject Popup(ReadOnlySpan id) - => new EndConditionally(ImGui.EndPopup, ImGui.BeginPopup(id)); - - public static IEndObject Popup(string id, ImGuiWindowFlags flags) + public static IEndObject Popup(ImU8String id, ImGuiWindowFlags flags) => new EndConditionally(ImGui.EndPopup, ImGui.BeginPopup(id, flags)); - public static IEndObject Popup(ReadOnlySpan id, ImGuiWindowFlags flags) - => new EndConditionally(ImGui.EndPopup, ImGui.BeginPopup(id, flags)); - - public static IEndObject PopupModal(string id) + public static IEndObject PopupModal(ImU8String id) => new EndConditionally(ImGui.EndPopup, ImGui.BeginPopupModal(id)); - public static IEndObject PopupModal(ReadOnlySpan id) - => new EndConditionally(ImGui.EndPopup, ImGui.BeginPopupModal(id)); - - public static IEndObject PopupModal(string id, ref bool open) + public static IEndObject PopupModal(ImU8String id, ref bool open) => new EndConditionally(ImGui.EndPopup, ImGui.BeginPopupModal(id, ref open)); - public static IEndObject PopupModal(ReadOnlySpan id, ref bool open) - => new EndConditionally(ImGui.EndPopup, ImGui.BeginPopupModal(id, ref open)); - - public static IEndObject PopupModal(string id, ref bool open, ImGuiWindowFlags flags) + public static IEndObject PopupModal(ImU8String id, ref bool open, ImGuiWindowFlags flags) => new EndConditionally(ImGui.EndPopup, ImGui.BeginPopupModal(id, ref open, flags)); - public static IEndObject PopupModal(ReadOnlySpan id, ref bool open, ImGuiWindowFlags flags) - => new EndConditionally(ImGui.EndPopup, ImGui.BeginPopupModal(id, ref open, flags)); - - public static IEndObject ContextPopup(string id) + public static IEndObject ContextPopup(ImU8String id) => new EndConditionally(ImGui.EndPopup, ImGui.BeginPopupContextWindow(id)); - public static IEndObject ContextPopup(ReadOnlySpan id) - => new EndConditionally(ImGui.EndPopup, ImGui.BeginPopupContextWindow(id)); - - public static IEndObject ContextPopup(string id, ImGuiPopupFlags flags) + public static IEndObject ContextPopup(ImU8String id, ImGuiPopupFlags flags) => new EndConditionally(ImGui.EndPopup, ImGui.BeginPopupContextWindow(id, flags)); - public static IEndObject ContextPopup(ReadOnlySpan id, ImGuiPopupFlags flags) - => new EndConditionally(ImGui.EndPopup, ImGui.BeginPopupContextWindow(id, flags)); - - public static IEndObject ContextPopupItem(string id) + public static IEndObject ContextPopupItem(ImU8String id) => new EndConditionally(ImGui.EndPopup, ImGui.BeginPopupContextItem(id)); - public static IEndObject ContextPopupItem(ReadOnlySpan id) - => new EndConditionally(ImGui.EndPopup, ImGui.BeginPopupContextItem(id)); - - public static IEndObject ContextPopupItem(string id, ImGuiPopupFlags flags) + public static IEndObject ContextPopupItem(ImU8String id, ImGuiPopupFlags flags) => new EndConditionally(ImGui.EndPopup, ImGui.BeginPopupContextItem(id, flags)); - public static IEndObject ContextPopupItem(ReadOnlySpan id, ImGuiPopupFlags flags) - => new EndConditionally(ImGui.EndPopup, ImGui.BeginPopupContextItem(id, flags)); - - public static IEndObject Combo(string label, string previewValue) + public static IEndObject Combo(ImU8String label, ImU8String previewValue) => new EndConditionally(ImGui.EndCombo, ImGui.BeginCombo(label, previewValue)); - public static IEndObject Combo(ReadOnlySpan label, string previewValue) - => new EndConditionally(ImGui.EndCombo, ImGui.BeginCombo(label, previewValue)); - - public static IEndObject Combo(string label, ReadOnlySpan previewValue) - => new EndConditionally(ImGui.EndCombo, ImGui.BeginCombo(label, previewValue)); - - public static IEndObject Combo(ReadOnlySpan label, ReadOnlySpan previewValue) - => new EndConditionally(ImGui.EndCombo, ImGui.BeginCombo(label, previewValue)); - - public static IEndObject Combo(string label, string previewValue, ImGuiComboFlags flags) + public static IEndObject Combo(ImU8String label, ImU8String previewValue, ImGuiComboFlags flags) => new EndConditionally(ImGui.EndCombo, ImGui.BeginCombo(label, previewValue, flags)); - public static IEndObject Combo(ReadOnlySpan label, string previewValue, ImGuiComboFlags flags) - => new EndConditionally(ImGui.EndCombo, ImGui.BeginCombo(label, previewValue, flags)); - - public static IEndObject Combo(string label, ReadOnlySpan previewValue, ImGuiComboFlags flags) - => new EndConditionally(ImGui.EndCombo, ImGui.BeginCombo(label, previewValue, flags)); - - public static IEndObject Combo(ReadOnlySpan label, ReadOnlySpan previewValue, ImGuiComboFlags flags) - => new EndConditionally(ImGui.EndCombo, ImGui.BeginCombo(label, previewValue, flags)); - - public static IEndObject Menu(string label) - => new EndConditionally(ImGui.EndMenu, ImGui.BeginMenu(label)); - - public static IEndObject Menu(ReadOnlySpan label) + public static IEndObject Menu(ImU8String label) => new EndConditionally(ImGui.EndMenu, ImGui.BeginMenu(label)); public static IEndObject MenuBar() @@ -170,91 +109,49 @@ public static partial class ImRaii return new EndUnconditionally(ImGui.PopTextWrapPos, true); } - public static IEndObject ListBox(string label) + public static IEndObject ListBox(ImU8String label) => new EndConditionally(ImGui.EndListBox, ImGui.BeginListBox(label)); - public static IEndObject ListBox(ReadOnlySpan label) - => new EndConditionally(ImGui.EndListBox, ImGui.BeginListBox(label)); - - public static IEndObject ListBox(string label, Vector2 size) + public static IEndObject ListBox(ImU8String label, Vector2 size) => new EndConditionally(ImGui.EndListBox, ImGui.BeginListBox(label, size)); - public static IEndObject ListBox(ReadOnlySpan label, Vector2 size) - => new EndConditionally(ImGui.EndListBox, ImGui.BeginListBox(label, size)); - - public static IEndObject Table(string table, int numColumns) + public static IEndObject Table(ImU8String table, int numColumns) => new EndConditionally(ImGui.EndTable, ImGui.BeginTable(table, numColumns)); - public static IEndObject Table(ReadOnlySpan table, int numColumns) - => new EndConditionally(ImGui.EndTable, ImGui.BeginTable(table, numColumns)); - - public static IEndObject Table(string table, int numColumns, ImGuiTableFlags flags) + public static IEndObject Table(ImU8String table, int numColumns, ImGuiTableFlags flags) => new EndConditionally(ImGui.EndTable, ImGui.BeginTable(table, numColumns, flags)); - public static IEndObject Table(ReadOnlySpan table, int numColumns, ImGuiTableFlags flags) - => new EndConditionally(ImGui.EndTable, ImGui.BeginTable(table, numColumns, flags)); - - public static IEndObject Table(string table, int numColumns, ImGuiTableFlags flags, Vector2 outerSize) + public static IEndObject Table(ImU8String table, int numColumns, ImGuiTableFlags flags, Vector2 outerSize) => new EndConditionally(ImGui.EndTable, ImGui.BeginTable(table, numColumns, flags, outerSize)); - public static IEndObject Table(ReadOnlySpan table, int numColumns, ImGuiTableFlags flags, Vector2 outerSize) - => new EndConditionally(ImGui.EndTable, ImGui.BeginTable(table, numColumns, flags, outerSize)); - - public static IEndObject Table(string table, int numColumns, ImGuiTableFlags flags, Vector2 outerSize, float innerWidth) + public static IEndObject Table(ImU8String table, int numColumns, ImGuiTableFlags flags, Vector2 outerSize, float innerWidth) => new EndConditionally(ImGui.EndTable, ImGui.BeginTable(table, numColumns, flags, outerSize, innerWidth)); - public static IEndObject Table(ReadOnlySpan table, int numColumns, ImGuiTableFlags flags, Vector2 outerSize, float innerWidth) - => new EndConditionally(ImGui.EndTable, ImGui.BeginTable(table, numColumns, flags, outerSize, innerWidth)); - - public static IEndObject TabBar(string label) + public static IEndObject TabBar(ImU8String label) => new EndConditionally(ImGui.EndTabBar, ImGui.BeginTabBar(label)); - public static IEndObject TabBar(ReadOnlySpan label) - => new EndConditionally(ImGui.EndTabBar, ImGui.BeginTabBar(label)); - - public static IEndObject TabBar(string label, ImGuiTabBarFlags flags) + public static IEndObject TabBar(ImU8String label, ImGuiTabBarFlags flags) => new EndConditionally(ImGui.EndTabBar, ImGui.BeginTabBar(label, flags)); - public static IEndObject TabBar(ReadOnlySpan label, ImGuiTabBarFlags flags) - => new EndConditionally(ImGui.EndTabBar, ImGui.BeginTabBar(label, flags)); - - public static IEndObject TabItem(string label) - => new EndConditionally(ImGui.EndTabItem, ImGui.BeginTabItem(label)); - - public static IEndObject TabItem(ReadOnlySpan label) + public static IEndObject TabItem(ImU8String label) => new EndConditionally(ImGui.EndTabItem, ImGui.BeginTabItem(label)); public static unsafe IEndObject TabItem(byte* label, ImGuiTabItemFlags flags) - => new EndConditionally(ImGui.EndTabItem, ImGui.BeginTabItem(label, null, flags)); + => new EndConditionally(ImGui.EndTabItem, ImGui.BeginTabItem(label, flags)); - public static unsafe IEndObject TabItem(string label, ImGuiTabItemFlags flags) - => new EndConditionally(ImGui.EndTabItem, ImGui.BeginTabItem(label, null, flags)); + public static unsafe IEndObject TabItem(ImU8String label, ImGuiTabItemFlags flags) + => new EndConditionally(ImGui.EndTabItem, ImGui.BeginTabItem(label, flags)); - public static unsafe IEndObject TabItem(ReadOnlySpan label, ImGuiTabItemFlags flags) - => new EndConditionally(ImGui.EndTabItem, ImGui.BeginTabItem(label, null, flags)); - - public static IEndObject TabItem(string label, ref bool open) + public static IEndObject TabItem(ImU8String label, ref bool open) => new EndConditionally(ImGui.EndTabItem, ImGui.BeginTabItem(label, ref open)); - public static IEndObject TabItem(ReadOnlySpan label, ref bool open) - => new EndConditionally(ImGui.EndTabItem, ImGui.BeginTabItem(label, ref open)); - - public static IEndObject TabItem(string label, ref bool open, ImGuiTabItemFlags flags) + public static IEndObject TabItem(ImU8String label, ref bool open, ImGuiTabItemFlags flags) => new EndConditionally(ImGui.EndTabItem, ImGui.BeginTabItem(label, ref open, flags)); - public static IEndObject TabItem(ReadOnlySpan label, ref bool open, ImGuiTabItemFlags flags) - => new EndConditionally(ImGui.EndTabItem, ImGui.BeginTabItem(label, ref open, flags)); - - public static IEndObject TreeNode(string label) + public static IEndObject TreeNode(ImU8String label) => new EndConditionally(ImGui.TreePop, ImGui.TreeNodeEx(label)); - public static IEndObject TreeNode(ReadOnlySpan label) - => new EndConditionally(ImGui.TreePop, ImGui.TreeNodeEx(label)); - - public static IEndObject TreeNode(string label, ImGuiTreeNodeFlags flags) - => new EndConditionally(flags.HasFlag(ImGuiTreeNodeFlags.NoTreePushOnOpen) ? Nop : ImGui.TreePop, ImGui.TreeNodeEx(label, flags)); - - public static IEndObject TreeNode(ReadOnlySpan label, ImGuiTreeNodeFlags flags) + public static IEndObject TreeNode(ImU8String label, ImGuiTreeNodeFlags flags) => new EndConditionally(flags.HasFlag(ImGuiTreeNodeFlags.NoTreePushOnOpen) ? Nop : ImGui.TreePop, ImGui.TreeNodeEx(label, flags)); public static IEndObject Disabled() diff --git a/Dalamud/Interface/Utility/Raii/Id.cs b/Dalamud/Interface/Utility/Raii/Id.cs index 0cde4639a..7fab495ae 100644 --- a/Dalamud/Interface/Utility/Raii/Id.cs +++ b/Dalamud/Interface/Utility/Raii/Id.cs @@ -6,10 +6,7 @@ namespace Dalamud.Interface.Utility.Raii; // If condition is false, no id is pushed. public static partial class ImRaii { - public static Id PushId(string id, bool enabled = true) - => enabled ? new Id().Push(id) : new Id(); - - public static Id PushId(ReadOnlySpan id, bool enabled = true) + public static Id PushId(ImU8String id, bool enabled = true) => enabled ? new Id().Push(id) : new Id(); public static Id PushId(int id, bool enabled = true) @@ -22,18 +19,7 @@ public static partial class ImRaii { private int count; - public Id Push(string id, bool condition = true) - { - if (condition) - { - ImGui.PushID(id); - ++this.count; - } - - return this; - } - - public Id Push(ReadOnlySpan id, bool condition = true) + public Id Push(ImU8String id, bool condition = true) { if (condition) { diff --git a/Dalamud/Utility/Util.cs b/Dalamud/Utility/Util.cs index 4edd89c54..498faaec2 100644 --- a/Dalamud/Utility/Util.cs +++ b/Dalamud/Utility/Util.cs @@ -37,7 +37,7 @@ namespace Dalamud.Utility; /// /// Class providing various helper methods for use in Dalamud and plugins. /// -public static class Util +public static partial class Util { private static readonly string[] PageProtectionFlagNames = [ "PAGE_NOACCESS", diff --git a/filter_imgui_bindings.ps1 b/filter_imgui_bindings.ps1 new file mode 100644 index 000000000..e2ca0d7ba --- /dev/null +++ b/filter_imgui_bindings.ps1 @@ -0,0 +1,291 @@ +$ErrorActionPreference = "Stop" +Set-StrictMode -Version Latest + +$namespaceDefPattern = New-Object -TypeName System.Text.RegularExpressions.Regex -ArgumentList '(?:^\s*)namespace\s+(?[\w.]+)\b', 'Compiled,Multiline,Singleline' +$usingPattern = New-Object -TypeName System.Text.RegularExpressions.Regex -ArgumentList '(?:^|;)\s*using\s+(?\w+)\s*;', 'Compiled,Multiline,Singleline' +$classDefPattern = New-Object -TypeName System.Text.RegularExpressions.Regex -ArgumentList '(?^\s*)(?public\s+|internal\s+|protected\s+|private\s+)?(?static\s+)?(?unsafe\s+)?(?partial\s+)?(?class\s+|struct\s+)(?\w+)\b', 'Compiled,Multiline,Singleline' +$methodPattern = New-Object -TypeName System.Text.RegularExpressions.Regex -ArgumentList '(?:^\s+?\[.*?\](?:\r\n|\r|\n))?(?^\s*)(?(?public\s+|internal\s+|protected\s+|private\s+)?(?static\s+)?(?unsafe\s+)?(?(?!public|internal|protected|private|static|unsafe)\w+(?:\s*<\s*\w+?(?:<\s*\w+\s*>?)?\s*>)?(?:\s*\*+)?\s+)(?\w+)(?\s*\([^)]*\)))(?:\r\n|\r|\n)[\s\S]+?(?:^\k}(?:\r\n|\r|\n))', 'Compiled,Multiline,Singleline' +$referNativeFunction = New-Object -TypeName System.Text.RegularExpressions.Regex -ArgumentList '(?`r`n`r`nusing $([string]::Join(";`r`nusing ", $imports) );`r`n`r`n$husks" + $husks | Set-Content -Path "$targetPath.gen.cs" -Encoding ascii + } + + $husks = "// `r`n`r`nusing $([string]::Join(";`r`nusing ", $imports) );`r`n`r`nnamespace $namespace;`r`n`r`n" + + $sb = New-Object -TypeName "System.Text.StringBuilder" + $discardMethods = New-Object -TypeName "System.Collections.Generic.SortedSet[string]" + $null = $discardMethods.Add("ImFontAtlasBuildPackCustomRectsNative") + foreach ($classDef in $classes.Keys) + { + $null = $sb.Clear().Append($husks).Append("public unsafe partial $classDef`r`n{`r`n") + $className = $classDef.Split(" ")[1] + $isNative = $className.EndsWith("Native") + $discardMethods.Clear() + + if (!$isNative) + { + foreach ($methods in $classes[$classDef].Values) + { + $methodName = $methods[0].Groups["name"].Value; + + # discard Drag/Slider functions + if ($methodName.StartsWith("Drag") -or + $methodName.StartsWith("Slider") -or + $methodName.StartsWith("VSlider") -or + $methodName.StartsWith("InputFloat") -or + $methodName.StartsWith("InputInt") -or + $methodName.StartsWith("InputDouble") -or + $methodName.StartsWith("InputScalar") -or + $methodName.StartsWith("ColorEdit") -or + $methodName.StartsWith("ColorPicker")) + { + $null = $discardMethods.Add($methodName) + continue + } + + # discard specific functions + if ($methodName.StartsWith("ImGuiTextRange") -or + $methodName.StartsWith("AddInputCharacter")) + { + $null = $discardMethods.Add($methodName) + continue + } + + # discard Get...Ref functions + if ($methodName.StartsWith("Get") -And + $methodName.EndsWith("Ref")) + { + $null = $discardMethods.Add($methodName) + continue + } + + foreach ($overload in $methods) + { + $returnType = $overload.Groups["return"].Value.Trim() + $argDef = $overload.Groups["args"].Value + + # discard functions returning a string of some sort + if ($returnType -eq "string" -and + $methodName.EndsWith("S")) + { + $null = $discardMethods.Add($methodName.Substring(0, $methodName.Length - 1)) + $null = $discardMethods.Add($methodName) + break + } + + # discard formatting functions or functions accepting (begin, end) or (data, size) pairs + if ($argDef.Contains("fmt") -or + $argDef -match "\btext\b" -or + # $argDef.Contains("byte* textEnd") -or + $argDef.Contains("str") -or + # $argDef.Contains("byte* strEnd") -or + # $argDef.Contains("byte* strIdEnd") -or + $argDef.Contains("label") -or + $argDef.Contains("name") -or + $argDef.Contains("prefix") -or + $argDef.Contains("byte* shortcut") -or + $argDef.Contains("byte* type") -or + $argDef.Contains("byte* iniData") -or + $argDef.Contains("int dataSize") -or + $argDef.Contains("values, int valuesCount") -or + $argDef.Contains("data, int itemCount") -or + $argDef.Contains("pData, int components") -or + $argDef.Contains("ushort* glyphRanges") -or + $argDef.Contains("nuint args")) + { + $null = $discardMethods.Add($methodName) + break + } + } + } + } + + foreach ($methods in $classes[$classDef].Values) + { + $methodName = $methods[0].Groups["name"]; + + if ( $discardMethods.Contains($methodName)) + { + continue + } + + foreach ($overload in $methods) + { + if ($isNative) + { + $null = $sb.Append($overload.Groups[0].Value.Replace("internal ", "public ").Replace("Native(", "(").Replace("funcTable", "$($className.Substring(0, $className.Length - 6) ).funcTable")) + continue + } + + $tmp = $overload.Groups[0].Value + $tmp = $referNativeFunction.Replace($tmp, "$( $className )Native.`$1") + $tmp = $referNativeFunctionQualified.Replace($tmp, '$1Native.$2') + $tmp = $tmp -creplace '(?<=Get[A-Za-z0-9_]+\()ref ([A-Za-z*]+) self(?=, |\))', 'this scoped in $1 self' + $tmp = $tmp -creplace '(?<=\()(ref )?([A-Za-z*]+) self(?=, |\))', 'this $1$2 self' + $null = $sb.Append($tmp) + } + } + + $null = $sb.Append("}`r`n") + + $nativeMethods = $null + if (!$classes.TryGetValue($classDef + "Native", [ref]$nativeMethods)) + { + $nativeMethods = $null + } + + foreach ($methodName in $discardMethods) + { + if ($nativeMethods -ne $null) + { + $overloads = $null + if ($nativeMethods.TryGetValue($methodName + "Native", [ref]$overloads)) + { + foreach ($overload in $overloads) + { + $null = $sb.Append("// DISCARDED: $( $overload.Groups["prototype"].Value )`r`n") + } + continue + } + } + + $null = $sb.Append("// DISCARDED: $methodName`r`n") + } + + $sb.ToString() | Set-Content -Path "$targetPath/$className.gen.cs" -Encoding ascii + } +} diff --git a/generate_imgui_bindings.ps1 b/generate_imgui_bindings.ps1 index 84eb4e245..0384bb488 100644 --- a/generate_imgui_bindings.ps1 +++ b/generate_imgui_bindings.ps1 @@ -76,4 +76,6 @@ Set-Location -Path "bin/Debug/net9.0" .\Generator.exe # Restore initial directory -Set-Location -Path $initialDirectory \ No newline at end of file +Set-Location -Path $initialDirectory + +& "$PSScriptRoot\filter_imgui_bindings.ps1" diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Functions.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Functions.gen.cs new file mode 100644 index 000000000..8001f2632 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Functions.gen.cs @@ -0,0 +1,695 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +/* Functions.000.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.001.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.002.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.003.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.004.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.005.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.006.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.007.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.008.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.009.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.010.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.011.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.012.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.013.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.014.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.015.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.016.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.017.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.018.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.019.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.020.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.021.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.022.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.023.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.024.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.025.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.026.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.027.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.028.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.029.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.030.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.031.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.032.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.033.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.034.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.035.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.036.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.037.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.038.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.039.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.040.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.041.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.042.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.043.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.044.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.045.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.046.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.047.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.048.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.049.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.050.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.051.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.052.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.053.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.054.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.055.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.056.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.057.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.058.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.059.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.060.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.061.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.062.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.063.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.064.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.065.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.066.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.067.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.068.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.069.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.070.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.071.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.072.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.073.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.074.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.075.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.076.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.077.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.078.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.079.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.080.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.081.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.082.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.083.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.084.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.085.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.086.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.087.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.088.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.089.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.090.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.091.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.092.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.093.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.094.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.095.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.096.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.097.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Functions/ImGui.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Functions/ImGui.gen.cs new file mode 100644 index 000000000..3574ab21f --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Functions/ImGui.gen.cs @@ -0,0 +1,8899 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial class ImGui +{ + public static Vector2* ImVec2() + { + Vector2* ret = ImGuiNative.ImVec2(); + return ret; + } + public static Vector2* ImVec2(float x, float y) + { + Vector2* ret = ImGuiNative.ImVec2(x, y); + return ret; + } + public static void Destroy(Vector2* self) + { + ImGuiNative.Destroy(self); + } + public static void Destroy(ref Vector2 self) + { + fixed (Vector2* pself = &self) + { + ImGuiNative.Destroy((Vector2*)pself); + } + } + public static void Destroy(Vector4* self) + { + ImGuiNative.Destroy(self); + } + public static void Destroy(ref Vector4 self) + { + fixed (Vector4* pself = &self) + { + ImGuiNative.Destroy((Vector4*)pself); + } + } + public static void Destroy(this ImGuiStylePtr self) + { + ImGuiNative.Destroy(self); + } + public static void Destroy(this ref ImGuiStyle self) + { + fixed (ImGuiStyle* pself = &self) + { + ImGuiNative.Destroy((ImGuiStyle*)pself); + } + } + public static void Destroy(this ImGuiIOPtr self) + { + ImGuiNative.Destroy(self); + } + public static void Destroy(this ref ImGuiIO self) + { + fixed (ImGuiIO* pself = &self) + { + ImGuiNative.Destroy((ImGuiIO*)pself); + } + } + public static void Destroy(this ImGuiInputTextCallbackDataPtr self) + { + ImGuiNative.Destroy(self); + } + public static void Destroy(this ref ImGuiInputTextCallbackData self) + { + fixed (ImGuiInputTextCallbackData* pself = &self) + { + ImGuiNative.Destroy((ImGuiInputTextCallbackData*)pself); + } + } + public static void Destroy(this ImGuiWindowClassPtr self) + { + ImGuiNative.Destroy(self); + } + public static void Destroy(this ref ImGuiWindowClass self) + { + fixed (ImGuiWindowClass* pself = &self) + { + ImGuiNative.Destroy((ImGuiWindowClass*)pself); + } + } + public static void Destroy(this ImGuiPayloadPtr self) + { + ImGuiNative.Destroy(self); + } + public static void Destroy(this ref ImGuiPayload self) + { + fixed (ImGuiPayload* pself = &self) + { + ImGuiNative.Destroy((ImGuiPayload*)pself); + } + } + public static void Destroy(this ImGuiTableColumnSortSpecsPtr self) + { + ImGuiNative.Destroy(self); + } + public static void Destroy(this ref ImGuiTableColumnSortSpecs self) + { + fixed (ImGuiTableColumnSortSpecs* pself = &self) + { + ImGuiNative.Destroy((ImGuiTableColumnSortSpecs*)pself); + } + } + public static void Destroy(this ImGuiTableSortSpecsPtr self) + { + ImGuiNative.Destroy(self); + } + public static void Destroy(this ref ImGuiTableSortSpecs self) + { + fixed (ImGuiTableSortSpecs* pself = &self) + { + ImGuiNative.Destroy((ImGuiTableSortSpecs*)pself); + } + } + public static void Destroy(this ImGuiOnceUponAFramePtr self) + { + ImGuiNative.Destroy(self); + } + public static void Destroy(this ref ImGuiOnceUponAFrame self) + { + fixed (ImGuiOnceUponAFrame* pself = &self) + { + ImGuiNative.Destroy((ImGuiOnceUponAFrame*)pself); + } + } + public static void Destroy(this ImGuiTextFilterPtr self) + { + ImGuiNative.Destroy(self); + } + public static void Destroy(this ref ImGuiTextFilter self) + { + fixed (ImGuiTextFilter* pself = &self) + { + ImGuiNative.Destroy((ImGuiTextFilter*)pself); + } + } + public static void Destroy(this ImGuiTextRangePtr self) + { + ImGuiNative.Destroy(self); + } + public static void Destroy(this ref ImGuiTextRange self) + { + fixed (ImGuiTextRange* pself = &self) + { + ImGuiNative.Destroy((ImGuiTextRange*)pself); + } + } + public static void Destroy(this ImGuiTextBufferPtr self) + { + ImGuiNative.Destroy(self); + } + public static void Destroy(this ref ImGuiTextBuffer self) + { + fixed (ImGuiTextBuffer* pself = &self) + { + ImGuiNative.Destroy((ImGuiTextBuffer*)pself); + } + } + public static void Destroy(this ImGuiStoragePairPtr self) + { + ImGuiNative.Destroy(self); + } + public static void Destroy(this ref ImGuiStoragePair self) + { + fixed (ImGuiStoragePair* pself = &self) + { + ImGuiNative.Destroy((ImGuiStoragePair*)pself); + } + } + public static void Destroy(this ImGuiListClipperPtr self) + { + ImGuiNative.Destroy(self); + } + public static void Destroy(this ref ImGuiListClipper self) + { + fixed (ImGuiListClipper* pself = &self) + { + ImGuiNative.Destroy((ImGuiListClipper*)pself); + } + } + public static void Destroy(this ImColorPtr self) + { + ImGuiNative.Destroy(self); + } + public static void Destroy(this ref ImColor self) + { + fixed (ImColor* pself = &self) + { + ImGuiNative.Destroy((ImColor*)pself); + } + } + public static void Destroy(this ImDrawCmdPtr self) + { + ImGuiNative.Destroy(self); + } + public static void Destroy(this ref ImDrawCmd self) + { + fixed (ImDrawCmd* pself = &self) + { + ImGuiNative.Destroy((ImDrawCmd*)pself); + } + } + public static void Destroy(this ImDrawListSplitterPtr self) + { + ImGuiNative.Destroy(self); + } + public static void Destroy(this ref ImDrawListSplitter self) + { + fixed (ImDrawListSplitter* pself = &self) + { + ImGuiNative.Destroy((ImDrawListSplitter*)pself); + } + } + public static void Destroy(this ImDrawListPtr self) + { + ImGuiNative.Destroy(self); + } + public static void Destroy(this ref ImDrawList self) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.Destroy((ImDrawList*)pself); + } + } + public static void Destroy(this ImDrawDataPtr self) + { + ImGuiNative.Destroy(self); + } + public static void Destroy(this ref ImDrawData self) + { + fixed (ImDrawData* pself = &self) + { + ImGuiNative.Destroy((ImDrawData*)pself); + } + } + public static void Destroy(this ImFontConfigPtr self) + { + ImGuiNative.Destroy(self); + } + public static void Destroy(this ref ImFontConfig self) + { + fixed (ImFontConfig* pself = &self) + { + ImGuiNative.Destroy((ImFontConfig*)pself); + } + } + public static void Destroy(this ImFontGlyphRangesBuilderPtr self) + { + ImGuiNative.Destroy(self); + } + public static void Destroy(this ref ImFontGlyphRangesBuilder self) + { + fixed (ImFontGlyphRangesBuilder* pself = &self) + { + ImGuiNative.Destroy((ImFontGlyphRangesBuilder*)pself); + } + } + public static void Destroy(this ImFontAtlasCustomRectPtr self) + { + ImGuiNative.Destroy(self); + } + public static void Destroy(this ref ImFontAtlasCustomRect self) + { + fixed (ImFontAtlasCustomRect* pself = &self) + { + ImGuiNative.Destroy((ImFontAtlasCustomRect*)pself); + } + } + public static void Destroy(this ImFontAtlasPtr self) + { + ImGuiNative.Destroy(self); + } + public static void Destroy(this ref ImFontAtlas self) + { + fixed (ImFontAtlas* pself = &self) + { + ImGuiNative.Destroy((ImFontAtlas*)pself); + } + } + public static void Destroy(this ImFontPtr self) + { + ImGuiNative.Destroy(self); + } + public static void Destroy(this ref ImFont self) + { + fixed (ImFont* pself = &self) + { + ImGuiNative.Destroy((ImFont*)pself); + } + } + public static void Destroy(this ImGuiViewportPtr self) + { + ImGuiNative.Destroy(self); + } + public static void Destroy(this ref ImGuiViewport self) + { + fixed (ImGuiViewport* pself = &self) + { + ImGuiNative.Destroy((ImGuiViewport*)pself); + } + } + public static void Destroy(this ImGuiPlatformIOPtr self) + { + ImGuiNative.Destroy(self); + } + public static void Destroy(this ref ImGuiPlatformIO self) + { + fixed (ImGuiPlatformIO* pself = &self) + { + ImGuiNative.Destroy((ImGuiPlatformIO*)pself); + } + } + public static void Destroy(this ImGuiPlatformMonitorPtr self) + { + ImGuiNative.Destroy(self); + } + public static void Destroy(this ref ImGuiPlatformMonitor self) + { + fixed (ImGuiPlatformMonitor* pself = &self) + { + ImGuiNative.Destroy((ImGuiPlatformMonitor*)pself); + } + } + public static void Destroy(this ImGuiPlatformImeDataPtr self) + { + ImGuiNative.Destroy(self); + } + public static void Destroy(this ref ImGuiPlatformImeData self) + { + fixed (ImGuiPlatformImeData* pself = &self) + { + ImGuiNative.Destroy((ImGuiPlatformImeData*)pself); + } + } + public static void Destroy(ImVec1Ptr self) + { + ImGuiNative.Destroy(self); + } + public static void Destroy(ref ImVec1 self) + { + fixed (ImVec1* pself = &self) + { + ImGuiNative.Destroy((ImVec1*)pself); + } + } + public static void Destroy(ImVec2IhPtr self) + { + ImGuiNative.Destroy(self); + } + public static void Destroy(ref ImVec2Ih self) + { + fixed (ImVec2Ih* pself = &self) + { + ImGuiNative.Destroy((ImVec2Ih*)pself); + } + } + public static void Destroy(this ImRectPtr self) + { + ImGuiNative.Destroy(self); + } + public static void Destroy(this ref ImRect self) + { + fixed (ImRect* pself = &self) + { + ImGuiNative.Destroy((ImRect*)pself); + } + } + public static void Destroy(this ImDrawListSharedDataPtr self) + { + ImGuiNative.Destroy(self); + } + public static void Destroy(this ref ImDrawListSharedData self) + { + fixed (ImDrawListSharedData* pself = &self) + { + ImGuiNative.Destroy((ImDrawListSharedData*)pself); + } + } + public static void Destroy(this ImGuiStyleModPtr self) + { + ImGuiNative.Destroy(self); + } + public static void Destroy(this ref ImGuiStyleMod self) + { + fixed (ImGuiStyleMod* pself = &self) + { + ImGuiNative.Destroy((ImGuiStyleMod*)pself); + } + } + public static void Destroy(this ImGuiComboPreviewDataPtr self) + { + ImGuiNative.Destroy(self); + } + public static void Destroy(this ref ImGuiComboPreviewData self) + { + fixed (ImGuiComboPreviewData* pself = &self) + { + ImGuiNative.Destroy((ImGuiComboPreviewData*)pself); + } + } + public static void Destroy(this ImGuiMenuColumnsPtr self) + { + ImGuiNative.Destroy(self); + } + public static void Destroy(this ref ImGuiMenuColumns self) + { + fixed (ImGuiMenuColumns* pself = &self) + { + ImGuiNative.Destroy((ImGuiMenuColumns*)pself); + } + } + public static void Destroy(this ImGuiInputTextStatePtr self) + { + ImGuiNative.Destroy(self); + } + public static void Destroy(this ref ImGuiInputTextState self) + { + fixed (ImGuiInputTextState* pself = &self) + { + ImGuiNative.Destroy((ImGuiInputTextState*)pself); + } + } + public static void Destroy(this ImGuiPopupDataPtr self) + { + ImGuiNative.Destroy(self); + } + public static void Destroy(this ref ImGuiPopupData self) + { + fixed (ImGuiPopupData* pself = &self) + { + ImGuiNative.Destroy((ImGuiPopupData*)pself); + } + } + public static void Destroy(this ImGuiNextWindowDataPtr self) + { + ImGuiNative.Destroy(self); + } + public static void Destroy(this ref ImGuiNextWindowData self) + { + fixed (ImGuiNextWindowData* pself = &self) + { + ImGuiNative.Destroy((ImGuiNextWindowData*)pself); + } + } + public static void Destroy(this ImGuiNextItemDataPtr self) + { + ImGuiNative.Destroy(self); + } + public static void Destroy(this ref ImGuiNextItemData self) + { + fixed (ImGuiNextItemData* pself = &self) + { + ImGuiNative.Destroy((ImGuiNextItemData*)pself); + } + } + public static void Destroy(this ImGuiLastItemDataPtr self) + { + ImGuiNative.Destroy(self); + } + public static void Destroy(this ref ImGuiLastItemData self) + { + fixed (ImGuiLastItemData* pself = &self) + { + ImGuiNative.Destroy((ImGuiLastItemData*)pself); + } + } + public static void Destroy(this ImGuiStackSizesPtr self) + { + ImGuiNative.Destroy(self); + } + public static void Destroy(this ref ImGuiStackSizes self) + { + fixed (ImGuiStackSizes* pself = &self) + { + ImGuiNative.Destroy((ImGuiStackSizes*)pself); + } + } + public static void Destroy(this ImGuiPtrOrIndexPtr self) + { + ImGuiNative.Destroy(self); + } + public static void Destroy(this ref ImGuiPtrOrIndex self) + { + fixed (ImGuiPtrOrIndex* pself = &self) + { + ImGuiNative.Destroy((ImGuiPtrOrIndex*)pself); + } + } + public static void Destroy(this ImGuiInputEventPtr self) + { + ImGuiNative.Destroy(self); + } + public static void Destroy(this ref ImGuiInputEvent self) + { + fixed (ImGuiInputEvent* pself = &self) + { + ImGuiNative.Destroy((ImGuiInputEvent*)pself); + } + } + public static void Destroy(this ImGuiListClipperDataPtr self) + { + ImGuiNative.Destroy(self); + } + public static void Destroy(this ref ImGuiListClipperData self) + { + fixed (ImGuiListClipperData* pself = &self) + { + ImGuiNative.Destroy((ImGuiListClipperData*)pself); + } + } + public static void Destroy(this ImGuiNavItemDataPtr self) + { + ImGuiNative.Destroy(self); + } + public static void Destroy(this ref ImGuiNavItemData self) + { + fixed (ImGuiNavItemData* pself = &self) + { + ImGuiNative.Destroy((ImGuiNavItemData*)pself); + } + } + public static void Destroy(this ImGuiOldColumnDataPtr self) + { + ImGuiNative.Destroy(self); + } + public static void Destroy(this ref ImGuiOldColumnData self) + { + fixed (ImGuiOldColumnData* pself = &self) + { + ImGuiNative.Destroy((ImGuiOldColumnData*)pself); + } + } + public static void Destroy(this ImGuiOldColumnsPtr self) + { + ImGuiNative.Destroy(self); + } + public static void Destroy(this ref ImGuiOldColumns self) + { + fixed (ImGuiOldColumns* pself = &self) + { + ImGuiNative.Destroy((ImGuiOldColumns*)pself); + } + } + public static void Destroy(this ImGuiDockContextPtr self) + { + ImGuiNative.Destroy(self); + } + public static void Destroy(this ref ImGuiDockContext self) + { + fixed (ImGuiDockContext* pself = &self) + { + ImGuiNative.Destroy((ImGuiDockContext*)pself); + } + } + public static void Destroy(this ImGuiWindowSettingsPtr self) + { + ImGuiNative.Destroy(self); + } + public static void Destroy(this ref ImGuiWindowSettings self) + { + fixed (ImGuiWindowSettings* pself = &self) + { + ImGuiNative.Destroy((ImGuiWindowSettings*)pself); + } + } + public static void Destroy(this ImGuiSettingsHandlerPtr self) + { + ImGuiNative.Destroy(self); + } + public static void Destroy(this ref ImGuiSettingsHandler self) + { + fixed (ImGuiSettingsHandler* pself = &self) + { + ImGuiNative.Destroy((ImGuiSettingsHandler*)pself); + } + } + public static void Destroy(this ImGuiMetricsConfigPtr self) + { + ImGuiNative.Destroy(self); + } + public static void Destroy(this ref ImGuiMetricsConfig self) + { + fixed (ImGuiMetricsConfig* pself = &self) + { + ImGuiNative.Destroy((ImGuiMetricsConfig*)pself); + } + } + public static void Destroy(this ImGuiStackLevelInfoPtr self) + { + ImGuiNative.Destroy(self); + } + public static void Destroy(this ref ImGuiStackLevelInfo self) + { + fixed (ImGuiStackLevelInfo* pself = &self) + { + ImGuiNative.Destroy((ImGuiStackLevelInfo*)pself); + } + } + public static void Destroy(this ImGuiStackToolPtr self) + { + ImGuiNative.Destroy(self); + } + public static void Destroy(this ref ImGuiStackTool self) + { + fixed (ImGuiStackTool* pself = &self) + { + ImGuiNative.Destroy((ImGuiStackTool*)pself); + } + } + public static void Destroy(this ImGuiContextHookPtr self) + { + ImGuiNative.Destroy(self); + } + public static void Destroy(this ref ImGuiContextHook self) + { + fixed (ImGuiContextHook* pself = &self) + { + ImGuiNative.Destroy((ImGuiContextHook*)pself); + } + } + public static void Destroy(this ImGuiContextPtr self) + { + ImGuiNative.Destroy(self); + } + public static void Destroy(this ref ImGuiContext self) + { + fixed (ImGuiContext* pself = &self) + { + ImGuiNative.Destroy((ImGuiContext*)pself); + } + } + public static void Destroy(this ImGuiTabItemPtr self) + { + ImGuiNative.Destroy(self); + } + public static void Destroy(this ref ImGuiTabItem self) + { + fixed (ImGuiTabItem* pself = &self) + { + ImGuiNative.Destroy((ImGuiTabItem*)pself); + } + } + public static void Destroy(this ImGuiTabBarPtr self) + { + ImGuiNative.Destroy(self); + } + public static void Destroy(this ref ImGuiTabBar self) + { + fixed (ImGuiTabBar* pself = &self) + { + ImGuiNative.Destroy((ImGuiTabBar*)pself); + } + } + public static void Destroy(this ImGuiTableColumnPtr self) + { + ImGuiNative.Destroy(self); + } + public static void Destroy(this ref ImGuiTableColumn self) + { + fixed (ImGuiTableColumn* pself = &self) + { + ImGuiNative.Destroy((ImGuiTableColumn*)pself); + } + } + public static void Destroy(this ImGuiTableInstanceDataPtr self) + { + ImGuiNative.Destroy(self); + } + public static void Destroy(this ref ImGuiTableInstanceData self) + { + fixed (ImGuiTableInstanceData* pself = &self) + { + ImGuiNative.Destroy((ImGuiTableInstanceData*)pself); + } + } + public static void Destroy(this ImGuiTableTempDataPtr self) + { + ImGuiNative.Destroy(self); + } + public static void Destroy(this ref ImGuiTableTempData self) + { + fixed (ImGuiTableTempData* pself = &self) + { + ImGuiNative.Destroy((ImGuiTableTempData*)pself); + } + } + public static void Destroy(this ImGuiTableColumnSettingsPtr self) + { + ImGuiNative.Destroy(self); + } + public static void Destroy(this ref ImGuiTableColumnSettings self) + { + fixed (ImGuiTableColumnSettings* pself = &self) + { + ImGuiNative.Destroy((ImGuiTableColumnSettings*)pself); + } + } + public static void Destroy(this ImGuiTableSettingsPtr self) + { + ImGuiNative.Destroy(self); + } + public static void Destroy(this ref ImGuiTableSettings self) + { + fixed (ImGuiTableSettings* pself = &self) + { + ImGuiNative.Destroy((ImGuiTableSettings*)pself); + } + } + public static Vector4* ImVec4() + { + Vector4* ret = ImGuiNative.ImVec4(); + return ret; + } + public static Vector4* ImVec4(float x, float y, float z, float w) + { + Vector4* ret = ImGuiNative.ImVec4(x, y, z, w); + return ret; + } + public static ImGuiContextPtr CreateContext(ImFontAtlasPtr sharedFontAtlas) + { + ImGuiContextPtr ret = ImGuiNative.CreateContext(sharedFontAtlas); + return ret; + } + public static ImGuiContextPtr CreateContext() + { + ImGuiContextPtr ret = ImGuiNative.CreateContext((ImFontAtlas*)(default)); + return ret; + } + public static ImGuiContextPtr CreateContext(ref ImFontAtlas sharedFontAtlas) + { + fixed (ImFontAtlas* psharedFontAtlas = &sharedFontAtlas) + { + ImGuiContextPtr ret = ImGuiNative.CreateContext((ImFontAtlas*)psharedFontAtlas); + return ret; + } + } + public static void DestroyContext(ImGuiContextPtr ctx) + { + ImGuiNative.DestroyContext(ctx); + } + public static void DestroyContext() + { + ImGuiNative.DestroyContext((ImGuiContext*)(default)); + } + public static void DestroyContext(ref ImGuiContext ctx) + { + fixed (ImGuiContext* pctx = &ctx) + { + ImGuiNative.DestroyContext((ImGuiContext*)pctx); + } + } + public static ImGuiContextPtr GetCurrentContext() + { + ImGuiContextPtr ret = ImGuiNative.GetCurrentContext(); + return ret; + } + public static void SetCurrentContext(ImGuiContextPtr ctx) + { + ImGuiNative.SetCurrentContext(ctx); + } + public static void SetCurrentContext(ref ImGuiContext ctx) + { + fixed (ImGuiContext* pctx = &ctx) + { + ImGuiNative.SetCurrentContext((ImGuiContext*)pctx); + } + } + public static ImGuiIOPtr GetIO() + { + ImGuiIOPtr ret = ImGuiNative.GetIO(); + return ret; + } + public static ImGuiStylePtr GetStyle() + { + ImGuiStylePtr ret = ImGuiNative.GetStyle(); + return ret; + } + public static void NewFrame() + { + ImGuiNative.NewFrame(); + } + public static void EndFrame() + { + ImGuiNative.EndFrame(); + } + public static void Render() + { + ImGuiNative.Render(); + } + public static ImDrawDataPtr GetDrawData() + { + ImDrawDataPtr ret = ImGuiNative.GetDrawData(); + return ret; + } + public static void ShowDemoWindow(bool* pOpen) + { + ImGuiNative.ShowDemoWindow(pOpen); + } + public static void ShowDemoWindow() + { + ImGuiNative.ShowDemoWindow((bool*)(default)); + } + public static void ShowDemoWindow(ref bool pOpen) + { + fixed (bool* ppOpen = &pOpen) + { + ImGuiNative.ShowDemoWindow((bool*)ppOpen); + } + } + public static void ShowMetricsWindow(bool* pOpen) + { + ImGuiNative.ShowMetricsWindow(pOpen); + } + public static void ShowMetricsWindow() + { + ImGuiNative.ShowMetricsWindow((bool*)(default)); + } + public static void ShowMetricsWindow(ref bool pOpen) + { + fixed (bool* ppOpen = &pOpen) + { + ImGuiNative.ShowMetricsWindow((bool*)ppOpen); + } + } + public static void ShowDebugLogWindow(bool* pOpen) + { + ImGuiNative.ShowDebugLogWindow(pOpen); + } + public static void ShowDebugLogWindow() + { + ImGuiNative.ShowDebugLogWindow((bool*)(default)); + } + public static void ShowDebugLogWindow(ref bool pOpen) + { + fixed (bool* ppOpen = &pOpen) + { + ImGuiNative.ShowDebugLogWindow((bool*)ppOpen); + } + } + public static void ShowStackToolWindow(bool* pOpen) + { + ImGuiNative.ShowStackToolWindow(pOpen); + } + public static void ShowStackToolWindow() + { + ImGuiNative.ShowStackToolWindow((bool*)(default)); + } + public static void ShowStackToolWindow(ref bool pOpen) + { + fixed (bool* ppOpen = &pOpen) + { + ImGuiNative.ShowStackToolWindow((bool*)ppOpen); + } + } + public static void ShowAboutWindow(bool* pOpen) + { + ImGuiNative.ShowAboutWindow(pOpen); + } + public static void ShowAboutWindow() + { + ImGuiNative.ShowAboutWindow((bool*)(default)); + } + public static void ShowAboutWindow(ref bool pOpen) + { + fixed (bool* ppOpen = &pOpen) + { + ImGuiNative.ShowAboutWindow((bool*)ppOpen); + } + } + public static void ShowStyleEditor(ImGuiStylePtr reference) + { + ImGuiNative.ShowStyleEditor(reference); + } + public static void ShowStyleEditor() + { + ImGuiNative.ShowStyleEditor((ImGuiStyle*)(default)); + } + public static void ShowStyleEditor(ref ImGuiStyle reference) + { + fixed (ImGuiStyle* preference = &reference) + { + ImGuiNative.ShowStyleEditor((ImGuiStyle*)preference); + } + } + public static void ShowUserGuide() + { + ImGuiNative.ShowUserGuide(); + } + public static void StyleColorsDark(ImGuiStylePtr dst) + { + ImGuiNative.StyleColorsDark(dst); + } + public static void StyleColorsDark() + { + ImGuiNative.StyleColorsDark((ImGuiStyle*)(default)); + } + public static void StyleColorsDark(ref ImGuiStyle dst) + { + fixed (ImGuiStyle* pdst = &dst) + { + ImGuiNative.StyleColorsDark((ImGuiStyle*)pdst); + } + } + public static void StyleColorsLight(ImGuiStylePtr dst) + { + ImGuiNative.StyleColorsLight(dst); + } + public static void StyleColorsLight() + { + ImGuiNative.StyleColorsLight((ImGuiStyle*)(default)); + } + public static void StyleColorsLight(ref ImGuiStyle dst) + { + fixed (ImGuiStyle* pdst = &dst) + { + ImGuiNative.StyleColorsLight((ImGuiStyle*)pdst); + } + } + public static void StyleColorsClassic(ImGuiStylePtr dst) + { + ImGuiNative.StyleColorsClassic(dst); + } + public static void StyleColorsClassic() + { + ImGuiNative.StyleColorsClassic((ImGuiStyle*)(default)); + } + public static void StyleColorsClassic(ref ImGuiStyle dst) + { + fixed (ImGuiStyle* pdst = &dst) + { + ImGuiNative.StyleColorsClassic((ImGuiStyle*)pdst); + } + } + public static void End() + { + ImGuiNative.End(); + } + public static void End(this ImGuiListClipperPtr self) + { + ImGuiNative.End(self); + } + public static void End(this ref ImGuiListClipper self) + { + fixed (ImGuiListClipper* pself = &self) + { + ImGuiNative.End((ImGuiListClipper*)pself); + } + } + public static void EndChild() + { + ImGuiNative.EndChild(); + } + public static bool IsWindowAppearing() + { + byte ret = ImGuiNative.IsWindowAppearing(); + return ret != 0; + } + public static bool IsWindowCollapsed() + { + byte ret = ImGuiNative.IsWindowCollapsed(); + return ret != 0; + } + public static bool IsWindowFocused(ImGuiFocusedFlags flags) + { + byte ret = ImGuiNative.IsWindowFocused(flags); + return ret != 0; + } + public static bool IsWindowFocused() + { + byte ret = ImGuiNative.IsWindowFocused((ImGuiFocusedFlags)(0)); + return ret != 0; + } + public static bool IsWindowHovered(ImGuiHoveredFlags flags) + { + byte ret = ImGuiNative.IsWindowHovered(flags); + return ret != 0; + } + public static bool IsWindowHovered() + { + byte ret = ImGuiNative.IsWindowHovered((ImGuiHoveredFlags)(0)); + return ret != 0; + } + public static ImDrawListPtr GetWindowDrawList() + { + ImDrawListPtr ret = ImGuiNative.GetWindowDrawList(); + return ret; + } + public static float GetWindowDpiScale() + { + float ret = ImGuiNative.GetWindowDpiScale(); + return ret; + } + public static Vector2 GetWindowPos() + { + Vector2 ret; + ImGuiNative.GetWindowPos(&ret); + return ret; + } + public static void GetWindowPos(Vector2* pOut) + { + ImGuiNative.GetWindowPos(pOut); + } + public static void GetWindowPos(ref Vector2 pOut) + { + fixed (Vector2* ppOut = &pOut) + { + ImGuiNative.GetWindowPos((Vector2*)ppOut); + } + } + public static Vector2 GetWindowSize() + { + Vector2 ret; + ImGuiNative.GetWindowSize(&ret); + return ret; + } + public static void GetWindowSize(Vector2* pOut) + { + ImGuiNative.GetWindowSize(pOut); + } + public static void GetWindowSize(ref Vector2 pOut) + { + fixed (Vector2* ppOut = &pOut) + { + ImGuiNative.GetWindowSize((Vector2*)ppOut); + } + } + public static float GetWindowWidth() + { + float ret = ImGuiNative.GetWindowWidth(); + return ret; + } + public static float GetWindowHeight() + { + float ret = ImGuiNative.GetWindowHeight(); + return ret; + } + public static ImGuiViewportPtr GetWindowViewport() + { + ImGuiViewportPtr ret = ImGuiNative.GetWindowViewport(); + return ret; + } + public static void SetNextWindowPos(Vector2 pos, ImGuiCond cond, Vector2 pivot) + { + ImGuiNative.SetNextWindowPos(pos, cond, pivot); + } + public static void SetNextWindowPos(Vector2 pos, ImGuiCond cond) + { + ImGuiNative.SetNextWindowPos(pos, cond, (Vector2)(new Vector2(0,0))); + } + public static void SetNextWindowPos(Vector2 pos) + { + ImGuiNative.SetNextWindowPos(pos, (ImGuiCond)(0), (Vector2)(new Vector2(0,0))); + } + public static void SetNextWindowPos(Vector2 pos, Vector2 pivot) + { + ImGuiNative.SetNextWindowPos(pos, (ImGuiCond)(0), pivot); + } + public static void SetNextWindowSize(Vector2 size, ImGuiCond cond) + { + ImGuiNative.SetNextWindowSize(size, cond); + } + public static void SetNextWindowSize(Vector2 size) + { + ImGuiNative.SetNextWindowSize(size, (ImGuiCond)(0)); + } + public static void SetNextWindowSizeConstraints(Vector2 sizeMin, Vector2 sizeMax, ImGuiSizeCallback customCallback, void* customCallbackData) + { + ImGuiNative.SetNextWindowSizeConstraints(sizeMin, sizeMax, customCallback, customCallbackData); + } + public static void SetNextWindowSizeConstraints(Vector2 sizeMin, Vector2 sizeMax, ImGuiSizeCallback customCallback) + { + ImGuiNative.SetNextWindowSizeConstraints(sizeMin, sizeMax, customCallback, (void*)(default)); + } + public static void SetNextWindowSizeConstraints(Vector2 sizeMin, Vector2 sizeMax) + { + ImGuiNative.SetNextWindowSizeConstraints(sizeMin, sizeMax, (ImGuiSizeCallback)(default), (void*)(default)); + } + public static void SetNextWindowSizeConstraints(Vector2 sizeMin, Vector2 sizeMax, void* customCallbackData) + { + ImGuiNative.SetNextWindowSizeConstraints(sizeMin, sizeMax, (ImGuiSizeCallback)(default), customCallbackData); + } + public static void SetNextWindowContentSize(Vector2 size) + { + ImGuiNative.SetNextWindowContentSize(size); + } + public static void SetNextWindowCollapsed(bool collapsed, ImGuiCond cond) + { + ImGuiNative.SetNextWindowCollapsed(collapsed ? (byte)1 : (byte)0, cond); + } + public static void SetNextWindowCollapsed(bool collapsed) + { + ImGuiNative.SetNextWindowCollapsed(collapsed ? (byte)1 : (byte)0, (ImGuiCond)(0)); + } + public static void SetNextWindowFocus() + { + ImGuiNative.SetNextWindowFocus(); + } + public static void SetNextWindowBgAlpha(float alpha) + { + ImGuiNative.SetNextWindowBgAlpha(alpha); + } + public static void SetNextWindowViewport(uint viewportId) + { + ImGuiNative.SetNextWindowViewport(viewportId); + } + public static void SetWindowFontScale(float scale) + { + ImGuiNative.SetWindowFontScale(scale); + } + public static Vector2 GetContentRegionAvail() + { + Vector2 ret; + ImGuiNative.GetContentRegionAvail(&ret); + return ret; + } + public static void GetContentRegionAvail(Vector2* pOut) + { + ImGuiNative.GetContentRegionAvail(pOut); + } + public static void GetContentRegionAvail(ref Vector2 pOut) + { + fixed (Vector2* ppOut = &pOut) + { + ImGuiNative.GetContentRegionAvail((Vector2*)ppOut); + } + } + public static Vector2 GetContentRegionMax() + { + Vector2 ret; + ImGuiNative.GetContentRegionMax(&ret); + return ret; + } + public static void GetContentRegionMax(Vector2* pOut) + { + ImGuiNative.GetContentRegionMax(pOut); + } + public static void GetContentRegionMax(ref Vector2 pOut) + { + fixed (Vector2* ppOut = &pOut) + { + ImGuiNative.GetContentRegionMax((Vector2*)ppOut); + } + } + public static Vector2 GetWindowContentRegionMin() + { + Vector2 ret; + ImGuiNative.GetWindowContentRegionMin(&ret); + return ret; + } + public static void GetWindowContentRegionMin(Vector2* pOut) + { + ImGuiNative.GetWindowContentRegionMin(pOut); + } + public static void GetWindowContentRegionMin(ref Vector2 pOut) + { + fixed (Vector2* ppOut = &pOut) + { + ImGuiNative.GetWindowContentRegionMin((Vector2*)ppOut); + } + } + public static Vector2 GetWindowContentRegionMax() + { + Vector2 ret; + ImGuiNative.GetWindowContentRegionMax(&ret); + return ret; + } + public static void GetWindowContentRegionMax(Vector2* pOut) + { + ImGuiNative.GetWindowContentRegionMax(pOut); + } + public static void GetWindowContentRegionMax(ref Vector2 pOut) + { + fixed (Vector2* ppOut = &pOut) + { + ImGuiNative.GetWindowContentRegionMax((Vector2*)ppOut); + } + } + public static float GetScrollX() + { + float ret = ImGuiNative.GetScrollX(); + return ret; + } + public static float GetScrollY() + { + float ret = ImGuiNative.GetScrollY(); + return ret; + } + public static void SetScrollX(float scrollX) + { + ImGuiNative.SetScrollX(scrollX); + } + public static void SetScrollY(float scrollY) + { + ImGuiNative.SetScrollY(scrollY); + } + public static float GetScrollMaxX() + { + float ret = ImGuiNative.GetScrollMaxX(); + return ret; + } + public static float GetScrollMaxY() + { + float ret = ImGuiNative.GetScrollMaxY(); + return ret; + } + public static void SetScrollHereX(float centerXRatio) + { + ImGuiNative.SetScrollHereX(centerXRatio); + } + public static void SetScrollHereX() + { + ImGuiNative.SetScrollHereX((float)(0.5f)); + } + public static void SetScrollHereY(float centerYRatio) + { + ImGuiNative.SetScrollHereY(centerYRatio); + } + public static void SetScrollHereY() + { + ImGuiNative.SetScrollHereY((float)(0.5f)); + } + public static void SetScrollFromPosX(float localX, float centerXRatio) + { + ImGuiNative.SetScrollFromPosX(localX, centerXRatio); + } + public static void SetScrollFromPosX(float localX) + { + ImGuiNative.SetScrollFromPosX(localX, (float)(0.5f)); + } + public static void SetScrollFromPosY(float localY, float centerYRatio) + { + ImGuiNative.SetScrollFromPosY(localY, centerYRatio); + } + public static void SetScrollFromPosY(float localY) + { + ImGuiNative.SetScrollFromPosY(localY, (float)(0.5f)); + } + public static void PushFont(ImFontPtr font) + { + ImGuiNative.PushFont(font); + } + public static void PushFont(ref ImFont font) + { + fixed (ImFont* pfont = &font) + { + ImGuiNative.PushFont((ImFont*)pfont); + } + } + public static void PopFont() + { + ImGuiNative.PopFont(); + } + public static void PushStyleColor(ImGuiCol idx, uint col) + { + ImGuiNative.PushStyleColor(idx, col); + } + public static void PushStyleColor(ImGuiCol idx, Vector4 col) + { + ImGuiNative.PushStyleColor(idx, col); + } + public static void PopStyleColor(int count) + { + ImGuiNative.PopStyleColor(count); + } + public static void PopStyleColor() + { + ImGuiNative.PopStyleColor((int)(1)); + } + public static void PushStyleVar(ImGuiStyleVar idx, float val) + { + ImGuiNative.PushStyleVar(idx, val); + } + public static void PushStyleVar(ImGuiStyleVar idx, Vector2 val) + { + ImGuiNative.PushStyleVar(idx, val); + } + public static void PopStyleVar(int count) + { + ImGuiNative.PopStyleVar(count); + } + public static void PopStyleVar() + { + ImGuiNative.PopStyleVar((int)(1)); + } + public static void PushAllowKeyboardFocus(bool allowKeyboardFocus) + { + ImGuiNative.PushAllowKeyboardFocus(allowKeyboardFocus ? (byte)1 : (byte)0); + } + public static void PopAllowKeyboardFocus() + { + ImGuiNative.PopAllowKeyboardFocus(); + } + public static void PushButtonRepeat(bool repeat) + { + ImGuiNative.PushButtonRepeat(repeat ? (byte)1 : (byte)0); + } + public static void PopButtonRepeat() + { + ImGuiNative.PopButtonRepeat(); + } + public static void PushItemWidth(float itemWidth) + { + ImGuiNative.PushItemWidth(itemWidth); + } + public static void PopItemWidth() + { + ImGuiNative.PopItemWidth(); + } + public static void SetNextItemWidth(float itemWidth) + { + ImGuiNative.SetNextItemWidth(itemWidth); + } + public static float CalcItemWidth() + { + float ret = ImGuiNative.CalcItemWidth(); + return ret; + } + public static void PushTextWrapPos(float wrapLocalPosX) + { + ImGuiNative.PushTextWrapPos(wrapLocalPosX); + } + public static void PushTextWrapPos() + { + ImGuiNative.PushTextWrapPos((float)(0.0f)); + } + public static void PopTextWrapPos() + { + ImGuiNative.PopTextWrapPos(); + } + public static ImFontPtr GetFont() + { + ImFontPtr ret = ImGuiNative.GetFont(); + return ret; + } + public static float GetFontSize() + { + float ret = ImGuiNative.GetFontSize(); + return ret; + } + public static ImTextureID GetFontTexIdWhitePixel() + { + ImTextureID ret = ImGuiNative.GetFontTexIdWhitePixel(); + return ret; + } + public static Vector2 GetFontTexUvWhitePixel() + { + Vector2 ret; + ImGuiNative.GetFontTexUvWhitePixel(&ret); + return ret; + } + public static void GetFontTexUvWhitePixel(Vector2* pOut) + { + ImGuiNative.GetFontTexUvWhitePixel(pOut); + } + public static void GetFontTexUvWhitePixel(ref Vector2 pOut) + { + fixed (Vector2* ppOut = &pOut) + { + ImGuiNative.GetFontTexUvWhitePixel((Vector2*)ppOut); + } + } + public static uint GetColorU32(ImGuiCol idx, float alphaMul) + { + uint ret = ImGuiNative.GetColorU32(idx, alphaMul); + return ret; + } + public static uint GetColorU32(ImGuiCol idx) + { + uint ret = ImGuiNative.GetColorU32(idx, (float)(1.0f)); + return ret; + } + public static uint GetColorU32(Vector4 col) + { + uint ret = ImGuiNative.GetColorU32(col); + return ret; + } + public static uint GetColorU32(uint col) + { + uint ret = ImGuiNative.GetColorU32(col); + return ret; + } + public static Vector4* GetStyleColorVec4(ImGuiCol idx) + { + Vector4* ret = ImGuiNative.GetStyleColorVec4(idx); + return ret; + } + public static void Separator() + { + ImGuiNative.Separator(); + } + public static void SameLine(float offsetFromStartX, float spacing) + { + ImGuiNative.SameLine(offsetFromStartX, spacing); + } + public static void SameLine(float offsetFromStartX) + { + ImGuiNative.SameLine(offsetFromStartX, (float)(-1.0f)); + } + public static void SameLine() + { + ImGuiNative.SameLine((float)(0.0f), (float)(-1.0f)); + } + public static void NewLine() + { + ImGuiNative.NewLine(); + } + public static void Spacing() + { + ImGuiNative.Spacing(); + } + public static void Dummy(Vector2 size) + { + ImGuiNative.Dummy(size); + } + public static void Indent(float indentW) + { + ImGuiNative.Indent(indentW); + } + public static void Indent() + { + ImGuiNative.Indent((float)(0.0f)); + } + public static void Unindent(float indentW) + { + ImGuiNative.Unindent(indentW); + } + public static void Unindent() + { + ImGuiNative.Unindent((float)(0.0f)); + } + public static void BeginGroup() + { + ImGuiNative.BeginGroup(); + } + public static void EndGroup() + { + ImGuiNative.EndGroup(); + } + public static Vector2 GetCursorPos() + { + Vector2 ret; + ImGuiNative.GetCursorPos(&ret); + return ret; + } + public static void GetCursorPos(Vector2* pOut) + { + ImGuiNative.GetCursorPos(pOut); + } + public static void GetCursorPos(ref Vector2 pOut) + { + fixed (Vector2* ppOut = &pOut) + { + ImGuiNative.GetCursorPos((Vector2*)ppOut); + } + } + public static float GetCursorPosX() + { + float ret = ImGuiNative.GetCursorPosX(); + return ret; + } + public static float GetCursorPosY() + { + float ret = ImGuiNative.GetCursorPosY(); + return ret; + } + public static void SetCursorPos(Vector2 localPos) + { + ImGuiNative.SetCursorPos(localPos); + } + public static void SetCursorPosX(float localX) + { + ImGuiNative.SetCursorPosX(localX); + } + public static void SetCursorPosY(float localY) + { + ImGuiNative.SetCursorPosY(localY); + } + public static Vector2 GetCursorStartPos() + { + Vector2 ret; + ImGuiNative.GetCursorStartPos(&ret); + return ret; + } + public static void GetCursorStartPos(Vector2* pOut) + { + ImGuiNative.GetCursorStartPos(pOut); + } + public static void GetCursorStartPos(ref Vector2 pOut) + { + fixed (Vector2* ppOut = &pOut) + { + ImGuiNative.GetCursorStartPos((Vector2*)ppOut); + } + } + public static Vector2 GetCursorScreenPos() + { + Vector2 ret; + ImGuiNative.GetCursorScreenPos(&ret); + return ret; + } + public static void GetCursorScreenPos(Vector2* pOut) + { + ImGuiNative.GetCursorScreenPos(pOut); + } + public static void GetCursorScreenPos(ref Vector2 pOut) + { + fixed (Vector2* ppOut = &pOut) + { + ImGuiNative.GetCursorScreenPos((Vector2*)ppOut); + } + } + public static void SetCursorScreenPos(Vector2 pos) + { + ImGuiNative.SetCursorScreenPos(pos); + } + public static void AlignTextToFramePadding() + { + ImGuiNative.AlignTextToFramePadding(); + } + public static float GetTextLineHeight() + { + float ret = ImGuiNative.GetTextLineHeight(); + return ret; + } + public static float GetTextLineHeightWithSpacing() + { + float ret = ImGuiNative.GetTextLineHeightWithSpacing(); + return ret; + } + public static float GetFrameHeight() + { + float ret = ImGuiNative.GetFrameHeight(); + return ret; + } + public static float GetFrameHeightWithSpacing() + { + float ret = ImGuiNative.GetFrameHeightWithSpacing(); + return ret; + } + public static void PopID() + { + ImGuiNative.PopID(); + } + public static void Image(ImTextureID userTextureId, Vector2 size, Vector2 uv0, Vector2 uv1, Vector4 tintCol, Vector4 borderCol) + { + ImGuiNative.Image(userTextureId, size, uv0, uv1, tintCol, borderCol); + } + public static void Image(ImTextureID userTextureId, Vector2 size, Vector2 uv0, Vector2 uv1, Vector4 tintCol) + { + ImGuiNative.Image(userTextureId, size, uv0, uv1, tintCol, (Vector4)(new Vector4(0,0,0,0))); + } + public static void Image(ImTextureID userTextureId, Vector2 size, Vector2 uv0, Vector2 uv1) + { + ImGuiNative.Image(userTextureId, size, uv0, uv1, (Vector4)(new Vector4(1,1,1,1)), (Vector4)(new Vector4(0,0,0,0))); + } + public static void Image(ImTextureID userTextureId, Vector2 size, Vector2 uv0) + { + ImGuiNative.Image(userTextureId, size, uv0, (Vector2)(new Vector2(1,1)), (Vector4)(new Vector4(1,1,1,1)), (Vector4)(new Vector4(0,0,0,0))); + } + public static void Image(ImTextureID userTextureId, Vector2 size) + { + ImGuiNative.Image(userTextureId, size, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), (Vector4)(new Vector4(1,1,1,1)), (Vector4)(new Vector4(0,0,0,0))); + } + public static void Image(ImTextureID userTextureId, Vector2 size, Vector2 uv0, Vector4 tintCol) + { + ImGuiNative.Image(userTextureId, size, uv0, (Vector2)(new Vector2(1,1)), tintCol, (Vector4)(new Vector4(0,0,0,0))); + } + public static void Image(ImTextureID userTextureId, Vector2 size, Vector4 tintCol) + { + ImGuiNative.Image(userTextureId, size, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), tintCol, (Vector4)(new Vector4(0,0,0,0))); + } + public static void Image(ImTextureID userTextureId, Vector2 size, Vector2 uv0, Vector4 tintCol, Vector4 borderCol) + { + ImGuiNative.Image(userTextureId, size, uv0, (Vector2)(new Vector2(1,1)), tintCol, borderCol); + } + public static void Image(ImTextureID userTextureId, Vector2 size, Vector4 tintCol, Vector4 borderCol) + { + ImGuiNative.Image(userTextureId, size, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), tintCol, borderCol); + } + public static bool ImageButton(ImTextureID userTextureId, Vector2 size, Vector2 uv0, Vector2 uv1, int framePadding, Vector4 bgCol, Vector4 tintCol) + { + byte ret = ImGuiNative.ImageButton(userTextureId, size, uv0, uv1, framePadding, bgCol, tintCol); + return ret != 0; + } + public static bool ImageButton(ImTextureID userTextureId, Vector2 size, Vector2 uv0, Vector2 uv1, int framePadding, Vector4 bgCol) + { + byte ret = ImGuiNative.ImageButton(userTextureId, size, uv0, uv1, framePadding, bgCol, (Vector4)(new Vector4(1,1,1,1))); + return ret != 0; + } + public static bool ImageButton(ImTextureID userTextureId, Vector2 size, Vector2 uv0, Vector2 uv1, int framePadding) + { + byte ret = ImGuiNative.ImageButton(userTextureId, size, uv0, uv1, framePadding, (Vector4)(new Vector4(0,0,0,0)), (Vector4)(new Vector4(1,1,1,1))); + return ret != 0; + } + public static bool ImageButton(ImTextureID userTextureId, Vector2 size, Vector2 uv0, Vector2 uv1) + { + byte ret = ImGuiNative.ImageButton(userTextureId, size, uv0, uv1, (int)(-1), (Vector4)(new Vector4(0,0,0,0)), (Vector4)(new Vector4(1,1,1,1))); + return ret != 0; + } + public static bool ImageButton(ImTextureID userTextureId, Vector2 size, Vector2 uv0) + { + byte ret = ImGuiNative.ImageButton(userTextureId, size, uv0, (Vector2)(new Vector2(1,1)), (int)(-1), (Vector4)(new Vector4(0,0,0,0)), (Vector4)(new Vector4(1,1,1,1))); + return ret != 0; + } + public static bool ImageButton(ImTextureID userTextureId, Vector2 size) + { + byte ret = ImGuiNative.ImageButton(userTextureId, size, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), (int)(-1), (Vector4)(new Vector4(0,0,0,0)), (Vector4)(new Vector4(1,1,1,1))); + return ret != 0; + } + public static bool ImageButton(ImTextureID userTextureId, Vector2 size, Vector2 uv0, int framePadding) + { + byte ret = ImGuiNative.ImageButton(userTextureId, size, uv0, (Vector2)(new Vector2(1,1)), framePadding, (Vector4)(new Vector4(0,0,0,0)), (Vector4)(new Vector4(1,1,1,1))); + return ret != 0; + } + public static bool ImageButton(ImTextureID userTextureId, Vector2 size, int framePadding) + { + byte ret = ImGuiNative.ImageButton(userTextureId, size, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), framePadding, (Vector4)(new Vector4(0,0,0,0)), (Vector4)(new Vector4(1,1,1,1))); + return ret != 0; + } + public static bool ImageButton(ImTextureID userTextureId, Vector2 size, Vector2 uv0, Vector2 uv1, Vector4 bgCol) + { + byte ret = ImGuiNative.ImageButton(userTextureId, size, uv0, uv1, (int)(-1), bgCol, (Vector4)(new Vector4(1,1,1,1))); + return ret != 0; + } + public static bool ImageButton(ImTextureID userTextureId, Vector2 size, Vector2 uv0, Vector4 bgCol) + { + byte ret = ImGuiNative.ImageButton(userTextureId, size, uv0, (Vector2)(new Vector2(1,1)), (int)(-1), bgCol, (Vector4)(new Vector4(1,1,1,1))); + return ret != 0; + } + public static bool ImageButton(ImTextureID userTextureId, Vector2 size, Vector4 bgCol) + { + byte ret = ImGuiNative.ImageButton(userTextureId, size, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), (int)(-1), bgCol, (Vector4)(new Vector4(1,1,1,1))); + return ret != 0; + } + public static bool ImageButton(ImTextureID userTextureId, Vector2 size, Vector2 uv0, int framePadding, Vector4 bgCol) + { + byte ret = ImGuiNative.ImageButton(userTextureId, size, uv0, (Vector2)(new Vector2(1,1)), framePadding, bgCol, (Vector4)(new Vector4(1,1,1,1))); + return ret != 0; + } + public static bool ImageButton(ImTextureID userTextureId, Vector2 size, int framePadding, Vector4 bgCol) + { + byte ret = ImGuiNative.ImageButton(userTextureId, size, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), framePadding, bgCol, (Vector4)(new Vector4(1,1,1,1))); + return ret != 0; + } + public static bool ImageButton(ImTextureID userTextureId, Vector2 size, Vector2 uv0, Vector2 uv1, Vector4 bgCol, Vector4 tintCol) + { + byte ret = ImGuiNative.ImageButton(userTextureId, size, uv0, uv1, (int)(-1), bgCol, tintCol); + return ret != 0; + } + public static bool ImageButton(ImTextureID userTextureId, Vector2 size, Vector2 uv0, Vector4 bgCol, Vector4 tintCol) + { + byte ret = ImGuiNative.ImageButton(userTextureId, size, uv0, (Vector2)(new Vector2(1,1)), (int)(-1), bgCol, tintCol); + return ret != 0; + } + public static bool ImageButton(ImTextureID userTextureId, Vector2 size, Vector4 bgCol, Vector4 tintCol) + { + byte ret = ImGuiNative.ImageButton(userTextureId, size, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), (int)(-1), bgCol, tintCol); + return ret != 0; + } + public static bool ImageButton(ImTextureID userTextureId, Vector2 size, Vector2 uv0, int framePadding, Vector4 bgCol, Vector4 tintCol) + { + byte ret = ImGuiNative.ImageButton(userTextureId, size, uv0, (Vector2)(new Vector2(1,1)), framePadding, bgCol, tintCol); + return ret != 0; + } + public static bool ImageButton(ImTextureID userTextureId, Vector2 size, int framePadding, Vector4 bgCol, Vector4 tintCol) + { + byte ret = ImGuiNative.ImageButton(userTextureId, size, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), framePadding, bgCol, tintCol); + return ret != 0; + } + public static void Bullet() + { + ImGuiNative.Bullet(); + } + public static void EndCombo() + { + ImGuiNative.EndCombo(); + } + public static void SetColorEditOptions(ImGuiColorEditFlags flags) + { + ImGuiNative.SetColorEditOptions(flags); + } + public static void TreePop() + { + ImGuiNative.TreePop(); + } + public static float GetTreeNodeToLabelSpacing() + { + float ret = ImGuiNative.GetTreeNodeToLabelSpacing(); + return ret; + } + public static void SetNextItemOpen(bool isOpen, ImGuiCond cond) + { + ImGuiNative.SetNextItemOpen(isOpen ? (byte)1 : (byte)0, cond); + } + public static void SetNextItemOpen(bool isOpen) + { + ImGuiNative.SetNextItemOpen(isOpen ? (byte)1 : (byte)0, (ImGuiCond)(0)); + } + public static void EndListBox() + { + ImGuiNative.EndListBox(); + } + public static bool BeginMenuBar() + { + byte ret = ImGuiNative.BeginMenuBar(); + return ret != 0; + } + public static void EndMenuBar() + { + ImGuiNative.EndMenuBar(); + } + public static bool BeginMainMenuBar() + { + byte ret = ImGuiNative.BeginMainMenuBar(); + return ret != 0; + } + public static void EndMainMenuBar() + { + ImGuiNative.EndMainMenuBar(); + } + public static void EndMenu() + { + ImGuiNative.EndMenu(); + } + public static void BeginTooltip() + { + ImGuiNative.BeginTooltip(); + } + public static void EndTooltip() + { + ImGuiNative.EndTooltip(); + } + public static void EndPopup() + { + ImGuiNative.EndPopup(); + } + public static void CloseCurrentPopup() + { + ImGuiNative.CloseCurrentPopup(); + } + public static void EndTable() + { + ImGuiNative.EndTable(); + } + public static void TableNextRow(ImGuiTableRowFlags rowFlags, float minRowHeight) + { + ImGuiNative.TableNextRow(rowFlags, minRowHeight); + } + public static void TableNextRow(ImGuiTableRowFlags rowFlags) + { + ImGuiNative.TableNextRow(rowFlags, (float)(0.0f)); + } + public static void TableNextRow() + { + ImGuiNative.TableNextRow((ImGuiTableRowFlags)(0), (float)(0.0f)); + } + public static void TableNextRow(float minRowHeight) + { + ImGuiNative.TableNextRow((ImGuiTableRowFlags)(0), minRowHeight); + } + public static bool TableNextColumn() + { + byte ret = ImGuiNative.TableNextColumn(); + return ret != 0; + } + public static bool TableSetColumnIndex(int columnN) + { + byte ret = ImGuiNative.TableSetColumnIndex(columnN); + return ret != 0; + } + public static void TableSetupScrollFreeze(int cols, int rows) + { + ImGuiNative.TableSetupScrollFreeze(cols, rows); + } + public static void TableHeadersRow() + { + ImGuiNative.TableHeadersRow(); + } + public static ImGuiTableSortSpecsPtr TableGetSortSpecs() + { + ImGuiTableSortSpecsPtr ret = ImGuiNative.TableGetSortSpecs(); + return ret; + } + public static int TableGetColumnCount() + { + int ret = ImGuiNative.TableGetColumnCount(); + return ret; + } + public static int TableGetColumnIndex() + { + int ret = ImGuiNative.TableGetColumnIndex(); + return ret; + } + public static int TableGetRowIndex() + { + int ret = ImGuiNative.TableGetRowIndex(); + return ret; + } + public static ImGuiTableColumnFlags TableGetColumnFlags(int columnN) + { + ImGuiTableColumnFlags ret = ImGuiNative.TableGetColumnFlags(columnN); + return ret; + } + public static ImGuiTableColumnFlags TableGetColumnFlags() + { + ImGuiTableColumnFlags ret = ImGuiNative.TableGetColumnFlags((int)(-1)); + return ret; + } + public static void TableSetColumnEnabled(int columnN, bool v) + { + ImGuiNative.TableSetColumnEnabled(columnN, v ? (byte)1 : (byte)0); + } + public static void TableSetBgColor(ImGuiTableBgTarget target, uint color, int columnN) + { + ImGuiNative.TableSetBgColor(target, color, columnN); + } + public static void TableSetBgColor(ImGuiTableBgTarget target, uint color) + { + ImGuiNative.TableSetBgColor(target, color, (int)(-1)); + } + public static void NextColumn() + { + ImGuiNative.NextColumn(); + } + public static int GetColumnIndex() + { + int ret = ImGuiNative.GetColumnIndex(); + return ret; + } + public static float GetColumnWidth(int columnIndex) + { + float ret = ImGuiNative.GetColumnWidth(columnIndex); + return ret; + } + public static float GetColumnWidth() + { + float ret = ImGuiNative.GetColumnWidth((int)(-1)); + return ret; + } + public static void SetColumnWidth(int columnIndex, float width) + { + ImGuiNative.SetColumnWidth(columnIndex, width); + } + public static float GetColumnOffset(int columnIndex) + { + float ret = ImGuiNative.GetColumnOffset(columnIndex); + return ret; + } + public static float GetColumnOffset() + { + float ret = ImGuiNative.GetColumnOffset((int)(-1)); + return ret; + } + public static void SetColumnOffset(int columnIndex, float offsetX) + { + ImGuiNative.SetColumnOffset(columnIndex, offsetX); + } + public static int GetColumnsCount() + { + int ret = ImGuiNative.GetColumnsCount(); + return ret; + } + public static void EndTabBar() + { + ImGuiNative.EndTabBar(); + } + public static void EndTabItem() + { + ImGuiNative.EndTabItem(); + } + public static uint DockSpace(uint id, Vector2 size, ImGuiDockNodeFlags flags, ImGuiWindowClassPtr windowClass) + { + uint ret = ImGuiNative.DockSpace(id, size, flags, windowClass); + return ret; + } + public static uint DockSpace(uint id, Vector2 size, ImGuiDockNodeFlags flags) + { + uint ret = ImGuiNative.DockSpace(id, size, flags, (ImGuiWindowClass*)(default)); + return ret; + } + public static uint DockSpace(uint id, Vector2 size) + { + uint ret = ImGuiNative.DockSpace(id, size, (ImGuiDockNodeFlags)(0), (ImGuiWindowClass*)(default)); + return ret; + } + public static uint DockSpace(uint id) + { + uint ret = ImGuiNative.DockSpace(id, (Vector2)(new Vector2(0,0)), (ImGuiDockNodeFlags)(0), (ImGuiWindowClass*)(default)); + return ret; + } + public static uint DockSpace(uint id, ImGuiDockNodeFlags flags) + { + uint ret = ImGuiNative.DockSpace(id, (Vector2)(new Vector2(0,0)), flags, (ImGuiWindowClass*)(default)); + return ret; + } + public static uint DockSpace(uint id, Vector2 size, ImGuiWindowClassPtr windowClass) + { + uint ret = ImGuiNative.DockSpace(id, size, (ImGuiDockNodeFlags)(0), windowClass); + return ret; + } + public static uint DockSpace(uint id, ImGuiWindowClassPtr windowClass) + { + uint ret = ImGuiNative.DockSpace(id, (Vector2)(new Vector2(0,0)), (ImGuiDockNodeFlags)(0), windowClass); + return ret; + } + public static uint DockSpace(uint id, ImGuiDockNodeFlags flags, ImGuiWindowClassPtr windowClass) + { + uint ret = ImGuiNative.DockSpace(id, (Vector2)(new Vector2(0,0)), flags, windowClass); + return ret; + } + public static uint DockSpace(uint id, Vector2 size, ImGuiDockNodeFlags flags, ref ImGuiWindowClass windowClass) + { + fixed (ImGuiWindowClass* pwindowClass = &windowClass) + { + uint ret = ImGuiNative.DockSpace(id, size, flags, (ImGuiWindowClass*)pwindowClass); + return ret; + } + } + public static uint DockSpace(uint id, Vector2 size, ref ImGuiWindowClass windowClass) + { + fixed (ImGuiWindowClass* pwindowClass = &windowClass) + { + uint ret = ImGuiNative.DockSpace(id, size, (ImGuiDockNodeFlags)(0), (ImGuiWindowClass*)pwindowClass); + return ret; + } + } + public static uint DockSpace(uint id, ref ImGuiWindowClass windowClass) + { + fixed (ImGuiWindowClass* pwindowClass = &windowClass) + { + uint ret = ImGuiNative.DockSpace(id, (Vector2)(new Vector2(0,0)), (ImGuiDockNodeFlags)(0), (ImGuiWindowClass*)pwindowClass); + return ret; + } + } + public static uint DockSpace(uint id, ImGuiDockNodeFlags flags, ref ImGuiWindowClass windowClass) + { + fixed (ImGuiWindowClass* pwindowClass = &windowClass) + { + uint ret = ImGuiNative.DockSpace(id, (Vector2)(new Vector2(0,0)), flags, (ImGuiWindowClass*)pwindowClass); + return ret; + } + } + public static uint DockSpaceOverViewport(ImGuiViewportPtr viewport, ImGuiDockNodeFlags flags, ImGuiWindowClassPtr windowClass) + { + uint ret = ImGuiNative.DockSpaceOverViewport(viewport, flags, windowClass); + return ret; + } + public static uint DockSpaceOverViewport(ImGuiViewportPtr viewport, ImGuiDockNodeFlags flags) + { + uint ret = ImGuiNative.DockSpaceOverViewport(viewport, flags, (ImGuiWindowClass*)(default)); + return ret; + } + public static uint DockSpaceOverViewport(ImGuiViewportPtr viewport) + { + uint ret = ImGuiNative.DockSpaceOverViewport(viewport, (ImGuiDockNodeFlags)(0), (ImGuiWindowClass*)(default)); + return ret; + } + public static uint DockSpaceOverViewport() + { + uint ret = ImGuiNative.DockSpaceOverViewport((ImGuiViewport*)(default), (ImGuiDockNodeFlags)(0), (ImGuiWindowClass*)(default)); + return ret; + } + public static uint DockSpaceOverViewport(ImGuiDockNodeFlags flags) + { + uint ret = ImGuiNative.DockSpaceOverViewport((ImGuiViewport*)(default), flags, (ImGuiWindowClass*)(default)); + return ret; + } + public static uint DockSpaceOverViewport(ImGuiViewportPtr viewport, ImGuiWindowClassPtr windowClass) + { + uint ret = ImGuiNative.DockSpaceOverViewport(viewport, (ImGuiDockNodeFlags)(0), windowClass); + return ret; + } + public static uint DockSpaceOverViewport(ImGuiWindowClassPtr windowClass) + { + uint ret = ImGuiNative.DockSpaceOverViewport((ImGuiViewport*)(default), (ImGuiDockNodeFlags)(0), windowClass); + return ret; + } + public static uint DockSpaceOverViewport(ImGuiDockNodeFlags flags, ImGuiWindowClassPtr windowClass) + { + uint ret = ImGuiNative.DockSpaceOverViewport((ImGuiViewport*)(default), flags, windowClass); + return ret; + } + public static uint DockSpaceOverViewport(ref ImGuiViewport viewport, ImGuiDockNodeFlags flags, ImGuiWindowClassPtr windowClass) + { + fixed (ImGuiViewport* pviewport = &viewport) + { + uint ret = ImGuiNative.DockSpaceOverViewport((ImGuiViewport*)pviewport, flags, windowClass); + return ret; + } + } + public static uint DockSpaceOverViewport(ref ImGuiViewport viewport, ImGuiDockNodeFlags flags) + { + fixed (ImGuiViewport* pviewport = &viewport) + { + uint ret = ImGuiNative.DockSpaceOverViewport((ImGuiViewport*)pviewport, flags, (ImGuiWindowClass*)(default)); + return ret; + } + } + public static uint DockSpaceOverViewport(ref ImGuiViewport viewport) + { + fixed (ImGuiViewport* pviewport = &viewport) + { + uint ret = ImGuiNative.DockSpaceOverViewport((ImGuiViewport*)pviewport, (ImGuiDockNodeFlags)(0), (ImGuiWindowClass*)(default)); + return ret; + } + } + public static uint DockSpaceOverViewport(ref ImGuiViewport viewport, ImGuiWindowClassPtr windowClass) + { + fixed (ImGuiViewport* pviewport = &viewport) + { + uint ret = ImGuiNative.DockSpaceOverViewport((ImGuiViewport*)pviewport, (ImGuiDockNodeFlags)(0), windowClass); + return ret; + } + } + public static uint DockSpaceOverViewport(ImGuiViewportPtr viewport, ImGuiDockNodeFlags flags, ref ImGuiWindowClass windowClass) + { + fixed (ImGuiWindowClass* pwindowClass = &windowClass) + { + uint ret = ImGuiNative.DockSpaceOverViewport(viewport, flags, (ImGuiWindowClass*)pwindowClass); + return ret; + } + } + public static uint DockSpaceOverViewport(ImGuiViewportPtr viewport, ref ImGuiWindowClass windowClass) + { + fixed (ImGuiWindowClass* pwindowClass = &windowClass) + { + uint ret = ImGuiNative.DockSpaceOverViewport(viewport, (ImGuiDockNodeFlags)(0), (ImGuiWindowClass*)pwindowClass); + return ret; + } + } + public static uint DockSpaceOverViewport(ref ImGuiWindowClass windowClass) + { + fixed (ImGuiWindowClass* pwindowClass = &windowClass) + { + uint ret = ImGuiNative.DockSpaceOverViewport((ImGuiViewport*)(default), (ImGuiDockNodeFlags)(0), (ImGuiWindowClass*)pwindowClass); + return ret; + } + } + public static uint DockSpaceOverViewport(ImGuiDockNodeFlags flags, ref ImGuiWindowClass windowClass) + { + fixed (ImGuiWindowClass* pwindowClass = &windowClass) + { + uint ret = ImGuiNative.DockSpaceOverViewport((ImGuiViewport*)(default), flags, (ImGuiWindowClass*)pwindowClass); + return ret; + } + } + public static uint DockSpaceOverViewport(ref ImGuiViewport viewport, ImGuiDockNodeFlags flags, ref ImGuiWindowClass windowClass) + { + fixed (ImGuiViewport* pviewport = &viewport) + { + fixed (ImGuiWindowClass* pwindowClass = &windowClass) + { + uint ret = ImGuiNative.DockSpaceOverViewport((ImGuiViewport*)pviewport, flags, (ImGuiWindowClass*)pwindowClass); + return ret; + } + } + } + public static uint DockSpaceOverViewport(ref ImGuiViewport viewport, ref ImGuiWindowClass windowClass) + { + fixed (ImGuiViewport* pviewport = &viewport) + { + fixed (ImGuiWindowClass* pwindowClass = &windowClass) + { + uint ret = ImGuiNative.DockSpaceOverViewport((ImGuiViewport*)pviewport, (ImGuiDockNodeFlags)(0), (ImGuiWindowClass*)pwindowClass); + return ret; + } + } + } + public static void SetNextWindowDockID(uint dockId, ImGuiCond cond) + { + ImGuiNative.SetNextWindowDockID(dockId, cond); + } + public static void SetNextWindowDockID(uint dockId) + { + ImGuiNative.SetNextWindowDockID(dockId, (ImGuiCond)(0)); + } + public static void SetNextWindowClass(ImGuiWindowClassPtr windowClass) + { + ImGuiNative.SetNextWindowClass(windowClass); + } + public static void SetNextWindowClass(ref ImGuiWindowClass windowClass) + { + fixed (ImGuiWindowClass* pwindowClass = &windowClass) + { + ImGuiNative.SetNextWindowClass((ImGuiWindowClass*)pwindowClass); + } + } + public static uint GetWindowDockID() + { + uint ret = ImGuiNative.GetWindowDockID(); + return ret; + } + public static bool IsWindowDocked() + { + byte ret = ImGuiNative.IsWindowDocked(); + return ret != 0; + } + public static void LogToTTY(int autoOpenDepth) + { + ImGuiNative.LogToTTY(autoOpenDepth); + } + public static void LogToTTY() + { + ImGuiNative.LogToTTY((int)(-1)); + } + public static void LogToClipboard(int autoOpenDepth) + { + ImGuiNative.LogToClipboard(autoOpenDepth); + } + public static void LogToClipboard() + { + ImGuiNative.LogToClipboard((int)(-1)); + } + public static void LogFinish() + { + ImGuiNative.LogFinish(); + } + public static void LogButtons() + { + ImGuiNative.LogButtons(); + } + public static bool BeginDragDropSource(ImGuiDragDropFlags flags) + { + byte ret = ImGuiNative.BeginDragDropSource(flags); + return ret != 0; + } + public static bool BeginDragDropSource() + { + byte ret = ImGuiNative.BeginDragDropSource((ImGuiDragDropFlags)(0)); + return ret != 0; + } + public static void EndDragDropSource() + { + ImGuiNative.EndDragDropSource(); + } + public static bool BeginDragDropTarget() + { + byte ret = ImGuiNative.BeginDragDropTarget(); + return ret != 0; + } + public static void EndDragDropTarget() + { + ImGuiNative.EndDragDropTarget(); + } + public static ImGuiPayloadPtr GetDragDropPayload() + { + ImGuiPayloadPtr ret = ImGuiNative.GetDragDropPayload(); + return ret; + } + public static void BeginDisabled(bool disabled) + { + ImGuiNative.BeginDisabled(disabled ? (byte)1 : (byte)0); + } + public static void BeginDisabled() + { + ImGuiNative.BeginDisabled((byte)(1)); + } + public static void EndDisabled() + { + ImGuiNative.EndDisabled(); + } + public static void PushClipRect(Vector2 clipRectMin, Vector2 clipRectMax, bool intersectWithCurrentClipRect) + { + ImGuiNative.PushClipRect(clipRectMin, clipRectMax, intersectWithCurrentClipRect ? (byte)1 : (byte)0); + } + public static void PushClipRect(this ImDrawListPtr self, Vector2 clipRectMin, Vector2 clipRectMax, bool intersectWithCurrentClipRect) + { + ImGuiNative.PushClipRect(self, clipRectMin, clipRectMax, intersectWithCurrentClipRect ? (byte)1 : (byte)0); + } + public static void PushClipRect(this ImDrawListPtr self, Vector2 clipRectMin, Vector2 clipRectMax) + { + ImGuiNative.PushClipRect(self, clipRectMin, clipRectMax, (byte)(0)); + } + public static void PushClipRect(this ref ImDrawList self, Vector2 clipRectMin, Vector2 clipRectMax, bool intersectWithCurrentClipRect) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.PushClipRect((ImDrawList*)pself, clipRectMin, clipRectMax, intersectWithCurrentClipRect ? (byte)1 : (byte)0); + } + } + public static void PushClipRect(this ref ImDrawList self, Vector2 clipRectMin, Vector2 clipRectMax) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.PushClipRect((ImDrawList*)pself, clipRectMin, clipRectMax, (byte)(0)); + } + } + public static void PopClipRect() + { + ImGuiNative.PopClipRect(); + } + public static void PopClipRect(this ImDrawListPtr self) + { + ImGuiNative.PopClipRect(self); + } + public static void PopClipRect(this ref ImDrawList self) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.PopClipRect((ImDrawList*)pself); + } + } + public static void SetItemDefaultFocus() + { + ImGuiNative.SetItemDefaultFocus(); + } + public static void SetKeyboardFocusHere(int offset) + { + ImGuiNative.SetKeyboardFocusHere(offset); + } + public static void SetKeyboardFocusHere() + { + ImGuiNative.SetKeyboardFocusHere((int)(0)); + } + public static bool IsItemHovered(ImGuiHoveredFlags flags) + { + byte ret = ImGuiNative.IsItemHovered(flags); + return ret != 0; + } + public static bool IsItemHovered() + { + byte ret = ImGuiNative.IsItemHovered((ImGuiHoveredFlags)(0)); + return ret != 0; + } + public static bool IsItemActive() + { + byte ret = ImGuiNative.IsItemActive(); + return ret != 0; + } + public static bool IsItemFocused() + { + byte ret = ImGuiNative.IsItemFocused(); + return ret != 0; + } + public static bool IsItemClicked(ImGuiMouseButton mouseButton) + { + byte ret = ImGuiNative.IsItemClicked(mouseButton); + return ret != 0; + } + public static bool IsItemClicked() + { + byte ret = ImGuiNative.IsItemClicked((ImGuiMouseButton)(0)); + return ret != 0; + } + public static bool IsItemVisible() + { + byte ret = ImGuiNative.IsItemVisible(); + return ret != 0; + } + public static bool IsItemEdited() + { + byte ret = ImGuiNative.IsItemEdited(); + return ret != 0; + } + public static bool IsItemActivated() + { + byte ret = ImGuiNative.IsItemActivated(); + return ret != 0; + } + public static bool IsItemDeactivated() + { + byte ret = ImGuiNative.IsItemDeactivated(); + return ret != 0; + } + public static bool IsItemDeactivatedAfterEdit() + { + byte ret = ImGuiNative.IsItemDeactivatedAfterEdit(); + return ret != 0; + } + public static bool IsItemToggledOpen() + { + byte ret = ImGuiNative.IsItemToggledOpen(); + return ret != 0; + } + public static bool IsAnyItemHovered() + { + byte ret = ImGuiNative.IsAnyItemHovered(); + return ret != 0; + } + public static bool IsAnyItemActive() + { + byte ret = ImGuiNative.IsAnyItemActive(); + return ret != 0; + } + public static bool IsAnyItemFocused() + { + byte ret = ImGuiNative.IsAnyItemFocused(); + return ret != 0; + } + public static Vector2 GetItemRectMin() + { + Vector2 ret; + ImGuiNative.GetItemRectMin(&ret); + return ret; + } + public static void GetItemRectMin(Vector2* pOut) + { + ImGuiNative.GetItemRectMin(pOut); + } + public static void GetItemRectMin(ref Vector2 pOut) + { + fixed (Vector2* ppOut = &pOut) + { + ImGuiNative.GetItemRectMin((Vector2*)ppOut); + } + } + public static Vector2 GetItemRectMax() + { + Vector2 ret; + ImGuiNative.GetItemRectMax(&ret); + return ret; + } + public static void GetItemRectMax(Vector2* pOut) + { + ImGuiNative.GetItemRectMax(pOut); + } + public static void GetItemRectMax(ref Vector2 pOut) + { + fixed (Vector2* ppOut = &pOut) + { + ImGuiNative.GetItemRectMax((Vector2*)ppOut); + } + } + public static Vector2 GetItemRectSize() + { + Vector2 ret; + ImGuiNative.GetItemRectSize(&ret); + return ret; + } + public static void GetItemRectSize(Vector2* pOut) + { + ImGuiNative.GetItemRectSize(pOut); + } + public static void GetItemRectSize(ref Vector2 pOut) + { + fixed (Vector2* ppOut = &pOut) + { + ImGuiNative.GetItemRectSize((Vector2*)ppOut); + } + } + public static void SetItemAllowOverlap() + { + ImGuiNative.SetItemAllowOverlap(); + } + public static ImGuiViewportPtr GetMainViewport() + { + ImGuiViewportPtr ret = ImGuiNative.GetMainViewport(); + return ret; + } + public static ImDrawListPtr GetBackgroundDrawList() + { + ImDrawListPtr ret = ImGuiNative.GetBackgroundDrawList(); + return ret; + } + public static ImDrawListPtr GetBackgroundDrawList(ImGuiViewportPtr viewport) + { + ImDrawListPtr ret = ImGuiNative.GetBackgroundDrawList(viewport); + return ret; + } + public static ImDrawListPtr GetBackgroundDrawList(ref ImGuiViewport viewport) + { + fixed (ImGuiViewport* pviewport = &viewport) + { + ImDrawListPtr ret = ImGuiNative.GetBackgroundDrawList((ImGuiViewport*)pviewport); + return ret; + } + } + public static ImDrawListPtr GetForegroundDrawList() + { + ImDrawListPtr ret = ImGuiNative.GetForegroundDrawList(); + return ret; + } + public static ImDrawListPtr GetForegroundDrawList(ImGuiViewportPtr viewport) + { + ImDrawListPtr ret = ImGuiNative.GetForegroundDrawList(viewport); + return ret; + } + public static ImDrawListPtr GetForegroundDrawList(ref ImGuiViewport viewport) + { + fixed (ImGuiViewport* pviewport = &viewport) + { + ImDrawListPtr ret = ImGuiNative.GetForegroundDrawList((ImGuiViewport*)pviewport); + return ret; + } + } + public static bool IsRectVisible(Vector2 size) + { + byte ret = ImGuiNative.IsRectVisible(size); + return ret != 0; + } + public static bool IsRectVisible(Vector2 rectMin, Vector2 rectMax) + { + byte ret = ImGuiNative.IsRectVisible(rectMin, rectMax); + return ret != 0; + } + public static double GetTime() + { + double ret = ImGuiNative.GetTime(); + return ret; + } + public static int GetFrameCount() + { + int ret = ImGuiNative.GetFrameCount(); + return ret; + } + public static ImDrawListSharedDataPtr GetDrawListSharedData() + { + ImDrawListSharedDataPtr ret = ImGuiNative.GetDrawListSharedData(); + return ret; + } + public static void SetStateStorage(ImGuiStoragePtr storage) + { + ImGuiNative.SetStateStorage(storage); + } + public static void SetStateStorage(ref ImGuiStorage storage) + { + fixed (ImGuiStorage* pstorage = &storage) + { + ImGuiNative.SetStateStorage((ImGuiStorage*)pstorage); + } + } + public static ImGuiStoragePtr GetStateStorage() + { + ImGuiStoragePtr ret = ImGuiNative.GetStateStorage(); + return ret; + } + public static bool BeginChildFrame(uint id, Vector2 size, ImGuiWindowFlags flags) + { + byte ret = ImGuiNative.BeginChildFrame(id, size, flags); + return ret != 0; + } + public static bool BeginChildFrame(uint id, Vector2 size) + { + byte ret = ImGuiNative.BeginChildFrame(id, size, (ImGuiWindowFlags)(0)); + return ret != 0; + } + public static void EndChildFrame() + { + ImGuiNative.EndChildFrame(); + } + public static Vector4 ColorConvertU32ToFloat4(uint input) + { + Vector4 ret; + ImGuiNative.ColorConvertU32ToFloat4(&ret, input); + return ret; + } + public static void ColorConvertU32ToFloat4(Vector4* pOut, uint input) + { + ImGuiNative.ColorConvertU32ToFloat4(pOut, input); + } + public static void ColorConvertU32ToFloat4(ref Vector4 pOut, uint input) + { + fixed (Vector4* ppOut = &pOut) + { + ImGuiNative.ColorConvertU32ToFloat4((Vector4*)ppOut, input); + } + } + public static uint ColorConvertFloat4ToU32(Vector4 input) + { + uint ret = ImGuiNative.ColorConvertFloat4ToU32(input); + return ret; + } + public static void ColorConvertRGBtoHSV(float r, float g, float b, float* outH, float* outS, float* outV) + { + ImGuiNative.ColorConvertRGBtoHSV(r, g, b, outH, outS, outV); + } + public static void ColorConvertRGBtoHSV(float r, float g, float b, ref float outH, float* outS, float* outV) + { + fixed (float* poutH = &outH) + { + ImGuiNative.ColorConvertRGBtoHSV(r, g, b, (float*)poutH, outS, outV); + } + } + public static void ColorConvertRGBtoHSV(float r, float g, float b, float* outH, ref float outS, float* outV) + { + fixed (float* poutS = &outS) + { + ImGuiNative.ColorConvertRGBtoHSV(r, g, b, outH, (float*)poutS, outV); + } + } + public static void ColorConvertRGBtoHSV(float r, float g, float b, ref float outH, ref float outS, float* outV) + { + fixed (float* poutH = &outH) + { + fixed (float* poutS = &outS) + { + ImGuiNative.ColorConvertRGBtoHSV(r, g, b, (float*)poutH, (float*)poutS, outV); + } + } + } + public static void ColorConvertRGBtoHSV(float r, float g, float b, float* outH, float* outS, ref float outV) + { + fixed (float* poutV = &outV) + { + ImGuiNative.ColorConvertRGBtoHSV(r, g, b, outH, outS, (float*)poutV); + } + } + public static void ColorConvertRGBtoHSV(float r, float g, float b, ref float outH, float* outS, ref float outV) + { + fixed (float* poutH = &outH) + { + fixed (float* poutV = &outV) + { + ImGuiNative.ColorConvertRGBtoHSV(r, g, b, (float*)poutH, outS, (float*)poutV); + } + } + } + public static void ColorConvertRGBtoHSV(float r, float g, float b, float* outH, ref float outS, ref float outV) + { + fixed (float* poutS = &outS) + { + fixed (float* poutV = &outV) + { + ImGuiNative.ColorConvertRGBtoHSV(r, g, b, outH, (float*)poutS, (float*)poutV); + } + } + } + public static void ColorConvertRGBtoHSV(float r, float g, float b, ref float outH, ref float outS, ref float outV) + { + fixed (float* poutH = &outH) + { + fixed (float* poutS = &outS) + { + fixed (float* poutV = &outV) + { + ImGuiNative.ColorConvertRGBtoHSV(r, g, b, (float*)poutH, (float*)poutS, (float*)poutV); + } + } + } + } + public static void ColorConvertHSVtoRGB(float h, float s, float v, float* outR, float* outG, float* outB) + { + ImGuiNative.ColorConvertHSVtoRGB(h, s, v, outR, outG, outB); + } + public static void ColorConvertHSVtoRGB(float h, float s, float v, ref float outR, float* outG, float* outB) + { + fixed (float* poutR = &outR) + { + ImGuiNative.ColorConvertHSVtoRGB(h, s, v, (float*)poutR, outG, outB); + } + } + public static void ColorConvertHSVtoRGB(float h, float s, float v, float* outR, ref float outG, float* outB) + { + fixed (float* poutG = &outG) + { + ImGuiNative.ColorConvertHSVtoRGB(h, s, v, outR, (float*)poutG, outB); + } + } + public static void ColorConvertHSVtoRGB(float h, float s, float v, ref float outR, ref float outG, float* outB) + { + fixed (float* poutR = &outR) + { + fixed (float* poutG = &outG) + { + ImGuiNative.ColorConvertHSVtoRGB(h, s, v, (float*)poutR, (float*)poutG, outB); + } + } + } + public static void ColorConvertHSVtoRGB(float h, float s, float v, float* outR, float* outG, ref float outB) + { + fixed (float* poutB = &outB) + { + ImGuiNative.ColorConvertHSVtoRGB(h, s, v, outR, outG, (float*)poutB); + } + } + public static void ColorConvertHSVtoRGB(float h, float s, float v, ref float outR, float* outG, ref float outB) + { + fixed (float* poutR = &outR) + { + fixed (float* poutB = &outB) + { + ImGuiNative.ColorConvertHSVtoRGB(h, s, v, (float*)poutR, outG, (float*)poutB); + } + } + } + public static void ColorConvertHSVtoRGB(float h, float s, float v, float* outR, ref float outG, ref float outB) + { + fixed (float* poutG = &outG) + { + fixed (float* poutB = &outB) + { + ImGuiNative.ColorConvertHSVtoRGB(h, s, v, outR, (float*)poutG, (float*)poutB); + } + } + } + public static void ColorConvertHSVtoRGB(float h, float s, float v, ref float outR, ref float outG, ref float outB) + { + fixed (float* poutR = &outR) + { + fixed (float* poutG = &outG) + { + fixed (float* poutB = &outB) + { + ImGuiNative.ColorConvertHSVtoRGB(h, s, v, (float*)poutR, (float*)poutG, (float*)poutB); + } + } + } + } + public static bool IsKeyDown(ImGuiKey key) + { + byte ret = ImGuiNative.IsKeyDown(key); + return ret != 0; + } + public static bool IsKeyPressed(ImGuiKey key, bool repeat) + { + byte ret = ImGuiNative.IsKeyPressed(key, repeat ? (byte)1 : (byte)0); + return ret != 0; + } + public static bool IsKeyPressed(ImGuiKey key) + { + byte ret = ImGuiNative.IsKeyPressed(key, (byte)(1)); + return ret != 0; + } + public static bool IsKeyReleased(ImGuiKey key) + { + byte ret = ImGuiNative.IsKeyReleased(key); + return ret != 0; + } + public static int GetKeyPressedAmount(ImGuiKey key, float repeatDelay, float rate) + { + int ret = ImGuiNative.GetKeyPressedAmount(key, repeatDelay, rate); + return ret; + } + public static void SetNextFrameWantCaptureKeyboard(bool wantCaptureKeyboard) + { + ImGuiNative.SetNextFrameWantCaptureKeyboard(wantCaptureKeyboard ? (byte)1 : (byte)0); + } + public static bool IsMouseDown(ImGuiMouseButton button) + { + byte ret = ImGuiNative.IsMouseDown(button); + return ret != 0; + } + public static bool IsMouseClicked(ImGuiMouseButton button, bool repeat) + { + byte ret = ImGuiNative.IsMouseClicked(button, repeat ? (byte)1 : (byte)0); + return ret != 0; + } + public static bool IsMouseClicked(ImGuiMouseButton button) + { + byte ret = ImGuiNative.IsMouseClicked(button, (byte)(0)); + return ret != 0; + } + public static bool IsMouseReleased(ImGuiMouseButton button) + { + byte ret = ImGuiNative.IsMouseReleased(button); + return ret != 0; + } + public static bool IsMouseDoubleClicked(ImGuiMouseButton button) + { + byte ret = ImGuiNative.IsMouseDoubleClicked(button); + return ret != 0; + } + public static int GetMouseClickedCount(ImGuiMouseButton button) + { + int ret = ImGuiNative.GetMouseClickedCount(button); + return ret; + } + public static bool IsMouseHoveringRect(Vector2 rMin, Vector2 rMax, bool clip) + { + byte ret = ImGuiNative.IsMouseHoveringRect(rMin, rMax, clip ? (byte)1 : (byte)0); + return ret != 0; + } + public static bool IsMouseHoveringRect(Vector2 rMin, Vector2 rMax) + { + byte ret = ImGuiNative.IsMouseHoveringRect(rMin, rMax, (byte)(1)); + return ret != 0; + } + public static bool IsMousePosValid(Vector2* mousePos) + { + byte ret = ImGuiNative.IsMousePosValid(mousePos); + return ret != 0; + } + public static bool IsMousePosValid() + { + byte ret = ImGuiNative.IsMousePosValid((Vector2*)(default)); + return ret != 0; + } + public static bool IsMousePosValid(ref Vector2 mousePos) + { + fixed (Vector2* pmousePos = &mousePos) + { + byte ret = ImGuiNative.IsMousePosValid((Vector2*)pmousePos); + return ret != 0; + } + } + public static bool IsAnyMouseDown() + { + byte ret = ImGuiNative.IsAnyMouseDown(); + return ret != 0; + } + public static Vector2 GetMousePos() + { + Vector2 ret; + ImGuiNative.GetMousePos(&ret); + return ret; + } + public static void GetMousePos(Vector2* pOut) + { + ImGuiNative.GetMousePos(pOut); + } + public static void GetMousePos(ref Vector2 pOut) + { + fixed (Vector2* ppOut = &pOut) + { + ImGuiNative.GetMousePos((Vector2*)ppOut); + } + } + public static Vector2 GetMousePosOnOpeningCurrentPopup() + { + Vector2 ret; + ImGuiNative.GetMousePosOnOpeningCurrentPopup(&ret); + return ret; + } + public static void GetMousePosOnOpeningCurrentPopup(Vector2* pOut) + { + ImGuiNative.GetMousePosOnOpeningCurrentPopup(pOut); + } + public static void GetMousePosOnOpeningCurrentPopup(ref Vector2 pOut) + { + fixed (Vector2* ppOut = &pOut) + { + ImGuiNative.GetMousePosOnOpeningCurrentPopup((Vector2*)ppOut); + } + } + public static bool IsMouseDragging(ImGuiMouseButton button, float lockThreshold) + { + byte ret = ImGuiNative.IsMouseDragging(button, lockThreshold); + return ret != 0; + } + public static bool IsMouseDragging(ImGuiMouseButton button) + { + byte ret = ImGuiNative.IsMouseDragging(button, (float)(-1.0f)); + return ret != 0; + } + public static Vector2 GetMouseDragDelta() + { + Vector2 ret; + ImGuiNative.GetMouseDragDelta(&ret, (ImGuiMouseButton)(0), (float)(-1.0f)); + return ret; + } + public static Vector2 GetMouseDragDelta(ImGuiMouseButton button) + { + Vector2 ret; + ImGuiNative.GetMouseDragDelta(&ret, button, (float)(-1.0f)); + return ret; + } + public static void GetMouseDragDelta(Vector2* pOut) + { + ImGuiNative.GetMouseDragDelta(pOut, (ImGuiMouseButton)(0), (float)(-1.0f)); + } + public static Vector2 GetMouseDragDelta(float lockThreshold) + { + Vector2 ret; + ImGuiNative.GetMouseDragDelta(&ret, (ImGuiMouseButton)(0), lockThreshold); + return ret; + } + public static Vector2 GetMouseDragDelta(ImGuiMouseButton button, float lockThreshold) + { + Vector2 ret; + ImGuiNative.GetMouseDragDelta(&ret, button, lockThreshold); + return ret; + } + public static void GetMouseDragDelta(Vector2* pOut, ImGuiMouseButton button, float lockThreshold) + { + ImGuiNative.GetMouseDragDelta(pOut, button, lockThreshold); + } + public static void GetMouseDragDelta(Vector2* pOut, ImGuiMouseButton button) + { + ImGuiNative.GetMouseDragDelta(pOut, button, (float)(-1.0f)); + } + public static void GetMouseDragDelta(Vector2* pOut, float lockThreshold) + { + ImGuiNative.GetMouseDragDelta(pOut, (ImGuiMouseButton)(0), lockThreshold); + } + public static void GetMouseDragDelta(ref Vector2 pOut, ImGuiMouseButton button, float lockThreshold) + { + fixed (Vector2* ppOut = &pOut) + { + ImGuiNative.GetMouseDragDelta((Vector2*)ppOut, button, lockThreshold); + } + } + public static void GetMouseDragDelta(ref Vector2 pOut, ImGuiMouseButton button) + { + fixed (Vector2* ppOut = &pOut) + { + ImGuiNative.GetMouseDragDelta((Vector2*)ppOut, button, (float)(-1.0f)); + } + } + public static void GetMouseDragDelta(ref Vector2 pOut) + { + fixed (Vector2* ppOut = &pOut) + { + ImGuiNative.GetMouseDragDelta((Vector2*)ppOut, (ImGuiMouseButton)(0), (float)(-1.0f)); + } + } + public static void GetMouseDragDelta(ref Vector2 pOut, float lockThreshold) + { + fixed (Vector2* ppOut = &pOut) + { + ImGuiNative.GetMouseDragDelta((Vector2*)ppOut, (ImGuiMouseButton)(0), lockThreshold); + } + } + public static void ResetMouseDragDelta(ImGuiMouseButton button) + { + ImGuiNative.ResetMouseDragDelta(button); + } + public static void ResetMouseDragDelta() + { + ImGuiNative.ResetMouseDragDelta((ImGuiMouseButton)(0)); + } + public static ImGuiMouseCursor GetMouseCursor() + { + ImGuiMouseCursor ret = ImGuiNative.GetMouseCursor(); + return ret; + } + public static void SetMouseCursor(ImGuiMouseCursor cursorType) + { + ImGuiNative.SetMouseCursor(cursorType); + } + public static void SetNextFrameWantCaptureMouse(bool wantCaptureMouse) + { + ImGuiNative.SetNextFrameWantCaptureMouse(wantCaptureMouse ? (byte)1 : (byte)0); + } + public static void SetAllocatorFunctions(ImGuiMemAllocFunc allocFunc, ImGuiMemFreeFunc freeFunc, void* userData) + { + ImGuiNative.SetAllocatorFunctions(allocFunc, freeFunc, userData); + } + public static void SetAllocatorFunctions(ImGuiMemAllocFunc allocFunc, ImGuiMemFreeFunc freeFunc) + { + ImGuiNative.SetAllocatorFunctions(allocFunc, freeFunc, (void*)(default)); + } + public static void GetAllocatorFunctions(delegate** pAllocFunc, delegate** pFreeFunc, void** pUserData) + { + ImGuiNative.GetAllocatorFunctions(pAllocFunc, pFreeFunc, pUserData); + } + public static void* MemAlloc(nuint size) + { + void* ret = ImGuiNative.MemAlloc(size); + return ret; + } + public static void MemFree(void* ptr) + { + ImGuiNative.MemFree(ptr); + } + public static ImGuiPlatformIOPtr GetPlatformIO() + { + ImGuiPlatformIOPtr ret = ImGuiNative.GetPlatformIO(); + return ret; + } + public static void UpdatePlatformWindows() + { + ImGuiNative.UpdatePlatformWindows(); + } + public static void RenderPlatformWindowsDefault(void* platformRenderArg, void* rendererRenderArg) + { + ImGuiNative.RenderPlatformWindowsDefault(platformRenderArg, rendererRenderArg); + } + public static void RenderPlatformWindowsDefault(void* platformRenderArg) + { + ImGuiNative.RenderPlatformWindowsDefault(platformRenderArg, (void*)(default)); + } + public static void RenderPlatformWindowsDefault() + { + ImGuiNative.RenderPlatformWindowsDefault((void*)(default), (void*)(default)); + } + public static void DestroyPlatformWindows() + { + ImGuiNative.DestroyPlatformWindows(); + } + public static ImGuiViewportPtr FindViewportByID(uint id) + { + ImGuiViewportPtr ret = ImGuiNative.FindViewportByID(id); + return ret; + } + public static ImGuiViewportPtr FindViewportByPlatformHandle(void* platformHandle) + { + ImGuiViewportPtr ret = ImGuiNative.FindViewportByPlatformHandle(platformHandle); + return ret; + } + public static ImGuiStylePtr ImGuiStyle() + { + ImGuiStylePtr ret = ImGuiNative.ImGuiStyle(); + return ret; + } + public static void ScaleAllSizes(this ImGuiStylePtr self, float scaleFactor) + { + ImGuiNative.ScaleAllSizes(self, scaleFactor); + } + public static void ScaleAllSizes(this ref ImGuiStyle self, float scaleFactor) + { + fixed (ImGuiStyle* pself = &self) + { + ImGuiNative.ScaleAllSizes((ImGuiStyle*)pself, scaleFactor); + } + } + public static void AddKeyEvent(this ImGuiIOPtr self, ImGuiKey key, bool down) + { + ImGuiNative.AddKeyEvent(self, key, down ? (byte)1 : (byte)0); + } + public static void AddKeyEvent(this ref ImGuiIO self, ImGuiKey key, bool down) + { + fixed (ImGuiIO* pself = &self) + { + ImGuiNative.AddKeyEvent((ImGuiIO*)pself, key, down ? (byte)1 : (byte)0); + } + } + public static void AddKeyAnalogEvent(this ImGuiIOPtr self, ImGuiKey key, bool down, float v) + { + ImGuiNative.AddKeyAnalogEvent(self, key, down ? (byte)1 : (byte)0, v); + } + public static void AddKeyAnalogEvent(this ref ImGuiIO self, ImGuiKey key, bool down, float v) + { + fixed (ImGuiIO* pself = &self) + { + ImGuiNative.AddKeyAnalogEvent((ImGuiIO*)pself, key, down ? (byte)1 : (byte)0, v); + } + } + public static void AddMousePosEvent(this ImGuiIOPtr self, float x, float y) + { + ImGuiNative.AddMousePosEvent(self, x, y); + } + public static void AddMousePosEvent(this ref ImGuiIO self, float x, float y) + { + fixed (ImGuiIO* pself = &self) + { + ImGuiNative.AddMousePosEvent((ImGuiIO*)pself, x, y); + } + } + public static void AddMouseButtonEvent(this ImGuiIOPtr self, int button, bool down) + { + ImGuiNative.AddMouseButtonEvent(self, button, down ? (byte)1 : (byte)0); + } + public static void AddMouseButtonEvent(this ref ImGuiIO self, int button, bool down) + { + fixed (ImGuiIO* pself = &self) + { + ImGuiNative.AddMouseButtonEvent((ImGuiIO*)pself, button, down ? (byte)1 : (byte)0); + } + } + public static void AddMouseWheelEvent(this ImGuiIOPtr self, float whX, float whY) + { + ImGuiNative.AddMouseWheelEvent(self, whX, whY); + } + public static void AddMouseWheelEvent(this ref ImGuiIO self, float whX, float whY) + { + fixed (ImGuiIO* pself = &self) + { + ImGuiNative.AddMouseWheelEvent((ImGuiIO*)pself, whX, whY); + } + } + public static void AddMouseViewportEvent(this ImGuiIOPtr self, uint id) + { + ImGuiNative.AddMouseViewportEvent(self, id); + } + public static void AddMouseViewportEvent(this ref ImGuiIO self, uint id) + { + fixed (ImGuiIO* pself = &self) + { + ImGuiNative.AddMouseViewportEvent((ImGuiIO*)pself, id); + } + } + public static void AddFocusEvent(this ImGuiIOPtr self, bool focused) + { + ImGuiNative.AddFocusEvent(self, focused ? (byte)1 : (byte)0); + } + public static void AddFocusEvent(this ref ImGuiIO self, bool focused) + { + fixed (ImGuiIO* pself = &self) + { + ImGuiNative.AddFocusEvent((ImGuiIO*)pself, focused ? (byte)1 : (byte)0); + } + } + public static void SetKeyEventNativeData(this ImGuiIOPtr self, ImGuiKey key, int nativeKeycode, int nativeScancode, int nativeLegacyIndex) + { + ImGuiNative.SetKeyEventNativeData(self, key, nativeKeycode, nativeScancode, nativeLegacyIndex); + } + public static void SetKeyEventNativeData(this ImGuiIOPtr self, ImGuiKey key, int nativeKeycode, int nativeScancode) + { + ImGuiNative.SetKeyEventNativeData(self, key, nativeKeycode, nativeScancode, (int)(-1)); + } + public static void SetKeyEventNativeData(this ref ImGuiIO self, ImGuiKey key, int nativeKeycode, int nativeScancode, int nativeLegacyIndex) + { + fixed (ImGuiIO* pself = &self) + { + ImGuiNative.SetKeyEventNativeData((ImGuiIO*)pself, key, nativeKeycode, nativeScancode, nativeLegacyIndex); + } + } + public static void SetKeyEventNativeData(this ref ImGuiIO self, ImGuiKey key, int nativeKeycode, int nativeScancode) + { + fixed (ImGuiIO* pself = &self) + { + ImGuiNative.SetKeyEventNativeData((ImGuiIO*)pself, key, nativeKeycode, nativeScancode, (int)(-1)); + } + } + public static void SetAppAcceptingEvents(this ImGuiIOPtr self, bool acceptingEvents) + { + ImGuiNative.SetAppAcceptingEvents(self, acceptingEvents ? (byte)1 : (byte)0); + } + public static void SetAppAcceptingEvents(this ref ImGuiIO self, bool acceptingEvents) + { + fixed (ImGuiIO* pself = &self) + { + ImGuiNative.SetAppAcceptingEvents((ImGuiIO*)pself, acceptingEvents ? (byte)1 : (byte)0); + } + } + public static void ClearInputCharacters(this ImGuiIOPtr self) + { + ImGuiNative.ClearInputCharacters(self); + } + public static void ClearInputCharacters(this ref ImGuiIO self) + { + fixed (ImGuiIO* pself = &self) + { + ImGuiNative.ClearInputCharacters((ImGuiIO*)pself); + } + } + public static void ClearInputKeys(this ImGuiIOPtr self) + { + ImGuiNative.ClearInputKeys(self); + } + public static void ClearInputKeys(this ref ImGuiIO self) + { + fixed (ImGuiIO* pself = &self) + { + ImGuiNative.ClearInputKeys((ImGuiIO*)pself); + } + } + public static ImGuiIOPtr ImGuiIO() + { + ImGuiIOPtr ret = ImGuiNative.ImGuiIO(); + return ret; + } + public static ImGuiInputTextCallbackDataPtr ImGuiInputTextCallbackData() + { + ImGuiInputTextCallbackDataPtr ret = ImGuiNative.ImGuiInputTextCallbackData(); + return ret; + } + public static void DeleteChars(this ImGuiInputTextCallbackDataPtr self, int pos, int bytesCount) + { + ImGuiNative.DeleteChars(self, pos, bytesCount); + } + public static void DeleteChars(this ref ImGuiInputTextCallbackData self, int pos, int bytesCount) + { + fixed (ImGuiInputTextCallbackData* pself = &self) + { + ImGuiNative.DeleteChars((ImGuiInputTextCallbackData*)pself, pos, bytesCount); + } + } + public static void SelectAll(this ImGuiInputTextCallbackDataPtr self) + { + ImGuiNative.SelectAll(self); + } + public static void SelectAll(this ref ImGuiInputTextCallbackData self) + { + fixed (ImGuiInputTextCallbackData* pself = &self) + { + ImGuiNative.SelectAll((ImGuiInputTextCallbackData*)pself); + } + } + public static void ClearSelection(this ImGuiInputTextCallbackDataPtr self) + { + ImGuiNative.ClearSelection(self); + } + public static void ClearSelection(this ref ImGuiInputTextCallbackData self) + { + fixed (ImGuiInputTextCallbackData* pself = &self) + { + ImGuiNative.ClearSelection((ImGuiInputTextCallbackData*)pself); + } + } + public static bool HasSelection(this ImGuiInputTextCallbackDataPtr self) + { + byte ret = ImGuiNative.HasSelection(self); + return ret != 0; + } + public static bool HasSelection(this ref ImGuiInputTextCallbackData self) + { + fixed (ImGuiInputTextCallbackData* pself = &self) + { + byte ret = ImGuiNative.HasSelection((ImGuiInputTextCallbackData*)pself); + return ret != 0; + } + } + public static ImGuiWindowClassPtr ImGuiWindowClass() + { + ImGuiWindowClassPtr ret = ImGuiNative.ImGuiWindowClass(); + return ret; + } + public static ImGuiPayloadPtr ImGuiPayload() + { + ImGuiPayloadPtr ret = ImGuiNative.ImGuiPayload(); + return ret; + } + public static void Clear(this ImGuiPayloadPtr self) + { + ImGuiNative.Clear(self); + } + public static void Clear(this ref ImGuiPayload self) + { + fixed (ImGuiPayload* pself = &self) + { + ImGuiNative.Clear((ImGuiPayload*)pself); + } + } + public static void Clear(this ImGuiTextFilterPtr self) + { + ImGuiNative.Clear(self); + } + public static void Clear(this ref ImGuiTextFilter self) + { + fixed (ImGuiTextFilter* pself = &self) + { + ImGuiNative.Clear((ImGuiTextFilter*)pself); + } + } + public static void Clear(this ImGuiStoragePtr self) + { + ImGuiNative.Clear(self); + } + public static void Clear(this ref ImGuiStorage self) + { + fixed (ImGuiStorage* pself = &self) + { + ImGuiNative.Clear((ImGuiStorage*)pself); + } + } + public static void Clear(this ImDrawListSplitterPtr self) + { + ImGuiNative.Clear(self); + } + public static void Clear(this ref ImDrawListSplitter self) + { + fixed (ImDrawListSplitter* pself = &self) + { + ImGuiNative.Clear((ImDrawListSplitter*)pself); + } + } + public static void Clear(this ImDrawDataPtr self) + { + ImGuiNative.Clear(self); + } + public static void Clear(this ref ImDrawData self) + { + fixed (ImDrawData* pself = &self) + { + ImGuiNative.Clear((ImDrawData*)pself); + } + } + public static void Clear(this ImFontGlyphRangesBuilderPtr self) + { + ImGuiNative.Clear(self); + } + public static void Clear(this ref ImFontGlyphRangesBuilder self) + { + fixed (ImFontGlyphRangesBuilder* pself = &self) + { + ImGuiNative.Clear((ImFontGlyphRangesBuilder*)pself); + } + } + public static void Clear(this ImFontAtlasPtr self) + { + ImGuiNative.Clear(self); + } + public static void Clear(this ref ImFontAtlas self) + { + fixed (ImFontAtlas* pself = &self) + { + ImGuiNative.Clear((ImFontAtlas*)pself); + } + } + public static bool IsPreview(this ImGuiPayloadPtr self) + { + byte ret = ImGuiNative.IsPreview(self); + return ret != 0; + } + public static bool IsPreview(this ref ImGuiPayload self) + { + fixed (ImGuiPayload* pself = &self) + { + byte ret = ImGuiNative.IsPreview((ImGuiPayload*)pself); + return ret != 0; + } + } + public static bool IsDelivery(this ImGuiPayloadPtr self) + { + byte ret = ImGuiNative.IsDelivery(self); + return ret != 0; + } + public static bool IsDelivery(this ref ImGuiPayload self) + { + fixed (ImGuiPayload* pself = &self) + { + byte ret = ImGuiNative.IsDelivery((ImGuiPayload*)pself); + return ret != 0; + } + } + public static ImGuiTableColumnSortSpecsPtr ImGuiTableColumnSortSpecs() + { + ImGuiTableColumnSortSpecsPtr ret = ImGuiNative.ImGuiTableColumnSortSpecs(); + return ret; + } + public static ImGuiTableSortSpecsPtr ImGuiTableSortSpecs() + { + ImGuiTableSortSpecsPtr ret = ImGuiNative.ImGuiTableSortSpecs(); + return ret; + } + public static ImGuiOnceUponAFramePtr ImGuiOnceUponAFrame() + { + ImGuiOnceUponAFramePtr ret = ImGuiNative.ImGuiOnceUponAFrame(); + return ret; + } + public static void Build(this ImGuiTextFilterPtr self) + { + ImGuiNative.Build(self); + } + public static void Build(this ref ImGuiTextFilter self) + { + fixed (ImGuiTextFilter* pself = &self) + { + ImGuiNative.Build((ImGuiTextFilter*)pself); + } + } + public static bool Build(this ImFontAtlasPtr self) + { + byte ret = ImGuiNative.Build(self); + return ret != 0; + } + public static bool Build(this ref ImFontAtlas self) + { + fixed (ImFontAtlas* pself = &self) + { + byte ret = ImGuiNative.Build((ImFontAtlas*)pself); + return ret != 0; + } + } + public static bool IsActive(this ImGuiTextFilterPtr self) + { + byte ret = ImGuiNative.IsActive(self); + return ret != 0; + } + public static bool IsActive(this ref ImGuiTextFilter self) + { + fixed (ImGuiTextFilter* pself = &self) + { + byte ret = ImGuiNative.IsActive((ImGuiTextFilter*)pself); + return ret != 0; + } + } + public static bool empty(this ImGuiTextRangePtr self) + { + byte ret = ImGuiNative.empty(self); + return ret != 0; + } + public static bool empty(this ref ImGuiTextRange self) + { + fixed (ImGuiTextRange* pself = &self) + { + byte ret = ImGuiNative.empty((ImGuiTextRange*)pself); + return ret != 0; + } + } + public static bool empty(this ImGuiTextBufferPtr self) + { + byte ret = ImGuiNative.empty(self); + return ret != 0; + } + public static bool empty(this ref ImGuiTextBuffer self) + { + fixed (ImGuiTextBuffer* pself = &self) + { + byte ret = ImGuiNative.empty((ImGuiTextBuffer*)pself); + return ret != 0; + } + } + public static void split(this ImGuiTextRangePtr self, byte separator, ImVector* output) + { + ImGuiNative.split(self, separator, output); + } + public static void split(this ref ImGuiTextRange self, byte separator, ImVector* output) + { + fixed (ImGuiTextRange* pself = &self) + { + ImGuiNative.split((ImGuiTextRange*)pself, separator, output); + } + } + public static void split(this ImGuiTextRangePtr self, byte separator, ref ImVector output) + { + fixed (ImVector* poutput = &output) + { + ImGuiNative.split(self, separator, (ImVector*)poutput); + } + } + public static void split(this ref ImGuiTextRange self, byte separator, ref ImVector output) + { + fixed (ImGuiTextRange* pself = &self) + { + fixed (ImVector* poutput = &output) + { + ImGuiNative.split((ImGuiTextRange*)pself, separator, (ImVector*)poutput); + } + } + } + public static ImGuiTextBufferPtr ImGuiTextBuffer() + { + ImGuiTextBufferPtr ret = ImGuiNative.ImGuiTextBuffer(); + return ret; + } + public static int size(this ImGuiTextBufferPtr self) + { + int ret = ImGuiNative.size(self); + return ret; + } + public static int size(this ref ImGuiTextBuffer self) + { + fixed (ImGuiTextBuffer* pself = &self) + { + int ret = ImGuiNative.size((ImGuiTextBuffer*)pself); + return ret; + } + } + public static void clear(this ImGuiTextBufferPtr self) + { + ImGuiNative.clear(self); + } + public static void clear(this ref ImGuiTextBuffer self) + { + fixed (ImGuiTextBuffer* pself = &self) + { + ImGuiNative.clear((ImGuiTextBuffer*)pself); + } + } + public static void reserve(this ImGuiTextBufferPtr self, int capacity) + { + ImGuiNative.reserve(self, capacity); + } + public static void reserve(this ref ImGuiTextBuffer self, int capacity) + { + fixed (ImGuiTextBuffer* pself = &self) + { + ImGuiNative.reserve((ImGuiTextBuffer*)pself, capacity); + } + } + public static ImGuiStoragePairPtr ImGuiStoragePair(uint key, int valI) + { + ImGuiStoragePairPtr ret = ImGuiNative.ImGuiStoragePair(key, valI); + return ret; + } + public static ImGuiStoragePairPtr ImGuiStoragePair(uint key, float valF) + { + ImGuiStoragePairPtr ret = ImGuiNative.ImGuiStoragePair(key, valF); + return ret; + } + public static ImGuiStoragePairPtr ImGuiStoragePair(uint key, void* valP) + { + ImGuiStoragePairPtr ret = ImGuiNative.ImGuiStoragePair(key, valP); + return ret; + } + public static int GetInt(this ImGuiStoragePtr self, uint key, int defaultVal) + { + int ret = ImGuiNative.GetInt(self, key, defaultVal); + return ret; + } + public static int GetInt(this ImGuiStoragePtr self, uint key) + { + int ret = ImGuiNative.GetInt(self, key, (int)(0)); + return ret; + } + public static int GetInt(this scoped in ImGuiStorage self, uint key, int defaultVal) + { + fixed (ImGuiStorage* pself = &self) + { + int ret = ImGuiNative.GetInt((ImGuiStorage*)pself, key, defaultVal); + return ret; + } + } + public static int GetInt(this scoped in ImGuiStorage self, uint key) + { + fixed (ImGuiStorage* pself = &self) + { + int ret = ImGuiNative.GetInt((ImGuiStorage*)pself, key, (int)(0)); + return ret; + } + } + public static void SetInt(this ImGuiStoragePtr self, uint key, int val) + { + ImGuiNative.SetInt(self, key, val); + } + public static void SetInt(this ref ImGuiStorage self, uint key, int val) + { + fixed (ImGuiStorage* pself = &self) + { + ImGuiNative.SetInt((ImGuiStorage*)pself, key, val); + } + } + public static bool GetBool(this ImGuiStoragePtr self, uint key, bool defaultVal) + { + byte ret = ImGuiNative.GetBool(self, key, defaultVal ? (byte)1 : (byte)0); + return ret != 0; + } + public static bool GetBool(this ImGuiStoragePtr self, uint key) + { + byte ret = ImGuiNative.GetBool(self, key, (byte)(0)); + return ret != 0; + } + public static bool GetBool(this scoped in ImGuiStorage self, uint key, bool defaultVal) + { + fixed (ImGuiStorage* pself = &self) + { + byte ret = ImGuiNative.GetBool((ImGuiStorage*)pself, key, defaultVal ? (byte)1 : (byte)0); + return ret != 0; + } + } + public static bool GetBool(this scoped in ImGuiStorage self, uint key) + { + fixed (ImGuiStorage* pself = &self) + { + byte ret = ImGuiNative.GetBool((ImGuiStorage*)pself, key, (byte)(0)); + return ret != 0; + } + } + public static void SetBool(this ImGuiStoragePtr self, uint key, bool val) + { + ImGuiNative.SetBool(self, key, val ? (byte)1 : (byte)0); + } + public static void SetBool(this ref ImGuiStorage self, uint key, bool val) + { + fixed (ImGuiStorage* pself = &self) + { + ImGuiNative.SetBool((ImGuiStorage*)pself, key, val ? (byte)1 : (byte)0); + } + } + public static float GetFloat(this ImGuiStoragePtr self, uint key, float defaultVal) + { + float ret = ImGuiNative.GetFloat(self, key, defaultVal); + return ret; + } + public static float GetFloat(this ImGuiStoragePtr self, uint key) + { + float ret = ImGuiNative.GetFloat(self, key, (float)(0.0f)); + return ret; + } + public static float GetFloat(this scoped in ImGuiStorage self, uint key, float defaultVal) + { + fixed (ImGuiStorage* pself = &self) + { + float ret = ImGuiNative.GetFloat((ImGuiStorage*)pself, key, defaultVal); + return ret; + } + } + public static float GetFloat(this scoped in ImGuiStorage self, uint key) + { + fixed (ImGuiStorage* pself = &self) + { + float ret = ImGuiNative.GetFloat((ImGuiStorage*)pself, key, (float)(0.0f)); + return ret; + } + } + public static void SetFloat(this ImGuiStoragePtr self, uint key, float val) + { + ImGuiNative.SetFloat(self, key, val); + } + public static void SetFloat(this ref ImGuiStorage self, uint key, float val) + { + fixed (ImGuiStorage* pself = &self) + { + ImGuiNative.SetFloat((ImGuiStorage*)pself, key, val); + } + } + public static void* GetVoidPtr(this ImGuiStoragePtr self, uint key) + { + void* ret = ImGuiNative.GetVoidPtr(self, key); + return ret; + } + public static void* GetVoidPtr(this scoped in ImGuiStorage self, uint key) + { + fixed (ImGuiStorage* pself = &self) + { + void* ret = ImGuiNative.GetVoidPtr((ImGuiStorage*)pself, key); + return ret; + } + } + public static void SetVoidPtr(this ImGuiStoragePtr self, uint key, void* val) + { + ImGuiNative.SetVoidPtr(self, key, val); + } + public static void SetVoidPtr(this ref ImGuiStorage self, uint key, void* val) + { + fixed (ImGuiStorage* pself = &self) + { + ImGuiNative.SetVoidPtr((ImGuiStorage*)pself, key, val); + } + } + public static void SetAllInt(this ImGuiStoragePtr self, int val) + { + ImGuiNative.SetAllInt(self, val); + } + public static void SetAllInt(this ref ImGuiStorage self, int val) + { + fixed (ImGuiStorage* pself = &self) + { + ImGuiNative.SetAllInt((ImGuiStorage*)pself, val); + } + } + public static void BuildSortByKey(this ImGuiStoragePtr self) + { + ImGuiNative.BuildSortByKey(self); + } + public static void BuildSortByKey(this ref ImGuiStorage self) + { + fixed (ImGuiStorage* pself = &self) + { + ImGuiNative.BuildSortByKey((ImGuiStorage*)pself); + } + } + public static ImGuiListClipperPtr ImGuiListClipper() + { + ImGuiListClipperPtr ret = ImGuiNative.ImGuiListClipper(); + return ret; + } + public static bool Step(this ImGuiListClipperPtr self) + { + byte ret = ImGuiNative.Step(self); + return ret != 0; + } + public static bool Step(this ref ImGuiListClipper self) + { + fixed (ImGuiListClipper* pself = &self) + { + byte ret = ImGuiNative.Step((ImGuiListClipper*)pself); + return ret != 0; + } + } + public static void ForceDisplayRangeByIndices(this ImGuiListClipperPtr self, int itemMin, int itemMax) + { + ImGuiNative.ForceDisplayRangeByIndices(self, itemMin, itemMax); + } + public static void ForceDisplayRangeByIndices(this ref ImGuiListClipper self, int itemMin, int itemMax) + { + fixed (ImGuiListClipper* pself = &self) + { + ImGuiNative.ForceDisplayRangeByIndices((ImGuiListClipper*)pself, itemMin, itemMax); + } + } + public static ImColorPtr ImColor() + { + ImColorPtr ret = ImGuiNative.ImColor(); + return ret; + } + public static ImColorPtr ImColor(float r, float g, float b, float a) + { + ImColorPtr ret = ImGuiNative.ImColor(r, g, b, a); + return ret; + } + public static ImColorPtr ImColor(float r, float g, float b) + { + ImColorPtr ret = ImGuiNative.ImColor(r, g, b, (float)(1.0f)); + return ret; + } + public static ImColorPtr ImColor(Vector4 col) + { + ImColorPtr ret = ImGuiNative.ImColor(col); + return ret; + } + public static ImColorPtr ImColor(int r, int g, int b, int a) + { + ImColorPtr ret = ImGuiNative.ImColor(r, g, b, a); + return ret; + } + public static ImColorPtr ImColor(int r, int g, int b) + { + ImColorPtr ret = ImGuiNative.ImColor(r, g, b, (int)(255)); + return ret; + } + public static ImColorPtr ImColor(uint rgba) + { + ImColorPtr ret = ImGuiNative.ImColor(rgba); + return ret; + } + public static void SetHSV(this ImColorPtr self, float h, float s, float v, float a) + { + ImGuiNative.SetHSV(self, h, s, v, a); + } + public static void SetHSV(this ImColorPtr self, float h, float s, float v) + { + ImGuiNative.SetHSV(self, h, s, v, (float)(1.0f)); + } + public static void SetHSV(this ref ImColor self, float h, float s, float v, float a) + { + fixed (ImColor* pself = &self) + { + ImGuiNative.SetHSV((ImColor*)pself, h, s, v, a); + } + } + public static void SetHSV(this ref ImColor self, float h, float s, float v) + { + fixed (ImColor* pself = &self) + { + ImGuiNative.SetHSV((ImColor*)pself, h, s, v, (float)(1.0f)); + } + } + public static ImColor HSV(float h, float s, float v) + { + ImColor ret; + ImGuiNative.HSV(&ret, h, s, v, (float)(1.0f)); + return ret; + } + public static ImColor HSV(float h, float s, float v, float a) + { + ImColor ret; + ImGuiNative.HSV(&ret, h, s, v, a); + return ret; + } + public static void HSV(ImColorPtr pOut, float h, float s, float v, float a) + { + ImGuiNative.HSV(pOut, h, s, v, a); + } + public static void HSV(ImColorPtr pOut, float h, float s, float v) + { + ImGuiNative.HSV(pOut, h, s, v, (float)(1.0f)); + } + public static void HSV(ref ImColor pOut, float h, float s, float v, float a) + { + fixed (ImColor* ppOut = &pOut) + { + ImGuiNative.HSV((ImColor*)ppOut, h, s, v, a); + } + } + public static void HSV(ref ImColor pOut, float h, float s, float v) + { + fixed (ImColor* ppOut = &pOut) + { + ImGuiNative.HSV((ImColor*)ppOut, h, s, v, (float)(1.0f)); + } + } + public static ImDrawCmdPtr ImDrawCmd() + { + ImDrawCmdPtr ret = ImGuiNative.ImDrawCmd(); + return ret; + } + public static ImTextureID GetTexID(this ImDrawCmdPtr self) + { + ImTextureID ret = ImGuiNative.GetTexID(self); + return ret; + } + public static ImTextureID GetTexID(this scoped in ImDrawCmd self) + { + fixed (ImDrawCmd* pself = &self) + { + ImTextureID ret = ImGuiNative.GetTexID((ImDrawCmd*)pself); + return ret; + } + } + public static ImDrawListSplitterPtr ImDrawListSplitter() + { + ImDrawListSplitterPtr ret = ImGuiNative.ImDrawListSplitter(); + return ret; + } + public static void ClearFreeMemory(this ImDrawListSplitterPtr self) + { + ImGuiNative.ClearFreeMemory(self); + } + public static void ClearFreeMemory(this ref ImDrawListSplitter self) + { + fixed (ImDrawListSplitter* pself = &self) + { + ImGuiNative.ClearFreeMemory((ImDrawListSplitter*)pself); + } + } + public static void Split(this ImDrawListSplitterPtr self, ImDrawListPtr drawList, int count) + { + ImGuiNative.Split(self, drawList, count); + } + public static void Split(this ref ImDrawListSplitter self, ImDrawListPtr drawList, int count) + { + fixed (ImDrawListSplitter* pself = &self) + { + ImGuiNative.Split((ImDrawListSplitter*)pself, drawList, count); + } + } + public static void Split(this ImDrawListSplitterPtr self, ref ImDrawList drawList, int count) + { + fixed (ImDrawList* pdrawList = &drawList) + { + ImGuiNative.Split(self, (ImDrawList*)pdrawList, count); + } + } + public static void Split(this ref ImDrawListSplitter self, ref ImDrawList drawList, int count) + { + fixed (ImDrawListSplitter* pself = &self) + { + fixed (ImDrawList* pdrawList = &drawList) + { + ImGuiNative.Split((ImDrawListSplitter*)pself, (ImDrawList*)pdrawList, count); + } + } + } + public static void Merge(this ImDrawListSplitterPtr self, ImDrawListPtr drawList) + { + ImGuiNative.Merge(self, drawList); + } + public static void Merge(this ref ImDrawListSplitter self, ImDrawListPtr drawList) + { + fixed (ImDrawListSplitter* pself = &self) + { + ImGuiNative.Merge((ImDrawListSplitter*)pself, drawList); + } + } + public static void Merge(this ImDrawListSplitterPtr self, ref ImDrawList drawList) + { + fixed (ImDrawList* pdrawList = &drawList) + { + ImGuiNative.Merge(self, (ImDrawList*)pdrawList); + } + } + public static void Merge(this ref ImDrawListSplitter self, ref ImDrawList drawList) + { + fixed (ImDrawListSplitter* pself = &self) + { + fixed (ImDrawList* pdrawList = &drawList) + { + ImGuiNative.Merge((ImDrawListSplitter*)pself, (ImDrawList*)pdrawList); + } + } + } + public static void SetCurrentChannel(this ImDrawListSplitterPtr self, ImDrawListPtr drawList, int channelIdx) + { + ImGuiNative.SetCurrentChannel(self, drawList, channelIdx); + } + public static void SetCurrentChannel(this ref ImDrawListSplitter self, ImDrawListPtr drawList, int channelIdx) + { + fixed (ImDrawListSplitter* pself = &self) + { + ImGuiNative.SetCurrentChannel((ImDrawListSplitter*)pself, drawList, channelIdx); + } + } + public static void SetCurrentChannel(this ImDrawListSplitterPtr self, ref ImDrawList drawList, int channelIdx) + { + fixed (ImDrawList* pdrawList = &drawList) + { + ImGuiNative.SetCurrentChannel(self, (ImDrawList*)pdrawList, channelIdx); + } + } + public static void SetCurrentChannel(this ref ImDrawListSplitter self, ref ImDrawList drawList, int channelIdx) + { + fixed (ImDrawListSplitter* pself = &self) + { + fixed (ImDrawList* pdrawList = &drawList) + { + ImGuiNative.SetCurrentChannel((ImDrawListSplitter*)pself, (ImDrawList*)pdrawList, channelIdx); + } + } + } + public static ImDrawListPtr ImDrawList(ImDrawListSharedDataPtr sharedData) + { + ImDrawListPtr ret = ImGuiNative.ImDrawList(sharedData); + return ret; + } + public static ImDrawListPtr ImDrawList(ref ImDrawListSharedData sharedData) + { + fixed (ImDrawListSharedData* psharedData = &sharedData) + { + ImDrawListPtr ret = ImGuiNative.ImDrawList((ImDrawListSharedData*)psharedData); + return ret; + } + } + public static void PushClipRectFullScreen(this ImDrawListPtr self) + { + ImGuiNative.PushClipRectFullScreen(self); + } + public static void PushClipRectFullScreen(this ref ImDrawList self) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.PushClipRectFullScreen((ImDrawList*)pself); + } + } + public static void PushTextureID(this ImDrawListPtr self, ImTextureID textureId) + { + ImGuiNative.PushTextureID(self, textureId); + } + public static void PushTextureID(this ref ImDrawList self, ImTextureID textureId) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.PushTextureID((ImDrawList*)pself, textureId); + } + } + public static void PopTextureID(this ImDrawListPtr self) + { + ImGuiNative.PopTextureID(self); + } + public static void PopTextureID(this ref ImDrawList self) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.PopTextureID((ImDrawList*)pself); + } + } + public static Vector2 GetClipRectMin(this ImDrawListPtr self) + { + Vector2 ret; + ImGuiNative.GetClipRectMin(&ret, self); + return ret; + } + public static void GetClipRectMin(Vector2* pOut, ImDrawListPtr self) + { + ImGuiNative.GetClipRectMin(pOut, self); + } + public static void GetClipRectMin(ref Vector2 pOut, ImDrawListPtr self) + { + fixed (Vector2* ppOut = &pOut) + { + ImGuiNative.GetClipRectMin((Vector2*)ppOut, self); + } + } + public static Vector2 GetClipRectMin(this scoped in ImDrawList self) + { + fixed (ImDrawList* pself = &self) + { + Vector2 ret; + ImGuiNative.GetClipRectMin(&ret, (ImDrawList*)pself); + return ret; + } + } + public static void GetClipRectMin(Vector2* pOut, ref ImDrawList self) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.GetClipRectMin(pOut, (ImDrawList*)pself); + } + } + public static void GetClipRectMin(ref Vector2 pOut, ref ImDrawList self) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.GetClipRectMin((Vector2*)ppOut, (ImDrawList*)pself); + } + } + } + public static Vector2 GetClipRectMax(this ImDrawListPtr self) + { + Vector2 ret; + ImGuiNative.GetClipRectMax(&ret, self); + return ret; + } + public static void GetClipRectMax(Vector2* pOut, ImDrawListPtr self) + { + ImGuiNative.GetClipRectMax(pOut, self); + } + public static void GetClipRectMax(ref Vector2 pOut, ImDrawListPtr self) + { + fixed (Vector2* ppOut = &pOut) + { + ImGuiNative.GetClipRectMax((Vector2*)ppOut, self); + } + } + public static Vector2 GetClipRectMax(this scoped in ImDrawList self) + { + fixed (ImDrawList* pself = &self) + { + Vector2 ret; + ImGuiNative.GetClipRectMax(&ret, (ImDrawList*)pself); + return ret; + } + } + public static void GetClipRectMax(Vector2* pOut, ref ImDrawList self) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.GetClipRectMax(pOut, (ImDrawList*)pself); + } + } + public static void GetClipRectMax(ref Vector2 pOut, ref ImDrawList self) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.GetClipRectMax((Vector2*)ppOut, (ImDrawList*)pself); + } + } + } + public static void AddLine(this ImDrawListPtr self, Vector2 p1, Vector2 p2, uint col, float thickness) + { + ImGuiNative.AddLine(self, p1, p2, col, thickness); + } + public static void AddLine(this ImDrawListPtr self, Vector2 p1, Vector2 p2, uint col) + { + ImGuiNative.AddLine(self, p1, p2, col, (float)(1.0f)); + } + public static void AddLine(this ref ImDrawList self, Vector2 p1, Vector2 p2, uint col, float thickness) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.AddLine((ImDrawList*)pself, p1, p2, col, thickness); + } + } + public static void AddLine(this ref ImDrawList self, Vector2 p1, Vector2 p2, uint col) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.AddLine((ImDrawList*)pself, p1, p2, col, (float)(1.0f)); + } + } + public static void AddRect(this ImDrawListPtr self, Vector2 pMin, Vector2 pMax, uint col, float rounding, ImDrawFlags flags, float thickness) + { + ImGuiNative.AddRect(self, pMin, pMax, col, rounding, flags, thickness); + } + public static void AddRect(this ImDrawListPtr self, Vector2 pMin, Vector2 pMax, uint col, float rounding, ImDrawFlags flags) + { + ImGuiNative.AddRect(self, pMin, pMax, col, rounding, flags, (float)(1.0f)); + } + public static void AddRect(this ImDrawListPtr self, Vector2 pMin, Vector2 pMax, uint col, float rounding) + { + ImGuiNative.AddRect(self, pMin, pMax, col, rounding, (ImDrawFlags)(0), (float)(1.0f)); + } + public static void AddRect(this ImDrawListPtr self, Vector2 pMin, Vector2 pMax, uint col) + { + ImGuiNative.AddRect(self, pMin, pMax, col, (float)(0.0f), (ImDrawFlags)(0), (float)(1.0f)); + } + public static void AddRect(this ImDrawListPtr self, Vector2 pMin, Vector2 pMax, uint col, ImDrawFlags flags) + { + ImGuiNative.AddRect(self, pMin, pMax, col, (float)(0.0f), flags, (float)(1.0f)); + } + public static void AddRect(this ImDrawListPtr self, Vector2 pMin, Vector2 pMax, uint col, float rounding, float thickness) + { + ImGuiNative.AddRect(self, pMin, pMax, col, rounding, (ImDrawFlags)(0), thickness); + } + public static void AddRect(this ImDrawListPtr self, Vector2 pMin, Vector2 pMax, uint col, ImDrawFlags flags, float thickness) + { + ImGuiNative.AddRect(self, pMin, pMax, col, (float)(0.0f), flags, thickness); + } + public static void AddRect(this ref ImDrawList self, Vector2 pMin, Vector2 pMax, uint col, float rounding, ImDrawFlags flags, float thickness) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.AddRect((ImDrawList*)pself, pMin, pMax, col, rounding, flags, thickness); + } + } + public static void AddRect(this ref ImDrawList self, Vector2 pMin, Vector2 pMax, uint col, float rounding, ImDrawFlags flags) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.AddRect((ImDrawList*)pself, pMin, pMax, col, rounding, flags, (float)(1.0f)); + } + } + public static void AddRect(this ref ImDrawList self, Vector2 pMin, Vector2 pMax, uint col, float rounding) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.AddRect((ImDrawList*)pself, pMin, pMax, col, rounding, (ImDrawFlags)(0), (float)(1.0f)); + } + } + public static void AddRect(this ref ImDrawList self, Vector2 pMin, Vector2 pMax, uint col) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.AddRect((ImDrawList*)pself, pMin, pMax, col, (float)(0.0f), (ImDrawFlags)(0), (float)(1.0f)); + } + } + public static void AddRect(this ref ImDrawList self, Vector2 pMin, Vector2 pMax, uint col, ImDrawFlags flags) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.AddRect((ImDrawList*)pself, pMin, pMax, col, (float)(0.0f), flags, (float)(1.0f)); + } + } + public static void AddRect(this ref ImDrawList self, Vector2 pMin, Vector2 pMax, uint col, float rounding, float thickness) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.AddRect((ImDrawList*)pself, pMin, pMax, col, rounding, (ImDrawFlags)(0), thickness); + } + } + public static void AddRect(this ref ImDrawList self, Vector2 pMin, Vector2 pMax, uint col, ImDrawFlags flags, float thickness) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.AddRect((ImDrawList*)pself, pMin, pMax, col, (float)(0.0f), flags, thickness); + } + } + public static void AddRectFilled(this ImDrawListPtr self, Vector2 pMin, Vector2 pMax, uint col, float rounding, ImDrawFlags flags) + { + ImGuiNative.AddRectFilled(self, pMin, pMax, col, rounding, flags); + } + public static void AddRectFilled(this ImDrawListPtr self, Vector2 pMin, Vector2 pMax, uint col, float rounding) + { + ImGuiNative.AddRectFilled(self, pMin, pMax, col, rounding, (ImDrawFlags)(0)); + } + public static void AddRectFilled(this ImDrawListPtr self, Vector2 pMin, Vector2 pMax, uint col) + { + ImGuiNative.AddRectFilled(self, pMin, pMax, col, (float)(0.0f), (ImDrawFlags)(0)); + } + public static void AddRectFilled(this ImDrawListPtr self, Vector2 pMin, Vector2 pMax, uint col, ImDrawFlags flags) + { + ImGuiNative.AddRectFilled(self, pMin, pMax, col, (float)(0.0f), flags); + } + public static void AddRectFilled(this ref ImDrawList self, Vector2 pMin, Vector2 pMax, uint col, float rounding, ImDrawFlags flags) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.AddRectFilled((ImDrawList*)pself, pMin, pMax, col, rounding, flags); + } + } + public static void AddRectFilled(this ref ImDrawList self, Vector2 pMin, Vector2 pMax, uint col, float rounding) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.AddRectFilled((ImDrawList*)pself, pMin, pMax, col, rounding, (ImDrawFlags)(0)); + } + } + public static void AddRectFilled(this ref ImDrawList self, Vector2 pMin, Vector2 pMax, uint col) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.AddRectFilled((ImDrawList*)pself, pMin, pMax, col, (float)(0.0f), (ImDrawFlags)(0)); + } + } + public static void AddRectFilled(this ref ImDrawList self, Vector2 pMin, Vector2 pMax, uint col, ImDrawFlags flags) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.AddRectFilled((ImDrawList*)pself, pMin, pMax, col, (float)(0.0f), flags); + } + } + public static void AddRectFilledMultiColor(this ImDrawListPtr self, Vector2 pMin, Vector2 pMax, uint colUprLeft, uint colUprRight, uint colBotRight, uint colBotLeft) + { + ImGuiNative.AddRectFilledMultiColor(self, pMin, pMax, colUprLeft, colUprRight, colBotRight, colBotLeft); + } + public static void AddRectFilledMultiColor(this ref ImDrawList self, Vector2 pMin, Vector2 pMax, uint colUprLeft, uint colUprRight, uint colBotRight, uint colBotLeft) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.AddRectFilledMultiColor((ImDrawList*)pself, pMin, pMax, colUprLeft, colUprRight, colBotRight, colBotLeft); + } + } + public static void AddQuad(this ImDrawListPtr self, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col, float thickness) + { + ImGuiNative.AddQuad(self, p1, p2, p3, p4, col, thickness); + } + public static void AddQuad(this ImDrawListPtr self, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col) + { + ImGuiNative.AddQuad(self, p1, p2, p3, p4, col, (float)(1.0f)); + } + public static void AddQuad(this ref ImDrawList self, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col, float thickness) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.AddQuad((ImDrawList*)pself, p1, p2, p3, p4, col, thickness); + } + } + public static void AddQuad(this ref ImDrawList self, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.AddQuad((ImDrawList*)pself, p1, p2, p3, p4, col, (float)(1.0f)); + } + } + public static void AddQuadFilled(this ImDrawListPtr self, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col) + { + ImGuiNative.AddQuadFilled(self, p1, p2, p3, p4, col); + } + public static void AddQuadFilled(this ref ImDrawList self, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.AddQuadFilled((ImDrawList*)pself, p1, p2, p3, p4, col); + } + } + public static void AddTriangle(this ImDrawListPtr self, Vector2 p1, Vector2 p2, Vector2 p3, uint col, float thickness) + { + ImGuiNative.AddTriangle(self, p1, p2, p3, col, thickness); + } + public static void AddTriangle(this ImDrawListPtr self, Vector2 p1, Vector2 p2, Vector2 p3, uint col) + { + ImGuiNative.AddTriangle(self, p1, p2, p3, col, (float)(1.0f)); + } + public static void AddTriangle(this ref ImDrawList self, Vector2 p1, Vector2 p2, Vector2 p3, uint col, float thickness) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.AddTriangle((ImDrawList*)pself, p1, p2, p3, col, thickness); + } + } + public static void AddTriangle(this ref ImDrawList self, Vector2 p1, Vector2 p2, Vector2 p3, uint col) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.AddTriangle((ImDrawList*)pself, p1, p2, p3, col, (float)(1.0f)); + } + } + public static void AddTriangleFilled(this ImDrawListPtr self, Vector2 p1, Vector2 p2, Vector2 p3, uint col) + { + ImGuiNative.AddTriangleFilled(self, p1, p2, p3, col); + } + public static void AddTriangleFilled(this ref ImDrawList self, Vector2 p1, Vector2 p2, Vector2 p3, uint col) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.AddTriangleFilled((ImDrawList*)pself, p1, p2, p3, col); + } + } + public static void AddCircle(this ImDrawListPtr self, Vector2 center, float radius, uint col, int numSegments, float thickness) + { + ImGuiNative.AddCircle(self, center, radius, col, numSegments, thickness); + } + public static void AddCircle(this ImDrawListPtr self, Vector2 center, float radius, uint col, int numSegments) + { + ImGuiNative.AddCircle(self, center, radius, col, numSegments, (float)(1.0f)); + } + public static void AddCircle(this ImDrawListPtr self, Vector2 center, float radius, uint col) + { + ImGuiNative.AddCircle(self, center, radius, col, (int)(0), (float)(1.0f)); + } + public static void AddCircle(this ImDrawListPtr self, Vector2 center, float radius, uint col, float thickness) + { + ImGuiNative.AddCircle(self, center, radius, col, (int)(0), thickness); + } + public static void AddCircle(this ref ImDrawList self, Vector2 center, float radius, uint col, int numSegments, float thickness) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.AddCircle((ImDrawList*)pself, center, radius, col, numSegments, thickness); + } + } + public static void AddCircle(this ref ImDrawList self, Vector2 center, float radius, uint col, int numSegments) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.AddCircle((ImDrawList*)pself, center, radius, col, numSegments, (float)(1.0f)); + } + } + public static void AddCircle(this ref ImDrawList self, Vector2 center, float radius, uint col) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.AddCircle((ImDrawList*)pself, center, radius, col, (int)(0), (float)(1.0f)); + } + } + public static void AddCircle(this ref ImDrawList self, Vector2 center, float radius, uint col, float thickness) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.AddCircle((ImDrawList*)pself, center, radius, col, (int)(0), thickness); + } + } + public static void AddCircleFilled(this ImDrawListPtr self, Vector2 center, float radius, uint col, int numSegments) + { + ImGuiNative.AddCircleFilled(self, center, radius, col, numSegments); + } + public static void AddCircleFilled(this ImDrawListPtr self, Vector2 center, float radius, uint col) + { + ImGuiNative.AddCircleFilled(self, center, radius, col, (int)(0)); + } + public static void AddCircleFilled(this ref ImDrawList self, Vector2 center, float radius, uint col, int numSegments) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.AddCircleFilled((ImDrawList*)pself, center, radius, col, numSegments); + } + } + public static void AddCircleFilled(this ref ImDrawList self, Vector2 center, float radius, uint col) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.AddCircleFilled((ImDrawList*)pself, center, radius, col, (int)(0)); + } + } + public static void AddNgon(this ImDrawListPtr self, Vector2 center, float radius, uint col, int numSegments, float thickness) + { + ImGuiNative.AddNgon(self, center, radius, col, numSegments, thickness); + } + public static void AddNgon(this ImDrawListPtr self, Vector2 center, float radius, uint col, int numSegments) + { + ImGuiNative.AddNgon(self, center, radius, col, numSegments, (float)(1.0f)); + } + public static void AddNgon(this ref ImDrawList self, Vector2 center, float radius, uint col, int numSegments, float thickness) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.AddNgon((ImDrawList*)pself, center, radius, col, numSegments, thickness); + } + } + public static void AddNgon(this ref ImDrawList self, Vector2 center, float radius, uint col, int numSegments) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.AddNgon((ImDrawList*)pself, center, radius, col, numSegments, (float)(1.0f)); + } + } + public static void AddNgonFilled(this ImDrawListPtr self, Vector2 center, float radius, uint col, int numSegments) + { + ImGuiNative.AddNgonFilled(self, center, radius, col, numSegments); + } + public static void AddNgonFilled(this ref ImDrawList self, Vector2 center, float radius, uint col, int numSegments) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.AddNgonFilled((ImDrawList*)pself, center, radius, col, numSegments); + } + } + public static void AddPolyline(this ImDrawListPtr self, Vector2* points, int numPoints, uint col, ImDrawFlags flags, float thickness) + { + ImGuiNative.AddPolyline(self, points, numPoints, col, flags, thickness); + } + public static void AddPolyline(this ref ImDrawList self, Vector2* points, int numPoints, uint col, ImDrawFlags flags, float thickness) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.AddPolyline((ImDrawList*)pself, points, numPoints, col, flags, thickness); + } + } + public static void AddPolyline(this ImDrawListPtr self, ref Vector2 points, int numPoints, uint col, ImDrawFlags flags, float thickness) + { + fixed (Vector2* ppoints = &points) + { + ImGuiNative.AddPolyline(self, (Vector2*)ppoints, numPoints, col, flags, thickness); + } + } + public static void AddPolyline(this ref ImDrawList self, ref Vector2 points, int numPoints, uint col, ImDrawFlags flags, float thickness) + { + fixed (ImDrawList* pself = &self) + { + fixed (Vector2* ppoints = &points) + { + ImGuiNative.AddPolyline((ImDrawList*)pself, (Vector2*)ppoints, numPoints, col, flags, thickness); + } + } + } + public static void AddConvexPolyFilled(this ImDrawListPtr self, Vector2* points, int numPoints, uint col) + { + ImGuiNative.AddConvexPolyFilled(self, points, numPoints, col); + } + public static void AddConvexPolyFilled(this ref ImDrawList self, Vector2* points, int numPoints, uint col) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.AddConvexPolyFilled((ImDrawList*)pself, points, numPoints, col); + } + } + public static void AddConvexPolyFilled(this ImDrawListPtr self, ref Vector2 points, int numPoints, uint col) + { + fixed (Vector2* ppoints = &points) + { + ImGuiNative.AddConvexPolyFilled(self, (Vector2*)ppoints, numPoints, col); + } + } + public static void AddConvexPolyFilled(this ref ImDrawList self, ref Vector2 points, int numPoints, uint col) + { + fixed (ImDrawList* pself = &self) + { + fixed (Vector2* ppoints = &points) + { + ImGuiNative.AddConvexPolyFilled((ImDrawList*)pself, (Vector2*)ppoints, numPoints, col); + } + } + } + public static void AddBezierCubic(this ImDrawListPtr self, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col, float thickness, int numSegments) + { + ImGuiNative.AddBezierCubic(self, p1, p2, p3, p4, col, thickness, numSegments); + } + public static void AddBezierCubic(this ImDrawListPtr self, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col, float thickness) + { + ImGuiNative.AddBezierCubic(self, p1, p2, p3, p4, col, thickness, (int)(0)); + } + public static void AddBezierCubic(this ref ImDrawList self, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col, float thickness, int numSegments) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.AddBezierCubic((ImDrawList*)pself, p1, p2, p3, p4, col, thickness, numSegments); + } + } + public static void AddBezierCubic(this ref ImDrawList self, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col, float thickness) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.AddBezierCubic((ImDrawList*)pself, p1, p2, p3, p4, col, thickness, (int)(0)); + } + } + public static void AddBezierQuadratic(this ImDrawListPtr self, Vector2 p1, Vector2 p2, Vector2 p3, uint col, float thickness, int numSegments) + { + ImGuiNative.AddBezierQuadratic(self, p1, p2, p3, col, thickness, numSegments); + } + public static void AddBezierQuadratic(this ImDrawListPtr self, Vector2 p1, Vector2 p2, Vector2 p3, uint col, float thickness) + { + ImGuiNative.AddBezierQuadratic(self, p1, p2, p3, col, thickness, (int)(0)); + } + public static void AddBezierQuadratic(this ref ImDrawList self, Vector2 p1, Vector2 p2, Vector2 p3, uint col, float thickness, int numSegments) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.AddBezierQuadratic((ImDrawList*)pself, p1, p2, p3, col, thickness, numSegments); + } + } + public static void AddBezierQuadratic(this ref ImDrawList self, Vector2 p1, Vector2 p2, Vector2 p3, uint col, float thickness) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.AddBezierQuadratic((ImDrawList*)pself, p1, p2, p3, col, thickness, (int)(0)); + } + } + public static void AddImage(this ImDrawListPtr self, ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, Vector2 uvMax, uint col) + { + ImGuiNative.AddImage(self, userTextureId, pMin, pMax, uvMin, uvMax, col); + } + public static void AddImage(this ImDrawListPtr self, ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, Vector2 uvMax) + { + ImGuiNative.AddImage(self, userTextureId, pMin, pMax, uvMin, uvMax, (uint)(4294967295)); + } + public static void AddImage(this ImDrawListPtr self, ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin) + { + ImGuiNative.AddImage(self, userTextureId, pMin, pMax, uvMin, (Vector2)(new Vector2(1,1)), (uint)(4294967295)); + } + public static void AddImage(this ImDrawListPtr self, ImTextureID userTextureId, Vector2 pMin, Vector2 pMax) + { + ImGuiNative.AddImage(self, userTextureId, pMin, pMax, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), (uint)(4294967295)); + } + public static void AddImage(this ImDrawListPtr self, ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, uint col) + { + ImGuiNative.AddImage(self, userTextureId, pMin, pMax, uvMin, (Vector2)(new Vector2(1,1)), col); + } + public static void AddImage(this ImDrawListPtr self, ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, uint col) + { + ImGuiNative.AddImage(self, userTextureId, pMin, pMax, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), col); + } + public static void AddImage(this ref ImDrawList self, ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, Vector2 uvMax, uint col) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.AddImage((ImDrawList*)pself, userTextureId, pMin, pMax, uvMin, uvMax, col); + } + } + public static void AddImage(this ref ImDrawList self, ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, Vector2 uvMax) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.AddImage((ImDrawList*)pself, userTextureId, pMin, pMax, uvMin, uvMax, (uint)(4294967295)); + } + } + public static void AddImage(this ref ImDrawList self, ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.AddImage((ImDrawList*)pself, userTextureId, pMin, pMax, uvMin, (Vector2)(new Vector2(1,1)), (uint)(4294967295)); + } + } + public static void AddImage(this ref ImDrawList self, ImTextureID userTextureId, Vector2 pMin, Vector2 pMax) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.AddImage((ImDrawList*)pself, userTextureId, pMin, pMax, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), (uint)(4294967295)); + } + } + public static void AddImage(this ref ImDrawList self, ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, uint col) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.AddImage((ImDrawList*)pself, userTextureId, pMin, pMax, uvMin, (Vector2)(new Vector2(1,1)), col); + } + } + public static void AddImage(this ref ImDrawList self, ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, uint col) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.AddImage((ImDrawList*)pself, userTextureId, pMin, pMax, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), col); + } + } + public static void AddImageQuad(this ImDrawListPtr self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, Vector2 uv3, Vector2 uv4, uint col) + { + ImGuiNative.AddImageQuad(self, userTextureId, p1, p2, p3, p4, uv1, uv2, uv3, uv4, col); + } + public static void AddImageQuad(this ImDrawListPtr self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, Vector2 uv3, Vector2 uv4) + { + ImGuiNative.AddImageQuad(self, userTextureId, p1, p2, p3, p4, uv1, uv2, uv3, uv4, (uint)(4294967295)); + } + public static void AddImageQuad(this ImDrawListPtr self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, Vector2 uv3) + { + ImGuiNative.AddImageQuad(self, userTextureId, p1, p2, p3, p4, uv1, uv2, uv3, (Vector2)(new Vector2(0,1)), (uint)(4294967295)); + } + public static void AddImageQuad(this ImDrawListPtr self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2) + { + ImGuiNative.AddImageQuad(self, userTextureId, p1, p2, p3, p4, uv1, uv2, (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), (uint)(4294967295)); + } + public static void AddImageQuad(this ImDrawListPtr self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1) + { + ImGuiNative.AddImageQuad(self, userTextureId, p1, p2, p3, p4, uv1, (Vector2)(new Vector2(1,0)), (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), (uint)(4294967295)); + } + public static void AddImageQuad(this ImDrawListPtr self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4) + { + ImGuiNative.AddImageQuad(self, userTextureId, p1, p2, p3, p4, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,0)), (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), (uint)(4294967295)); + } + public static void AddImageQuad(this ImDrawListPtr self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, Vector2 uv3, uint col) + { + ImGuiNative.AddImageQuad(self, userTextureId, p1, p2, p3, p4, uv1, uv2, uv3, (Vector2)(new Vector2(0,1)), col); + } + public static void AddImageQuad(this ImDrawListPtr self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, uint col) + { + ImGuiNative.AddImageQuad(self, userTextureId, p1, p2, p3, p4, uv1, uv2, (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), col); + } + public static void AddImageQuad(this ImDrawListPtr self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, uint col) + { + ImGuiNative.AddImageQuad(self, userTextureId, p1, p2, p3, p4, uv1, (Vector2)(new Vector2(1,0)), (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), col); + } + public static void AddImageQuad(this ImDrawListPtr self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col) + { + ImGuiNative.AddImageQuad(self, userTextureId, p1, p2, p3, p4, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,0)), (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), col); + } + public static void AddImageQuad(this ref ImDrawList self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, Vector2 uv3, Vector2 uv4, uint col) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.AddImageQuad((ImDrawList*)pself, userTextureId, p1, p2, p3, p4, uv1, uv2, uv3, uv4, col); + } + } + public static void AddImageQuad(this ref ImDrawList self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, Vector2 uv3, Vector2 uv4) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.AddImageQuad((ImDrawList*)pself, userTextureId, p1, p2, p3, p4, uv1, uv2, uv3, uv4, (uint)(4294967295)); + } + } + public static void AddImageQuad(this ref ImDrawList self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, Vector2 uv3) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.AddImageQuad((ImDrawList*)pself, userTextureId, p1, p2, p3, p4, uv1, uv2, uv3, (Vector2)(new Vector2(0,1)), (uint)(4294967295)); + } + } + public static void AddImageQuad(this ref ImDrawList self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.AddImageQuad((ImDrawList*)pself, userTextureId, p1, p2, p3, p4, uv1, uv2, (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), (uint)(4294967295)); + } + } + public static void AddImageQuad(this ref ImDrawList self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.AddImageQuad((ImDrawList*)pself, userTextureId, p1, p2, p3, p4, uv1, (Vector2)(new Vector2(1,0)), (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), (uint)(4294967295)); + } + } + public static void AddImageQuad(this ref ImDrawList self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.AddImageQuad((ImDrawList*)pself, userTextureId, p1, p2, p3, p4, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,0)), (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), (uint)(4294967295)); + } + } + public static void AddImageQuad(this ref ImDrawList self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, Vector2 uv3, uint col) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.AddImageQuad((ImDrawList*)pself, userTextureId, p1, p2, p3, p4, uv1, uv2, uv3, (Vector2)(new Vector2(0,1)), col); + } + } + public static void AddImageQuad(this ref ImDrawList self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, uint col) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.AddImageQuad((ImDrawList*)pself, userTextureId, p1, p2, p3, p4, uv1, uv2, (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), col); + } + } + public static void AddImageQuad(this ref ImDrawList self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, uint col) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.AddImageQuad((ImDrawList*)pself, userTextureId, p1, p2, p3, p4, uv1, (Vector2)(new Vector2(1,0)), (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), col); + } + } + public static void AddImageQuad(this ref ImDrawList self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.AddImageQuad((ImDrawList*)pself, userTextureId, p1, p2, p3, p4, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,0)), (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), col); + } + } + public static void AddImageRounded(this ImDrawListPtr self, ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, Vector2 uvMax, uint col, float rounding, ImDrawFlags flags) + { + ImGuiNative.AddImageRounded(self, userTextureId, pMin, pMax, uvMin, uvMax, col, rounding, flags); + } + public static void AddImageRounded(this ImDrawListPtr self, ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, Vector2 uvMax, uint col, float rounding) + { + ImGuiNative.AddImageRounded(self, userTextureId, pMin, pMax, uvMin, uvMax, col, rounding, (ImDrawFlags)(0)); + } + public static void AddImageRounded(this ref ImDrawList self, ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, Vector2 uvMax, uint col, float rounding, ImDrawFlags flags) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.AddImageRounded((ImDrawList*)pself, userTextureId, pMin, pMax, uvMin, uvMax, col, rounding, flags); + } + } + public static void AddImageRounded(this ref ImDrawList self, ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, Vector2 uvMax, uint col, float rounding) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.AddImageRounded((ImDrawList*)pself, userTextureId, pMin, pMax, uvMin, uvMax, col, rounding, (ImDrawFlags)(0)); + } + } + public static void PathClear(this ImDrawListPtr self) + { + ImGuiNative.PathClear(self); + } + public static void PathClear(this ref ImDrawList self) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.PathClear((ImDrawList*)pself); + } + } + public static void PathLineTo(this ImDrawListPtr self, Vector2 pos) + { + ImGuiNative.PathLineTo(self, pos); + } + public static void PathLineTo(this ref ImDrawList self, Vector2 pos) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.PathLineTo((ImDrawList*)pself, pos); + } + } + public static void PathLineToMergeDuplicate(this ImDrawListPtr self, Vector2 pos) + { + ImGuiNative.PathLineToMergeDuplicate(self, pos); + } + public static void PathLineToMergeDuplicate(this ref ImDrawList self, Vector2 pos) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.PathLineToMergeDuplicate((ImDrawList*)pself, pos); + } + } + public static void PathFillConvex(this ImDrawListPtr self, uint col) + { + ImGuiNative.PathFillConvex(self, col); + } + public static void PathFillConvex(this ref ImDrawList self, uint col) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.PathFillConvex((ImDrawList*)pself, col); + } + } + public static void PathStroke(this ImDrawListPtr self, uint col, ImDrawFlags flags, float thickness) + { + ImGuiNative.PathStroke(self, col, flags, thickness); + } + public static void PathStroke(this ImDrawListPtr self, uint col, ImDrawFlags flags) + { + ImGuiNative.PathStroke(self, col, flags, (float)(1.0f)); + } + public static void PathStroke(this ImDrawListPtr self, uint col) + { + ImGuiNative.PathStroke(self, col, (ImDrawFlags)(0), (float)(1.0f)); + } + public static void PathStroke(this ImDrawListPtr self, uint col, float thickness) + { + ImGuiNative.PathStroke(self, col, (ImDrawFlags)(0), thickness); + } + public static void PathStroke(this ref ImDrawList self, uint col, ImDrawFlags flags, float thickness) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.PathStroke((ImDrawList*)pself, col, flags, thickness); + } + } + public static void PathStroke(this ref ImDrawList self, uint col, ImDrawFlags flags) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.PathStroke((ImDrawList*)pself, col, flags, (float)(1.0f)); + } + } + public static void PathStroke(this ref ImDrawList self, uint col) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.PathStroke((ImDrawList*)pself, col, (ImDrawFlags)(0), (float)(1.0f)); + } + } + public static void PathStroke(this ref ImDrawList self, uint col, float thickness) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.PathStroke((ImDrawList*)pself, col, (ImDrawFlags)(0), thickness); + } + } + public static void PathArcTo(this ImDrawListPtr self, Vector2 center, float radius, float aMin, float aMax, int numSegments) + { + ImGuiNative.PathArcTo(self, center, radius, aMin, aMax, numSegments); + } + public static void PathArcTo(this ImDrawListPtr self, Vector2 center, float radius, float aMin, float aMax) + { + ImGuiNative.PathArcTo(self, center, radius, aMin, aMax, (int)(0)); + } + public static void PathArcTo(this ref ImDrawList self, Vector2 center, float radius, float aMin, float aMax, int numSegments) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.PathArcTo((ImDrawList*)pself, center, radius, aMin, aMax, numSegments); + } + } + public static void PathArcTo(this ref ImDrawList self, Vector2 center, float radius, float aMin, float aMax) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.PathArcTo((ImDrawList*)pself, center, radius, aMin, aMax, (int)(0)); + } + } + public static void PathArcToFast(this ImDrawListPtr self, Vector2 center, float radius, int aMinOf12, int aMaxOf12) + { + ImGuiNative.PathArcToFast(self, center, radius, aMinOf12, aMaxOf12); + } + public static void PathArcToFast(this ref ImDrawList self, Vector2 center, float radius, int aMinOf12, int aMaxOf12) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.PathArcToFast((ImDrawList*)pself, center, radius, aMinOf12, aMaxOf12); + } + } + public static void PathBezierCubicCurveTo(this ImDrawListPtr self, Vector2 p2, Vector2 p3, Vector2 p4, int numSegments) + { + ImGuiNative.PathBezierCubicCurveTo(self, p2, p3, p4, numSegments); + } + public static void PathBezierCubicCurveTo(this ImDrawListPtr self, Vector2 p2, Vector2 p3, Vector2 p4) + { + ImGuiNative.PathBezierCubicCurveTo(self, p2, p3, p4, (int)(0)); + } + public static void PathBezierCubicCurveTo(this ref ImDrawList self, Vector2 p2, Vector2 p3, Vector2 p4, int numSegments) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.PathBezierCubicCurveTo((ImDrawList*)pself, p2, p3, p4, numSegments); + } + } + public static void PathBezierCubicCurveTo(this ref ImDrawList self, Vector2 p2, Vector2 p3, Vector2 p4) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.PathBezierCubicCurveTo((ImDrawList*)pself, p2, p3, p4, (int)(0)); + } + } + public static void PathBezierQuadraticCurveTo(this ImDrawListPtr self, Vector2 p2, Vector2 p3, int numSegments) + { + ImGuiNative.PathBezierQuadraticCurveTo(self, p2, p3, numSegments); + } + public static void PathBezierQuadraticCurveTo(this ImDrawListPtr self, Vector2 p2, Vector2 p3) + { + ImGuiNative.PathBezierQuadraticCurveTo(self, p2, p3, (int)(0)); + } + public static void PathBezierQuadraticCurveTo(this ref ImDrawList self, Vector2 p2, Vector2 p3, int numSegments) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.PathBezierQuadraticCurveTo((ImDrawList*)pself, p2, p3, numSegments); + } + } + public static void PathBezierQuadraticCurveTo(this ref ImDrawList self, Vector2 p2, Vector2 p3) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.PathBezierQuadraticCurveTo((ImDrawList*)pself, p2, p3, (int)(0)); + } + } + public static void PathRect(this ImDrawListPtr self, Vector2 rectMin, Vector2 rectMax, float rounding, ImDrawFlags flags) + { + ImGuiNative.PathRect(self, rectMin, rectMax, rounding, flags); + } + public static void PathRect(this ImDrawListPtr self, Vector2 rectMin, Vector2 rectMax, float rounding) + { + ImGuiNative.PathRect(self, rectMin, rectMax, rounding, (ImDrawFlags)(0)); + } + public static void PathRect(this ImDrawListPtr self, Vector2 rectMin, Vector2 rectMax) + { + ImGuiNative.PathRect(self, rectMin, rectMax, (float)(0.0f), (ImDrawFlags)(0)); + } + public static void PathRect(this ImDrawListPtr self, Vector2 rectMin, Vector2 rectMax, ImDrawFlags flags) + { + ImGuiNative.PathRect(self, rectMin, rectMax, (float)(0.0f), flags); + } + public static void PathRect(this ref ImDrawList self, Vector2 rectMin, Vector2 rectMax, float rounding, ImDrawFlags flags) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.PathRect((ImDrawList*)pself, rectMin, rectMax, rounding, flags); + } + } + public static void PathRect(this ref ImDrawList self, Vector2 rectMin, Vector2 rectMax, float rounding) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.PathRect((ImDrawList*)pself, rectMin, rectMax, rounding, (ImDrawFlags)(0)); + } + } + public static void PathRect(this ref ImDrawList self, Vector2 rectMin, Vector2 rectMax) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.PathRect((ImDrawList*)pself, rectMin, rectMax, (float)(0.0f), (ImDrawFlags)(0)); + } + } + public static void PathRect(this ref ImDrawList self, Vector2 rectMin, Vector2 rectMax, ImDrawFlags flags) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.PathRect((ImDrawList*)pself, rectMin, rectMax, (float)(0.0f), flags); + } + } + public static void AddCallback(this ImDrawListPtr self, ImDrawCallback callback, void* callbackData) + { + ImGuiNative.AddCallback(self, callback, callbackData); + } + public static void AddCallback(this ref ImDrawList self, ImDrawCallback callback, void* callbackData) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.AddCallback((ImDrawList*)pself, callback, callbackData); + } + } + public static void AddDrawCmd(this ImDrawListPtr self) + { + ImGuiNative.AddDrawCmd(self); + } + public static void AddDrawCmd(this ref ImDrawList self) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.AddDrawCmd((ImDrawList*)pself); + } + } + public static ImDrawListPtr CloneOutput(this ImDrawListPtr self) + { + ImDrawListPtr ret = ImGuiNative.CloneOutput(self); + return ret; + } + public static ImDrawListPtr CloneOutput(this ref ImDrawList self) + { + fixed (ImDrawList* pself = &self) + { + ImDrawListPtr ret = ImGuiNative.CloneOutput((ImDrawList*)pself); + return ret; + } + } + public static void ChannelsSplit(this ImDrawListPtr self, int count) + { + ImGuiNative.ChannelsSplit(self, count); + } + public static void ChannelsSplit(this ref ImDrawList self, int count) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.ChannelsSplit((ImDrawList*)pself, count); + } + } + public static void ChannelsMerge(this ImDrawListPtr self) + { + ImGuiNative.ChannelsMerge(self); + } + public static void ChannelsMerge(this ref ImDrawList self) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.ChannelsMerge((ImDrawList*)pself); + } + } + public static void ChannelsSetCurrent(this ImDrawListPtr self, int n) + { + ImGuiNative.ChannelsSetCurrent(self, n); + } + public static void ChannelsSetCurrent(this ref ImDrawList self, int n) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.ChannelsSetCurrent((ImDrawList*)pself, n); + } + } + public static void PrimReserve(this ImDrawListPtr self, int idxCount, int vtxCount) + { + ImGuiNative.PrimReserve(self, idxCount, vtxCount); + } + public static void PrimReserve(this ref ImDrawList self, int idxCount, int vtxCount) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.PrimReserve((ImDrawList*)pself, idxCount, vtxCount); + } + } + public static void PrimUnreserve(this ImDrawListPtr self, int idxCount, int vtxCount) + { + ImGuiNative.PrimUnreserve(self, idxCount, vtxCount); + } + public static void PrimUnreserve(this ref ImDrawList self, int idxCount, int vtxCount) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.PrimUnreserve((ImDrawList*)pself, idxCount, vtxCount); + } + } + public static void PrimRect(this ImDrawListPtr self, Vector2 a, Vector2 b, uint col) + { + ImGuiNative.PrimRect(self, a, b, col); + } + public static void PrimRect(this ref ImDrawList self, Vector2 a, Vector2 b, uint col) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.PrimRect((ImDrawList*)pself, a, b, col); + } + } + public static void PrimRectUV(this ImDrawListPtr self, Vector2 a, Vector2 b, Vector2 uvA, Vector2 uvB, uint col) + { + ImGuiNative.PrimRectUV(self, a, b, uvA, uvB, col); + } + public static void PrimRectUV(this ref ImDrawList self, Vector2 a, Vector2 b, Vector2 uvA, Vector2 uvB, uint col) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.PrimRectUV((ImDrawList*)pself, a, b, uvA, uvB, col); + } + } + public static void PrimQuadUV(this ImDrawListPtr self, Vector2 a, Vector2 b, Vector2 c, Vector2 d, Vector2 uvA, Vector2 uvB, Vector2 uvC, Vector2 uvD, uint col) + { + ImGuiNative.PrimQuadUV(self, a, b, c, d, uvA, uvB, uvC, uvD, col); + } + public static void PrimQuadUV(this ref ImDrawList self, Vector2 a, Vector2 b, Vector2 c, Vector2 d, Vector2 uvA, Vector2 uvB, Vector2 uvC, Vector2 uvD, uint col) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.PrimQuadUV((ImDrawList*)pself, a, b, c, d, uvA, uvB, uvC, uvD, col); + } + } + public static void PrimWriteVtx(this ImDrawListPtr self, Vector2 pos, Vector2 uv, uint col) + { + ImGuiNative.PrimWriteVtx(self, pos, uv, col); + } + public static void PrimWriteVtx(this ref ImDrawList self, Vector2 pos, Vector2 uv, uint col) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.PrimWriteVtx((ImDrawList*)pself, pos, uv, col); + } + } + public static void PrimWriteIdx(this ImDrawListPtr self, ushort idx) + { + ImGuiNative.PrimWriteIdx(self, idx); + } + public static void PrimWriteIdx(this ref ImDrawList self, ushort idx) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.PrimWriteIdx((ImDrawList*)pself, idx); + } + } + public static void PrimVtx(this ImDrawListPtr self, Vector2 pos, Vector2 uv, uint col) + { + ImGuiNative.PrimVtx(self, pos, uv, col); + } + public static void PrimVtx(this ref ImDrawList self, Vector2 pos, Vector2 uv, uint col) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative.PrimVtx((ImDrawList*)pself, pos, uv, col); + } + } + public static void _ResetForNewFrame(this ImDrawListPtr self) + { + ImGuiNative._ResetForNewFrame(self); + } + public static void _ResetForNewFrame(this ref ImDrawList self) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative._ResetForNewFrame((ImDrawList*)pself); + } + } + public static void _ClearFreeMemory(this ImDrawListPtr self) + { + ImGuiNative._ClearFreeMemory(self); + } + public static void _ClearFreeMemory(this ref ImDrawList self) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative._ClearFreeMemory((ImDrawList*)pself); + } + } + public static void _PopUnusedDrawCmd(this ImDrawListPtr self) + { + ImGuiNative._PopUnusedDrawCmd(self); + } + public static void _PopUnusedDrawCmd(this ref ImDrawList self) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative._PopUnusedDrawCmd((ImDrawList*)pself); + } + } + public static void _TryMergeDrawCmds(this ImDrawListPtr self) + { + ImGuiNative._TryMergeDrawCmds(self); + } + public static void _TryMergeDrawCmds(this ref ImDrawList self) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative._TryMergeDrawCmds((ImDrawList*)pself); + } + } + public static void _OnChangedClipRect(this ImDrawListPtr self) + { + ImGuiNative._OnChangedClipRect(self); + } + public static void _OnChangedClipRect(this ref ImDrawList self) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative._OnChangedClipRect((ImDrawList*)pself); + } + } + public static void _OnChangedTextureID(this ImDrawListPtr self) + { + ImGuiNative._OnChangedTextureID(self); + } + public static void _OnChangedTextureID(this ref ImDrawList self) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative._OnChangedTextureID((ImDrawList*)pself); + } + } + public static void _OnChangedVtxOffset(this ImDrawListPtr self) + { + ImGuiNative._OnChangedVtxOffset(self); + } + public static void _OnChangedVtxOffset(this ref ImDrawList self) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative._OnChangedVtxOffset((ImDrawList*)pself); + } + } + public static int _CalcCircleAutoSegmentCount(this ImDrawListPtr self, float radius) + { + int ret = ImGuiNative._CalcCircleAutoSegmentCount(self, radius); + return ret; + } + public static int _CalcCircleAutoSegmentCount(this ref ImDrawList self, float radius) + { + fixed (ImDrawList* pself = &self) + { + int ret = ImGuiNative._CalcCircleAutoSegmentCount((ImDrawList*)pself, radius); + return ret; + } + } + public static void _PathArcToFastEx(this ImDrawListPtr self, Vector2 center, float radius, int aMinSample, int aMaxSample, int aStep) + { + ImGuiNative._PathArcToFastEx(self, center, radius, aMinSample, aMaxSample, aStep); + } + public static void _PathArcToFastEx(this ref ImDrawList self, Vector2 center, float radius, int aMinSample, int aMaxSample, int aStep) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative._PathArcToFastEx((ImDrawList*)pself, center, radius, aMinSample, aMaxSample, aStep); + } + } + public static void _PathArcToN(this ImDrawListPtr self, Vector2 center, float radius, float aMin, float aMax, int numSegments) + { + ImGuiNative._PathArcToN(self, center, radius, aMin, aMax, numSegments); + } + public static void _PathArcToN(this ref ImDrawList self, Vector2 center, float radius, float aMin, float aMax, int numSegments) + { + fixed (ImDrawList* pself = &self) + { + ImGuiNative._PathArcToN((ImDrawList*)pself, center, radius, aMin, aMax, numSegments); + } + } + public static ImDrawDataPtr ImDrawData() + { + ImDrawDataPtr ret = ImGuiNative.ImDrawData(); + return ret; + } + public static void DeIndexAllBuffers(this ImDrawDataPtr self) + { + ImGuiNative.DeIndexAllBuffers(self); + } + public static void DeIndexAllBuffers(this ref ImDrawData self) + { + fixed (ImDrawData* pself = &self) + { + ImGuiNative.DeIndexAllBuffers((ImDrawData*)pself); + } + } + public static void ScaleClipRects(this ImDrawDataPtr self, Vector2 fbScale) + { + ImGuiNative.ScaleClipRects(self, fbScale); + } + public static void ScaleClipRects(this ref ImDrawData self, Vector2 fbScale) + { + fixed (ImDrawData* pself = &self) + { + ImGuiNative.ScaleClipRects((ImDrawData*)pself, fbScale); + } + } + public static ImFontConfigPtr ImFontConfig() + { + ImFontConfigPtr ret = ImGuiNative.ImFontConfig(); + return ret; + } + public static ImFontGlyphRangesBuilderPtr ImFontGlyphRangesBuilder() + { + ImFontGlyphRangesBuilderPtr ret = ImGuiNative.ImFontGlyphRangesBuilder(); + return ret; + } + public static bool GetBit(this ImFontGlyphRangesBuilderPtr self, nuint n) + { + byte ret = ImGuiNative.GetBit(self, n); + return ret != 0; + } + public static bool GetBit(this scoped in ImFontGlyphRangesBuilder self, nuint n) + { + fixed (ImFontGlyphRangesBuilder* pself = &self) + { + byte ret = ImGuiNative.GetBit((ImFontGlyphRangesBuilder*)pself, n); + return ret != 0; + } + } + public static void SetBit(this ImFontGlyphRangesBuilderPtr self, nuint n) + { + ImGuiNative.SetBit(self, n); + } + public static void SetBit(this ref ImFontGlyphRangesBuilder self, nuint n) + { + fixed (ImFontGlyphRangesBuilder* pself = &self) + { + ImGuiNative.SetBit((ImFontGlyphRangesBuilder*)pself, n); + } + } + public static void AddChar(this ImFontGlyphRangesBuilderPtr self, ushort c) + { + ImGuiNative.AddChar(self, c); + } + public static void AddChar(this ref ImFontGlyphRangesBuilder self, ushort c) + { + fixed (ImFontGlyphRangesBuilder* pself = &self) + { + ImGuiNative.AddChar((ImFontGlyphRangesBuilder*)pself, c); + } + } + public static void AddRanges(this ImFontGlyphRangesBuilderPtr self, ushort* ranges) + { + ImGuiNative.AddRanges(self, ranges); + } + public static void AddRanges(this ref ImFontGlyphRangesBuilder self, ushort* ranges) + { + fixed (ImFontGlyphRangesBuilder* pself = &self) + { + ImGuiNative.AddRanges((ImFontGlyphRangesBuilder*)pself, ranges); + } + } + public static void BuildRanges(this ImFontGlyphRangesBuilderPtr self, ImVector* outRanges) + { + ImGuiNative.BuildRanges(self, outRanges); + } + public static void BuildRanges(this ref ImFontGlyphRangesBuilder self, ImVector* outRanges) + { + fixed (ImFontGlyphRangesBuilder* pself = &self) + { + ImGuiNative.BuildRanges((ImFontGlyphRangesBuilder*)pself, outRanges); + } + } + public static void BuildRanges(this ImFontGlyphRangesBuilderPtr self, ref ImVector outRanges) + { + fixed (ImVector* poutRanges = &outRanges) + { + ImGuiNative.BuildRanges(self, (ImVector*)poutRanges); + } + } + public static void BuildRanges(this ref ImFontGlyphRangesBuilder self, ref ImVector outRanges) + { + fixed (ImFontGlyphRangesBuilder* pself = &self) + { + fixed (ImVector* poutRanges = &outRanges) + { + ImGuiNative.BuildRanges((ImFontGlyphRangesBuilder*)pself, (ImVector*)poutRanges); + } + } + } + public static ImFontAtlasCustomRectPtr ImFontAtlasCustomRect() + { + ImFontAtlasCustomRectPtr ret = ImGuiNative.ImFontAtlasCustomRect(); + return ret; + } + public static bool IsPacked(this ImFontAtlasCustomRectPtr self) + { + byte ret = ImGuiNative.IsPacked(self); + return ret != 0; + } + public static bool IsPacked(this ref ImFontAtlasCustomRect self) + { + fixed (ImFontAtlasCustomRect* pself = &self) + { + byte ret = ImGuiNative.IsPacked((ImFontAtlasCustomRect*)pself); + return ret != 0; + } + } + public static ImFontAtlasPtr ImFontAtlas() + { + ImFontAtlasPtr ret = ImGuiNative.ImFontAtlas(); + return ret; + } + public static ImFontPtr AddFont(this ImFontAtlasPtr self, ImFontConfigPtr fontCfg) + { + ImFontPtr ret = ImGuiNative.AddFont(self, fontCfg); + return ret; + } + public static ImFontPtr AddFont(this ref ImFontAtlas self, ImFontConfigPtr fontCfg) + { + fixed (ImFontAtlas* pself = &self) + { + ImFontPtr ret = ImGuiNative.AddFont((ImFontAtlas*)pself, fontCfg); + return ret; + } + } + public static ImFontPtr AddFont(this ImFontAtlasPtr self, ref ImFontConfig fontCfg) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = ImGuiNative.AddFont(self, (ImFontConfig*)pfontCfg); + return ret; + } + } + public static ImFontPtr AddFont(this ref ImFontAtlas self, ref ImFontConfig fontCfg) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = ImGuiNative.AddFont((ImFontAtlas*)pself, (ImFontConfig*)pfontCfg); + return ret; + } + } + } + public static ImFontPtr AddFontDefault(this ImFontAtlasPtr self, ImFontConfigPtr fontCfg) + { + ImFontPtr ret = ImGuiNative.AddFontDefault(self, fontCfg); + return ret; + } + public static ImFontPtr AddFontDefault(this ImFontAtlasPtr self) + { + ImFontPtr ret = ImGuiNative.AddFontDefault(self, (ImFontConfig*)(default)); + return ret; + } + public static ImFontPtr AddFontDefault(this ref ImFontAtlas self, ImFontConfigPtr fontCfg) + { + fixed (ImFontAtlas* pself = &self) + { + ImFontPtr ret = ImGuiNative.AddFontDefault((ImFontAtlas*)pself, fontCfg); + return ret; + } + } + public static ImFontPtr AddFontDefault(this ref ImFontAtlas self) + { + fixed (ImFontAtlas* pself = &self) + { + ImFontPtr ret = ImGuiNative.AddFontDefault((ImFontAtlas*)pself, (ImFontConfig*)(default)); + return ret; + } + } + public static ImFontPtr AddFontDefault(this ImFontAtlasPtr self, ref ImFontConfig fontCfg) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = ImGuiNative.AddFontDefault(self, (ImFontConfig*)pfontCfg); + return ret; + } + } + public static ImFontPtr AddFontDefault(this ref ImFontAtlas self, ref ImFontConfig fontCfg) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = ImGuiNative.AddFontDefault((ImFontAtlas*)pself, (ImFontConfig*)pfontCfg); + return ret; + } + } + } + public static void ClearInputData(this ImFontAtlasPtr self) + { + ImGuiNative.ClearInputData(self); + } + public static void ClearInputData(this ref ImFontAtlas self) + { + fixed (ImFontAtlas* pself = &self) + { + ImGuiNative.ClearInputData((ImFontAtlas*)pself); + } + } + public static void ClearTexData(this ImFontAtlasPtr self) + { + ImGuiNative.ClearTexData(self); + } + public static void ClearTexData(this ref ImFontAtlas self) + { + fixed (ImFontAtlas* pself = &self) + { + ImGuiNative.ClearTexData((ImFontAtlas*)pself); + } + } + public static void ClearFonts(this ImFontAtlasPtr self) + { + ImGuiNative.ClearFonts(self); + } + public static void ClearFonts(this ref ImFontAtlas self) + { + fixed (ImFontAtlas* pself = &self) + { + ImGuiNative.ClearFonts((ImFontAtlas*)pself); + } + } + public static void GetTexDataAsAlpha8(this ImFontAtlasPtr self, int textureIndex, byte** outPixels, int* outWidth, int* outHeight, int* outBytesPerPixel) + { + ImGuiNative.GetTexDataAsAlpha8(self, textureIndex, outPixels, outWidth, outHeight, outBytesPerPixel); + } + public static void GetTexDataAsAlpha8(this ImFontAtlasPtr self, int textureIndex, byte** outPixels, int* outWidth, int* outHeight) + { + ImGuiNative.GetTexDataAsAlpha8(self, textureIndex, outPixels, outWidth, outHeight, (int*)(default)); + } + public static void GetTexDataAsAlpha8(this scoped in ImFontAtlas self, int textureIndex, byte** outPixels, int* outWidth, int* outHeight, int* outBytesPerPixel) + { + fixed (ImFontAtlas* pself = &self) + { + ImGuiNative.GetTexDataAsAlpha8((ImFontAtlas*)pself, textureIndex, outPixels, outWidth, outHeight, outBytesPerPixel); + } + } + public static void GetTexDataAsAlpha8(this scoped in ImFontAtlas self, int textureIndex, byte** outPixels, int* outWidth, int* outHeight) + { + fixed (ImFontAtlas* pself = &self) + { + ImGuiNative.GetTexDataAsAlpha8((ImFontAtlas*)pself, textureIndex, outPixels, outWidth, outHeight, (int*)(default)); + } + } + public static void GetTexDataAsAlpha8(this ImFontAtlasPtr self, int textureIndex, ref byte* outPixels, int* outWidth, int* outHeight, int* outBytesPerPixel) + { + fixed (byte** poutPixels = &outPixels) + { + ImGuiNative.GetTexDataAsAlpha8(self, textureIndex, (byte**)poutPixels, outWidth, outHeight, outBytesPerPixel); + } + } + public static void GetTexDataAsAlpha8(this ImFontAtlasPtr self, int textureIndex, ref byte* outPixels, int* outWidth, int* outHeight) + { + fixed (byte** poutPixels = &outPixels) + { + ImGuiNative.GetTexDataAsAlpha8(self, textureIndex, (byte**)poutPixels, outWidth, outHeight, (int*)(default)); + } + } + public static void GetTexDataAsAlpha8(this scoped in ImFontAtlas self, int textureIndex, ref byte* outPixels, int* outWidth, int* outHeight, int* outBytesPerPixel) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte** poutPixels = &outPixels) + { + ImGuiNative.GetTexDataAsAlpha8((ImFontAtlas*)pself, textureIndex, (byte**)poutPixels, outWidth, outHeight, outBytesPerPixel); + } + } + } + public static void GetTexDataAsAlpha8(this scoped in ImFontAtlas self, int textureIndex, ref byte* outPixels, int* outWidth, int* outHeight) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte** poutPixels = &outPixels) + { + ImGuiNative.GetTexDataAsAlpha8((ImFontAtlas*)pself, textureIndex, (byte**)poutPixels, outWidth, outHeight, (int*)(default)); + } + } + } + public static void GetTexDataAsAlpha8(this ImFontAtlasPtr self, int textureIndex, byte** outPixels, ref int outWidth, int* outHeight, int* outBytesPerPixel) + { + fixed (int* poutWidth = &outWidth) + { + ImGuiNative.GetTexDataAsAlpha8(self, textureIndex, outPixels, (int*)poutWidth, outHeight, outBytesPerPixel); + } + } + public static void GetTexDataAsAlpha8(this ImFontAtlasPtr self, int textureIndex, byte** outPixels, ref int outWidth, int* outHeight) + { + fixed (int* poutWidth = &outWidth) + { + ImGuiNative.GetTexDataAsAlpha8(self, textureIndex, outPixels, (int*)poutWidth, outHeight, (int*)(default)); + } + } + public static void GetTexDataAsAlpha8(this scoped in ImFontAtlas self, int textureIndex, byte** outPixels, ref int outWidth, int* outHeight, int* outBytesPerPixel) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (int* poutWidth = &outWidth) + { + ImGuiNative.GetTexDataAsAlpha8((ImFontAtlas*)pself, textureIndex, outPixels, (int*)poutWidth, outHeight, outBytesPerPixel); + } + } + } + public static void GetTexDataAsAlpha8(this scoped in ImFontAtlas self, int textureIndex, byte** outPixels, ref int outWidth, int* outHeight) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (int* poutWidth = &outWidth) + { + ImGuiNative.GetTexDataAsAlpha8((ImFontAtlas*)pself, textureIndex, outPixels, (int*)poutWidth, outHeight, (int*)(default)); + } + } + } + public static void GetTexDataAsAlpha8(this ImFontAtlasPtr self, int textureIndex, ref byte* outPixels, ref int outWidth, int* outHeight, int* outBytesPerPixel) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + ImGuiNative.GetTexDataAsAlpha8(self, textureIndex, (byte**)poutPixels, (int*)poutWidth, outHeight, outBytesPerPixel); + } + } + } + public static void GetTexDataAsAlpha8(this ImFontAtlasPtr self, int textureIndex, ref byte* outPixels, ref int outWidth, int* outHeight) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + ImGuiNative.GetTexDataAsAlpha8(self, textureIndex, (byte**)poutPixels, (int*)poutWidth, outHeight, (int*)(default)); + } + } + } + public static void GetTexDataAsAlpha8(this scoped in ImFontAtlas self, int textureIndex, ref byte* outPixels, ref int outWidth, int* outHeight, int* outBytesPerPixel) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + ImGuiNative.GetTexDataAsAlpha8((ImFontAtlas*)pself, textureIndex, (byte**)poutPixels, (int*)poutWidth, outHeight, outBytesPerPixel); + } + } + } + } + public static void GetTexDataAsAlpha8(this scoped in ImFontAtlas self, int textureIndex, ref byte* outPixels, ref int outWidth, int* outHeight) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + ImGuiNative.GetTexDataAsAlpha8((ImFontAtlas*)pself, textureIndex, (byte**)poutPixels, (int*)poutWidth, outHeight, (int*)(default)); + } + } + } + } + public static void GetTexDataAsAlpha8(this ImFontAtlasPtr self, int textureIndex, byte** outPixels, int* outWidth, ref int outHeight, int* outBytesPerPixel) + { + fixed (int* poutHeight = &outHeight) + { + ImGuiNative.GetTexDataAsAlpha8(self, textureIndex, outPixels, outWidth, (int*)poutHeight, outBytesPerPixel); + } + } + public static void GetTexDataAsAlpha8(this ImFontAtlasPtr self, int textureIndex, byte** outPixels, int* outWidth, ref int outHeight) + { + fixed (int* poutHeight = &outHeight) + { + ImGuiNative.GetTexDataAsAlpha8(self, textureIndex, outPixels, outWidth, (int*)poutHeight, (int*)(default)); + } + } + public static void GetTexDataAsAlpha8(this scoped in ImFontAtlas self, int textureIndex, byte** outPixels, int* outWidth, ref int outHeight, int* outBytesPerPixel) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (int* poutHeight = &outHeight) + { + ImGuiNative.GetTexDataAsAlpha8((ImFontAtlas*)pself, textureIndex, outPixels, outWidth, (int*)poutHeight, outBytesPerPixel); + } + } + } + public static void GetTexDataAsAlpha8(this scoped in ImFontAtlas self, int textureIndex, byte** outPixels, int* outWidth, ref int outHeight) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (int* poutHeight = &outHeight) + { + ImGuiNative.GetTexDataAsAlpha8((ImFontAtlas*)pself, textureIndex, outPixels, outWidth, (int*)poutHeight, (int*)(default)); + } + } + } + public static void GetTexDataAsAlpha8(this ImFontAtlasPtr self, int textureIndex, ref byte* outPixels, int* outWidth, ref int outHeight, int* outBytesPerPixel) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutHeight = &outHeight) + { + ImGuiNative.GetTexDataAsAlpha8(self, textureIndex, (byte**)poutPixels, outWidth, (int*)poutHeight, outBytesPerPixel); + } + } + } + public static void GetTexDataAsAlpha8(this ImFontAtlasPtr self, int textureIndex, ref byte* outPixels, int* outWidth, ref int outHeight) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutHeight = &outHeight) + { + ImGuiNative.GetTexDataAsAlpha8(self, textureIndex, (byte**)poutPixels, outWidth, (int*)poutHeight, (int*)(default)); + } + } + } + public static void GetTexDataAsAlpha8(this scoped in ImFontAtlas self, int textureIndex, ref byte* outPixels, int* outWidth, ref int outHeight, int* outBytesPerPixel) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutHeight = &outHeight) + { + ImGuiNative.GetTexDataAsAlpha8((ImFontAtlas*)pself, textureIndex, (byte**)poutPixels, outWidth, (int*)poutHeight, outBytesPerPixel); + } + } + } + } + public static void GetTexDataAsAlpha8(this scoped in ImFontAtlas self, int textureIndex, ref byte* outPixels, int* outWidth, ref int outHeight) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutHeight = &outHeight) + { + ImGuiNative.GetTexDataAsAlpha8((ImFontAtlas*)pself, textureIndex, (byte**)poutPixels, outWidth, (int*)poutHeight, (int*)(default)); + } + } + } + } + public static void GetTexDataAsAlpha8(this ImFontAtlasPtr self, int textureIndex, byte** outPixels, ref int outWidth, ref int outHeight, int* outBytesPerPixel) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + ImGuiNative.GetTexDataAsAlpha8(self, textureIndex, outPixels, (int*)poutWidth, (int*)poutHeight, outBytesPerPixel); + } + } + } + public static void GetTexDataAsAlpha8(this ImFontAtlasPtr self, int textureIndex, byte** outPixels, ref int outWidth, ref int outHeight) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + ImGuiNative.GetTexDataAsAlpha8(self, textureIndex, outPixels, (int*)poutWidth, (int*)poutHeight, (int*)(default)); + } + } + } + public static void GetTexDataAsAlpha8(this scoped in ImFontAtlas self, int textureIndex, byte** outPixels, ref int outWidth, ref int outHeight, int* outBytesPerPixel) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + ImGuiNative.GetTexDataAsAlpha8((ImFontAtlas*)pself, textureIndex, outPixels, (int*)poutWidth, (int*)poutHeight, outBytesPerPixel); + } + } + } + } + public static void GetTexDataAsAlpha8(this scoped in ImFontAtlas self, int textureIndex, byte** outPixels, ref int outWidth, ref int outHeight) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + ImGuiNative.GetTexDataAsAlpha8((ImFontAtlas*)pself, textureIndex, outPixels, (int*)poutWidth, (int*)poutHeight, (int*)(default)); + } + } + } + } + public static void GetTexDataAsAlpha8(this ImFontAtlasPtr self, int textureIndex, ref byte* outPixels, ref int outWidth, ref int outHeight, int* outBytesPerPixel) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + ImGuiNative.GetTexDataAsAlpha8(self, textureIndex, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, outBytesPerPixel); + } + } + } + } + public static void GetTexDataAsAlpha8(this ImFontAtlasPtr self, int textureIndex, ref byte* outPixels, ref int outWidth, ref int outHeight) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + ImGuiNative.GetTexDataAsAlpha8(self, textureIndex, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, (int*)(default)); + } + } + } + } + public static void GetTexDataAsAlpha8(this scoped in ImFontAtlas self, int textureIndex, ref byte* outPixels, ref int outWidth, ref int outHeight, int* outBytesPerPixel) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + ImGuiNative.GetTexDataAsAlpha8((ImFontAtlas*)pself, textureIndex, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, outBytesPerPixel); + } + } + } + } + } + public static void GetTexDataAsAlpha8(this scoped in ImFontAtlas self, int textureIndex, ref byte* outPixels, ref int outWidth, ref int outHeight) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + ImGuiNative.GetTexDataAsAlpha8((ImFontAtlas*)pself, textureIndex, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, (int*)(default)); + } + } + } + } + } + public static void GetTexDataAsAlpha8(this ImFontAtlasPtr self, int textureIndex, byte** outPixels, int* outWidth, int* outHeight, ref int outBytesPerPixel) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGuiNative.GetTexDataAsAlpha8(self, textureIndex, outPixels, outWidth, outHeight, (int*)poutBytesPerPixel); + } + } + public static void GetTexDataAsAlpha8(this scoped in ImFontAtlas self, int textureIndex, byte** outPixels, int* outWidth, int* outHeight, ref int outBytesPerPixel) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGuiNative.GetTexDataAsAlpha8((ImFontAtlas*)pself, textureIndex, outPixels, outWidth, outHeight, (int*)poutBytesPerPixel); + } + } + } + public static void GetTexDataAsAlpha8(this ImFontAtlasPtr self, int textureIndex, ref byte* outPixels, int* outWidth, int* outHeight, ref int outBytesPerPixel) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGuiNative.GetTexDataAsAlpha8(self, textureIndex, (byte**)poutPixels, outWidth, outHeight, (int*)poutBytesPerPixel); + } + } + } + public static void GetTexDataAsAlpha8(this scoped in ImFontAtlas self, int textureIndex, ref byte* outPixels, int* outWidth, int* outHeight, ref int outBytesPerPixel) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGuiNative.GetTexDataAsAlpha8((ImFontAtlas*)pself, textureIndex, (byte**)poutPixels, outWidth, outHeight, (int*)poutBytesPerPixel); + } + } + } + } + public static void GetTexDataAsAlpha8(this ImFontAtlasPtr self, int textureIndex, byte** outPixels, ref int outWidth, int* outHeight, ref int outBytesPerPixel) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGuiNative.GetTexDataAsAlpha8(self, textureIndex, outPixels, (int*)poutWidth, outHeight, (int*)poutBytesPerPixel); + } + } + } + public static void GetTexDataAsAlpha8(this scoped in ImFontAtlas self, int textureIndex, byte** outPixels, ref int outWidth, int* outHeight, ref int outBytesPerPixel) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGuiNative.GetTexDataAsAlpha8((ImFontAtlas*)pself, textureIndex, outPixels, (int*)poutWidth, outHeight, (int*)poutBytesPerPixel); + } + } + } + } + public static void GetTexDataAsAlpha8(this ImFontAtlasPtr self, int textureIndex, ref byte* outPixels, ref int outWidth, int* outHeight, ref int outBytesPerPixel) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGuiNative.GetTexDataAsAlpha8(self, textureIndex, (byte**)poutPixels, (int*)poutWidth, outHeight, (int*)poutBytesPerPixel); + } + } + } + } + public static void GetTexDataAsAlpha8(this scoped in ImFontAtlas self, int textureIndex, ref byte* outPixels, ref int outWidth, int* outHeight, ref int outBytesPerPixel) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGuiNative.GetTexDataAsAlpha8((ImFontAtlas*)pself, textureIndex, (byte**)poutPixels, (int*)poutWidth, outHeight, (int*)poutBytesPerPixel); + } + } + } + } + } + public static void GetTexDataAsAlpha8(this ImFontAtlasPtr self, int textureIndex, byte** outPixels, int* outWidth, ref int outHeight, ref int outBytesPerPixel) + { + fixed (int* poutHeight = &outHeight) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGuiNative.GetTexDataAsAlpha8(self, textureIndex, outPixels, outWidth, (int*)poutHeight, (int*)poutBytesPerPixel); + } + } + } + public static void GetTexDataAsAlpha8(this scoped in ImFontAtlas self, int textureIndex, byte** outPixels, int* outWidth, ref int outHeight, ref int outBytesPerPixel) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (int* poutHeight = &outHeight) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGuiNative.GetTexDataAsAlpha8((ImFontAtlas*)pself, textureIndex, outPixels, outWidth, (int*)poutHeight, (int*)poutBytesPerPixel); + } + } + } + } + public static void GetTexDataAsAlpha8(this ImFontAtlasPtr self, int textureIndex, ref byte* outPixels, int* outWidth, ref int outHeight, ref int outBytesPerPixel) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutHeight = &outHeight) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGuiNative.GetTexDataAsAlpha8(self, textureIndex, (byte**)poutPixels, outWidth, (int*)poutHeight, (int*)poutBytesPerPixel); + } + } + } + } + public static void GetTexDataAsAlpha8(this scoped in ImFontAtlas self, int textureIndex, ref byte* outPixels, int* outWidth, ref int outHeight, ref int outBytesPerPixel) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutHeight = &outHeight) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGuiNative.GetTexDataAsAlpha8((ImFontAtlas*)pself, textureIndex, (byte**)poutPixels, outWidth, (int*)poutHeight, (int*)poutBytesPerPixel); + } + } + } + } + } + public static void GetTexDataAsAlpha8(this ImFontAtlasPtr self, int textureIndex, byte** outPixels, ref int outWidth, ref int outHeight, ref int outBytesPerPixel) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGuiNative.GetTexDataAsAlpha8(self, textureIndex, outPixels, (int*)poutWidth, (int*)poutHeight, (int*)poutBytesPerPixel); + } + } + } + } + public static void GetTexDataAsAlpha8(this scoped in ImFontAtlas self, int textureIndex, byte** outPixels, ref int outWidth, ref int outHeight, ref int outBytesPerPixel) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGuiNative.GetTexDataAsAlpha8((ImFontAtlas*)pself, textureIndex, outPixels, (int*)poutWidth, (int*)poutHeight, (int*)poutBytesPerPixel); + } + } + } + } + } + public static void GetTexDataAsAlpha8(this ImFontAtlasPtr self, int textureIndex, ref byte* outPixels, ref int outWidth, ref int outHeight, ref int outBytesPerPixel) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGuiNative.GetTexDataAsAlpha8(self, textureIndex, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, (int*)poutBytesPerPixel); + } + } + } + } + } + public static void GetTexDataAsAlpha8(this scoped in ImFontAtlas self, int textureIndex, ref byte* outPixels, ref int outWidth, ref int outHeight, ref int outBytesPerPixel) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGuiNative.GetTexDataAsAlpha8((ImFontAtlas*)pself, textureIndex, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, (int*)poutBytesPerPixel); + } + } + } + } + } + } + public static void GetTexDataAsRGBA32(this ImFontAtlasPtr self, int textureIndex, byte** outPixels, int* outWidth, int* outHeight, int* outBytesPerPixel) + { + ImGuiNative.GetTexDataAsRGBA32(self, textureIndex, outPixels, outWidth, outHeight, outBytesPerPixel); + } + public static void GetTexDataAsRGBA32(this ImFontAtlasPtr self, int textureIndex, byte** outPixels, int* outWidth, int* outHeight) + { + ImGuiNative.GetTexDataAsRGBA32(self, textureIndex, outPixels, outWidth, outHeight, (int*)(default)); + } + public static void GetTexDataAsRGBA32(this scoped in ImFontAtlas self, int textureIndex, byte** outPixels, int* outWidth, int* outHeight, int* outBytesPerPixel) + { + fixed (ImFontAtlas* pself = &self) + { + ImGuiNative.GetTexDataAsRGBA32((ImFontAtlas*)pself, textureIndex, outPixels, outWidth, outHeight, outBytesPerPixel); + } + } + public static void GetTexDataAsRGBA32(this scoped in ImFontAtlas self, int textureIndex, byte** outPixels, int* outWidth, int* outHeight) + { + fixed (ImFontAtlas* pself = &self) + { + ImGuiNative.GetTexDataAsRGBA32((ImFontAtlas*)pself, textureIndex, outPixels, outWidth, outHeight, (int*)(default)); + } + } + public static void GetTexDataAsRGBA32(this ImFontAtlasPtr self, int textureIndex, ref byte* outPixels, int* outWidth, int* outHeight, int* outBytesPerPixel) + { + fixed (byte** poutPixels = &outPixels) + { + ImGuiNative.GetTexDataAsRGBA32(self, textureIndex, (byte**)poutPixels, outWidth, outHeight, outBytesPerPixel); + } + } + public static void GetTexDataAsRGBA32(this ImFontAtlasPtr self, int textureIndex, ref byte* outPixels, int* outWidth, int* outHeight) + { + fixed (byte** poutPixels = &outPixels) + { + ImGuiNative.GetTexDataAsRGBA32(self, textureIndex, (byte**)poutPixels, outWidth, outHeight, (int*)(default)); + } + } + public static void GetTexDataAsRGBA32(this scoped in ImFontAtlas self, int textureIndex, ref byte* outPixels, int* outWidth, int* outHeight, int* outBytesPerPixel) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte** poutPixels = &outPixels) + { + ImGuiNative.GetTexDataAsRGBA32((ImFontAtlas*)pself, textureIndex, (byte**)poutPixels, outWidth, outHeight, outBytesPerPixel); + } + } + } + public static void GetTexDataAsRGBA32(this scoped in ImFontAtlas self, int textureIndex, ref byte* outPixels, int* outWidth, int* outHeight) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte** poutPixels = &outPixels) + { + ImGuiNative.GetTexDataAsRGBA32((ImFontAtlas*)pself, textureIndex, (byte**)poutPixels, outWidth, outHeight, (int*)(default)); + } + } + } + public static void GetTexDataAsRGBA32(this ImFontAtlasPtr self, int textureIndex, byte** outPixels, ref int outWidth, int* outHeight, int* outBytesPerPixel) + { + fixed (int* poutWidth = &outWidth) + { + ImGuiNative.GetTexDataAsRGBA32(self, textureIndex, outPixels, (int*)poutWidth, outHeight, outBytesPerPixel); + } + } + public static void GetTexDataAsRGBA32(this ImFontAtlasPtr self, int textureIndex, byte** outPixels, ref int outWidth, int* outHeight) + { + fixed (int* poutWidth = &outWidth) + { + ImGuiNative.GetTexDataAsRGBA32(self, textureIndex, outPixels, (int*)poutWidth, outHeight, (int*)(default)); + } + } + public static void GetTexDataAsRGBA32(this scoped in ImFontAtlas self, int textureIndex, byte** outPixels, ref int outWidth, int* outHeight, int* outBytesPerPixel) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (int* poutWidth = &outWidth) + { + ImGuiNative.GetTexDataAsRGBA32((ImFontAtlas*)pself, textureIndex, outPixels, (int*)poutWidth, outHeight, outBytesPerPixel); + } + } + } + public static void GetTexDataAsRGBA32(this scoped in ImFontAtlas self, int textureIndex, byte** outPixels, ref int outWidth, int* outHeight) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (int* poutWidth = &outWidth) + { + ImGuiNative.GetTexDataAsRGBA32((ImFontAtlas*)pself, textureIndex, outPixels, (int*)poutWidth, outHeight, (int*)(default)); + } + } + } + public static void GetTexDataAsRGBA32(this ImFontAtlasPtr self, int textureIndex, ref byte* outPixels, ref int outWidth, int* outHeight, int* outBytesPerPixel) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + ImGuiNative.GetTexDataAsRGBA32(self, textureIndex, (byte**)poutPixels, (int*)poutWidth, outHeight, outBytesPerPixel); + } + } + } + public static void GetTexDataAsRGBA32(this ImFontAtlasPtr self, int textureIndex, ref byte* outPixels, ref int outWidth, int* outHeight) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + ImGuiNative.GetTexDataAsRGBA32(self, textureIndex, (byte**)poutPixels, (int*)poutWidth, outHeight, (int*)(default)); + } + } + } + public static void GetTexDataAsRGBA32(this scoped in ImFontAtlas self, int textureIndex, ref byte* outPixels, ref int outWidth, int* outHeight, int* outBytesPerPixel) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + ImGuiNative.GetTexDataAsRGBA32((ImFontAtlas*)pself, textureIndex, (byte**)poutPixels, (int*)poutWidth, outHeight, outBytesPerPixel); + } + } + } + } + public static void GetTexDataAsRGBA32(this scoped in ImFontAtlas self, int textureIndex, ref byte* outPixels, ref int outWidth, int* outHeight) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + ImGuiNative.GetTexDataAsRGBA32((ImFontAtlas*)pself, textureIndex, (byte**)poutPixels, (int*)poutWidth, outHeight, (int*)(default)); + } + } + } + } + public static void GetTexDataAsRGBA32(this ImFontAtlasPtr self, int textureIndex, byte** outPixels, int* outWidth, ref int outHeight, int* outBytesPerPixel) + { + fixed (int* poutHeight = &outHeight) + { + ImGuiNative.GetTexDataAsRGBA32(self, textureIndex, outPixels, outWidth, (int*)poutHeight, outBytesPerPixel); + } + } + public static void GetTexDataAsRGBA32(this ImFontAtlasPtr self, int textureIndex, byte** outPixels, int* outWidth, ref int outHeight) + { + fixed (int* poutHeight = &outHeight) + { + ImGuiNative.GetTexDataAsRGBA32(self, textureIndex, outPixels, outWidth, (int*)poutHeight, (int*)(default)); + } + } + public static void GetTexDataAsRGBA32(this scoped in ImFontAtlas self, int textureIndex, byte** outPixels, int* outWidth, ref int outHeight, int* outBytesPerPixel) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (int* poutHeight = &outHeight) + { + ImGuiNative.GetTexDataAsRGBA32((ImFontAtlas*)pself, textureIndex, outPixels, outWidth, (int*)poutHeight, outBytesPerPixel); + } + } + } + public static void GetTexDataAsRGBA32(this scoped in ImFontAtlas self, int textureIndex, byte** outPixels, int* outWidth, ref int outHeight) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (int* poutHeight = &outHeight) + { + ImGuiNative.GetTexDataAsRGBA32((ImFontAtlas*)pself, textureIndex, outPixels, outWidth, (int*)poutHeight, (int*)(default)); + } + } + } + public static void GetTexDataAsRGBA32(this ImFontAtlasPtr self, int textureIndex, ref byte* outPixels, int* outWidth, ref int outHeight, int* outBytesPerPixel) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutHeight = &outHeight) + { + ImGuiNative.GetTexDataAsRGBA32(self, textureIndex, (byte**)poutPixels, outWidth, (int*)poutHeight, outBytesPerPixel); + } + } + } + public static void GetTexDataAsRGBA32(this ImFontAtlasPtr self, int textureIndex, ref byte* outPixels, int* outWidth, ref int outHeight) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutHeight = &outHeight) + { + ImGuiNative.GetTexDataAsRGBA32(self, textureIndex, (byte**)poutPixels, outWidth, (int*)poutHeight, (int*)(default)); + } + } + } + public static void GetTexDataAsRGBA32(this scoped in ImFontAtlas self, int textureIndex, ref byte* outPixels, int* outWidth, ref int outHeight, int* outBytesPerPixel) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutHeight = &outHeight) + { + ImGuiNative.GetTexDataAsRGBA32((ImFontAtlas*)pself, textureIndex, (byte**)poutPixels, outWidth, (int*)poutHeight, outBytesPerPixel); + } + } + } + } + public static void GetTexDataAsRGBA32(this scoped in ImFontAtlas self, int textureIndex, ref byte* outPixels, int* outWidth, ref int outHeight) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutHeight = &outHeight) + { + ImGuiNative.GetTexDataAsRGBA32((ImFontAtlas*)pself, textureIndex, (byte**)poutPixels, outWidth, (int*)poutHeight, (int*)(default)); + } + } + } + } + public static void GetTexDataAsRGBA32(this ImFontAtlasPtr self, int textureIndex, byte** outPixels, ref int outWidth, ref int outHeight, int* outBytesPerPixel) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + ImGuiNative.GetTexDataAsRGBA32(self, textureIndex, outPixels, (int*)poutWidth, (int*)poutHeight, outBytesPerPixel); + } + } + } + public static void GetTexDataAsRGBA32(this ImFontAtlasPtr self, int textureIndex, byte** outPixels, ref int outWidth, ref int outHeight) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + ImGuiNative.GetTexDataAsRGBA32(self, textureIndex, outPixels, (int*)poutWidth, (int*)poutHeight, (int*)(default)); + } + } + } + public static void GetTexDataAsRGBA32(this scoped in ImFontAtlas self, int textureIndex, byte** outPixels, ref int outWidth, ref int outHeight, int* outBytesPerPixel) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + ImGuiNative.GetTexDataAsRGBA32((ImFontAtlas*)pself, textureIndex, outPixels, (int*)poutWidth, (int*)poutHeight, outBytesPerPixel); + } + } + } + } + public static void GetTexDataAsRGBA32(this scoped in ImFontAtlas self, int textureIndex, byte** outPixels, ref int outWidth, ref int outHeight) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + ImGuiNative.GetTexDataAsRGBA32((ImFontAtlas*)pself, textureIndex, outPixels, (int*)poutWidth, (int*)poutHeight, (int*)(default)); + } + } + } + } + public static void GetTexDataAsRGBA32(this ImFontAtlasPtr self, int textureIndex, ref byte* outPixels, ref int outWidth, ref int outHeight, int* outBytesPerPixel) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + ImGuiNative.GetTexDataAsRGBA32(self, textureIndex, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, outBytesPerPixel); + } + } + } + } + public static void GetTexDataAsRGBA32(this ImFontAtlasPtr self, int textureIndex, ref byte* outPixels, ref int outWidth, ref int outHeight) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + ImGuiNative.GetTexDataAsRGBA32(self, textureIndex, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, (int*)(default)); + } + } + } + } + public static void GetTexDataAsRGBA32(this scoped in ImFontAtlas self, int textureIndex, ref byte* outPixels, ref int outWidth, ref int outHeight, int* outBytesPerPixel) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + ImGuiNative.GetTexDataAsRGBA32((ImFontAtlas*)pself, textureIndex, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, outBytesPerPixel); + } + } + } + } + } + public static void GetTexDataAsRGBA32(this scoped in ImFontAtlas self, int textureIndex, ref byte* outPixels, ref int outWidth, ref int outHeight) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + ImGuiNative.GetTexDataAsRGBA32((ImFontAtlas*)pself, textureIndex, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, (int*)(default)); + } + } + } + } + } + public static void GetTexDataAsRGBA32(this ImFontAtlasPtr self, int textureIndex, byte** outPixels, int* outWidth, int* outHeight, ref int outBytesPerPixel) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGuiNative.GetTexDataAsRGBA32(self, textureIndex, outPixels, outWidth, outHeight, (int*)poutBytesPerPixel); + } + } + public static void GetTexDataAsRGBA32(this scoped in ImFontAtlas self, int textureIndex, byte** outPixels, int* outWidth, int* outHeight, ref int outBytesPerPixel) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGuiNative.GetTexDataAsRGBA32((ImFontAtlas*)pself, textureIndex, outPixels, outWidth, outHeight, (int*)poutBytesPerPixel); + } + } + } + public static void GetTexDataAsRGBA32(this ImFontAtlasPtr self, int textureIndex, ref byte* outPixels, int* outWidth, int* outHeight, ref int outBytesPerPixel) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGuiNative.GetTexDataAsRGBA32(self, textureIndex, (byte**)poutPixels, outWidth, outHeight, (int*)poutBytesPerPixel); + } + } + } + public static void GetTexDataAsRGBA32(this scoped in ImFontAtlas self, int textureIndex, ref byte* outPixels, int* outWidth, int* outHeight, ref int outBytesPerPixel) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGuiNative.GetTexDataAsRGBA32((ImFontAtlas*)pself, textureIndex, (byte**)poutPixels, outWidth, outHeight, (int*)poutBytesPerPixel); + } + } + } + } + public static void GetTexDataAsRGBA32(this ImFontAtlasPtr self, int textureIndex, byte** outPixels, ref int outWidth, int* outHeight, ref int outBytesPerPixel) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGuiNative.GetTexDataAsRGBA32(self, textureIndex, outPixels, (int*)poutWidth, outHeight, (int*)poutBytesPerPixel); + } + } + } + public static void GetTexDataAsRGBA32(this scoped in ImFontAtlas self, int textureIndex, byte** outPixels, ref int outWidth, int* outHeight, ref int outBytesPerPixel) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGuiNative.GetTexDataAsRGBA32((ImFontAtlas*)pself, textureIndex, outPixels, (int*)poutWidth, outHeight, (int*)poutBytesPerPixel); + } + } + } + } + public static void GetTexDataAsRGBA32(this ImFontAtlasPtr self, int textureIndex, ref byte* outPixels, ref int outWidth, int* outHeight, ref int outBytesPerPixel) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGuiNative.GetTexDataAsRGBA32(self, textureIndex, (byte**)poutPixels, (int*)poutWidth, outHeight, (int*)poutBytesPerPixel); + } + } + } + } + public static void GetTexDataAsRGBA32(this scoped in ImFontAtlas self, int textureIndex, ref byte* outPixels, ref int outWidth, int* outHeight, ref int outBytesPerPixel) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGuiNative.GetTexDataAsRGBA32((ImFontAtlas*)pself, textureIndex, (byte**)poutPixels, (int*)poutWidth, outHeight, (int*)poutBytesPerPixel); + } + } + } + } + } + public static void GetTexDataAsRGBA32(this ImFontAtlasPtr self, int textureIndex, byte** outPixels, int* outWidth, ref int outHeight, ref int outBytesPerPixel) + { + fixed (int* poutHeight = &outHeight) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGuiNative.GetTexDataAsRGBA32(self, textureIndex, outPixels, outWidth, (int*)poutHeight, (int*)poutBytesPerPixel); + } + } + } + public static void GetTexDataAsRGBA32(this scoped in ImFontAtlas self, int textureIndex, byte** outPixels, int* outWidth, ref int outHeight, ref int outBytesPerPixel) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (int* poutHeight = &outHeight) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGuiNative.GetTexDataAsRGBA32((ImFontAtlas*)pself, textureIndex, outPixels, outWidth, (int*)poutHeight, (int*)poutBytesPerPixel); + } + } + } + } + public static void GetTexDataAsRGBA32(this ImFontAtlasPtr self, int textureIndex, ref byte* outPixels, int* outWidth, ref int outHeight, ref int outBytesPerPixel) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutHeight = &outHeight) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGuiNative.GetTexDataAsRGBA32(self, textureIndex, (byte**)poutPixels, outWidth, (int*)poutHeight, (int*)poutBytesPerPixel); + } + } + } + } + public static void GetTexDataAsRGBA32(this scoped in ImFontAtlas self, int textureIndex, ref byte* outPixels, int* outWidth, ref int outHeight, ref int outBytesPerPixel) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutHeight = &outHeight) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGuiNative.GetTexDataAsRGBA32((ImFontAtlas*)pself, textureIndex, (byte**)poutPixels, outWidth, (int*)poutHeight, (int*)poutBytesPerPixel); + } + } + } + } + } + public static void GetTexDataAsRGBA32(this ImFontAtlasPtr self, int textureIndex, byte** outPixels, ref int outWidth, ref int outHeight, ref int outBytesPerPixel) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGuiNative.GetTexDataAsRGBA32(self, textureIndex, outPixels, (int*)poutWidth, (int*)poutHeight, (int*)poutBytesPerPixel); + } + } + } + } + public static void GetTexDataAsRGBA32(this scoped in ImFontAtlas self, int textureIndex, byte** outPixels, ref int outWidth, ref int outHeight, ref int outBytesPerPixel) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGuiNative.GetTexDataAsRGBA32((ImFontAtlas*)pself, textureIndex, outPixels, (int*)poutWidth, (int*)poutHeight, (int*)poutBytesPerPixel); + } + } + } + } + } + public static void GetTexDataAsRGBA32(this ImFontAtlasPtr self, int textureIndex, ref byte* outPixels, ref int outWidth, ref int outHeight, ref int outBytesPerPixel) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGuiNative.GetTexDataAsRGBA32(self, textureIndex, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, (int*)poutBytesPerPixel); + } + } + } + } + } + public static void GetTexDataAsRGBA32(this scoped in ImFontAtlas self, int textureIndex, ref byte* outPixels, ref int outWidth, ref int outHeight, ref int outBytesPerPixel) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGuiNative.GetTexDataAsRGBA32((ImFontAtlas*)pself, textureIndex, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, (int*)poutBytesPerPixel); + } + } + } + } + } + } + public static bool IsBuilt(this ImFontAtlasPtr self) + { + byte ret = ImGuiNative.IsBuilt(self); + return ret != 0; + } + public static bool IsBuilt(this ref ImFontAtlas self) + { + fixed (ImFontAtlas* pself = &self) + { + byte ret = ImGuiNative.IsBuilt((ImFontAtlas*)pself); + return ret != 0; + } + } + public static void SetTexID(this ImFontAtlasPtr self, int textureIndex, ImTextureID id) + { + ImGuiNative.SetTexID(self, textureIndex, id); + } + public static void SetTexID(this ref ImFontAtlas self, int textureIndex, ImTextureID id) + { + fixed (ImFontAtlas* pself = &self) + { + ImGuiNative.SetTexID((ImFontAtlas*)pself, textureIndex, id); + } + } + public static void ClearTexID(this ImFontAtlasPtr self, ImTextureID nullId) + { + ImGuiNative.ClearTexID(self, nullId); + } + public static void ClearTexID(this ref ImFontAtlas self, ImTextureID nullId) + { + fixed (ImFontAtlas* pself = &self) + { + ImGuiNative.ClearTexID((ImFontAtlas*)pself, nullId); + } + } + public static ushort* GetGlyphRangesDefault(this ImFontAtlasPtr self) + { + ushort* ret = ImGuiNative.GetGlyphRangesDefault(self); + return ret; + } + public static ushort* GetGlyphRangesDefault(this scoped in ImFontAtlas self) + { + fixed (ImFontAtlas* pself = &self) + { + ushort* ret = ImGuiNative.GetGlyphRangesDefault((ImFontAtlas*)pself); + return ret; + } + } + public static ushort* GetGlyphRangesKorean(this ImFontAtlasPtr self) + { + ushort* ret = ImGuiNative.GetGlyphRangesKorean(self); + return ret; + } + public static ushort* GetGlyphRangesKorean(this scoped in ImFontAtlas self) + { + fixed (ImFontAtlas* pself = &self) + { + ushort* ret = ImGuiNative.GetGlyphRangesKorean((ImFontAtlas*)pself); + return ret; + } + } + public static ushort* GetGlyphRangesJapanese(this ImFontAtlasPtr self) + { + ushort* ret = ImGuiNative.GetGlyphRangesJapanese(self); + return ret; + } + public static ushort* GetGlyphRangesJapanese(this scoped in ImFontAtlas self) + { + fixed (ImFontAtlas* pself = &self) + { + ushort* ret = ImGuiNative.GetGlyphRangesJapanese((ImFontAtlas*)pself); + return ret; + } + } + public static ushort* GetGlyphRangesChineseFull(this ImFontAtlasPtr self) + { + ushort* ret = ImGuiNative.GetGlyphRangesChineseFull(self); + return ret; + } + public static ushort* GetGlyphRangesChineseFull(this scoped in ImFontAtlas self) + { + fixed (ImFontAtlas* pself = &self) + { + ushort* ret = ImGuiNative.GetGlyphRangesChineseFull((ImFontAtlas*)pself); + return ret; + } + } + public static ushort* GetGlyphRangesChineseSimplifiedCommon(this ImFontAtlasPtr self) + { + ushort* ret = ImGuiNative.GetGlyphRangesChineseSimplifiedCommon(self); + return ret; + } + public static ushort* GetGlyphRangesChineseSimplifiedCommon(this scoped in ImFontAtlas self) + { + fixed (ImFontAtlas* pself = &self) + { + ushort* ret = ImGuiNative.GetGlyphRangesChineseSimplifiedCommon((ImFontAtlas*)pself); + return ret; + } + } + public static ushort* GetGlyphRangesCyrillic(this ImFontAtlasPtr self) + { + ushort* ret = ImGuiNative.GetGlyphRangesCyrillic(self); + return ret; + } + public static ushort* GetGlyphRangesCyrillic(this scoped in ImFontAtlas self) + { + fixed (ImFontAtlas* pself = &self) + { + ushort* ret = ImGuiNative.GetGlyphRangesCyrillic((ImFontAtlas*)pself); + return ret; + } + } + public static ushort* GetGlyphRangesThai(this ImFontAtlasPtr self) + { + ushort* ret = ImGuiNative.GetGlyphRangesThai(self); + return ret; + } + public static ushort* GetGlyphRangesThai(this scoped in ImFontAtlas self) + { + fixed (ImFontAtlas* pself = &self) + { + ushort* ret = ImGuiNative.GetGlyphRangesThai((ImFontAtlas*)pself); + return ret; + } + } + public static ushort* GetGlyphRangesVietnamese(this ImFontAtlasPtr self) + { + ushort* ret = ImGuiNative.GetGlyphRangesVietnamese(self); + return ret; + } + public static ushort* GetGlyphRangesVietnamese(this scoped in ImFontAtlas self) + { + fixed (ImFontAtlas* pself = &self) + { + ushort* ret = ImGuiNative.GetGlyphRangesVietnamese((ImFontAtlas*)pself); + return ret; + } + } + public static int AddCustomRectRegular(this ImFontAtlasPtr self, int width, int height) + { + int ret = ImGuiNative.AddCustomRectRegular(self, width, height); + return ret; + } + public static int AddCustomRectRegular(this ref ImFontAtlas self, int width, int height) + { + fixed (ImFontAtlas* pself = &self) + { + int ret = ImGuiNative.AddCustomRectRegular((ImFontAtlas*)pself, width, height); + return ret; + } + } + public static int AddCustomRectFontGlyph(this ImFontAtlasPtr self, ImFontPtr font, ushort id, int width, int height, float advanceX, Vector2 offset) + { + int ret = ImGuiNative.AddCustomRectFontGlyph(self, font, id, width, height, advanceX, offset); + return ret; + } + public static int AddCustomRectFontGlyph(this ImFontAtlasPtr self, ImFontPtr font, ushort id, int width, int height, float advanceX) + { + int ret = ImGuiNative.AddCustomRectFontGlyph(self, font, id, width, height, advanceX, (Vector2)(new Vector2(0,0))); + return ret; + } + public static int AddCustomRectFontGlyph(this ref ImFontAtlas self, ImFontPtr font, ushort id, int width, int height, float advanceX, Vector2 offset) + { + fixed (ImFontAtlas* pself = &self) + { + int ret = ImGuiNative.AddCustomRectFontGlyph((ImFontAtlas*)pself, font, id, width, height, advanceX, offset); + return ret; + } + } + public static int AddCustomRectFontGlyph(this ref ImFontAtlas self, ImFontPtr font, ushort id, int width, int height, float advanceX) + { + fixed (ImFontAtlas* pself = &self) + { + int ret = ImGuiNative.AddCustomRectFontGlyph((ImFontAtlas*)pself, font, id, width, height, advanceX, (Vector2)(new Vector2(0,0))); + return ret; + } + } + public static int AddCustomRectFontGlyph(this ImFontAtlasPtr self, ref ImFont font, ushort id, int width, int height, float advanceX, Vector2 offset) + { + fixed (ImFont* pfont = &font) + { + int ret = ImGuiNative.AddCustomRectFontGlyph(self, (ImFont*)pfont, id, width, height, advanceX, offset); + return ret; + } + } + public static int AddCustomRectFontGlyph(this ImFontAtlasPtr self, ref ImFont font, ushort id, int width, int height, float advanceX) + { + fixed (ImFont* pfont = &font) + { + int ret = ImGuiNative.AddCustomRectFontGlyph(self, (ImFont*)pfont, id, width, height, advanceX, (Vector2)(new Vector2(0,0))); + return ret; + } + } + public static int AddCustomRectFontGlyph(this ref ImFontAtlas self, ref ImFont font, ushort id, int width, int height, float advanceX, Vector2 offset) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (ImFont* pfont = &font) + { + int ret = ImGuiNative.AddCustomRectFontGlyph((ImFontAtlas*)pself, (ImFont*)pfont, id, width, height, advanceX, offset); + return ret; + } + } + } + public static int AddCustomRectFontGlyph(this ref ImFontAtlas self, ref ImFont font, ushort id, int width, int height, float advanceX) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (ImFont* pfont = &font) + { + int ret = ImGuiNative.AddCustomRectFontGlyph((ImFontAtlas*)pself, (ImFont*)pfont, id, width, height, advanceX, (Vector2)(new Vector2(0,0))); + return ret; + } + } + } + public static ImFontAtlasCustomRectPtr GetCustomRectByIndex(this ImFontAtlasPtr self, int index) + { + ImFontAtlasCustomRectPtr ret = ImGuiNative.GetCustomRectByIndex(self, index); + return ret; + } + public static ImFontAtlasCustomRectPtr GetCustomRectByIndex(this scoped in ImFontAtlas self, int index) + { + fixed (ImFontAtlas* pself = &self) + { + ImFontAtlasCustomRectPtr ret = ImGuiNative.GetCustomRectByIndex((ImFontAtlas*)pself, index); + return ret; + } + } + public static void CalcCustomRectUV(this ImFontAtlasPtr self, ImFontAtlasCustomRectPtr rect, Vector2* outUvMin, Vector2* outUvMax) + { + ImGuiNative.CalcCustomRectUV(self, rect, outUvMin, outUvMax); + } + public static void CalcCustomRectUV(this ref ImFontAtlas self, ImFontAtlasCustomRectPtr rect, Vector2* outUvMin, Vector2* outUvMax) + { + fixed (ImFontAtlas* pself = &self) + { + ImGuiNative.CalcCustomRectUV((ImFontAtlas*)pself, rect, outUvMin, outUvMax); + } + } + public static void CalcCustomRectUV(this ImFontAtlasPtr self, ref ImFontAtlasCustomRect rect, Vector2* outUvMin, Vector2* outUvMax) + { + fixed (ImFontAtlasCustomRect* prect = &rect) + { + ImGuiNative.CalcCustomRectUV(self, (ImFontAtlasCustomRect*)prect, outUvMin, outUvMax); + } + } + public static void CalcCustomRectUV(this ref ImFontAtlas self, ref ImFontAtlasCustomRect rect, Vector2* outUvMin, Vector2* outUvMax) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (ImFontAtlasCustomRect* prect = &rect) + { + ImGuiNative.CalcCustomRectUV((ImFontAtlas*)pself, (ImFontAtlasCustomRect*)prect, outUvMin, outUvMax); + } + } + } + public static void CalcCustomRectUV(this ImFontAtlasPtr self, ImFontAtlasCustomRectPtr rect, ref Vector2 outUvMin, Vector2* outUvMax) + { + fixed (Vector2* poutUvMin = &outUvMin) + { + ImGuiNative.CalcCustomRectUV(self, rect, (Vector2*)poutUvMin, outUvMax); + } + } + public static void CalcCustomRectUV(this ref ImFontAtlas self, ImFontAtlasCustomRectPtr rect, ref Vector2 outUvMin, Vector2* outUvMax) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutUvMin = &outUvMin) + { + ImGuiNative.CalcCustomRectUV((ImFontAtlas*)pself, rect, (Vector2*)poutUvMin, outUvMax); + } + } + } + public static void CalcCustomRectUV(this ImFontAtlasPtr self, ref ImFontAtlasCustomRect rect, ref Vector2 outUvMin, Vector2* outUvMax) + { + fixed (ImFontAtlasCustomRect* prect = &rect) + { + fixed (Vector2* poutUvMin = &outUvMin) + { + ImGuiNative.CalcCustomRectUV(self, (ImFontAtlasCustomRect*)prect, (Vector2*)poutUvMin, outUvMax); + } + } + } + public static void CalcCustomRectUV(this ref ImFontAtlas self, ref ImFontAtlasCustomRect rect, ref Vector2 outUvMin, Vector2* outUvMax) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (ImFontAtlasCustomRect* prect = &rect) + { + fixed (Vector2* poutUvMin = &outUvMin) + { + ImGuiNative.CalcCustomRectUV((ImFontAtlas*)pself, (ImFontAtlasCustomRect*)prect, (Vector2*)poutUvMin, outUvMax); + } + } + } + } + public static void CalcCustomRectUV(this ImFontAtlasPtr self, ImFontAtlasCustomRectPtr rect, Vector2* outUvMin, ref Vector2 outUvMax) + { + fixed (Vector2* poutUvMax = &outUvMax) + { + ImGuiNative.CalcCustomRectUV(self, rect, outUvMin, (Vector2*)poutUvMax); + } + } + public static void CalcCustomRectUV(this ref ImFontAtlas self, ImFontAtlasCustomRectPtr rect, Vector2* outUvMin, ref Vector2 outUvMax) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutUvMax = &outUvMax) + { + ImGuiNative.CalcCustomRectUV((ImFontAtlas*)pself, rect, outUvMin, (Vector2*)poutUvMax); + } + } + } + public static void CalcCustomRectUV(this ImFontAtlasPtr self, ref ImFontAtlasCustomRect rect, Vector2* outUvMin, ref Vector2 outUvMax) + { + fixed (ImFontAtlasCustomRect* prect = &rect) + { + fixed (Vector2* poutUvMax = &outUvMax) + { + ImGuiNative.CalcCustomRectUV(self, (ImFontAtlasCustomRect*)prect, outUvMin, (Vector2*)poutUvMax); + } + } + } + public static void CalcCustomRectUV(this ref ImFontAtlas self, ref ImFontAtlasCustomRect rect, Vector2* outUvMin, ref Vector2 outUvMax) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (ImFontAtlasCustomRect* prect = &rect) + { + fixed (Vector2* poutUvMax = &outUvMax) + { + ImGuiNative.CalcCustomRectUV((ImFontAtlas*)pself, (ImFontAtlasCustomRect*)prect, outUvMin, (Vector2*)poutUvMax); + } + } + } + } + public static void CalcCustomRectUV(this ImFontAtlasPtr self, ImFontAtlasCustomRectPtr rect, ref Vector2 outUvMin, ref Vector2 outUvMax) + { + fixed (Vector2* poutUvMin = &outUvMin) + { + fixed (Vector2* poutUvMax = &outUvMax) + { + ImGuiNative.CalcCustomRectUV(self, rect, (Vector2*)poutUvMin, (Vector2*)poutUvMax); + } + } + } + public static void CalcCustomRectUV(this ref ImFontAtlas self, ImFontAtlasCustomRectPtr rect, ref Vector2 outUvMin, ref Vector2 outUvMax) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutUvMin = &outUvMin) + { + fixed (Vector2* poutUvMax = &outUvMax) + { + ImGuiNative.CalcCustomRectUV((ImFontAtlas*)pself, rect, (Vector2*)poutUvMin, (Vector2*)poutUvMax); + } + } + } + } + public static void CalcCustomRectUV(this ImFontAtlasPtr self, ref ImFontAtlasCustomRect rect, ref Vector2 outUvMin, ref Vector2 outUvMax) + { + fixed (ImFontAtlasCustomRect* prect = &rect) + { + fixed (Vector2* poutUvMin = &outUvMin) + { + fixed (Vector2* poutUvMax = &outUvMax) + { + ImGuiNative.CalcCustomRectUV(self, (ImFontAtlasCustomRect*)prect, (Vector2*)poutUvMin, (Vector2*)poutUvMax); + } + } + } + } + public static void CalcCustomRectUV(this ref ImFontAtlas self, ref ImFontAtlasCustomRect rect, ref Vector2 outUvMin, ref Vector2 outUvMax) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (ImFontAtlasCustomRect* prect = &rect) + { + fixed (Vector2* poutUvMin = &outUvMin) + { + fixed (Vector2* poutUvMax = &outUvMax) + { + ImGuiNative.CalcCustomRectUV((ImFontAtlas*)pself, (ImFontAtlasCustomRect*)prect, (Vector2*)poutUvMin, (Vector2*)poutUvMax); + } + } + } + } + } + public static bool GetMouseCursorTexData(this ImFontAtlasPtr self, ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, Vector2* outUvBorder, Vector2* outUvFill, int* textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(self, cursor, outOffset, outSize, outUvBorder, outUvFill, textureIndex); + return ret != 0; + } + public static bool GetMouseCursorTexData(this scoped in ImFontAtlas self, ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, Vector2* outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + byte ret = ImGuiNative.GetMouseCursorTexData((ImFontAtlas*)pself, cursor, outOffset, outSize, outUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + public static bool GetMouseCursorTexData(this ImFontAtlasPtr self, ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, Vector2* outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + byte ret = ImGuiNative.GetMouseCursorTexData(self, cursor, (Vector2*)poutOffset, outSize, outUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + public static bool GetMouseCursorTexData(this scoped in ImFontAtlas self, ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, Vector2* outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutOffset = &outOffset) + { + byte ret = ImGuiNative.GetMouseCursorTexData((ImFontAtlas*)pself, cursor, (Vector2*)poutOffset, outSize, outUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + } + public static bool GetMouseCursorTexData(this ImFontAtlasPtr self, ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, Vector2* outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (Vector2* poutSize = &outSize) + { + byte ret = ImGuiNative.GetMouseCursorTexData(self, cursor, outOffset, (Vector2*)poutSize, outUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + public static bool GetMouseCursorTexData(this scoped in ImFontAtlas self, ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, Vector2* outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutSize = &outSize) + { + byte ret = ImGuiNative.GetMouseCursorTexData((ImFontAtlas*)pself, cursor, outOffset, (Vector2*)poutSize, outUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + } + public static bool GetMouseCursorTexData(this ImFontAtlasPtr self, ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, Vector2* outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + byte ret = ImGuiNative.GetMouseCursorTexData(self, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, outUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + } + public static bool GetMouseCursorTexData(this scoped in ImFontAtlas self, ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, Vector2* outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + byte ret = ImGuiNative.GetMouseCursorTexData((ImFontAtlas*)pself, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, outUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + } + } + public static bool GetMouseCursorTexData(this ImFontAtlasPtr self, ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ref Vector2 outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + byte ret = ImGuiNative.GetMouseCursorTexData(self, cursor, outOffset, outSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + public static bool GetMouseCursorTexData(this ImFontAtlasPtr self, ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + byte ret = ImGuiNative.GetMouseCursorTexData(self, cursor, outOffset, outSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + public static bool GetMouseCursorTexData(this scoped in ImFontAtlas self, ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ref Vector2 outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + byte ret = ImGuiNative.GetMouseCursorTexData((ImFontAtlas*)pself, cursor, outOffset, outSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + } + public static bool GetMouseCursorTexData(this scoped in ImFontAtlas self, ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + byte ret = ImGuiNative.GetMouseCursorTexData((ImFontAtlas*)pself, cursor, outOffset, outSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + } + public static bool GetMouseCursorTexData(this ImFontAtlasPtr self, ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ref Vector2 outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + byte ret = ImGuiNative.GetMouseCursorTexData(self, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + } + public static bool GetMouseCursorTexData(this ImFontAtlasPtr self, ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + byte ret = ImGuiNative.GetMouseCursorTexData(self, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + } + public static bool GetMouseCursorTexData(this scoped in ImFontAtlas self, ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ref Vector2 outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + byte ret = ImGuiNative.GetMouseCursorTexData((ImFontAtlas*)pself, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + } + } + public static bool GetMouseCursorTexData(this scoped in ImFontAtlas self, ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + byte ret = ImGuiNative.GetMouseCursorTexData((ImFontAtlas*)pself, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + } + } + public static bool GetMouseCursorTexData(this ImFontAtlasPtr self, ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + byte ret = ImGuiNative.GetMouseCursorTexData(self, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + } + public static bool GetMouseCursorTexData(this ImFontAtlasPtr self, ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + byte ret = ImGuiNative.GetMouseCursorTexData(self, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + } + public static bool GetMouseCursorTexData(this scoped in ImFontAtlas self, ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + byte ret = ImGuiNative.GetMouseCursorTexData((ImFontAtlas*)pself, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + } + } + public static bool GetMouseCursorTexData(this scoped in ImFontAtlas self, ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + byte ret = ImGuiNative.GetMouseCursorTexData((ImFontAtlas*)pself, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + } + } + public static bool GetMouseCursorTexData(this ImFontAtlasPtr self, ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + byte ret = ImGuiNative.GetMouseCursorTexData(self, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + } + } + public static bool GetMouseCursorTexData(this ImFontAtlasPtr self, ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + byte ret = ImGuiNative.GetMouseCursorTexData(self, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + } + } + public static bool GetMouseCursorTexData(this scoped in ImFontAtlas self, ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + byte ret = ImGuiNative.GetMouseCursorTexData((ImFontAtlas*)pself, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + } + } + } + public static bool GetMouseCursorTexData(this scoped in ImFontAtlas self, ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + byte ret = ImGuiNative.GetMouseCursorTexData((ImFontAtlas*)pself, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + } + } + } + public static bool GetMouseCursorTexData(this ImFontAtlasPtr self, ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, Vector2* outUvBorder, ref Vector2 outUvFill, int* textureIndex) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + byte ret = ImGuiNative.GetMouseCursorTexData(self, cursor, outOffset, outSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + public static bool GetMouseCursorTexData(this ImFontAtlasPtr self, ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) + { + fixed (Vector2* poutUvFill = outUvFill) + { + byte ret = ImGuiNative.GetMouseCursorTexData(self, cursor, outOffset, outSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + public static bool GetMouseCursorTexData(this scoped in ImFontAtlas self, ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, Vector2* outUvBorder, ref Vector2 outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + byte ret = ImGuiNative.GetMouseCursorTexData((ImFontAtlas*)pself, cursor, outOffset, outSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + public static bool GetMouseCursorTexData(this scoped in ImFontAtlas self, ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutUvFill = outUvFill) + { + byte ret = ImGuiNative.GetMouseCursorTexData((ImFontAtlas*)pself, cursor, outOffset, outSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + public static bool GetMouseCursorTexData(this ImFontAtlasPtr self, ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, Vector2* outUvBorder, ref Vector2 outUvFill, int* textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + byte ret = ImGuiNative.GetMouseCursorTexData(self, cursor, (Vector2*)poutOffset, outSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + public static bool GetMouseCursorTexData(this ImFontAtlasPtr self, ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvFill = outUvFill) + { + byte ret = ImGuiNative.GetMouseCursorTexData(self, cursor, (Vector2*)poutOffset, outSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + public static bool GetMouseCursorTexData(this scoped in ImFontAtlas self, ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, Vector2* outUvBorder, ref Vector2 outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + byte ret = ImGuiNative.GetMouseCursorTexData((ImFontAtlas*)pself, cursor, (Vector2*)poutOffset, outSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + public static bool GetMouseCursorTexData(this scoped in ImFontAtlas self, ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvFill = outUvFill) + { + byte ret = ImGuiNative.GetMouseCursorTexData((ImFontAtlas*)pself, cursor, (Vector2*)poutOffset, outSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + public static bool GetMouseCursorTexData(this ImFontAtlasPtr self, ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, Vector2* outUvBorder, ref Vector2 outUvFill, int* textureIndex) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + byte ret = ImGuiNative.GetMouseCursorTexData(self, cursor, outOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + public static bool GetMouseCursorTexData(this ImFontAtlasPtr self, ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvFill = outUvFill) + { + byte ret = ImGuiNative.GetMouseCursorTexData(self, cursor, outOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + public static bool GetMouseCursorTexData(this scoped in ImFontAtlas self, ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, Vector2* outUvBorder, ref Vector2 outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + byte ret = ImGuiNative.GetMouseCursorTexData((ImFontAtlas*)pself, cursor, outOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + public static bool GetMouseCursorTexData(this scoped in ImFontAtlas self, ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvFill = outUvFill) + { + byte ret = ImGuiNative.GetMouseCursorTexData((ImFontAtlas*)pself, cursor, outOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + public static bool GetMouseCursorTexData(this ImFontAtlasPtr self, ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, Vector2* outUvBorder, ref Vector2 outUvFill, int* textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + byte ret = ImGuiNative.GetMouseCursorTexData(self, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + public static bool GetMouseCursorTexData(this ImFontAtlasPtr self, ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvFill = outUvFill) + { + byte ret = ImGuiNative.GetMouseCursorTexData(self, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + public static bool GetMouseCursorTexData(this scoped in ImFontAtlas self, ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, Vector2* outUvBorder, ref Vector2 outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + byte ret = ImGuiNative.GetMouseCursorTexData((ImFontAtlas*)pself, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + } + public static bool GetMouseCursorTexData(this scoped in ImFontAtlas self, ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvFill = outUvFill) + { + byte ret = ImGuiNative.GetMouseCursorTexData((ImFontAtlas*)pself, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + } + public static bool GetMouseCursorTexData(this ImFontAtlasPtr self, ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, int* textureIndex) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + byte ret = ImGuiNative.GetMouseCursorTexData(self, cursor, outOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + public static bool GetMouseCursorTexData(this ImFontAtlasPtr self, ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (Vector2* poutUvFill = outUvFill) + { + byte ret = ImGuiNative.GetMouseCursorTexData(self, cursor, outOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + public static bool GetMouseCursorTexData(this scoped in ImFontAtlas self, ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + byte ret = ImGuiNative.GetMouseCursorTexData((ImFontAtlas*)pself, cursor, outOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + public static bool GetMouseCursorTexData(this scoped in ImFontAtlas self, ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (Vector2* poutUvFill = outUvFill) + { + byte ret = ImGuiNative.GetMouseCursorTexData((ImFontAtlas*)pself, cursor, outOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + public static bool GetMouseCursorTexData(this ImFontAtlasPtr self, ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, int* textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + byte ret = ImGuiNative.GetMouseCursorTexData(self, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + public static bool GetMouseCursorTexData(this ImFontAtlasPtr self, ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (Vector2* poutUvFill = outUvFill) + { + byte ret = ImGuiNative.GetMouseCursorTexData(self, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + public static bool GetMouseCursorTexData(this scoped in ImFontAtlas self, ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + byte ret = ImGuiNative.GetMouseCursorTexData((ImFontAtlas*)pself, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + } + public static bool GetMouseCursorTexData(this scoped in ImFontAtlas self, ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (Vector2* poutUvFill = outUvFill) + { + byte ret = ImGuiNative.GetMouseCursorTexData((ImFontAtlas*)pself, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + } + public static bool GetMouseCursorTexData(this ImFontAtlasPtr self, ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, int* textureIndex) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + byte ret = ImGuiNative.GetMouseCursorTexData(self, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + public static bool GetMouseCursorTexData(this ImFontAtlasPtr self, ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (Vector2* poutUvFill = outUvFill) + { + byte ret = ImGuiNative.GetMouseCursorTexData(self, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + public static bool GetMouseCursorTexData(this scoped in ImFontAtlas self, ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + byte ret = ImGuiNative.GetMouseCursorTexData((ImFontAtlas*)pself, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + } + public static bool GetMouseCursorTexData(this scoped in ImFontAtlas self, ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (Vector2* poutUvFill = outUvFill) + { + byte ret = ImGuiNative.GetMouseCursorTexData((ImFontAtlas*)pself, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + } + public static bool GetMouseCursorTexData(this ImFontAtlasPtr self, ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, int* textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + byte ret = ImGuiNative.GetMouseCursorTexData(self, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + } + public static bool GetMouseCursorTexData(this ImFontAtlasPtr self, ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (Vector2* poutUvFill = outUvFill) + { + byte ret = ImGuiNative.GetMouseCursorTexData(self, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + } + public static bool GetMouseCursorTexData(this scoped in ImFontAtlas self, ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + byte ret = ImGuiNative.GetMouseCursorTexData((ImFontAtlas*)pself, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + } + } + public static bool GetMouseCursorTexData(this scoped in ImFontAtlas self, ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (Vector2* poutUvFill = outUvFill) + { + byte ret = ImGuiNative.GetMouseCursorTexData((ImFontAtlas*)pself, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + } + } + public static bool GetMouseCursorTexData(this ImFontAtlasPtr self, ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, Vector2* outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(self, cursor, outOffset, outSize, outUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + public static bool GetMouseCursorTexData(this scoped in ImFontAtlas self, ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, Vector2* outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData((ImFontAtlas*)pself, cursor, outOffset, outSize, outUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + public static bool GetMouseCursorTexData(this ImFontAtlasPtr self, ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, Vector2* outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(self, cursor, (Vector2*)poutOffset, outSize, outUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + public static bool GetMouseCursorTexData(this scoped in ImFontAtlas self, ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, Vector2* outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData((ImFontAtlas*)pself, cursor, (Vector2*)poutOffset, outSize, outUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + public static bool GetMouseCursorTexData(this ImFontAtlasPtr self, ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, Vector2* outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(self, cursor, outOffset, (Vector2*)poutSize, outUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + public static bool GetMouseCursorTexData(this scoped in ImFontAtlas self, ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, Vector2* outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData((ImFontAtlas*)pself, cursor, outOffset, (Vector2*)poutSize, outUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + public static bool GetMouseCursorTexData(this ImFontAtlasPtr self, ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, Vector2* outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(self, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, outUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + public static bool GetMouseCursorTexData(this scoped in ImFontAtlas self, ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, Vector2* outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData((ImFontAtlas*)pself, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, outUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + public static bool GetMouseCursorTexData(this ImFontAtlasPtr self, ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ref Vector2 outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(self, cursor, outOffset, outSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + public static bool GetMouseCursorTexData(this ImFontAtlasPtr self, ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(self, cursor, outOffset, outSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + public static bool GetMouseCursorTexData(this scoped in ImFontAtlas self, ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ref Vector2 outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData((ImFontAtlas*)pself, cursor, outOffset, outSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + public static bool GetMouseCursorTexData(this scoped in ImFontAtlas self, ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData((ImFontAtlas*)pself, cursor, outOffset, outSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + public static bool GetMouseCursorTexData(this ImFontAtlasPtr self, ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ref Vector2 outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(self, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + public static bool GetMouseCursorTexData(this ImFontAtlasPtr self, ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(self, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + public static bool GetMouseCursorTexData(this scoped in ImFontAtlas self, ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ref Vector2 outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData((ImFontAtlas*)pself, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + public static bool GetMouseCursorTexData(this scoped in ImFontAtlas self, ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData((ImFontAtlas*)pself, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + public static bool GetMouseCursorTexData(this ImFontAtlasPtr self, ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(self, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + public static bool GetMouseCursorTexData(this ImFontAtlasPtr self, ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(self, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + public static bool GetMouseCursorTexData(this scoped in ImFontAtlas self, ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData((ImFontAtlas*)pself, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + public static bool GetMouseCursorTexData(this scoped in ImFontAtlas self, ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData((ImFontAtlas*)pself, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + public static bool GetMouseCursorTexData(this ImFontAtlasPtr self, ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(self, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + public static bool GetMouseCursorTexData(this ImFontAtlasPtr self, ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(self, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + public static bool GetMouseCursorTexData(this scoped in ImFontAtlas self, ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData((ImFontAtlas*)pself, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + } + public static bool GetMouseCursorTexData(this scoped in ImFontAtlas self, ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData((ImFontAtlas*)pself, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + } + public static bool GetMouseCursorTexData(this ImFontAtlasPtr self, ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, Vector2* outUvBorder, ref Vector2 outUvFill, ref int textureIndex) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(self, cursor, outOffset, outSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + public static bool GetMouseCursorTexData(this ImFontAtlasPtr self, ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) + { + fixed (Vector2* poutUvFill = outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(self, cursor, outOffset, outSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + public static bool GetMouseCursorTexData(this scoped in ImFontAtlas self, ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, Vector2* outUvBorder, ref Vector2 outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData((ImFontAtlas*)pself, cursor, outOffset, outSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + public static bool GetMouseCursorTexData(this scoped in ImFontAtlas self, ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutUvFill = outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData((ImFontAtlas*)pself, cursor, outOffset, outSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + public static bool GetMouseCursorTexData(this ImFontAtlasPtr self, ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, Vector2* outUvBorder, ref Vector2 outUvFill, ref int textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(self, cursor, (Vector2*)poutOffset, outSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + public static bool GetMouseCursorTexData(this ImFontAtlasPtr self, ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvFill = outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(self, cursor, (Vector2*)poutOffset, outSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + public static bool GetMouseCursorTexData(this scoped in ImFontAtlas self, ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, Vector2* outUvBorder, ref Vector2 outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData((ImFontAtlas*)pself, cursor, (Vector2*)poutOffset, outSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + public static bool GetMouseCursorTexData(this scoped in ImFontAtlas self, ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvFill = outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData((ImFontAtlas*)pself, cursor, (Vector2*)poutOffset, outSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + public static bool GetMouseCursorTexData(this ImFontAtlasPtr self, ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, Vector2* outUvBorder, ref Vector2 outUvFill, ref int textureIndex) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(self, cursor, outOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + public static bool GetMouseCursorTexData(this ImFontAtlasPtr self, ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvFill = outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(self, cursor, outOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + public static bool GetMouseCursorTexData(this scoped in ImFontAtlas self, ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, Vector2* outUvBorder, ref Vector2 outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData((ImFontAtlas*)pself, cursor, outOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + public static bool GetMouseCursorTexData(this scoped in ImFontAtlas self, ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvFill = outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData((ImFontAtlas*)pself, cursor, outOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + public static bool GetMouseCursorTexData(this ImFontAtlasPtr self, ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, Vector2* outUvBorder, ref Vector2 outUvFill, ref int textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(self, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + public static bool GetMouseCursorTexData(this ImFontAtlasPtr self, ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvFill = outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(self, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + public static bool GetMouseCursorTexData(this scoped in ImFontAtlas self, ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, Vector2* outUvBorder, ref Vector2 outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData((ImFontAtlas*)pself, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + } + public static bool GetMouseCursorTexData(this scoped in ImFontAtlas self, ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvFill = outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData((ImFontAtlas*)pself, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + } + public static bool GetMouseCursorTexData(this ImFontAtlasPtr self, ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, ref int textureIndex) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(self, cursor, outOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + public static bool GetMouseCursorTexData(this ImFontAtlasPtr self, ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (Vector2* poutUvFill = outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(self, cursor, outOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + public static bool GetMouseCursorTexData(this scoped in ImFontAtlas self, ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData((ImFontAtlas*)pself, cursor, outOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + public static bool GetMouseCursorTexData(this scoped in ImFontAtlas self, ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (Vector2* poutUvFill = outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData((ImFontAtlas*)pself, cursor, outOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + public static bool GetMouseCursorTexData(this ImFontAtlasPtr self, ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, ref int textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(self, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + public static bool GetMouseCursorTexData(this ImFontAtlasPtr self, ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (Vector2* poutUvFill = outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(self, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + public static bool GetMouseCursorTexData(this scoped in ImFontAtlas self, ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData((ImFontAtlas*)pself, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + } + public static bool GetMouseCursorTexData(this scoped in ImFontAtlas self, ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (Vector2* poutUvFill = outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData((ImFontAtlas*)pself, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + } + public static bool GetMouseCursorTexData(this ImFontAtlasPtr self, ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, ref int textureIndex) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(self, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + public static bool GetMouseCursorTexData(this ImFontAtlasPtr self, ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (Vector2* poutUvFill = outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(self, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + public static bool GetMouseCursorTexData(this scoped in ImFontAtlas self, ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData((ImFontAtlas*)pself, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + } + public static bool GetMouseCursorTexData(this scoped in ImFontAtlas self, ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (Vector2* poutUvFill = outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData((ImFontAtlas*)pself, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + } + public static bool GetMouseCursorTexData(this ImFontAtlasPtr self, ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, ref int textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(self, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + } + public static bool GetMouseCursorTexData(this ImFontAtlasPtr self, ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (Vector2* poutUvFill = outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(self, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + } + public static bool GetMouseCursorTexData(this scoped in ImFontAtlas self, ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData((ImFontAtlas*)pself, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + } + } + public static bool GetMouseCursorTexData(this scoped in ImFontAtlas self, ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* pself = &self) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (Vector2* poutUvFill = outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData((ImFontAtlas*)pself, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + } + } + public static ImFontPtr ImFont() + { + ImFontPtr ret = ImGuiNative.ImFont(); + return ret; + } + public static ImFontGlyphPtr FindGlyph(this ImFontPtr self, ushort c) + { + ImFontGlyphPtr ret = ImGuiNative.FindGlyph(self, c); + return ret; + } + public static ImFontGlyphPtr FindGlyph(this ref ImFont self, ushort c) + { + fixed (ImFont* pself = &self) + { + ImFontGlyphPtr ret = ImGuiNative.FindGlyph((ImFont*)pself, c); + return ret; + } + } + public static ImFontGlyphPtr FindGlyphNoFallback(this ImFontPtr self, ushort c) + { + ImFontGlyphPtr ret = ImGuiNative.FindGlyphNoFallback(self, c); + return ret; + } + public static ImFontGlyphPtr FindGlyphNoFallback(this ref ImFont self, ushort c) + { + fixed (ImFont* pself = &self) + { + ImFontGlyphPtr ret = ImGuiNative.FindGlyphNoFallback((ImFont*)pself, c); + return ret; + } + } + public static float GetDistanceAdjustmentForPair(this ImFontPtr self, ushort leftC, ushort rightC) + { + float ret = ImGuiNative.GetDistanceAdjustmentForPair(self, leftC, rightC); + return ret; + } + public static float GetDistanceAdjustmentForPair(this scoped in ImFont self, ushort leftC, ushort rightC) + { + fixed (ImFont* pself = &self) + { + float ret = ImGuiNative.GetDistanceAdjustmentForPair((ImFont*)pself, leftC, rightC); + return ret; + } + } + public static float GetCharAdvance(this ImFontPtr self, ushort c) + { + float ret = ImGuiNative.GetCharAdvance(self, c); + return ret; + } + public static float GetCharAdvance(this scoped in ImFont self, ushort c) + { + fixed (ImFont* pself = &self) + { + float ret = ImGuiNative.GetCharAdvance((ImFont*)pself, c); + return ret; + } + } + public static bool IsLoaded(this ImFontPtr self) + { + byte ret = ImGuiNative.IsLoaded(self); + return ret != 0; + } + public static bool IsLoaded(this ref ImFont self) + { + fixed (ImFont* pself = &self) + { + byte ret = ImGuiNative.IsLoaded((ImFont*)pself); + return ret != 0; + } + } + public static void RenderChar(this ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, ushort c) + { + ImGuiNative.RenderChar(self, drawList, size, pos, col, c); + } + public static void RenderChar(this ref ImFont self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, ushort c) + { + fixed (ImFont* pself = &self) + { + ImGuiNative.RenderChar((ImFont*)pself, drawList, size, pos, col, c); + } + } + public static void RenderChar(this ImFontPtr self, ref ImDrawList drawList, float size, Vector2 pos, uint col, ushort c) + { + fixed (ImDrawList* pdrawList = &drawList) + { + ImGuiNative.RenderChar(self, (ImDrawList*)pdrawList, size, pos, col, c); + } + } + public static void RenderChar(this ref ImFont self, ref ImDrawList drawList, float size, Vector2 pos, uint col, ushort c) + { + fixed (ImFont* pself = &self) + { + fixed (ImDrawList* pdrawList = &drawList) + { + ImGuiNative.RenderChar((ImFont*)pself, (ImDrawList*)pdrawList, size, pos, col, c); + } + } + } + public static void BuildLookupTable(this ImFontPtr self) + { + ImGuiNative.BuildLookupTable(self); + } + public static void BuildLookupTable(this ref ImFont self) + { + fixed (ImFont* pself = &self) + { + ImGuiNative.BuildLookupTable((ImFont*)pself); + } + } + public static void ClearOutputData(this ImFontPtr self) + { + ImGuiNative.ClearOutputData(self); + } + public static void ClearOutputData(this ref ImFont self) + { + fixed (ImFont* pself = &self) + { + ImGuiNative.ClearOutputData((ImFont*)pself); + } + } + public static void GrowIndex(this ImFontPtr self, int newSize) + { + ImGuiNative.GrowIndex(self, newSize); + } + public static void GrowIndex(this ref ImFont self, int newSize) + { + fixed (ImFont* pself = &self) + { + ImGuiNative.GrowIndex((ImFont*)pself, newSize); + } + } + public static void AddGlyph(this ImFontPtr self, ImFontConfigPtr srcCfg, ushort c, int textureIndex, float x0, float y0, float x1, float y1, float u0, float v0, float u1, float v1, float advanceX) + { + ImGuiNative.AddGlyph(self, srcCfg, c, textureIndex, x0, y0, x1, y1, u0, v0, u1, v1, advanceX); + } + public static void AddGlyph(this ref ImFont self, ImFontConfigPtr srcCfg, ushort c, int textureIndex, float x0, float y0, float x1, float y1, float u0, float v0, float u1, float v1, float advanceX) + { + fixed (ImFont* pself = &self) + { + ImGuiNative.AddGlyph((ImFont*)pself, srcCfg, c, textureIndex, x0, y0, x1, y1, u0, v0, u1, v1, advanceX); + } + } + public static void AddGlyph(this ImFontPtr self, ref ImFontConfig srcCfg, ushort c, int textureIndex, float x0, float y0, float x1, float y1, float u0, float v0, float u1, float v1, float advanceX) + { + fixed (ImFontConfig* psrcCfg = &srcCfg) + { + ImGuiNative.AddGlyph(self, (ImFontConfig*)psrcCfg, c, textureIndex, x0, y0, x1, y1, u0, v0, u1, v1, advanceX); + } + } + public static void AddGlyph(this ref ImFont self, ref ImFontConfig srcCfg, ushort c, int textureIndex, float x0, float y0, float x1, float y1, float u0, float v0, float u1, float v1, float advanceX) + { + fixed (ImFont* pself = &self) + { + fixed (ImFontConfig* psrcCfg = &srcCfg) + { + ImGuiNative.AddGlyph((ImFont*)pself, (ImFontConfig*)psrcCfg, c, textureIndex, x0, y0, x1, y1, u0, v0, u1, v1, advanceX); + } + } + } + public static void AddRemapChar(this ImFontPtr self, ushort dst, ushort src, bool overwriteDst) + { + ImGuiNative.AddRemapChar(self, dst, src, overwriteDst ? (byte)1 : (byte)0); + } + public static void AddRemapChar(this ImFontPtr self, ushort dst, ushort src) + { + ImGuiNative.AddRemapChar(self, dst, src, (byte)(1)); + } + public static void AddRemapChar(this ref ImFont self, ushort dst, ushort src, bool overwriteDst) + { + fixed (ImFont* pself = &self) + { + ImGuiNative.AddRemapChar((ImFont*)pself, dst, src, overwriteDst ? (byte)1 : (byte)0); + } + } + public static void AddRemapChar(this ref ImFont self, ushort dst, ushort src) + { + fixed (ImFont* pself = &self) + { + ImGuiNative.AddRemapChar((ImFont*)pself, dst, src, (byte)(1)); + } + } + public static void SetGlyphVisible(this ImFontPtr self, ushort c, bool visible) + { + ImGuiNative.SetGlyphVisible(self, c, visible ? (byte)1 : (byte)0); + } + public static void SetGlyphVisible(this ref ImFont self, ushort c, bool visible) + { + fixed (ImFont* pself = &self) + { + ImGuiNative.SetGlyphVisible((ImFont*)pself, c, visible ? (byte)1 : (byte)0); + } + } + public static bool IsGlyphRangeUnused(this ImFontPtr self, uint cBegin, uint cLast) + { + byte ret = ImGuiNative.IsGlyphRangeUnused(self, cBegin, cLast); + return ret != 0; + } + public static bool IsGlyphRangeUnused(this ref ImFont self, uint cBegin, uint cLast) + { + fixed (ImFont* pself = &self) + { + byte ret = ImGuiNative.IsGlyphRangeUnused((ImFont*)pself, cBegin, cLast); + return ret != 0; + } + } + public static void AddKerningPair(this ImFontPtr self, ushort leftC, ushort rightC, float distanceAdjustment) + { + ImGuiNative.AddKerningPair(self, leftC, rightC, distanceAdjustment); + } + public static void AddKerningPair(this ref ImFont self, ushort leftC, ushort rightC, float distanceAdjustment) + { + fixed (ImFont* pself = &self) + { + ImGuiNative.AddKerningPair((ImFont*)pself, leftC, rightC, distanceAdjustment); + } + } + public static float GetDistanceAdjustmentForPairFromHotData(this ImFontPtr self, ushort leftC, ImFontGlyphHotDataPtr rightCInfo) + { + float ret = ImGuiNative.GetDistanceAdjustmentForPairFromHotData(self, leftC, rightCInfo); + return ret; + } + public static float GetDistanceAdjustmentForPairFromHotData(this scoped in ImFont self, ushort leftC, ImFontGlyphHotDataPtr rightCInfo) + { + fixed (ImFont* pself = &self) + { + float ret = ImGuiNative.GetDistanceAdjustmentForPairFromHotData((ImFont*)pself, leftC, rightCInfo); + return ret; + } + } + public static float GetDistanceAdjustmentForPairFromHotData(this ImFontPtr self, ushort leftC, ref ImFontGlyphHotData rightCInfo) + { + fixed (ImFontGlyphHotData* prightCInfo = &rightCInfo) + { + float ret = ImGuiNative.GetDistanceAdjustmentForPairFromHotData(self, leftC, (ImFontGlyphHotData*)prightCInfo); + return ret; + } + } + public static float GetDistanceAdjustmentForPairFromHotData(this scoped in ImFont self, ushort leftC, ref ImFontGlyphHotData rightCInfo) + { + fixed (ImFont* pself = &self) + { + fixed (ImFontGlyphHotData* prightCInfo = &rightCInfo) + { + float ret = ImGuiNative.GetDistanceAdjustmentForPairFromHotData((ImFont*)pself, leftC, (ImFontGlyphHotData*)prightCInfo); + return ret; + } + } + } + public static ImGuiViewportPtr ImGuiViewport() + { + ImGuiViewportPtr ret = ImGuiNative.ImGuiViewport(); + return ret; + } + public static Vector2 GetCenter(this ImGuiViewportPtr self) + { + Vector2 ret; + ImGuiNative.GetCenter(&ret, self); + return ret; + } + public static void GetCenter(Vector2* pOut, ImGuiViewportPtr self) + { + ImGuiNative.GetCenter(pOut, self); + } + public static void GetCenter(ref Vector2 pOut, ImGuiViewportPtr self) + { + fixed (Vector2* ppOut = &pOut) + { + ImGuiNative.GetCenter((Vector2*)ppOut, self); + } + } + public static Vector2 GetCenter(this scoped in ImGuiViewport self) + { + fixed (ImGuiViewport* pself = &self) + { + Vector2 ret; + ImGuiNative.GetCenter(&ret, (ImGuiViewport*)pself); + return ret; + } + } + public static void GetCenter(Vector2* pOut, ref ImGuiViewport self) + { + fixed (ImGuiViewport* pself = &self) + { + ImGuiNative.GetCenter(pOut, (ImGuiViewport*)pself); + } + } + public static void GetCenter(ref Vector2 pOut, ref ImGuiViewport self) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImGuiViewport* pself = &self) + { + ImGuiNative.GetCenter((Vector2*)ppOut, (ImGuiViewport*)pself); + } + } + } + public static Vector2 GetWorkCenter(this ImGuiViewportPtr self) + { + Vector2 ret; + ImGuiNative.GetWorkCenter(&ret, self); + return ret; + } + public static void GetWorkCenter(Vector2* pOut, ImGuiViewportPtr self) + { + ImGuiNative.GetWorkCenter(pOut, self); + } + public static void GetWorkCenter(ref Vector2 pOut, ImGuiViewportPtr self) + { + fixed (Vector2* ppOut = &pOut) + { + ImGuiNative.GetWorkCenter((Vector2*)ppOut, self); + } + } + public static Vector2 GetWorkCenter(this scoped in ImGuiViewport self) + { + fixed (ImGuiViewport* pself = &self) + { + Vector2 ret; + ImGuiNative.GetWorkCenter(&ret, (ImGuiViewport*)pself); + return ret; + } + } + public static void GetWorkCenter(Vector2* pOut, ref ImGuiViewport self) + { + fixed (ImGuiViewport* pself = &self) + { + ImGuiNative.GetWorkCenter(pOut, (ImGuiViewport*)pself); + } + } + public static void GetWorkCenter(ref Vector2 pOut, ref ImGuiViewport self) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImGuiViewport* pself = &self) + { + ImGuiNative.GetWorkCenter((Vector2*)ppOut, (ImGuiViewport*)pself); + } + } + } + public static ImGuiPlatformIOPtr ImGuiPlatformIO() + { + ImGuiPlatformIOPtr ret = ImGuiNative.ImGuiPlatformIO(); + return ret; + } + public static ImGuiPlatformMonitorPtr ImGuiPlatformMonitor() + { + ImGuiPlatformMonitorPtr ret = ImGuiNative.ImGuiPlatformMonitor(); + return ret; + } + public static ImGuiPlatformImeDataPtr ImGuiPlatformImeData() + { + ImGuiPlatformImeDataPtr ret = ImGuiNative.ImGuiPlatformImeData(); + return ret; + } + public static int GetKeyIndex(ImGuiKey key) + { + int ret = ImGuiNative.GetKeyIndex(key); + return ret; + } + public static float GETFLTMAX() + { + float ret = ImGuiNative.GETFLTMAX(); + return ret; + } + public static float GETFLTMIN() + { + float ret = ImGuiNative.GETFLTMIN(); + return ret; + } + public static ImVector* ImVectorImWcharCreate() + { + ImVector* ret = ImGuiNative.ImVectorImWcharCreate(); + return ret; + } + public static void ImVectorImWcharDestroy(ImVector* self) + { + ImGuiNative.ImVectorImWcharDestroy(self); + } + public static void ImVectorImWcharDestroy(ref ImVector self) + { + fixed (ImVector* pself = &self) + { + ImGuiNative.ImVectorImWcharDestroy((ImVector*)pself); + } + } + public static void ImVectorImWcharInit(ImVector* p) + { + ImGuiNative.ImVectorImWcharInit(p); + } + public static void ImVectorImWcharInit(ref ImVector p) + { + fixed (ImVector* pp = &p) + { + ImGuiNative.ImVectorImWcharInit((ImVector*)pp); + } + } + public static void ImVectorImWcharUnInit(ImVector* p) + { + ImGuiNative.ImVectorImWcharUnInit(p); + } + public static void ImVectorImWcharUnInit(ref ImVector p) + { + fixed (ImVector* pp = &p) + { + ImGuiNative.ImVectorImWcharUnInit((ImVector*)pp); + } + } +} +// DISCARDED: internal static ImGuiPayload* AcceptDragDropPayloadNative(byte* type, ImGuiDragDropFlags flags) +// DISCARDED: internal static ImFont* AddFontFromFileTTFNative(ImFontAtlas* self, byte* filename, float sizePixels, ImFontConfig* fontCfg, ushort* glyphRanges) +// DISCARDED: internal static ImFont* AddFontFromMemoryCompressedBase85TTFNative(ImFontAtlas* self, byte* compressedFontDatabase85, float sizePixels, ImFontConfig* fontCfg, ushort* glyphRanges) +// DISCARDED: internal static ImFont* AddFontFromMemoryCompressedTTFNative(ImFontAtlas* self, void* compressedFontData, int compressedFontSize, float sizePixels, ImFontConfig* fontCfg, ushort* glyphRanges) +// DISCARDED: internal static ImFont* AddFontFromMemoryTTFNative(ImFontAtlas* self, void* fontData, int fontSize, float sizePixels, ImFontConfig* fontCfg, ushort* glyphRanges) +// DISCARDED: internal static void AddInputCharacterNative(ImGuiIO* self, uint c) +// DISCARDED: internal static void AddInputCharactersUTF8Native(ImGuiIO* self, byte* str) +// DISCARDED: internal static void AddInputCharacterUTF16Native(ImGuiIO* self, ushort c) +// DISCARDED: internal static void AddTextNative(ImDrawList* self, Vector2 pos, uint col, byte* textBegin, byte* textEnd) +// DISCARDED: internal static void AddTextNative(ImDrawList* self, ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, float wrapWidth, Vector4* cpuFineClipRect) +// DISCARDED: internal static void AddTextNative(ImFontGlyphRangesBuilder* self, byte* text, byte* textEnd) +// DISCARDED: internal static void appendNative(ImGuiTextBuffer* self, byte* str, byte* strEnd) +// DISCARDED: internal static void appendfNative(ImGuiTextBuffer* buffer, byte* fmt) +// DISCARDED: internal static void appendfvNative(ImGuiTextBuffer* self, byte* fmt, nuint args) +// DISCARDED: internal static byte ArrowButtonNative(byte* strId, ImGuiDir dir) +// DISCARDED: internal static byte* beginNative(ImGuiTextBuffer* self) +// DISCARDED: internal static byte BeginNative(byte* name, bool* pOpen, ImGuiWindowFlags flags) +// DISCARDED: internal static void BeginNative(ImGuiListClipper* self, int itemsCount, float itemsHeight) +// DISCARDED: internal static byte BeginChildNative(byte* strId, Vector2 size, byte border, ImGuiWindowFlags flags) +// DISCARDED: internal static byte BeginChildNative(uint id, Vector2 size, byte border, ImGuiWindowFlags flags) +// DISCARDED: internal static byte BeginComboNative(byte* label, byte* previewValue, ImGuiComboFlags flags) +// DISCARDED: internal static byte BeginListBoxNative(byte* label, Vector2 size) +// DISCARDED: internal static byte BeginMenuNative(byte* label, byte enabled) +// DISCARDED: internal static byte BeginPopupNative(byte* strId, ImGuiWindowFlags flags) +// DISCARDED: internal static byte BeginPopupContextItemNative(byte* strId, ImGuiPopupFlags popupFlags) +// DISCARDED: internal static byte BeginPopupContextVoidNative(byte* strId, ImGuiPopupFlags popupFlags) +// DISCARDED: internal static byte BeginPopupContextWindowNative(byte* strId, ImGuiPopupFlags popupFlags) +// DISCARDED: internal static byte BeginPopupModalNative(byte* name, bool* pOpen, ImGuiWindowFlags flags) +// DISCARDED: beginS +// DISCARDED: internal static byte BeginTabBarNative(byte* strId, ImGuiTabBarFlags flags) +// DISCARDED: internal static byte BeginTabItemNative(byte* label, bool* pOpen, ImGuiTabItemFlags flags) +// DISCARDED: internal static byte BeginTableNative(byte* strId, int column, ImGuiTableFlags flags, Vector2 outerSize, float innerWidth) +// DISCARDED: internal static void BulletTextNative(byte* fmt) +// DISCARDED: internal static void BulletTextVNative(byte* fmt, nuint args) +// DISCARDED: internal static byte ButtonNative(byte* label, Vector2 size) +// DISCARDED: internal static byte* c_strNative(ImGuiTextBuffer* self) +// DISCARDED: c_strS +// DISCARDED: internal static void CalcTextSizeNative(Vector2* pOut, byte* text, byte* textEnd, byte hideTextAfterDoubleHash, float wrapWidth) +// DISCARDED: internal static void CalcTextSizeANative(Vector2* pOut, ImFont* self, float size, float maxWidth, float wrapWidth, byte* textBegin, byte* textEnd, byte** remaining) +// DISCARDED: internal static byte* CalcWordWrapPositionANative(ImFont* self, float scale, byte* text, byte* textEnd, float wrapWidth) +// DISCARDED: CalcWordWrapPositionAS +// DISCARDED: internal static byte CheckboxNative(byte* label, bool* v) +// DISCARDED: internal static byte CheckboxFlagsNative(byte* label, int* flags, int flagsValue) +// DISCARDED: internal static byte CheckboxFlagsNative(byte* label, uint* flags, uint flagsValue) +// DISCARDED: internal static byte CollapsingHeaderNative(byte* label, ImGuiTreeNodeFlags flags) +// DISCARDED: internal static byte CollapsingHeaderNative(byte* label, bool* pVisible, ImGuiTreeNodeFlags flags) +// DISCARDED: internal static byte ColorButtonNative(byte* descId, Vector4 col, ImGuiColorEditFlags flags, Vector2 size) +// DISCARDED: internal static byte ColorEdit3Native(byte* label, float* col, ImGuiColorEditFlags flags) +// DISCARDED: internal static byte ColorEdit4Native(byte* label, float* col, ImGuiColorEditFlags flags) +// DISCARDED: internal static byte ColorPicker3Native(byte* label, float* col, ImGuiColorEditFlags flags) +// DISCARDED: internal static byte ColorPicker4Native(byte* label, float* col, ImGuiColorEditFlags flags, float* refCol) +// DISCARDED: internal static void ColumnsNative(int count, byte* id, byte border) +// DISCARDED: internal static byte ComboNative(byte* label, int* currentItem, byte** items, int itemsCount, int popupMaxHeightInItems) +// DISCARDED: internal static byte ComboNative(byte* label, int* currentItem, byte* itemsSeparatedByZeros, int popupMaxHeightInItems) +// DISCARDED: internal static byte ComboNative(byte* label, int* currentItem, delegate*, void*, int, int, bool> itemsGetter, void* data, int itemsCount, int popupMaxHeightInItems) +// DISCARDED: internal static byte DebugCheckVersionAndDataLayoutNative(byte* versionStr, nuint szIo, nuint szStyle, nuint szvec2, nuint szvec4, nuint szDrawvert, nuint szDrawidx) +// DISCARDED: internal static void DebugTextEncodingNative(byte* text) +// DISCARDED: internal static byte DragFloatNative(byte* label, float* v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) +// DISCARDED: internal static byte DragFloat2Native(byte* label, float* v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) +// DISCARDED: internal static byte DragFloat3Native(byte* label, float* v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) +// DISCARDED: internal static byte DragFloat4Native(byte* label, float* v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) +// DISCARDED: internal static byte DragFloatRange2Native(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) +// DISCARDED: internal static byte DragIntNative(byte* label, int* v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) +// DISCARDED: internal static byte DragInt2Native(byte* label, int* v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) +// DISCARDED: internal static byte DragInt3Native(byte* label, int* v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) +// DISCARDED: internal static byte DragInt4Native(byte* label, int* v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) +// DISCARDED: internal static byte DragIntRange2Native(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) +// DISCARDED: internal static byte DragScalarNative(byte* label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) +// DISCARDED: internal static byte DragScalarNNative(byte* label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) +// DISCARDED: internal static byte DrawNative(ImGuiTextFilter* self, byte* label, float width) +// DISCARDED: internal static byte* endNative(ImGuiTextBuffer* self) +// DISCARDED: endS +// DISCARDED: internal static bool* GetBoolRefNative(ImGuiStorage* self, uint key, byte defaultVal) +// DISCARDED: internal static byte* GetClipboardTextNative() +// DISCARDED: GetClipboardTextS +// DISCARDED: internal static byte* GetDebugNameNative(ImFont* self) +// DISCARDED: GetDebugNameS +// DISCARDED: internal static float* GetFloatRefNative(ImGuiStorage* self, uint key, float defaultVal) +// DISCARDED: internal static uint GetIDNative(byte* strId) +// DISCARDED: internal static uint GetIDNative(byte* strIdBegin, byte* strIdEnd) +// DISCARDED: internal static uint GetIDNative(void* ptrId) +// DISCARDED: internal static int* GetIntRefNative(ImGuiStorage* self, uint key, int defaultVal) +// DISCARDED: internal static byte* GetKeyNameNative(ImGuiKey key) +// DISCARDED: GetKeyNameS +// DISCARDED: internal static byte* GetStyleColorNameNative(ImGuiCol idx) +// DISCARDED: GetStyleColorNameS +// DISCARDED: internal static byte* GetVersionNative() +// DISCARDED: GetVersionS +// DISCARDED: internal static void** GetVoidPtrRefNative(ImGuiStorage* self, uint key, void* defaultVal) +// DISCARDED: internal static ImGuiTextFilter* ImGuiTextFilterNative(byte* defaultFilter) +// DISCARDED: internal static ImGuiTextRange* ImGuiTextRangeNative() +// DISCARDED: internal static ImGuiTextRange* ImGuiTextRangeNative(byte* b, byte* e) +// DISCARDED: internal static byte InputDoubleNative(byte* label, double* v, double step, double stepFast, byte* format, ImGuiInputTextFlags flags) +// DISCARDED: internal static byte InputFloatNative(byte* label, float* v, float step, float stepFast, byte* format, ImGuiInputTextFlags flags) +// DISCARDED: internal static byte InputFloat2Native(byte* label, float* v, byte* format, ImGuiInputTextFlags flags) +// DISCARDED: internal static byte InputFloat3Native(byte* label, float* v, byte* format, ImGuiInputTextFlags flags) +// DISCARDED: internal static byte InputFloat4Native(byte* label, float* v, byte* format, ImGuiInputTextFlags flags) +// DISCARDED: internal static byte InputIntNative(byte* label, int* v, int step, int stepFast, ImGuiInputTextFlags flags) +// DISCARDED: internal static byte InputInt2Native(byte* label, int* v, ImGuiInputTextFlags flags) +// DISCARDED: internal static byte InputInt3Native(byte* label, int* v, ImGuiInputTextFlags flags) +// DISCARDED: internal static byte InputInt4Native(byte* label, int* v, ImGuiInputTextFlags flags) +// DISCARDED: internal static byte InputScalarNative(byte* label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast, byte* format, ImGuiInputTextFlags flags) +// DISCARDED: internal static byte InputScalarNNative(byte* label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast, byte* format, ImGuiInputTextFlags flags) +// DISCARDED: internal static void InsertCharsNative(ImGuiInputTextCallbackData* self, int pos, byte* text, byte* textEnd) +// DISCARDED: internal static byte InvisibleButtonNative(byte* strId, Vector2 size, ImGuiButtonFlags flags) +// DISCARDED: internal static byte IsDataTypeNative(ImGuiPayload* self, byte* type) +// DISCARDED: internal static byte IsPopupOpenNative(byte* strId, ImGuiPopupFlags flags) +// DISCARDED: internal static void LabelTextNative(byte* label, byte* fmt) +// DISCARDED: internal static void LabelTextVNative(byte* label, byte* fmt, nuint args) +// DISCARDED: internal static byte ListBoxNative(byte* label, int* currentItem, byte** items, int itemsCount, int heightInItems) +// DISCARDED: internal static byte ListBoxNative(byte* label, int* currentItem, delegate*, void*, int, int, bool> itemsGetter, void* data, int itemsCount, int heightInItems) +// DISCARDED: internal static void LoadIniSettingsFromDiskNative(byte* iniFilename) +// DISCARDED: internal static void LoadIniSettingsFromMemoryNative(byte* iniData, nuint iniSize) +// DISCARDED: internal static void LogTextNative(byte* fmt) +// DISCARDED: internal static void LogTextVNative(byte* fmt, nuint args) +// DISCARDED: internal static void LogToFileNative(int autoOpenDepth, byte* filename) +// DISCARDED: internal static byte MenuItemNative(byte* label, byte* shortcut, byte selected, byte enabled) +// DISCARDED: internal static byte MenuItemNative(byte* label, byte* shortcut, bool* pSelected, byte enabled) +// DISCARDED: internal static void OpenPopupNative(byte* strId, ImGuiPopupFlags popupFlags) +// DISCARDED: internal static void OpenPopupNative(uint id, ImGuiPopupFlags popupFlags) +// DISCARDED: internal static void OpenPopupOnItemClickNative(byte* strId, ImGuiPopupFlags popupFlags) +// DISCARDED: internal static byte PassFilterNative(ImGuiTextFilter* self, byte* text, byte* textEnd) +// DISCARDED: internal static void PlotHistogramNative(byte* label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) +// DISCARDED: internal static void PlotHistogramNative(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) +// DISCARDED: internal static void PlotLinesNative(byte* label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) +// DISCARDED: internal static void PlotLinesNative(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) +// DISCARDED: internal static void ProgressBarNative(float fraction, Vector2 sizeArg, byte* overlay) +// DISCARDED: internal static void PushIDNative(byte* strId) +// DISCARDED: internal static void PushIDNative(byte* strIdBegin, byte* strIdEnd) +// DISCARDED: internal static void PushIDNative(void* ptrId) +// DISCARDED: internal static void PushIDNative(int intId) +// DISCARDED: internal static byte RadioButtonNative(byte* label, byte active) +// DISCARDED: internal static byte RadioButtonNative(byte* label, int* v, int vButton) +// DISCARDED: internal static void RenderTextNative(ImFont* self, ImDrawList* drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, byte* textEnd, float wrapWidth, byte cpuFineClip) +// DISCARDED: internal static void SaveIniSettingsToDiskNative(byte* iniFilename) +// DISCARDED: internal static byte* SaveIniSettingsToMemoryNative(nuint* outIniSize) +// DISCARDED: SaveIniSettingsToMemoryS +// DISCARDED: internal static byte SelectableNative(byte* label, byte selected, ImGuiSelectableFlags flags, Vector2 size) +// DISCARDED: internal static byte SelectableNative(byte* label, bool* pSelected, ImGuiSelectableFlags flags, Vector2 size) +// DISCARDED: internal static void SetClipboardTextNative(byte* text) +// DISCARDED: internal static byte SetDragDropPayloadNative(byte* type, void* data, nuint sz, ImGuiCond cond) +// DISCARDED: internal static void SetTabItemClosedNative(byte* tabOrDockedWindowLabel) +// DISCARDED: internal static void SetTooltipNative(byte* fmt) +// DISCARDED: internal static void SetTooltipVNative(byte* fmt, nuint args) +// DISCARDED: internal static void SetWindowCollapsedNative(byte collapsed, ImGuiCond cond) +// DISCARDED: internal static void SetWindowCollapsedNative(byte* name, byte collapsed, ImGuiCond cond) +// DISCARDED: internal static void SetWindowFocusNative() +// DISCARDED: internal static void SetWindowFocusNative(byte* name) +// DISCARDED: internal static void SetWindowPosNative(Vector2 pos, ImGuiCond cond) +// DISCARDED: internal static void SetWindowPosNative(byte* name, Vector2 pos, ImGuiCond cond) +// DISCARDED: internal static void SetWindowSizeNative(Vector2 size, ImGuiCond cond) +// DISCARDED: internal static void SetWindowSizeNative(byte* name, Vector2 size, ImGuiCond cond) +// DISCARDED: internal static void ShowFontSelectorNative(byte* label) +// DISCARDED: internal static byte ShowStyleSelectorNative(byte* label) +// DISCARDED: internal static byte SliderAngleNative(byte* label, float* vRad, float vDegreesMin, float vDegreesMax, byte* format, ImGuiSliderFlags flags) +// DISCARDED: internal static byte SliderFloatNative(byte* label, float* v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) +// DISCARDED: internal static byte SliderFloat2Native(byte* label, float* v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) +// DISCARDED: internal static byte SliderFloat3Native(byte* label, float* v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) +// DISCARDED: internal static byte SliderFloat4Native(byte* label, float* v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) +// DISCARDED: internal static byte SliderIntNative(byte* label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) +// DISCARDED: internal static byte SliderInt2Native(byte* label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) +// DISCARDED: internal static byte SliderInt3Native(byte* label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) +// DISCARDED: internal static byte SliderInt4Native(byte* label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) +// DISCARDED: internal static byte SliderScalarNative(byte* label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) +// DISCARDED: internal static byte SliderScalarNNative(byte* label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) +// DISCARDED: internal static byte SmallButtonNative(byte* label) +// DISCARDED: internal static byte TabItemButtonNative(byte* label, ImGuiTabItemFlags flags) +// DISCARDED: internal static byte* TableGetColumnNameNative(int columnN) +// DISCARDED: TableGetColumnNameS +// DISCARDED: internal static void TableHeaderNative(byte* label) +// DISCARDED: internal static void TableSetupColumnNative(byte* label, ImGuiTableColumnFlags flags, float initWidthOrWeight, uint userId) +// DISCARDED: internal static void TextNative(byte* fmt) +// DISCARDED: internal static void TextColoredNative(Vector4 col, byte* fmt) +// DISCARDED: internal static void TextColoredVNative(Vector4 col, byte* fmt, nuint args) +// DISCARDED: internal static void TextDisabledNative(byte* fmt) +// DISCARDED: internal static void TextDisabledVNative(byte* fmt, nuint args) +// DISCARDED: internal static void TextUnformattedNative(byte* text, byte* textEnd) +// DISCARDED: internal static void TextVNative(byte* fmt, nuint args) +// DISCARDED: internal static void TextWrappedNative(byte* fmt) +// DISCARDED: internal static void TextWrappedVNative(byte* fmt, nuint args) +// DISCARDED: internal static byte TreeNodeNative(byte* label) +// DISCARDED: internal static byte TreeNodeNative(byte* strId, byte* fmt) +// DISCARDED: internal static byte TreeNodeNative(void* ptrId, byte* fmt) +// DISCARDED: internal static byte TreeNodeExNative(byte* label, ImGuiTreeNodeFlags flags) +// DISCARDED: internal static byte TreeNodeExNative(byte* strId, ImGuiTreeNodeFlags flags, byte* fmt) +// DISCARDED: internal static byte TreeNodeExNative(void* ptrId, ImGuiTreeNodeFlags flags, byte* fmt) +// DISCARDED: internal static byte TreeNodeExVNative(byte* strId, ImGuiTreeNodeFlags flags, byte* fmt, nuint args) +// DISCARDED: internal static byte TreeNodeExVNative(void* ptrId, ImGuiTreeNodeFlags flags, byte* fmt, nuint args) +// DISCARDED: internal static byte TreeNodeVNative(byte* strId, byte* fmt, nuint args) +// DISCARDED: internal static byte TreeNodeVNative(void* ptrId, byte* fmt, nuint args) +// DISCARDED: internal static void TreePushNative(byte* strId) +// DISCARDED: internal static void TreePushNative(void* ptrId) +// DISCARDED: internal static void ValueNative(byte* prefix, byte b) +// DISCARDED: internal static void ValueNative(byte* prefix, int v) +// DISCARDED: internal static void ValueNative(byte* prefix, uint v) +// DISCARDED: internal static void ValueNative(byte* prefix, float v, byte* floatFormat) +// DISCARDED: internal static byte VSliderFloatNative(byte* label, Vector2 size, float* v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) +// DISCARDED: internal static byte VSliderIntNative(byte* label, Vector2 size, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) +// DISCARDED: internal static byte VSliderScalarNative(byte* label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Functions/ImGuiNative.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Functions/ImGuiNative.gen.cs new file mode 100644 index 000000000..22386e992 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Functions/ImGuiNative.gen.cs @@ -0,0 +1,4831 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial class ImGuiNative +{ + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static Vector2* ImVec2() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[0])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static Vector2* ImVec2(float x, float y) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[2])(x, y); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Destroy(Vector2* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[1])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Destroy(Vector4* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[4])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Destroy(ImGuiStyle* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[395])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Destroy(ImGuiIO* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[412])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Destroy(ImGuiInputTextCallbackData* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[414])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Destroy(ImGuiWindowClass* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[421])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Destroy(ImGuiPayload* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[423])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Destroy(ImGuiTableColumnSortSpecs* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[429])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Destroy(ImGuiTableSortSpecs* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[431])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Destroy(ImGuiOnceUponAFrame* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[433])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Destroy(ImGuiTextFilter* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[435])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Destroy(ImGuiTextRange* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[442])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Destroy(ImGuiTextBuffer* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[447])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Destroy(ImGuiStoragePair* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[458])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Destroy(ImGuiListClipper* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[477])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Destroy(ImColor* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[483])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Destroy(ImDrawCmd* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[491])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Destroy(ImDrawListSplitter* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[494])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Destroy(ImDrawList* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[501])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Destroy(ImDrawData* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[565])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Destroy(ImFontConfig* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[570])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Destroy(ImFontGlyphRangesBuilder* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[572])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Destroy(ImFontAtlasCustomRect* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[581])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Destroy(ImFontAtlas* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[584])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Destroy(ImFont* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[615])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Destroy(ImGuiViewport* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[636])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Destroy(ImGuiPlatformIO* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[640])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Destroy(ImGuiPlatformMonitor* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[642])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Destroy(ImGuiPlatformImeData* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[644])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Destroy(ImVec1* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[646])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Destroy(ImVec2Ih* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[647])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Destroy(ImRect* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[648])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Destroy(ImDrawListSharedData* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[649])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Destroy(ImGuiStyleMod* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[650])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Destroy(ImGuiComboPreviewData* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[651])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Destroy(ImGuiMenuColumns* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[652])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Destroy(ImGuiInputTextState* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[653])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Destroy(ImGuiPopupData* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[654])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Destroy(ImGuiNextWindowData* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[655])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Destroy(ImGuiNextItemData* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[656])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Destroy(ImGuiLastItemData* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[657])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Destroy(ImGuiStackSizes* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[658])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Destroy(ImGuiPtrOrIndex* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[659])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Destroy(ImGuiInputEvent* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[660])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Destroy(ImGuiListClipperData* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[661])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Destroy(ImGuiNavItemData* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[662])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Destroy(ImGuiOldColumnData* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[663])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Destroy(ImGuiOldColumns* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[664])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Destroy(ImGuiDockContext* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[665])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Destroy(ImGuiWindowSettings* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[666])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Destroy(ImGuiSettingsHandler* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[667])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Destroy(ImGuiMetricsConfig* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[668])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Destroy(ImGuiStackLevelInfo* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[669])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Destroy(ImGuiStackTool* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[670])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Destroy(ImGuiContextHook* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[671])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Destroy(ImGuiContext* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[672])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Destroy(ImGuiTabItem* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[673])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Destroy(ImGuiTabBar* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[674])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Destroy(ImGuiTableColumn* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[675])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Destroy(ImGuiTableInstanceData* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[676])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Destroy(ImGuiTableTempData* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[677])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Destroy(ImGuiTableColumnSettings* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[678])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Destroy(ImGuiTableSettings* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[679])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static Vector4* ImVec4() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[3])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static Vector4* ImVec4(float x, float y, float z, float w) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[5])(x, y, z, w); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiContext* CreateContext(ImFontAtlas* sharedFontAtlas) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[6])(sharedFontAtlas); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void DestroyContext(ImGuiContext* ctx) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[7])(ctx); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiContext* GetCurrentContext() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[8])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetCurrentContext(ImGuiContext* ctx) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[9])(ctx); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiIO* GetIO() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[10])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiStyle* GetStyle() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[11])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void NewFrame() + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[12])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void EndFrame() + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[13])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Render() + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[14])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImDrawData* GetDrawData() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[15])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ShowDemoWindow(bool* pOpen) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[16])(pOpen); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ShowMetricsWindow(bool* pOpen) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[17])(pOpen); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ShowDebugLogWindow(bool* pOpen) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[18])(pOpen); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ShowStackToolWindow(bool* pOpen) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[19])(pOpen); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ShowAboutWindow(bool* pOpen) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[20])(pOpen); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ShowStyleEditor(ImGuiStyle* reference) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[21])(reference); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte ShowStyleSelector(byte* label) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[22])(label); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ShowFontSelector(byte* label) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[23])(label); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ShowUserGuide() + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[24])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte* GetVersion() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[25])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void StyleColorsDark(ImGuiStyle* dst) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[26])(dst); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void StyleColorsLight(ImGuiStyle* dst) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[27])(dst); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void StyleColorsClassic(ImGuiStyle* dst) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[28])(dst); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte Begin(byte* name, bool* pOpen, ImGuiWindowFlags flags) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[29])(name, pOpen, flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Begin(ImGuiListClipper* self, int itemsCount, float itemsHeight) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[478])(self, itemsCount, itemsHeight); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void End() + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[30])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void End(ImGuiListClipper* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[479])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte BeginChild(byte* strId, Vector2 size, byte border, ImGuiWindowFlags flags) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[31])(strId, size, border, flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte BeginChild(uint id, Vector2 size, byte border, ImGuiWindowFlags flags) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[32])(id, size, border, flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void EndChild() + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[33])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte IsWindowAppearing() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[34])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte IsWindowCollapsed() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[35])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte IsWindowFocused(ImGuiFocusedFlags flags) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[36])(flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte IsWindowHovered(ImGuiHoveredFlags flags) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[37])(flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImDrawList* GetWindowDrawList() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[38])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static float GetWindowDpiScale() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[39])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void GetWindowPos(Vector2* pOut) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[40])(pOut); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void GetWindowSize(Vector2* pOut) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[41])(pOut); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static float GetWindowWidth() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[42])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static float GetWindowHeight() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[43])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiViewport* GetWindowViewport() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[44])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetNextWindowPos(Vector2 pos, ImGuiCond cond, Vector2 pivot) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[45])(pos, cond, pivot); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetNextWindowSize(Vector2 size, ImGuiCond cond) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[46])(size, cond); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetNextWindowSizeConstraints(Vector2 sizeMin, Vector2 sizeMax, ImGuiSizeCallback customCallback, void* customCallbackData) + { + + ((delegate* unmanaged[Cdecl], void*, void>)ImGui.funcTable[47])(sizeMin, sizeMax, (delegate*)Utils.GetFunctionPointerForDelegate(customCallback), customCallbackData); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetNextWindowContentSize(Vector2 size) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[48])(size); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetNextWindowCollapsed(byte collapsed, ImGuiCond cond) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[49])(collapsed, cond); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetNextWindowFocus() + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[50])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetNextWindowBgAlpha(float alpha) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[51])(alpha); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetNextWindowViewport(uint viewportId) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[52])(viewportId); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetWindowPos(Vector2 pos, ImGuiCond cond) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[53])(pos, cond); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetWindowPos(byte* name, Vector2 pos, ImGuiCond cond) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[58])(name, pos, cond); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetWindowSize(Vector2 size, ImGuiCond cond) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[54])(size, cond); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetWindowSize(byte* name, Vector2 size, ImGuiCond cond) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[59])(name, size, cond); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetWindowCollapsed(byte collapsed, ImGuiCond cond) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[55])(collapsed, cond); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetWindowCollapsed(byte* name, byte collapsed, ImGuiCond cond) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[60])(name, collapsed, cond); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetWindowFocus() + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[56])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetWindowFocus(byte* name) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[61])(name); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetWindowFontScale(float scale) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[57])(scale); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void GetContentRegionAvail(Vector2* pOut) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[62])(pOut); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void GetContentRegionMax(Vector2* pOut) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[63])(pOut); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void GetWindowContentRegionMin(Vector2* pOut) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[64])(pOut); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void GetWindowContentRegionMax(Vector2* pOut) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[65])(pOut); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static float GetScrollX() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[66])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static float GetScrollY() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[67])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetScrollX(float scrollX) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[68])(scrollX); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetScrollY(float scrollY) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[69])(scrollY); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static float GetScrollMaxX() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[70])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static float GetScrollMaxY() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[71])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetScrollHereX(float centerXRatio) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[72])(centerXRatio); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetScrollHereY(float centerYRatio) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[73])(centerYRatio); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetScrollFromPosX(float localX, float centerXRatio) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[74])(localX, centerXRatio); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetScrollFromPosY(float localY, float centerYRatio) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[75])(localY, centerYRatio); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void PushFont(ImFont* font) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[76])(font); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void PopFont() + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[77])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void PushStyleColor(ImGuiCol idx, uint col) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[78])(idx, col); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void PushStyleColor(ImGuiCol idx, Vector4 col) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[79])(idx, col); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void PopStyleColor(int count) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[80])(count); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void PushStyleVar(ImGuiStyleVar idx, float val) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[81])(idx, val); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void PushStyleVar(ImGuiStyleVar idx, Vector2 val) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[82])(idx, val); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void PopStyleVar(int count) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[83])(count); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void PushAllowKeyboardFocus(byte allowKeyboardFocus) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[84])(allowKeyboardFocus); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void PopAllowKeyboardFocus() + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[85])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void PushButtonRepeat(byte repeat) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[86])(repeat); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void PopButtonRepeat() + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[87])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void PushItemWidth(float itemWidth) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[88])(itemWidth); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void PopItemWidth() + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[89])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetNextItemWidth(float itemWidth) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[90])(itemWidth); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static float CalcItemWidth() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[91])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void PushTextWrapPos(float wrapLocalPosX) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[92])(wrapLocalPosX); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void PopTextWrapPos() + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[93])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImFont* GetFont() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[94])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static float GetFontSize() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[95])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImTextureID GetFontTexIdWhitePixel() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[96])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void GetFontTexUvWhitePixel(Vector2* pOut) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[97])(pOut); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static uint GetColorU32(ImGuiCol idx, float alphaMul) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[98])(idx, alphaMul); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static uint GetColorU32(Vector4 col) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[99])(col); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static uint GetColorU32(uint col) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[100])(col); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static Vector4* GetStyleColorVec4(ImGuiCol idx) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[101])(idx); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Separator() + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[102])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SameLine(float offsetFromStartX, float spacing) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[103])(offsetFromStartX, spacing); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void NewLine() + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[104])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Spacing() + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[105])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Dummy(Vector2 size) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[106])(size); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Indent(float indentW) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[107])(indentW); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Unindent(float indentW) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[108])(indentW); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void BeginGroup() + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[109])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void EndGroup() + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[110])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void GetCursorPos(Vector2* pOut) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[111])(pOut); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static float GetCursorPosX() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[112])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static float GetCursorPosY() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[113])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetCursorPos(Vector2 localPos) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[114])(localPos); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetCursorPosX(float localX) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[115])(localX); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetCursorPosY(float localY) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[116])(localY); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void GetCursorStartPos(Vector2* pOut) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[117])(pOut); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void GetCursorScreenPos(Vector2* pOut) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[118])(pOut); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetCursorScreenPos(Vector2 pos) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[119])(pos); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void AlignTextToFramePadding() + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[120])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static float GetTextLineHeight() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[121])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static float GetTextLineHeightWithSpacing() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[122])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static float GetFrameHeight() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[123])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static float GetFrameHeightWithSpacing() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[124])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void PushID(byte* strId) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[125])(strId); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void PushID(byte* strIdBegin, byte* strIdEnd) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[126])(strIdBegin, strIdEnd); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void PushID(void* ptrId) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[127])(ptrId); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void PushID(int intId) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[128])(intId); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void PopID() + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[129])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static uint GetID(byte* strId) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[130])(strId); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static uint GetID(byte* strIdBegin, byte* strIdEnd) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[131])(strIdBegin, strIdEnd); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static uint GetID(void* ptrId) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[132])(ptrId); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void TextUnformatted(byte* text, byte* textEnd) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[133])(text, textEnd); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Text(byte* fmt) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[134])(fmt); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void TextV(byte* fmt, nuint args) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[135])(fmt, args); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void TextColored(Vector4 col, byte* fmt) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[136])(col, fmt); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void TextColoredV(Vector4 col, byte* fmt, nuint args) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[137])(col, fmt, args); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void TextDisabled(byte* fmt) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[138])(fmt); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void TextDisabledV(byte* fmt, nuint args) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[139])(fmt, args); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void TextWrapped(byte* fmt) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[140])(fmt); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void TextWrappedV(byte* fmt, nuint args) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[141])(fmt, args); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void LabelText(byte* label, byte* fmt) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[142])(label, fmt); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void LabelTextV(byte* label, byte* fmt, nuint args) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[143])(label, fmt, args); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void BulletText(byte* fmt) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[144])(fmt); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void BulletTextV(byte* fmt, nuint args) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[145])(fmt, args); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte Button(byte* label, Vector2 size) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[146])(label, size); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte SmallButton(byte* label) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[147])(label); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte InvisibleButton(byte* strId, Vector2 size, ImGuiButtonFlags flags) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[148])(strId, size, flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte ArrowButton(byte* strId, ImGuiDir dir) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[149])(strId, dir); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Image(ImTextureID userTextureId, Vector2 size, Vector2 uv0, Vector2 uv1, Vector4 tintCol, Vector4 borderCol) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[150])(userTextureId, size, uv0, uv1, tintCol, borderCol); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte ImageButton(ImTextureID userTextureId, Vector2 size, Vector2 uv0, Vector2 uv1, int framePadding, Vector4 bgCol, Vector4 tintCol) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[151])(userTextureId, size, uv0, uv1, framePadding, bgCol, tintCol); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte Checkbox(byte* label, bool* v) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[152])(label, v); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte CheckboxFlags(byte* label, int* flags, int flagsValue) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[153])(label, flags, flagsValue); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte CheckboxFlags(byte* label, uint* flags, uint flagsValue) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[154])(label, flags, flagsValue); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte RadioButton(byte* label, byte active) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[155])(label, active); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte RadioButton(byte* label, int* v, int vButton) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[156])(label, v, vButton); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ProgressBar(float fraction, Vector2 sizeArg, byte* overlay) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[157])(fraction, sizeArg, overlay); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Bullet() + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[158])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte BeginCombo(byte* label, byte* previewValue, ImGuiComboFlags flags) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[159])(label, previewValue, flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void EndCombo() + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[160])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte Combo(byte* label, int* currentItem, byte** items, int itemsCount, int popupMaxHeightInItems) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[161])(label, currentItem, items, itemsCount, popupMaxHeightInItems); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte Combo(byte* label, int* currentItem, byte* itemsSeparatedByZeros, int popupMaxHeightInItems) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[162])(label, currentItem, itemsSeparatedByZeros, popupMaxHeightInItems); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte Combo(byte* label, int* currentItem, delegate*, void*, int, int, bool> itemsGetter, void* data, int itemsCount, int popupMaxHeightInItems) + { + + return ((delegate* unmanaged[Cdecl], void*, int, int, bool>, void*, int, int, byte>)ImGui.funcTable[163])(label, currentItem, itemsGetter, data, itemsCount, popupMaxHeightInItems); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte DragFloat(byte* label, float* v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[164])(label, v, vSpeed, vMin, vMax, format, flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte DragFloat2(byte* label, float* v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[165])(label, v, vSpeed, vMin, vMax, format, flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte DragFloat3(byte* label, float* v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[166])(label, v, vSpeed, vMin, vMax, format, flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte DragFloat4(byte* label, float* v, float vSpeed, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[167])(label, v, vSpeed, vMin, vMax, format, flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte DragFloatRange2(byte* label, float* vCurrentMin, float* vCurrentMax, float vSpeed, float vMin, float vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[168])(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, formatMax, flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte DragInt(byte* label, int* v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[169])(label, v, vSpeed, vMin, vMax, format, flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte DragInt2(byte* label, int* v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[170])(label, v, vSpeed, vMin, vMax, format, flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte DragInt3(byte* label, int* v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[171])(label, v, vSpeed, vMin, vMax, format, flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte DragInt4(byte* label, int* v, float vSpeed, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[172])(label, v, vSpeed, vMin, vMax, format, flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte DragIntRange2(byte* label, int* vCurrentMin, int* vCurrentMax, float vSpeed, int vMin, int vMax, byte* format, byte* formatMax, ImGuiSliderFlags flags) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[173])(label, vCurrentMin, vCurrentMax, vSpeed, vMin, vMax, format, formatMax, flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte DragScalar(byte* label, ImGuiDataType dataType, void* pData, float vSpeed, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[174])(label, dataType, pData, vSpeed, pMin, pMax, format, flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte DragScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, float vSpeed, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[175])(label, dataType, pData, components, vSpeed, pMin, pMax, format, flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte SliderFloat(byte* label, float* v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[176])(label, v, vMin, vMax, format, flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte SliderFloat2(byte* label, float* v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[177])(label, v, vMin, vMax, format, flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte SliderFloat3(byte* label, float* v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[178])(label, v, vMin, vMax, format, flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte SliderFloat4(byte* label, float* v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[179])(label, v, vMin, vMax, format, flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte SliderAngle(byte* label, float* vRad, float vDegreesMin, float vDegreesMax, byte* format, ImGuiSliderFlags flags) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[180])(label, vRad, vDegreesMin, vDegreesMax, format, flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte SliderInt(byte* label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[181])(label, v, vMin, vMax, format, flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte SliderInt2(byte* label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[182])(label, v, vMin, vMax, format, flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte SliderInt3(byte* label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[183])(label, v, vMin, vMax, format, flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte SliderInt4(byte* label, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[184])(label, v, vMin, vMax, format, flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte SliderScalar(byte* label, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[185])(label, dataType, pData, pMin, pMax, format, flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte SliderScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[186])(label, dataType, pData, components, pMin, pMax, format, flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte VSliderFloat(byte* label, Vector2 size, float* v, float vMin, float vMax, byte* format, ImGuiSliderFlags flags) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[187])(label, size, v, vMin, vMax, format, flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte VSliderInt(byte* label, Vector2 size, int* v, int vMin, int vMax, byte* format, ImGuiSliderFlags flags) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[188])(label, size, v, vMin, vMax, format, flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte VSliderScalar(byte* label, Vector2 size, ImGuiDataType dataType, void* pData, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[189])(label, size, dataType, pData, pMin, pMax, format, flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte InputFloat(byte* label, float* v, float step, float stepFast, byte* format, ImGuiInputTextFlags flags) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[190])(label, v, step, stepFast, format, flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte InputFloat2(byte* label, float* v, byte* format, ImGuiInputTextFlags flags) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[191])(label, v, format, flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte InputFloat3(byte* label, float* v, byte* format, ImGuiInputTextFlags flags) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[192])(label, v, format, flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte InputFloat4(byte* label, float* v, byte* format, ImGuiInputTextFlags flags) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[193])(label, v, format, flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte InputInt(byte* label, int* v, int step, int stepFast, ImGuiInputTextFlags flags) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[194])(label, v, step, stepFast, flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte InputInt2(byte* label, int* v, ImGuiInputTextFlags flags) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[195])(label, v, flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte InputInt3(byte* label, int* v, ImGuiInputTextFlags flags) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[196])(label, v, flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte InputInt4(byte* label, int* v, ImGuiInputTextFlags flags) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[197])(label, v, flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte InputDouble(byte* label, double* v, double step, double stepFast, byte* format, ImGuiInputTextFlags flags) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[198])(label, v, step, stepFast, format, flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte InputScalar(byte* label, ImGuiDataType dataType, void* pData, void* pStep, void* pStepFast, byte* format, ImGuiInputTextFlags flags) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[199])(label, dataType, pData, pStep, pStepFast, format, flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte InputScalarN(byte* label, ImGuiDataType dataType, void* pData, int components, void* pStep, void* pStepFast, byte* format, ImGuiInputTextFlags flags) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[200])(label, dataType, pData, components, pStep, pStepFast, format, flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte ColorEdit3(byte* label, float* col, ImGuiColorEditFlags flags) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[201])(label, col, flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte ColorEdit4(byte* label, float* col, ImGuiColorEditFlags flags) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[202])(label, col, flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte ColorPicker3(byte* label, float* col, ImGuiColorEditFlags flags) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[203])(label, col, flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte ColorPicker4(byte* label, float* col, ImGuiColorEditFlags flags, float* refCol) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[204])(label, col, flags, refCol); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte ColorButton(byte* descId, Vector4 col, ImGuiColorEditFlags flags, Vector2 size) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[205])(descId, col, flags, size); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetColorEditOptions(ImGuiColorEditFlags flags) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[206])(flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte TreeNode(byte* label) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[207])(label); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte TreeNode(byte* strId, byte* fmt) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[208])(strId, fmt); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte TreeNode(void* ptrId, byte* fmt) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[209])(ptrId, fmt); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte TreeNodeV(byte* strId, byte* fmt, nuint args) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[210])(strId, fmt, args); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte TreeNodeV(void* ptrId, byte* fmt, nuint args) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[211])(ptrId, fmt, args); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte TreeNodeEx(byte* label, ImGuiTreeNodeFlags flags) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[212])(label, flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte TreeNodeEx(byte* strId, ImGuiTreeNodeFlags flags, byte* fmt) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[213])(strId, flags, fmt); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte TreeNodeEx(void* ptrId, ImGuiTreeNodeFlags flags, byte* fmt) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[214])(ptrId, flags, fmt); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte TreeNodeExV(byte* strId, ImGuiTreeNodeFlags flags, byte* fmt, nuint args) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[215])(strId, flags, fmt, args); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte TreeNodeExV(void* ptrId, ImGuiTreeNodeFlags flags, byte* fmt, nuint args) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[216])(ptrId, flags, fmt, args); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void TreePush(byte* strId) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[217])(strId); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void TreePush(void* ptrId) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[218])(ptrId); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void TreePop() + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[219])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static float GetTreeNodeToLabelSpacing() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[220])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte CollapsingHeader(byte* label, ImGuiTreeNodeFlags flags) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[221])(label, flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte CollapsingHeader(byte* label, bool* pVisible, ImGuiTreeNodeFlags flags) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[222])(label, pVisible, flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetNextItemOpen(byte isOpen, ImGuiCond cond) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[223])(isOpen, cond); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte Selectable(byte* label, byte selected, ImGuiSelectableFlags flags, Vector2 size) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[224])(label, selected, flags, size); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte Selectable(byte* label, bool* pSelected, ImGuiSelectableFlags flags, Vector2 size) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[225])(label, pSelected, flags, size); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte BeginListBox(byte* label, Vector2 size) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[226])(label, size); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void EndListBox() + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[227])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte ListBox(byte* label, int* currentItem, byte** items, int itemsCount, int heightInItems) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[228])(label, currentItem, items, itemsCount, heightInItems); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte ListBox(byte* label, int* currentItem, delegate*, void*, int, int, bool> itemsGetter, void* data, int itemsCount, int heightInItems) + { + + return ((delegate* unmanaged[Cdecl], void*, int, int, bool>, void*, int, int, byte>)ImGui.funcTable[229])(label, currentItem, itemsGetter, data, itemsCount, heightInItems); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void PlotLines(byte* label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[230])(label, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, stride); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void PlotLines(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + + ((delegate* unmanaged[Cdecl], void*, int, int, byte*, float, float, Vector2, float>, void*, int, int, byte*, float, float, Vector2, void>)ImGui.funcTable[231])(label, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void PlotHistogram(byte* label, float* values, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[232])(label, values, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize, stride); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void PlotHistogram(byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 graphSize) + { + + ((delegate* unmanaged[Cdecl], void*, int, int, byte*, float, float, Vector2, float>, void*, int, int, byte*, float, float, Vector2, void>)ImGui.funcTable[233])(label, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, graphSize); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Value(byte* prefix, byte b) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[234])(prefix, b); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Value(byte* prefix, int v) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[235])(prefix, v); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Value(byte* prefix, uint v) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[236])(prefix, v); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Value(byte* prefix, float v, byte* floatFormat) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[237])(prefix, v, floatFormat); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte BeginMenuBar() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[238])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void EndMenuBar() + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[239])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte BeginMainMenuBar() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[240])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void EndMainMenuBar() + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[241])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte BeginMenu(byte* label, byte enabled) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[242])(label, enabled); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void EndMenu() + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[243])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte MenuItem(byte* label, byte* shortcut, byte selected, byte enabled) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[244])(label, shortcut, selected, enabled); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte MenuItem(byte* label, byte* shortcut, bool* pSelected, byte enabled) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[245])(label, shortcut, pSelected, enabled); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void BeginTooltip() + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[246])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void EndTooltip() + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[247])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetTooltip(byte* fmt) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[248])(fmt); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetTooltipV(byte* fmt, nuint args) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[249])(fmt, args); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte BeginPopup(byte* strId, ImGuiWindowFlags flags) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[250])(strId, flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte BeginPopupModal(byte* name, bool* pOpen, ImGuiWindowFlags flags) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[251])(name, pOpen, flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void EndPopup() + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[252])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void OpenPopup(byte* strId, ImGuiPopupFlags popupFlags) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[253])(strId, popupFlags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void OpenPopup(uint id, ImGuiPopupFlags popupFlags) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[254])(id, popupFlags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void OpenPopupOnItemClick(byte* strId, ImGuiPopupFlags popupFlags) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[255])(strId, popupFlags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void CloseCurrentPopup() + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[256])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte BeginPopupContextItem(byte* strId, ImGuiPopupFlags popupFlags) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[257])(strId, popupFlags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte BeginPopupContextWindow(byte* strId, ImGuiPopupFlags popupFlags) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[258])(strId, popupFlags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte BeginPopupContextVoid(byte* strId, ImGuiPopupFlags popupFlags) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[259])(strId, popupFlags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte IsPopupOpen(byte* strId, ImGuiPopupFlags flags) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[260])(strId, flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte BeginTable(byte* strId, int column, ImGuiTableFlags flags, Vector2 outerSize, float innerWidth) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[261])(strId, column, flags, outerSize, innerWidth); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void EndTable() + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[262])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void TableNextRow(ImGuiTableRowFlags rowFlags, float minRowHeight) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[263])(rowFlags, minRowHeight); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte TableNextColumn() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[264])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte TableSetColumnIndex(int columnN) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[265])(columnN); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void TableSetupColumn(byte* label, ImGuiTableColumnFlags flags, float initWidthOrWeight, uint userId) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[266])(label, flags, initWidthOrWeight, userId); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void TableSetupScrollFreeze(int cols, int rows) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[267])(cols, rows); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void TableHeadersRow() + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[268])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void TableHeader(byte* label) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[269])(label); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiTableSortSpecs* TableGetSortSpecs() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[270])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static int TableGetColumnCount() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[271])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static int TableGetColumnIndex() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[272])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static int TableGetRowIndex() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[273])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte* TableGetColumnName(int columnN) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[274])(columnN); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiTableColumnFlags TableGetColumnFlags(int columnN) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[275])(columnN); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void TableSetColumnEnabled(int columnN, byte v) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[276])(columnN, v); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void TableSetBgColor(ImGuiTableBgTarget target, uint color, int columnN) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[277])(target, color, columnN); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Columns(int count, byte* id, byte border) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[278])(count, id, border); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void NextColumn() + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[279])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static int GetColumnIndex() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[280])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static float GetColumnWidth(int columnIndex) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[281])(columnIndex); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetColumnWidth(int columnIndex, float width) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[282])(columnIndex, width); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static float GetColumnOffset(int columnIndex) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[283])(columnIndex); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetColumnOffset(int columnIndex, float offsetX) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[284])(columnIndex, offsetX); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static int GetColumnsCount() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[285])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte BeginTabBar(byte* strId, ImGuiTabBarFlags flags) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[286])(strId, flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void EndTabBar() + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[287])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte BeginTabItem(byte* label, bool* pOpen, ImGuiTabItemFlags flags) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[288])(label, pOpen, flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void EndTabItem() + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[289])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte TabItemButton(byte* label, ImGuiTabItemFlags flags) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[290])(label, flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetTabItemClosed(byte* tabOrDockedWindowLabel) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[291])(tabOrDockedWindowLabel); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static uint DockSpace(uint id, Vector2 size, ImGuiDockNodeFlags flags, ImGuiWindowClass* windowClass) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[292])(id, size, flags, windowClass); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static uint DockSpaceOverViewport(ImGuiViewport* viewport, ImGuiDockNodeFlags flags, ImGuiWindowClass* windowClass) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[293])(viewport, flags, windowClass); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetNextWindowDockID(uint dockId, ImGuiCond cond) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[294])(dockId, cond); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetNextWindowClass(ImGuiWindowClass* windowClass) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[295])(windowClass); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static uint GetWindowDockID() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[296])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte IsWindowDocked() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[297])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void LogToTTY(int autoOpenDepth) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[298])(autoOpenDepth); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void LogToFile(int autoOpenDepth, byte* filename) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[299])(autoOpenDepth, filename); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void LogToClipboard(int autoOpenDepth) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[300])(autoOpenDepth); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void LogFinish() + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[301])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void LogButtons() + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[302])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void LogTextV(byte* fmt, nuint args) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[303])(fmt, args); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte BeginDragDropSource(ImGuiDragDropFlags flags) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[304])(flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte SetDragDropPayload(byte* type, void* data, nuint sz, ImGuiCond cond) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[305])(type, data, sz, cond); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void EndDragDropSource() + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[306])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte BeginDragDropTarget() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[307])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiPayload* AcceptDragDropPayload(byte* type, ImGuiDragDropFlags flags) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[308])(type, flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void EndDragDropTarget() + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[309])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiPayload* GetDragDropPayload() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[310])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void BeginDisabled(byte disabled) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[311])(disabled); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void EndDisabled() + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[312])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void PushClipRect(Vector2 clipRectMin, Vector2 clipRectMax, byte intersectWithCurrentClipRect) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[313])(clipRectMin, clipRectMax, intersectWithCurrentClipRect); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void PushClipRect(ImDrawList* self, Vector2 clipRectMin, Vector2 clipRectMax, byte intersectWithCurrentClipRect) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[502])(self, clipRectMin, clipRectMax, intersectWithCurrentClipRect); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void PopClipRect() + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[314])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void PopClipRect(ImDrawList* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[504])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetItemDefaultFocus() + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[315])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetKeyboardFocusHere(int offset) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[316])(offset); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte IsItemHovered(ImGuiHoveredFlags flags) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[317])(flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte IsItemActive() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[318])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte IsItemFocused() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[319])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte IsItemClicked(ImGuiMouseButton mouseButton) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[320])(mouseButton); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte IsItemVisible() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[321])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte IsItemEdited() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[322])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte IsItemActivated() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[323])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte IsItemDeactivated() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[324])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte IsItemDeactivatedAfterEdit() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[325])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte IsItemToggledOpen() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[326])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte IsAnyItemHovered() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[327])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte IsAnyItemActive() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[328])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte IsAnyItemFocused() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[329])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void GetItemRectMin(Vector2* pOut) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[330])(pOut); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void GetItemRectMax(Vector2* pOut) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[331])(pOut); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void GetItemRectSize(Vector2* pOut) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[332])(pOut); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetItemAllowOverlap() + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[333])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiViewport* GetMainViewport() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[334])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImDrawList* GetBackgroundDrawList() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[335])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImDrawList* GetBackgroundDrawList(ImGuiViewport* viewport) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[337])(viewport); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImDrawList* GetForegroundDrawList() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[336])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImDrawList* GetForegroundDrawList(ImGuiViewport* viewport) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[338])(viewport); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte IsRectVisible(Vector2 size) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[339])(size); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte IsRectVisible(Vector2 rectMin, Vector2 rectMax) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[340])(rectMin, rectMax); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static double GetTime() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[341])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static int GetFrameCount() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[342])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImDrawListSharedData* GetDrawListSharedData() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[343])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte* GetStyleColorName(ImGuiCol idx) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[344])(idx); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetStateStorage(ImGuiStorage* storage) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[345])(storage); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiStorage* GetStateStorage() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[346])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte BeginChildFrame(uint id, Vector2 size, ImGuiWindowFlags flags) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[347])(id, size, flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void EndChildFrame() + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[348])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void CalcTextSize(Vector2* pOut, byte* text, byte* textEnd, byte hideTextAfterDoubleHash, float wrapWidth) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[349])(pOut, text, textEnd, hideTextAfterDoubleHash, wrapWidth); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ColorConvertU32ToFloat4(Vector4* pOut, uint input) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[350])(pOut, input); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static uint ColorConvertFloat4ToU32(Vector4 input) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[351])(input); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ColorConvertRGBtoHSV(float r, float g, float b, float* outH, float* outS, float* outV) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[352])(r, g, b, outH, outS, outV); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ColorConvertHSVtoRGB(float h, float s, float v, float* outR, float* outG, float* outB) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[353])(h, s, v, outR, outG, outB); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte IsKeyDown(ImGuiKey key) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[354])(key); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte IsKeyPressed(ImGuiKey key, byte repeat) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[355])(key, repeat); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte IsKeyReleased(ImGuiKey key) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[356])(key); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static int GetKeyPressedAmount(ImGuiKey key, float repeatDelay, float rate) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[357])(key, repeatDelay, rate); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte* GetKeyName(ImGuiKey key) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[358])(key); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetNextFrameWantCaptureKeyboard(byte wantCaptureKeyboard) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[359])(wantCaptureKeyboard); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte IsMouseDown(ImGuiMouseButton button) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[360])(button); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte IsMouseClicked(ImGuiMouseButton button, byte repeat) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[361])(button, repeat); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte IsMouseReleased(ImGuiMouseButton button) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[362])(button); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte IsMouseDoubleClicked(ImGuiMouseButton button) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[363])(button); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static int GetMouseClickedCount(ImGuiMouseButton button) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[364])(button); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte IsMouseHoveringRect(Vector2 rMin, Vector2 rMax, byte clip) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[365])(rMin, rMax, clip); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte IsMousePosValid(Vector2* mousePos) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[366])(mousePos); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte IsAnyMouseDown() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[367])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void GetMousePos(Vector2* pOut) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[368])(pOut); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void GetMousePosOnOpeningCurrentPopup(Vector2* pOut) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[369])(pOut); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte IsMouseDragging(ImGuiMouseButton button, float lockThreshold) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[370])(button, lockThreshold); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void GetMouseDragDelta(Vector2* pOut, ImGuiMouseButton button, float lockThreshold) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[371])(pOut, button, lockThreshold); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ResetMouseDragDelta(ImGuiMouseButton button) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[372])(button); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiMouseCursor GetMouseCursor() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[373])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetMouseCursor(ImGuiMouseCursor cursorType) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[374])(cursorType); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetNextFrameWantCaptureMouse(byte wantCaptureMouse) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[375])(wantCaptureMouse); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte* GetClipboardText() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[376])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetClipboardText(byte* text) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[377])(text); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void LoadIniSettingsFromDisk(byte* iniFilename) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[378])(iniFilename); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void LoadIniSettingsFromMemory(byte* iniData, nuint iniSize) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[379])(iniData, iniSize); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SaveIniSettingsToDisk(byte* iniFilename) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[380])(iniFilename); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte* SaveIniSettingsToMemory(nuint* outIniSize) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[381])(outIniSize); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void DebugTextEncoding(byte* text) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[382])(text); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte DebugCheckVersionAndDataLayout(byte* versionStr, nuint szIo, nuint szStyle, nuint szvec2, nuint szvec4, nuint szDrawvert, nuint szDrawidx) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[383])(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetAllocatorFunctions(ImGuiMemAllocFunc allocFunc, ImGuiMemFreeFunc freeFunc, void* userData) + { + + ((delegate* unmanaged[Cdecl], delegate*, void*, void>)ImGui.funcTable[384])((delegate*)Utils.GetFunctionPointerForDelegate(allocFunc), (delegate*)Utils.GetFunctionPointerForDelegate(freeFunc), userData); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void GetAllocatorFunctions(delegate** pAllocFunc, delegate** pFreeFunc, void** pUserData) + { + + ((delegate* unmanaged[Cdecl]*, delegate**, void**, void>)ImGui.funcTable[385])(pAllocFunc, pFreeFunc, pUserData); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void* MemAlloc(nuint size) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[386])(size); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void MemFree(void* ptr) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[387])(ptr); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiPlatformIO* GetPlatformIO() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[388])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void UpdatePlatformWindows() + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[389])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void RenderPlatformWindowsDefault(void* platformRenderArg, void* rendererRenderArg) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[390])(platformRenderArg, rendererRenderArg); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void DestroyPlatformWindows() + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[391])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiViewport* FindViewportByID(uint id) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[392])(id); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiViewport* FindViewportByPlatformHandle(void* platformHandle) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[393])(platformHandle); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiStyle* ImGuiStyle() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[394])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ScaleAllSizes(ImGuiStyle* self, float scaleFactor) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[396])(self, scaleFactor); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void AddKeyEvent(ImGuiIO* self, ImGuiKey key, byte down) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[397])(self, key, down); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void AddKeyAnalogEvent(ImGuiIO* self, ImGuiKey key, byte down, float v) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[398])(self, key, down, v); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void AddMousePosEvent(ImGuiIO* self, float x, float y) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[399])(self, x, y); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void AddMouseButtonEvent(ImGuiIO* self, int button, byte down) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[400])(self, button, down); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void AddMouseWheelEvent(ImGuiIO* self, float whX, float whY) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[401])(self, whX, whY); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void AddMouseViewportEvent(ImGuiIO* self, uint id) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[402])(self, id); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void AddFocusEvent(ImGuiIO* self, byte focused) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[403])(self, focused); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void AddInputCharacter(ImGuiIO* self, uint c) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[404])(self, c); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void AddInputCharacterUTF16(ImGuiIO* self, ushort c) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[405])(self, c); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void AddInputCharactersUTF8(ImGuiIO* self, byte* str) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[406])(self, str); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetKeyEventNativeData(ImGuiIO* self, ImGuiKey key, int nativeKeycode, int nativeScancode, int nativeLegacyIndex) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[407])(self, key, nativeKeycode, nativeScancode, nativeLegacyIndex); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetAppAcceptingEvents(ImGuiIO* self, byte acceptingEvents) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[408])(self, acceptingEvents); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ClearInputCharacters(ImGuiIO* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[409])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ClearInputKeys(ImGuiIO* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[410])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiIO* ImGuiIO() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[411])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiInputTextCallbackData* ImGuiInputTextCallbackData() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[413])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void DeleteChars(ImGuiInputTextCallbackData* self, int pos, int bytesCount) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[415])(self, pos, bytesCount); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void InsertChars(ImGuiInputTextCallbackData* self, int pos, byte* text, byte* textEnd) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[416])(self, pos, text, textEnd); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SelectAll(ImGuiInputTextCallbackData* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[417])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ClearSelection(ImGuiInputTextCallbackData* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[418])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte HasSelection(ImGuiInputTextCallbackData* self) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[419])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiWindowClass* ImGuiWindowClass() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[420])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiPayload* ImGuiPayload() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[422])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Clear(ImGuiPayload* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[424])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Clear(ImGuiTextFilter* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[439])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Clear(ImGuiStorage* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[461])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Clear(ImDrawListSplitter* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[495])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Clear(ImDrawData* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[566])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Clear(ImFontGlyphRangesBuilder* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[573])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Clear(ImFontAtlas* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[594])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte IsDataType(ImGuiPayload* self, byte* type) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[425])(self, type); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte IsPreview(ImGuiPayload* self) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[426])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte IsDelivery(ImGuiPayload* self) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[427])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiTableColumnSortSpecs* ImGuiTableColumnSortSpecs() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[428])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiTableSortSpecs* ImGuiTableSortSpecs() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[430])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiOnceUponAFrame* ImGuiOnceUponAFrame() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[432])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiTextFilter* ImGuiTextFilter(byte* defaultFilter) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[434])(defaultFilter); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte Draw(ImGuiTextFilter* self, byte* label, float width) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[436])(self, label, width); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte PassFilter(ImGuiTextFilter* self, byte* text, byte* textEnd) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[437])(self, text, textEnd); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Build(ImGuiTextFilter* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[438])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte Build(ImFontAtlas* self) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[595])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte IsActive(ImGuiTextFilter* self) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[440])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiTextRange* ImGuiTextRange() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[441])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiTextRange* ImGuiTextRange(byte* b, byte* e) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[443])(b, e); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte empty(ImGuiTextRange* self) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[444])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte empty(ImGuiTextBuffer* self) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[451])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void split(ImGuiTextRange* self, byte separator, ImVector* output) + { + + ((delegate* unmanaged[Cdecl]*, void>)ImGui.funcTable[445])(self, separator, output); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiTextBuffer* ImGuiTextBuffer() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[446])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte* begin(ImGuiTextBuffer* self) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[448])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte* end(ImGuiTextBuffer* self) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[449])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static int size(ImGuiTextBuffer* self) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[450])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void clear(ImGuiTextBuffer* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[452])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void reserve(ImGuiTextBuffer* self, int capacity) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[453])(self, capacity); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte* c_str(ImGuiTextBuffer* self) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[454])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void append(ImGuiTextBuffer* self, byte* str, byte* strEnd) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[455])(self, str, strEnd); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void appendfv(ImGuiTextBuffer* self, byte* fmt, nuint args) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[456])(self, fmt, args); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiStoragePair* ImGuiStoragePair(uint key, int valI) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[457])(key, valI); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiStoragePair* ImGuiStoragePair(uint key, float valF) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[459])(key, valF); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiStoragePair* ImGuiStoragePair(uint key, void* valP) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[460])(key, valP); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static int GetInt(ImGuiStorage* self, uint key, int defaultVal) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[462])(self, key, defaultVal); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetInt(ImGuiStorage* self, uint key, int val) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[463])(self, key, val); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte GetBool(ImGuiStorage* self, uint key, byte defaultVal) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[464])(self, key, defaultVal); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetBool(ImGuiStorage* self, uint key, byte val) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[465])(self, key, val); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static float GetFloat(ImGuiStorage* self, uint key, float defaultVal) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[466])(self, key, defaultVal); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetFloat(ImGuiStorage* self, uint key, float val) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[467])(self, key, val); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void* GetVoidPtr(ImGuiStorage* self, uint key) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[468])(self, key); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetVoidPtr(ImGuiStorage* self, uint key, void* val) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[469])(self, key, val); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static int* GetIntRef(ImGuiStorage* self, uint key, int defaultVal) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[470])(self, key, defaultVal); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static bool* GetBoolRef(ImGuiStorage* self, uint key, byte defaultVal) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[471])(self, key, defaultVal); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static float* GetFloatRef(ImGuiStorage* self, uint key, float defaultVal) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[472])(self, key, defaultVal); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void** GetVoidPtrRef(ImGuiStorage* self, uint key, void* defaultVal) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[473])(self, key, defaultVal); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetAllInt(ImGuiStorage* self, int val) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[474])(self, val); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void BuildSortByKey(ImGuiStorage* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[475])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiListClipper* ImGuiListClipper() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[476])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte Step(ImGuiListClipper* self) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[480])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ForceDisplayRangeByIndices(ImGuiListClipper* self, int itemMin, int itemMax) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[481])(self, itemMin, itemMax); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImColor* ImColor() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[482])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImColor* ImColor(float r, float g, float b, float a) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[484])(r, g, b, a); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImColor* ImColor(Vector4 col) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[485])(col); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImColor* ImColor(int r, int g, int b, int a) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[486])(r, g, b, a); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImColor* ImColor(uint rgba) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[487])(rgba); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetHSV(ImColor* self, float h, float s, float v, float a) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[488])(self, h, s, v, a); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void HSV(ImColor* pOut, float h, float s, float v, float a) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[489])(pOut, h, s, v, a); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImDrawCmd* ImDrawCmd() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[490])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImTextureID GetTexID(ImDrawCmd* self) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[492])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImDrawListSplitter* ImDrawListSplitter() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[493])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ClearFreeMemory(ImDrawListSplitter* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[496])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Split(ImDrawListSplitter* self, ImDrawList* drawList, int count) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[497])(self, drawList, count); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Merge(ImDrawListSplitter* self, ImDrawList* drawList) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[498])(self, drawList); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetCurrentChannel(ImDrawListSplitter* self, ImDrawList* drawList, int channelIdx) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[499])(self, drawList, channelIdx); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImDrawList* ImDrawList(ImDrawListSharedData* sharedData) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[500])(sharedData); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void PushClipRectFullScreen(ImDrawList* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[503])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void PushTextureID(ImDrawList* self, ImTextureID textureId) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[505])(self, textureId); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void PopTextureID(ImDrawList* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[506])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void GetClipRectMin(Vector2* pOut, ImDrawList* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[507])(pOut, self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void GetClipRectMax(Vector2* pOut, ImDrawList* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[508])(pOut, self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void AddLine(ImDrawList* self, Vector2 p1, Vector2 p2, uint col, float thickness) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[509])(self, p1, p2, col, thickness); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void AddRect(ImDrawList* self, Vector2 pMin, Vector2 pMax, uint col, float rounding, ImDrawFlags flags, float thickness) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[510])(self, pMin, pMax, col, rounding, flags, thickness); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void AddRectFilled(ImDrawList* self, Vector2 pMin, Vector2 pMax, uint col, float rounding, ImDrawFlags flags) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[511])(self, pMin, pMax, col, rounding, flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void AddRectFilledMultiColor(ImDrawList* self, Vector2 pMin, Vector2 pMax, uint colUprLeft, uint colUprRight, uint colBotRight, uint colBotLeft) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[512])(self, pMin, pMax, colUprLeft, colUprRight, colBotRight, colBotLeft); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void AddQuad(ImDrawList* self, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col, float thickness) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[513])(self, p1, p2, p3, p4, col, thickness); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void AddQuadFilled(ImDrawList* self, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[514])(self, p1, p2, p3, p4, col); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void AddTriangle(ImDrawList* self, Vector2 p1, Vector2 p2, Vector2 p3, uint col, float thickness) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[515])(self, p1, p2, p3, col, thickness); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void AddTriangleFilled(ImDrawList* self, Vector2 p1, Vector2 p2, Vector2 p3, uint col) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[516])(self, p1, p2, p3, col); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void AddCircle(ImDrawList* self, Vector2 center, float radius, uint col, int numSegments, float thickness) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[517])(self, center, radius, col, numSegments, thickness); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void AddCircleFilled(ImDrawList* self, Vector2 center, float radius, uint col, int numSegments) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[518])(self, center, radius, col, numSegments); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void AddNgon(ImDrawList* self, Vector2 center, float radius, uint col, int numSegments, float thickness) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[519])(self, center, radius, col, numSegments, thickness); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void AddNgonFilled(ImDrawList* self, Vector2 center, float radius, uint col, int numSegments) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[520])(self, center, radius, col, numSegments); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void AddText(ImDrawList* self, Vector2 pos, uint col, byte* textBegin, byte* textEnd) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[521])(self, pos, col, textBegin, textEnd); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void AddText(ImDrawList* self, ImFont* font, float fontSize, Vector2 pos, uint col, byte* textBegin, byte* textEnd, float wrapWidth, Vector4* cpuFineClipRect) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[522])(self, font, fontSize, pos, col, textBegin, textEnd, wrapWidth, cpuFineClipRect); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void AddText(ImFontGlyphRangesBuilder* self, byte* text, byte* textEnd) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[577])(self, text, textEnd); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void AddPolyline(ImDrawList* self, Vector2* points, int numPoints, uint col, ImDrawFlags flags, float thickness) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[523])(self, points, numPoints, col, flags, thickness); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void AddConvexPolyFilled(ImDrawList* self, Vector2* points, int numPoints, uint col) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[524])(self, points, numPoints, col); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void AddBezierCubic(ImDrawList* self, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col, float thickness, int numSegments) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[525])(self, p1, p2, p3, p4, col, thickness, numSegments); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void AddBezierQuadratic(ImDrawList* self, Vector2 p1, Vector2 p2, Vector2 p3, uint col, float thickness, int numSegments) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[526])(self, p1, p2, p3, col, thickness, numSegments); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void AddImage(ImDrawList* self, ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, Vector2 uvMax, uint col) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[527])(self, userTextureId, pMin, pMax, uvMin, uvMax, col); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void AddImageQuad(ImDrawList* self, ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, Vector2 uv3, Vector2 uv4, uint col) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[528])(self, userTextureId, p1, p2, p3, p4, uv1, uv2, uv3, uv4, col); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void AddImageRounded(ImDrawList* self, ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, Vector2 uvMax, uint col, float rounding, ImDrawFlags flags) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[529])(self, userTextureId, pMin, pMax, uvMin, uvMax, col, rounding, flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void PathClear(ImDrawList* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[530])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void PathLineTo(ImDrawList* self, Vector2 pos) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[531])(self, pos); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void PathLineToMergeDuplicate(ImDrawList* self, Vector2 pos) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[532])(self, pos); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void PathFillConvex(ImDrawList* self, uint col) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[533])(self, col); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void PathStroke(ImDrawList* self, uint col, ImDrawFlags flags, float thickness) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[534])(self, col, flags, thickness); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void PathArcTo(ImDrawList* self, Vector2 center, float radius, float aMin, float aMax, int numSegments) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[535])(self, center, radius, aMin, aMax, numSegments); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void PathArcToFast(ImDrawList* self, Vector2 center, float radius, int aMinOf12, int aMaxOf12) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[536])(self, center, radius, aMinOf12, aMaxOf12); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void PathBezierCubicCurveTo(ImDrawList* self, Vector2 p2, Vector2 p3, Vector2 p4, int numSegments) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[537])(self, p2, p3, p4, numSegments); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void PathBezierQuadraticCurveTo(ImDrawList* self, Vector2 p2, Vector2 p3, int numSegments) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[538])(self, p2, p3, numSegments); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void PathRect(ImDrawList* self, Vector2 rectMin, Vector2 rectMax, float rounding, ImDrawFlags flags) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[539])(self, rectMin, rectMax, rounding, flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void AddCallback(ImDrawList* self, ImDrawCallback callback, void* callbackData) + { + + ((delegate* unmanaged[Cdecl], void*, void>)ImGui.funcTable[540])(self, (delegate*)Utils.GetFunctionPointerForDelegate(callback), callbackData); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void AddDrawCmd(ImDrawList* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[541])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImDrawList* CloneOutput(ImDrawList* self) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[542])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ChannelsSplit(ImDrawList* self, int count) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[543])(self, count); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ChannelsMerge(ImDrawList* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[544])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ChannelsSetCurrent(ImDrawList* self, int n) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[545])(self, n); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void PrimReserve(ImDrawList* self, int idxCount, int vtxCount) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[546])(self, idxCount, vtxCount); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void PrimUnreserve(ImDrawList* self, int idxCount, int vtxCount) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[547])(self, idxCount, vtxCount); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void PrimRect(ImDrawList* self, Vector2 a, Vector2 b, uint col) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[548])(self, a, b, col); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void PrimRectUV(ImDrawList* self, Vector2 a, Vector2 b, Vector2 uvA, Vector2 uvB, uint col) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[549])(self, a, b, uvA, uvB, col); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void PrimQuadUV(ImDrawList* self, Vector2 a, Vector2 b, Vector2 c, Vector2 d, Vector2 uvA, Vector2 uvB, Vector2 uvC, Vector2 uvD, uint col) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[550])(self, a, b, c, d, uvA, uvB, uvC, uvD, col); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void PrimWriteVtx(ImDrawList* self, Vector2 pos, Vector2 uv, uint col) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[551])(self, pos, uv, col); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void PrimWriteIdx(ImDrawList* self, ushort idx) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[552])(self, idx); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void PrimVtx(ImDrawList* self, Vector2 pos, Vector2 uv, uint col) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[553])(self, pos, uv, col); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void _ResetForNewFrame(ImDrawList* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[554])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void _ClearFreeMemory(ImDrawList* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[555])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void _PopUnusedDrawCmd(ImDrawList* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[556])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void _TryMergeDrawCmds(ImDrawList* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[557])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void _OnChangedClipRect(ImDrawList* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[558])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void _OnChangedTextureID(ImDrawList* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[559])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void _OnChangedVtxOffset(ImDrawList* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[560])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static int _CalcCircleAutoSegmentCount(ImDrawList* self, float radius) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[561])(self, radius); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void _PathArcToFastEx(ImDrawList* self, Vector2 center, float radius, int aMinSample, int aMaxSample, int aStep) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[562])(self, center, radius, aMinSample, aMaxSample, aStep); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void _PathArcToN(ImDrawList* self, Vector2 center, float radius, float aMin, float aMax, int numSegments) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[563])(self, center, radius, aMin, aMax, numSegments); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImDrawData* ImDrawData() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[564])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void DeIndexAllBuffers(ImDrawData* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[567])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ScaleClipRects(ImDrawData* self, Vector2 fbScale) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[568])(self, fbScale); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImFontConfig* ImFontConfig() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[569])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImFontGlyphRangesBuilder* ImFontGlyphRangesBuilder() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[571])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte GetBit(ImFontGlyphRangesBuilder* self, nuint n) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[574])(self, n); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetBit(ImFontGlyphRangesBuilder* self, nuint n) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[575])(self, n); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void AddChar(ImFontGlyphRangesBuilder* self, ushort c) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[576])(self, c); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void AddRanges(ImFontGlyphRangesBuilder* self, ushort* ranges) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[578])(self, ranges); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void BuildRanges(ImFontGlyphRangesBuilder* self, ImVector* outRanges) + { + + ((delegate* unmanaged[Cdecl]*, void>)ImGui.funcTable[579])(self, outRanges); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImFontAtlasCustomRect* ImFontAtlasCustomRect() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[580])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte IsPacked(ImFontAtlasCustomRect* self) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[582])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImFontAtlas* ImFontAtlas() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[583])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImFont* AddFont(ImFontAtlas* self, ImFontConfig* fontCfg) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[585])(self, fontCfg); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImFont* AddFontDefault(ImFontAtlas* self, ImFontConfig* fontCfg) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[586])(self, fontCfg); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImFont* AddFontFromFileTTF(ImFontAtlas* self, byte* filename, float sizePixels, ImFontConfig* fontCfg, ushort* glyphRanges) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[587])(self, filename, sizePixels, fontCfg, glyphRanges); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImFont* AddFontFromMemoryTTF(ImFontAtlas* self, void* fontData, int fontSize, float sizePixels, ImFontConfig* fontCfg, ushort* glyphRanges) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[588])(self, fontData, fontSize, sizePixels, fontCfg, glyphRanges); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImFont* AddFontFromMemoryCompressedTTF(ImFontAtlas* self, void* compressedFontData, int compressedFontSize, float sizePixels, ImFontConfig* fontCfg, ushort* glyphRanges) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[589])(self, compressedFontData, compressedFontSize, sizePixels, fontCfg, glyphRanges); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImFont* AddFontFromMemoryCompressedBase85TTF(ImFontAtlas* self, byte* compressedFontDatabase85, float sizePixels, ImFontConfig* fontCfg, ushort* glyphRanges) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[590])(self, compressedFontDatabase85, sizePixels, fontCfg, glyphRanges); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ClearInputData(ImFontAtlas* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[591])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ClearTexData(ImFontAtlas* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[592])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ClearFonts(ImFontAtlas* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[593])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void GetTexDataAsAlpha8(ImFontAtlas* self, int textureIndex, byte** outPixels, int* outWidth, int* outHeight, int* outBytesPerPixel) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[596])(self, textureIndex, outPixels, outWidth, outHeight, outBytesPerPixel); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void GetTexDataAsRGBA32(ImFontAtlas* self, int textureIndex, byte** outPixels, int* outWidth, int* outHeight, int* outBytesPerPixel) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[597])(self, textureIndex, outPixels, outWidth, outHeight, outBytesPerPixel); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte IsBuilt(ImFontAtlas* self) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[598])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetTexID(ImFontAtlas* self, int textureIndex, ImTextureID id) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[599])(self, textureIndex, id); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ClearTexID(ImFontAtlas* self, ImTextureID nullId) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[600])(self, nullId); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ushort* GetGlyphRangesDefault(ImFontAtlas* self) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[601])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ushort* GetGlyphRangesKorean(ImFontAtlas* self) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[602])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ushort* GetGlyphRangesJapanese(ImFontAtlas* self) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[603])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ushort* GetGlyphRangesChineseFull(ImFontAtlas* self) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[604])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ushort* GetGlyphRangesChineseSimplifiedCommon(ImFontAtlas* self) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[605])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ushort* GetGlyphRangesCyrillic(ImFontAtlas* self) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[606])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ushort* GetGlyphRangesThai(ImFontAtlas* self) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[607])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ushort* GetGlyphRangesVietnamese(ImFontAtlas* self) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[608])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static int AddCustomRectRegular(ImFontAtlas* self, int width, int height) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[609])(self, width, height); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static int AddCustomRectFontGlyph(ImFontAtlas* self, ImFont* font, ushort id, int width, int height, float advanceX, Vector2 offset) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[610])(self, font, id, width, height, advanceX, offset); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImFontAtlasCustomRect* GetCustomRectByIndex(ImFontAtlas* self, int index) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[611])(self, index); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void CalcCustomRectUV(ImFontAtlas* self, ImFontAtlasCustomRect* rect, Vector2* outUvMin, Vector2* outUvMax) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[612])(self, rect, outUvMin, outUvMax); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte GetMouseCursorTexData(ImFontAtlas* self, ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, Vector2* outUvBorder, Vector2* outUvFill, int* textureIndex) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[613])(self, cursor, outOffset, outSize, outUvBorder, outUvFill, textureIndex); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImFont* ImFont() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[614])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImFontGlyph* FindGlyph(ImFont* self, ushort c) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[616])(self, c); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImFontGlyph* FindGlyphNoFallback(ImFont* self, ushort c) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[617])(self, c); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static float GetDistanceAdjustmentForPair(ImFont* self, ushort leftC, ushort rightC) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[618])(self, leftC, rightC); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static float GetCharAdvance(ImFont* self, ushort c) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[619])(self, c); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte IsLoaded(ImFont* self) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[620])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte* GetDebugName(ImFont* self) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[621])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void CalcTextSizeA(Vector2* pOut, ImFont* self, float size, float maxWidth, float wrapWidth, byte* textBegin, byte* textEnd, byte** remaining) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[622])(pOut, self, size, maxWidth, wrapWidth, textBegin, textEnd, remaining); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte* CalcWordWrapPositionA(ImFont* self, float scale, byte* text, byte* textEnd, float wrapWidth) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[623])(self, scale, text, textEnd, wrapWidth); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void RenderChar(ImFont* self, ImDrawList* drawList, float size, Vector2 pos, uint col, ushort c) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[624])(self, drawList, size, pos, col, c); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void RenderText(ImFont* self, ImDrawList* drawList, float size, Vector2 pos, uint col, Vector4 clipRect, byte* textBegin, byte* textEnd, float wrapWidth, byte cpuFineClip) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[625])(self, drawList, size, pos, col, clipRect, textBegin, textEnd, wrapWidth, cpuFineClip); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void BuildLookupTable(ImFont* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[626])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ClearOutputData(ImFont* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[627])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void GrowIndex(ImFont* self, int newSize) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[628])(self, newSize); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void AddGlyph(ImFont* self, ImFontConfig* srcCfg, ushort c, int textureIndex, float x0, float y0, float x1, float y1, float u0, float v0, float u1, float v1, float advanceX) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[629])(self, srcCfg, c, textureIndex, x0, y0, x1, y1, u0, v0, u1, v1, advanceX); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void AddRemapChar(ImFont* self, ushort dst, ushort src, byte overwriteDst) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[630])(self, dst, src, overwriteDst); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetGlyphVisible(ImFont* self, ushort c, byte visible) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[631])(self, c, visible); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte IsGlyphRangeUnused(ImFont* self, uint cBegin, uint cLast) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[632])(self, cBegin, cLast); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void AddKerningPair(ImFont* self, ushort leftC, ushort rightC, float distanceAdjustment) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[633])(self, leftC, rightC, distanceAdjustment); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static float GetDistanceAdjustmentForPairFromHotData(ImFont* self, ushort leftC, ImFontGlyphHotData* rightCInfo) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[634])(self, leftC, rightCInfo); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiViewport* ImGuiViewport() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[635])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void GetCenter(Vector2* pOut, ImGuiViewport* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[637])(pOut, self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void GetWorkCenter(Vector2* pOut, ImGuiViewport* self) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[638])(pOut, self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiPlatformIO* ImGuiPlatformIO() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[639])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiPlatformMonitor* ImGuiPlatformMonitor() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[641])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiPlatformImeData* ImGuiPlatformImeData() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[643])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static int GetKeyIndex(ImGuiKey key) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[645])(key); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void LogText(byte* fmt) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[680])(fmt); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void appendf(ImGuiTextBuffer* buffer, byte* fmt) + { + + ((delegate* unmanaged[Cdecl])ImGui.funcTable[681])(buffer, fmt); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static float GETFLTMAX() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[682])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static float GETFLTMIN() + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[683])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImVector* ImVectorImWcharCreate() + { + + return ((delegate* unmanaged[Cdecl]*>)ImGui.funcTable[684])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ImVectorImWcharDestroy(ImVector* self) + { + + ((delegate* unmanaged[Cdecl]*, void>)ImGui.funcTable[685])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ImVectorImWcharInit(ImVector* p) + { + + ((delegate* unmanaged[Cdecl]*, void>)ImGui.funcTable[686])(p); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ImVectorImWcharUnInit(ImVector* p) + { + + ((delegate* unmanaged[Cdecl]*, void>)ImGui.funcTable[687])(p); + + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs.gen.cs new file mode 100644 index 000000000..f853f5402 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs.gen.cs @@ -0,0 +1,20333 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +/* ImBitArrayImGuiKeyNamedKeyCOUNTLessImGuiKeyNamedKeyBEGIN.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImBitArrayImGuiKeyNamedKeyCOUNTLessImGuiKeyNamedKeyBEGIN + { + public uint Storage_0; + public uint Storage_1; + public uint Storage_2; + public uint Storage_3; + public uint Storage_4; + public unsafe ImBitArrayImGuiKeyNamedKeyCOUNTLessImGuiKeyNamedKeyBEGIN(uint* storage = default) + { + if (storage != default(uint*)) + { + Storage_0 = storage[0]; + Storage_1 = storage[1]; + Storage_2 = storage[2]; + Storage_3 = storage[3]; + Storage_4 = storage[4]; + } + } + public unsafe ImBitArrayImGuiKeyNamedKeyCOUNTLessImGuiKeyNamedKeyBEGIN(Span storage = default) + { + if (storage != default(Span)) + { + Storage_0 = storage[0]; + Storage_1 = storage[1]; + Storage_2 = storage[2]; + Storage_3 = storage[3]; + Storage_4 = storage[4]; + } + } + } +} +/* ImBitVector.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImBitVector + { + public ImVector Storage; + public unsafe ImBitVector(ImVector storage = default) + { + Storage = storage; + } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImBitVectorPtr : IEquatable + { + public ImBitVectorPtr(ImBitVector* handle) { Handle = handle; } + public ImBitVector* Handle; + public bool IsNull => Handle == null; + public static ImBitVectorPtr Null => new ImBitVectorPtr(null); + public ImBitVector this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImBitVectorPtr(ImBitVector* handle) => new ImBitVectorPtr(handle); + public static implicit operator ImBitVector*(ImBitVectorPtr handle) => handle.Handle; + public static bool operator ==(ImBitVectorPtr left, ImBitVectorPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImBitVectorPtr left, ImBitVectorPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImBitVectorPtr left, ImBitVector* right) => left.Handle == right; + public static bool operator !=(ImBitVectorPtr left, ImBitVector* right) => left.Handle != right; + public bool Equals(ImBitVectorPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImBitVectorPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImBitVectorPtr [0x{0}]", ((nuint)Handle).ToString("X")); + public ref ImVector Storage => ref Unsafe.AsRef>(&Handle->Storage); + } +} +/* ImChunkStreamImGuiTableSettings.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImChunkStreamImGuiTableSettings + { + public ImVector Buf; + public unsafe ImChunkStreamImGuiTableSettings(ImVector buf = default) + { + Buf = buf; + } + } +} +/* ImChunkStreamImGuiWindowSettings.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImChunkStreamImGuiWindowSettings + { + public ImVector Buf; + public unsafe ImChunkStreamImGuiWindowSettings(ImVector buf = default) + { + Buf = buf; + } + } +} +/* ImColor.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImColor + { + public Vector4 Value; + public unsafe ImColor(Vector4 value = default) + { + Value = value; + } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImColorPtr : IEquatable + { + public ImColorPtr(ImColor* handle) { Handle = handle; } + public ImColor* Handle; + public bool IsNull => Handle == null; + public static ImColorPtr Null => new ImColorPtr(null); + public ImColor this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImColorPtr(ImColor* handle) => new ImColorPtr(handle); + public static implicit operator ImColor*(ImColorPtr handle) => handle.Handle; + public static bool operator ==(ImColorPtr left, ImColorPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImColorPtr left, ImColorPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImColorPtr left, ImColor* right) => left.Handle == right; + public static bool operator !=(ImColorPtr left, ImColor* right) => left.Handle != right; + public bool Equals(ImColorPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImColorPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImColorPtr [0x{0}]", ((nuint)Handle).ToString("X")); + public ref Vector4 Value => ref Unsafe.AsRef(&Handle->Value); + } +} +/* ImDrawChannel.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImDrawChannel + { + public ImVector CmdBuffer; + public ImVector IdxBuffer; + public unsafe ImDrawChannel(ImVector cmdBuffer = default, ImVector idxBuffer = default) + { + CmdBuffer = cmdBuffer; + IdxBuffer = idxBuffer; + } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImDrawChannelPtr : IEquatable + { + public ImDrawChannelPtr(ImDrawChannel* handle) { Handle = handle; } + public ImDrawChannel* Handle; + public bool IsNull => Handle == null; + public static ImDrawChannelPtr Null => new ImDrawChannelPtr(null); + public ImDrawChannel this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImDrawChannelPtr(ImDrawChannel* handle) => new ImDrawChannelPtr(handle); + public static implicit operator ImDrawChannel*(ImDrawChannelPtr handle) => handle.Handle; + public static bool operator ==(ImDrawChannelPtr left, ImDrawChannelPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImDrawChannelPtr left, ImDrawChannelPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImDrawChannelPtr left, ImDrawChannel* right) => left.Handle == right; + public static bool operator !=(ImDrawChannelPtr left, ImDrawChannel* right) => left.Handle != right; + public bool Equals(ImDrawChannelPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImDrawChannelPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImDrawChannelPtr [0x{0}]", ((nuint)Handle).ToString("X")); + public ref ImVector CmdBuffer => ref Unsafe.AsRef>(&Handle->CmdBuffer); + public ref ImVector IdxBuffer => ref Unsafe.AsRef>(&Handle->IdxBuffer); + } +} +/* ImDrawCmd.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImDrawCmd + { + public Vector4 ClipRect; + public ImTextureID TextureId; + public uint VtxOffset; + public uint IdxOffset; + public uint ElemCount; + public unsafe void* UserCallback; + public unsafe void* UserCallbackData; + public unsafe ImDrawCmd(Vector4 clipRect = default, ImTextureID textureId = default, uint vtxOffset = default, uint idxOffset = default, uint elemCount = default, ImDrawCallback userCallback = default, void* userCallbackData = default) + { + ClipRect = clipRect; + TextureId = textureId; + VtxOffset = vtxOffset; + IdxOffset = idxOffset; + ElemCount = elemCount; + UserCallback = (void*)Marshal.GetFunctionPointerForDelegate(userCallback); + UserCallbackData = userCallbackData; + } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImDrawCmdPtr : IEquatable + { + public ImDrawCmdPtr(ImDrawCmd* handle) { Handle = handle; } + public ImDrawCmd* Handle; + public bool IsNull => Handle == null; + public static ImDrawCmdPtr Null => new ImDrawCmdPtr(null); + public ImDrawCmd this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImDrawCmdPtr(ImDrawCmd* handle) => new ImDrawCmdPtr(handle); + public static implicit operator ImDrawCmd*(ImDrawCmdPtr handle) => handle.Handle; + public static bool operator ==(ImDrawCmdPtr left, ImDrawCmdPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImDrawCmdPtr left, ImDrawCmdPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImDrawCmdPtr left, ImDrawCmd* right) => left.Handle == right; + public static bool operator !=(ImDrawCmdPtr left, ImDrawCmd* right) => left.Handle != right; + public bool Equals(ImDrawCmdPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImDrawCmdPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImDrawCmdPtr [0x{0}]", ((nuint)Handle).ToString("X")); + public ref Vector4 ClipRect => ref Unsafe.AsRef(&Handle->ClipRect); + public ref ImTextureID TextureId => ref Unsafe.AsRef(&Handle->TextureId); + public ref uint VtxOffset => ref Unsafe.AsRef(&Handle->VtxOffset); + public ref uint IdxOffset => ref Unsafe.AsRef(&Handle->IdxOffset); + public ref uint ElemCount => ref Unsafe.AsRef(&Handle->ElemCount); + public void* UserCallback { get => Handle->UserCallback; set => Handle->UserCallback = value; } + public void* UserCallbackData { get => Handle->UserCallbackData; set => Handle->UserCallbackData = value; } + } +} +/* ImDrawCmdHeader.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImDrawCmdHeader + { + public Vector4 ClipRect; + public ImTextureID TextureId; + public uint VtxOffset; + public unsafe ImDrawCmdHeader(Vector4 clipRect = default, ImTextureID textureId = default, uint vtxOffset = default) + { + ClipRect = clipRect; + TextureId = textureId; + VtxOffset = vtxOffset; + } + } +} +/* ImDrawData.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImDrawData + { + public byte Valid; + public int CmdListsCount; + public int TotalIdxCount; + public int TotalVtxCount; + public unsafe ImDrawList** CmdLists; + public Vector2 DisplayPos; + public Vector2 DisplaySize; + public Vector2 FramebufferScale; + public unsafe ImGuiViewport* OwnerViewport; + public unsafe ImDrawData(bool valid = default, int cmdListsCount = default, int totalIdxCount = default, int totalVtxCount = default, ImDrawListPtrPtr cmdLists = default, Vector2 displayPos = default, Vector2 displaySize = default, Vector2 framebufferScale = default, ImGuiViewport* ownerViewport = default) + { + Valid = valid ? (byte)1 : (byte)0; + CmdListsCount = cmdListsCount; + TotalIdxCount = totalIdxCount; + TotalVtxCount = totalVtxCount; + CmdLists = cmdLists; + DisplayPos = displayPos; + DisplaySize = displaySize; + FramebufferScale = framebufferScale; + OwnerViewport = ownerViewport; + } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImDrawDataPtr : IEquatable + { + public ImDrawDataPtr(ImDrawData* handle) { Handle = handle; } + public ImDrawData* Handle; + public bool IsNull => Handle == null; + public static ImDrawDataPtr Null => new ImDrawDataPtr(null); + public ImDrawData this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImDrawDataPtr(ImDrawData* handle) => new ImDrawDataPtr(handle); + public static implicit operator ImDrawData*(ImDrawDataPtr handle) => handle.Handle; + public static bool operator ==(ImDrawDataPtr left, ImDrawDataPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImDrawDataPtr left, ImDrawDataPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImDrawDataPtr left, ImDrawData* right) => left.Handle == right; + public static bool operator !=(ImDrawDataPtr left, ImDrawData* right) => left.Handle != right; + public bool Equals(ImDrawDataPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImDrawDataPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImDrawDataPtr [0x{0}]", ((nuint)Handle).ToString("X")); + public ref bool Valid => ref Unsafe.AsRef(&Handle->Valid); + public ref int CmdListsCount => ref Unsafe.AsRef(&Handle->CmdListsCount); + public ref int TotalIdxCount => ref Unsafe.AsRef(&Handle->TotalIdxCount); + public ref int TotalVtxCount => ref Unsafe.AsRef(&Handle->TotalVtxCount); + public ref ImDrawListPtrPtr CmdLists => ref Unsafe.AsRef(&Handle->CmdLists); + public ref Vector2 DisplayPos => ref Unsafe.AsRef(&Handle->DisplayPos); + public ref Vector2 DisplaySize => ref Unsafe.AsRef(&Handle->DisplaySize); + public ref Vector2 FramebufferScale => ref Unsafe.AsRef(&Handle->FramebufferScale); + public ref ImGuiViewportPtr OwnerViewport => ref Unsafe.AsRef(&Handle->OwnerViewport); + } +} +/* ImDrawDataBuilder.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImDrawDataBuilder + { + public ImVector Layers_0; + public ImVector Layers_1; + public unsafe ImDrawDataBuilder(ImVector* layers = default) + { + if (layers != default(ImVector*)) + { + Layers_0 = layers[0]; + Layers_1 = layers[1]; + } + } + public unsafe ImDrawDataBuilder(Span> layers = default) + { + if (layers != default(Span>)) + { + Layers_0 = layers[0]; + Layers_1 = layers[1]; + } + } + public unsafe Span> Layers + { + get + { + fixed (ImVector* p = &this.Layers_0) + { + return new Span>(p, 2); + } + } + } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImDrawDataBuilderPtr : IEquatable + { + public ImDrawDataBuilderPtr(ImDrawDataBuilder* handle) { Handle = handle; } + public ImDrawDataBuilder* Handle; + public bool IsNull => Handle == null; + public static ImDrawDataBuilderPtr Null => new ImDrawDataBuilderPtr(null); + public ImDrawDataBuilder this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImDrawDataBuilderPtr(ImDrawDataBuilder* handle) => new ImDrawDataBuilderPtr(handle); + public static implicit operator ImDrawDataBuilder*(ImDrawDataBuilderPtr handle) => handle.Handle; + public static bool operator ==(ImDrawDataBuilderPtr left, ImDrawDataBuilderPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImDrawDataBuilderPtr left, ImDrawDataBuilderPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImDrawDataBuilderPtr left, ImDrawDataBuilder* right) => left.Handle == right; + public static bool operator !=(ImDrawDataBuilderPtr left, ImDrawDataBuilder* right) => left.Handle != right; + public bool Equals(ImDrawDataBuilderPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImDrawDataBuilderPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImDrawDataBuilderPtr [0x{0}]", ((nuint)Handle).ToString("X")); + public unsafe Span> Layers + { + get + { + return new Span>(&Handle->Layers_0, 2); + } + } + } +} +/* ImDrawList.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImDrawList + { + public ImVector CmdBuffer; + public ImVector IdxBuffer; + public ImVector VtxBuffer; + public ImDrawListFlags Flags; + public uint VtxCurrentIdx; + public unsafe ImDrawListSharedData* Data; + public unsafe byte* OwnerName; + public unsafe ImDrawVert* VtxWritePtr; + public unsafe ushort* IdxWritePtr; + public ImVector ClipRectStack; + public ImVector TextureIdStack; + public ImVector Path; + public ImDrawCmdHeader CmdHeader; + public ImDrawListSplitter Splitter; + public float FringeScale; + public unsafe ImDrawList(ImVector cmdBuffer = default, ImVector idxBuffer = default, ImVector vtxBuffer = default, ImDrawListFlags flags = default, uint vtxCurrentIdx = default, ImDrawListSharedData* data = default, byte* ownerName = default, ImDrawVert* vtxWritePtr = default, ushort* idxWritePtr = default, ImVector clipRectStack = default, ImVector textureIdStack = default, ImVector path = default, ImDrawCmdHeader cmdHeader = default, ImDrawListSplitter splitter = default, float fringeScale = default) + { + CmdBuffer = cmdBuffer; + IdxBuffer = idxBuffer; + VtxBuffer = vtxBuffer; + Flags = flags; + VtxCurrentIdx = vtxCurrentIdx; + Data = data; + OwnerName = ownerName; + VtxWritePtr = vtxWritePtr; + IdxWritePtr = idxWritePtr; + ClipRectStack = clipRectStack; + TextureIdStack = textureIdStack; + Path = path; + CmdHeader = cmdHeader; + Splitter = splitter; + FringeScale = fringeScale; + } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImDrawListPtr : IEquatable + { + public ImDrawListPtr(ImDrawList* handle) { Handle = handle; } + public ImDrawList* Handle; + public bool IsNull => Handle == null; + public static ImDrawListPtr Null => new ImDrawListPtr(null); + public ImDrawList this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImDrawListPtr(ImDrawList* handle) => new ImDrawListPtr(handle); + public static implicit operator ImDrawList*(ImDrawListPtr handle) => handle.Handle; + public static bool operator ==(ImDrawListPtr left, ImDrawListPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImDrawListPtr left, ImDrawListPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImDrawListPtr left, ImDrawList* right) => left.Handle == right; + public static bool operator !=(ImDrawListPtr left, ImDrawList* right) => left.Handle != right; + public bool Equals(ImDrawListPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImDrawListPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImDrawListPtr [0x{0}]", ((nuint)Handle).ToString("X")); + public ref ImVector CmdBuffer => ref Unsafe.AsRef>(&Handle->CmdBuffer); + public ref ImVector IdxBuffer => ref Unsafe.AsRef>(&Handle->IdxBuffer); + public ref ImVector VtxBuffer => ref Unsafe.AsRef>(&Handle->VtxBuffer); + public ref ImDrawListFlags Flags => ref Unsafe.AsRef(&Handle->Flags); + public ref uint VtxCurrentIdx => ref Unsafe.AsRef(&Handle->VtxCurrentIdx); + public ref ImDrawListSharedDataPtr Data => ref Unsafe.AsRef(&Handle->Data); + public byte* OwnerName { get => Handle->OwnerName; set => Handle->OwnerName = value; } + public ref ImDrawVertPtr VtxWritePtr => ref Unsafe.AsRef(&Handle->VtxWritePtr); + public ushort* IdxWritePtr { get => Handle->IdxWritePtr; set => Handle->IdxWritePtr = value; } + public ref ImVector ClipRectStack => ref Unsafe.AsRef>(&Handle->ClipRectStack); + public ref ImVector TextureIdStack => ref Unsafe.AsRef>(&Handle->TextureIdStack); + public ref ImVector Path => ref Unsafe.AsRef>(&Handle->Path); + public ref ImDrawCmdHeader CmdHeader => ref Unsafe.AsRef(&Handle->CmdHeader); + public ref ImDrawListSplitter Splitter => ref Unsafe.AsRef(&Handle->Splitter); + public ref float FringeScale => ref Unsafe.AsRef(&Handle->FringeScale); + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImDrawListPtrPtr : IEquatable + { + public ImDrawListPtrPtr(ImDrawList** handle) { Handle = handle; } + public ImDrawList** Handle; + public bool IsNull => Handle == null; + public static ImDrawListPtrPtr Null => new ImDrawListPtrPtr(null); + public ImDrawList* this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImDrawListPtrPtr(ImDrawList** handle) => new ImDrawListPtrPtr(handle); + public static implicit operator ImDrawList**(ImDrawListPtrPtr handle) => handle.Handle; + public static bool operator ==(ImDrawListPtrPtr left, ImDrawListPtrPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImDrawListPtrPtr left, ImDrawListPtrPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImDrawListPtrPtr left, ImDrawList** right) => left.Handle == right; + public static bool operator !=(ImDrawListPtrPtr left, ImDrawList** right) => left.Handle != right; + public bool Equals(ImDrawListPtrPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImDrawListPtrPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImDrawListPtrPtr [0x{0}]", ((nuint)Handle).ToString("X")); + + } +} +/* ImDrawListSharedData.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImDrawListSharedData + { + public ImTextureID TexIdCommon; + public Vector2 TexUvWhitePixel; + public unsafe ImFont* Font; + public float FontSize; + public float CurveTessellationTol; + public float CircleSegmentMaxError; + public Vector4 ClipRectFullscreen; + public ImDrawListFlags InitialFlags; + public Vector2 ArcFastVtx_0; + public Vector2 ArcFastVtx_1; + public Vector2 ArcFastVtx_2; + public Vector2 ArcFastVtx_3; + public Vector2 ArcFastVtx_4; + public Vector2 ArcFastVtx_5; + public Vector2 ArcFastVtx_6; + public Vector2 ArcFastVtx_7; + public Vector2 ArcFastVtx_8; + public Vector2 ArcFastVtx_9; + public Vector2 ArcFastVtx_10; + public Vector2 ArcFastVtx_11; + public Vector2 ArcFastVtx_12; + public Vector2 ArcFastVtx_13; + public Vector2 ArcFastVtx_14; + public Vector2 ArcFastVtx_15; + public Vector2 ArcFastVtx_16; + public Vector2 ArcFastVtx_17; + public Vector2 ArcFastVtx_18; + public Vector2 ArcFastVtx_19; + public Vector2 ArcFastVtx_20; + public Vector2 ArcFastVtx_21; + public Vector2 ArcFastVtx_22; + public Vector2 ArcFastVtx_23; + public Vector2 ArcFastVtx_24; + public Vector2 ArcFastVtx_25; + public Vector2 ArcFastVtx_26; + public Vector2 ArcFastVtx_27; + public Vector2 ArcFastVtx_28; + public Vector2 ArcFastVtx_29; + public Vector2 ArcFastVtx_30; + public Vector2 ArcFastVtx_31; + public Vector2 ArcFastVtx_32; + public Vector2 ArcFastVtx_33; + public Vector2 ArcFastVtx_34; + public Vector2 ArcFastVtx_35; + public Vector2 ArcFastVtx_36; + public Vector2 ArcFastVtx_37; + public Vector2 ArcFastVtx_38; + public Vector2 ArcFastVtx_39; + public Vector2 ArcFastVtx_40; + public Vector2 ArcFastVtx_41; + public Vector2 ArcFastVtx_42; + public Vector2 ArcFastVtx_43; + public Vector2 ArcFastVtx_44; + public Vector2 ArcFastVtx_45; + public Vector2 ArcFastVtx_46; + public Vector2 ArcFastVtx_47; + public float ArcFastRadiusCutoff; + public byte CircleSegmentCounts_0; + public byte CircleSegmentCounts_1; + public byte CircleSegmentCounts_2; + public byte CircleSegmentCounts_3; + public byte CircleSegmentCounts_4; + public byte CircleSegmentCounts_5; + public byte CircleSegmentCounts_6; + public byte CircleSegmentCounts_7; + public byte CircleSegmentCounts_8; + public byte CircleSegmentCounts_9; + public byte CircleSegmentCounts_10; + public byte CircleSegmentCounts_11; + public byte CircleSegmentCounts_12; + public byte CircleSegmentCounts_13; + public byte CircleSegmentCounts_14; + public byte CircleSegmentCounts_15; + public byte CircleSegmentCounts_16; + public byte CircleSegmentCounts_17; + public byte CircleSegmentCounts_18; + public byte CircleSegmentCounts_19; + public byte CircleSegmentCounts_20; + public byte CircleSegmentCounts_21; + public byte CircleSegmentCounts_22; + public byte CircleSegmentCounts_23; + public byte CircleSegmentCounts_24; + public byte CircleSegmentCounts_25; + public byte CircleSegmentCounts_26; + public byte CircleSegmentCounts_27; + public byte CircleSegmentCounts_28; + public byte CircleSegmentCounts_29; + public byte CircleSegmentCounts_30; + public byte CircleSegmentCounts_31; + public byte CircleSegmentCounts_32; + public byte CircleSegmentCounts_33; + public byte CircleSegmentCounts_34; + public byte CircleSegmentCounts_35; + public byte CircleSegmentCounts_36; + public byte CircleSegmentCounts_37; + public byte CircleSegmentCounts_38; + public byte CircleSegmentCounts_39; + public byte CircleSegmentCounts_40; + public byte CircleSegmentCounts_41; + public byte CircleSegmentCounts_42; + public byte CircleSegmentCounts_43; + public byte CircleSegmentCounts_44; + public byte CircleSegmentCounts_45; + public byte CircleSegmentCounts_46; + public byte CircleSegmentCounts_47; + public byte CircleSegmentCounts_48; + public byte CircleSegmentCounts_49; + public byte CircleSegmentCounts_50; + public byte CircleSegmentCounts_51; + public byte CircleSegmentCounts_52; + public byte CircleSegmentCounts_53; + public byte CircleSegmentCounts_54; + public byte CircleSegmentCounts_55; + public byte CircleSegmentCounts_56; + public byte CircleSegmentCounts_57; + public byte CircleSegmentCounts_58; + public byte CircleSegmentCounts_59; + public byte CircleSegmentCounts_60; + public byte CircleSegmentCounts_61; + public byte CircleSegmentCounts_62; + public byte CircleSegmentCounts_63; + public unsafe Vector4* TexUvLines; + public unsafe ImDrawListSharedData(ImTextureID texIdCommon = default, Vector2 texUvWhitePixel = default, ImFont* font = default, float fontSize = default, float curveTessellationTol = default, float circleSegmentMaxError = default, Vector4 clipRectFullscreen = default, ImDrawListFlags initialFlags = default, Vector2* arcFastVtx = default, float arcFastRadiusCutoff = default, byte* circleSegmentCounts = default, Vector4* texUvLines = default) + { + TexIdCommon = texIdCommon; + TexUvWhitePixel = texUvWhitePixel; + Font = font; + FontSize = fontSize; + CurveTessellationTol = curveTessellationTol; + CircleSegmentMaxError = circleSegmentMaxError; + ClipRectFullscreen = clipRectFullscreen; + InitialFlags = initialFlags; + if (arcFastVtx != default(Vector2*)) + { + ArcFastVtx_0 = arcFastVtx[0]; + ArcFastVtx_1 = arcFastVtx[1]; + ArcFastVtx_2 = arcFastVtx[2]; + ArcFastVtx_3 = arcFastVtx[3]; + ArcFastVtx_4 = arcFastVtx[4]; + ArcFastVtx_5 = arcFastVtx[5]; + ArcFastVtx_6 = arcFastVtx[6]; + ArcFastVtx_7 = arcFastVtx[7]; + ArcFastVtx_8 = arcFastVtx[8]; + ArcFastVtx_9 = arcFastVtx[9]; + ArcFastVtx_10 = arcFastVtx[10]; + ArcFastVtx_11 = arcFastVtx[11]; + ArcFastVtx_12 = arcFastVtx[12]; + ArcFastVtx_13 = arcFastVtx[13]; + ArcFastVtx_14 = arcFastVtx[14]; + ArcFastVtx_15 = arcFastVtx[15]; + ArcFastVtx_16 = arcFastVtx[16]; + ArcFastVtx_17 = arcFastVtx[17]; + ArcFastVtx_18 = arcFastVtx[18]; + ArcFastVtx_19 = arcFastVtx[19]; + ArcFastVtx_20 = arcFastVtx[20]; + ArcFastVtx_21 = arcFastVtx[21]; + ArcFastVtx_22 = arcFastVtx[22]; + ArcFastVtx_23 = arcFastVtx[23]; + ArcFastVtx_24 = arcFastVtx[24]; + ArcFastVtx_25 = arcFastVtx[25]; + ArcFastVtx_26 = arcFastVtx[26]; + ArcFastVtx_27 = arcFastVtx[27]; + ArcFastVtx_28 = arcFastVtx[28]; + ArcFastVtx_29 = arcFastVtx[29]; + ArcFastVtx_30 = arcFastVtx[30]; + ArcFastVtx_31 = arcFastVtx[31]; + ArcFastVtx_32 = arcFastVtx[32]; + ArcFastVtx_33 = arcFastVtx[33]; + ArcFastVtx_34 = arcFastVtx[34]; + ArcFastVtx_35 = arcFastVtx[35]; + ArcFastVtx_36 = arcFastVtx[36]; + ArcFastVtx_37 = arcFastVtx[37]; + ArcFastVtx_38 = arcFastVtx[38]; + ArcFastVtx_39 = arcFastVtx[39]; + ArcFastVtx_40 = arcFastVtx[40]; + ArcFastVtx_41 = arcFastVtx[41]; + ArcFastVtx_42 = arcFastVtx[42]; + ArcFastVtx_43 = arcFastVtx[43]; + ArcFastVtx_44 = arcFastVtx[44]; + ArcFastVtx_45 = arcFastVtx[45]; + ArcFastVtx_46 = arcFastVtx[46]; + ArcFastVtx_47 = arcFastVtx[47]; + } + ArcFastRadiusCutoff = arcFastRadiusCutoff; + if (circleSegmentCounts != default(byte*)) + { + CircleSegmentCounts_0 = circleSegmentCounts[0]; + CircleSegmentCounts_1 = circleSegmentCounts[1]; + CircleSegmentCounts_2 = circleSegmentCounts[2]; + CircleSegmentCounts_3 = circleSegmentCounts[3]; + CircleSegmentCounts_4 = circleSegmentCounts[4]; + CircleSegmentCounts_5 = circleSegmentCounts[5]; + CircleSegmentCounts_6 = circleSegmentCounts[6]; + CircleSegmentCounts_7 = circleSegmentCounts[7]; + CircleSegmentCounts_8 = circleSegmentCounts[8]; + CircleSegmentCounts_9 = circleSegmentCounts[9]; + CircleSegmentCounts_10 = circleSegmentCounts[10]; + CircleSegmentCounts_11 = circleSegmentCounts[11]; + CircleSegmentCounts_12 = circleSegmentCounts[12]; + CircleSegmentCounts_13 = circleSegmentCounts[13]; + CircleSegmentCounts_14 = circleSegmentCounts[14]; + CircleSegmentCounts_15 = circleSegmentCounts[15]; + CircleSegmentCounts_16 = circleSegmentCounts[16]; + CircleSegmentCounts_17 = circleSegmentCounts[17]; + CircleSegmentCounts_18 = circleSegmentCounts[18]; + CircleSegmentCounts_19 = circleSegmentCounts[19]; + CircleSegmentCounts_20 = circleSegmentCounts[20]; + CircleSegmentCounts_21 = circleSegmentCounts[21]; + CircleSegmentCounts_22 = circleSegmentCounts[22]; + CircleSegmentCounts_23 = circleSegmentCounts[23]; + CircleSegmentCounts_24 = circleSegmentCounts[24]; + CircleSegmentCounts_25 = circleSegmentCounts[25]; + CircleSegmentCounts_26 = circleSegmentCounts[26]; + CircleSegmentCounts_27 = circleSegmentCounts[27]; + CircleSegmentCounts_28 = circleSegmentCounts[28]; + CircleSegmentCounts_29 = circleSegmentCounts[29]; + CircleSegmentCounts_30 = circleSegmentCounts[30]; + CircleSegmentCounts_31 = circleSegmentCounts[31]; + CircleSegmentCounts_32 = circleSegmentCounts[32]; + CircleSegmentCounts_33 = circleSegmentCounts[33]; + CircleSegmentCounts_34 = circleSegmentCounts[34]; + CircleSegmentCounts_35 = circleSegmentCounts[35]; + CircleSegmentCounts_36 = circleSegmentCounts[36]; + CircleSegmentCounts_37 = circleSegmentCounts[37]; + CircleSegmentCounts_38 = circleSegmentCounts[38]; + CircleSegmentCounts_39 = circleSegmentCounts[39]; + CircleSegmentCounts_40 = circleSegmentCounts[40]; + CircleSegmentCounts_41 = circleSegmentCounts[41]; + CircleSegmentCounts_42 = circleSegmentCounts[42]; + CircleSegmentCounts_43 = circleSegmentCounts[43]; + CircleSegmentCounts_44 = circleSegmentCounts[44]; + CircleSegmentCounts_45 = circleSegmentCounts[45]; + CircleSegmentCounts_46 = circleSegmentCounts[46]; + CircleSegmentCounts_47 = circleSegmentCounts[47]; + CircleSegmentCounts_48 = circleSegmentCounts[48]; + CircleSegmentCounts_49 = circleSegmentCounts[49]; + CircleSegmentCounts_50 = circleSegmentCounts[50]; + CircleSegmentCounts_51 = circleSegmentCounts[51]; + CircleSegmentCounts_52 = circleSegmentCounts[52]; + CircleSegmentCounts_53 = circleSegmentCounts[53]; + CircleSegmentCounts_54 = circleSegmentCounts[54]; + CircleSegmentCounts_55 = circleSegmentCounts[55]; + CircleSegmentCounts_56 = circleSegmentCounts[56]; + CircleSegmentCounts_57 = circleSegmentCounts[57]; + CircleSegmentCounts_58 = circleSegmentCounts[58]; + CircleSegmentCounts_59 = circleSegmentCounts[59]; + CircleSegmentCounts_60 = circleSegmentCounts[60]; + CircleSegmentCounts_61 = circleSegmentCounts[61]; + CircleSegmentCounts_62 = circleSegmentCounts[62]; + CircleSegmentCounts_63 = circleSegmentCounts[63]; + } + TexUvLines = texUvLines; + } + public unsafe ImDrawListSharedData(ImTextureID texIdCommon = default, Vector2 texUvWhitePixel = default, ImFont* font = default, float fontSize = default, float curveTessellationTol = default, float circleSegmentMaxError = default, Vector4 clipRectFullscreen = default, ImDrawListFlags initialFlags = default, Span arcFastVtx = default, float arcFastRadiusCutoff = default, Span circleSegmentCounts = default, Vector4* texUvLines = default) + { + TexIdCommon = texIdCommon; + TexUvWhitePixel = texUvWhitePixel; + Font = font; + FontSize = fontSize; + CurveTessellationTol = curveTessellationTol; + CircleSegmentMaxError = circleSegmentMaxError; + ClipRectFullscreen = clipRectFullscreen; + InitialFlags = initialFlags; + if (arcFastVtx != default(Span)) + { + ArcFastVtx_0 = arcFastVtx[0]; + ArcFastVtx_1 = arcFastVtx[1]; + ArcFastVtx_2 = arcFastVtx[2]; + ArcFastVtx_3 = arcFastVtx[3]; + ArcFastVtx_4 = arcFastVtx[4]; + ArcFastVtx_5 = arcFastVtx[5]; + ArcFastVtx_6 = arcFastVtx[6]; + ArcFastVtx_7 = arcFastVtx[7]; + ArcFastVtx_8 = arcFastVtx[8]; + ArcFastVtx_9 = arcFastVtx[9]; + ArcFastVtx_10 = arcFastVtx[10]; + ArcFastVtx_11 = arcFastVtx[11]; + ArcFastVtx_12 = arcFastVtx[12]; + ArcFastVtx_13 = arcFastVtx[13]; + ArcFastVtx_14 = arcFastVtx[14]; + ArcFastVtx_15 = arcFastVtx[15]; + ArcFastVtx_16 = arcFastVtx[16]; + ArcFastVtx_17 = arcFastVtx[17]; + ArcFastVtx_18 = arcFastVtx[18]; + ArcFastVtx_19 = arcFastVtx[19]; + ArcFastVtx_20 = arcFastVtx[20]; + ArcFastVtx_21 = arcFastVtx[21]; + ArcFastVtx_22 = arcFastVtx[22]; + ArcFastVtx_23 = arcFastVtx[23]; + ArcFastVtx_24 = arcFastVtx[24]; + ArcFastVtx_25 = arcFastVtx[25]; + ArcFastVtx_26 = arcFastVtx[26]; + ArcFastVtx_27 = arcFastVtx[27]; + ArcFastVtx_28 = arcFastVtx[28]; + ArcFastVtx_29 = arcFastVtx[29]; + ArcFastVtx_30 = arcFastVtx[30]; + ArcFastVtx_31 = arcFastVtx[31]; + ArcFastVtx_32 = arcFastVtx[32]; + ArcFastVtx_33 = arcFastVtx[33]; + ArcFastVtx_34 = arcFastVtx[34]; + ArcFastVtx_35 = arcFastVtx[35]; + ArcFastVtx_36 = arcFastVtx[36]; + ArcFastVtx_37 = arcFastVtx[37]; + ArcFastVtx_38 = arcFastVtx[38]; + ArcFastVtx_39 = arcFastVtx[39]; + ArcFastVtx_40 = arcFastVtx[40]; + ArcFastVtx_41 = arcFastVtx[41]; + ArcFastVtx_42 = arcFastVtx[42]; + ArcFastVtx_43 = arcFastVtx[43]; + ArcFastVtx_44 = arcFastVtx[44]; + ArcFastVtx_45 = arcFastVtx[45]; + ArcFastVtx_46 = arcFastVtx[46]; + ArcFastVtx_47 = arcFastVtx[47]; + } + ArcFastRadiusCutoff = arcFastRadiusCutoff; + if (circleSegmentCounts != default(Span)) + { + CircleSegmentCounts_0 = circleSegmentCounts[0]; + CircleSegmentCounts_1 = circleSegmentCounts[1]; + CircleSegmentCounts_2 = circleSegmentCounts[2]; + CircleSegmentCounts_3 = circleSegmentCounts[3]; + CircleSegmentCounts_4 = circleSegmentCounts[4]; + CircleSegmentCounts_5 = circleSegmentCounts[5]; + CircleSegmentCounts_6 = circleSegmentCounts[6]; + CircleSegmentCounts_7 = circleSegmentCounts[7]; + CircleSegmentCounts_8 = circleSegmentCounts[8]; + CircleSegmentCounts_9 = circleSegmentCounts[9]; + CircleSegmentCounts_10 = circleSegmentCounts[10]; + CircleSegmentCounts_11 = circleSegmentCounts[11]; + CircleSegmentCounts_12 = circleSegmentCounts[12]; + CircleSegmentCounts_13 = circleSegmentCounts[13]; + CircleSegmentCounts_14 = circleSegmentCounts[14]; + CircleSegmentCounts_15 = circleSegmentCounts[15]; + CircleSegmentCounts_16 = circleSegmentCounts[16]; + CircleSegmentCounts_17 = circleSegmentCounts[17]; + CircleSegmentCounts_18 = circleSegmentCounts[18]; + CircleSegmentCounts_19 = circleSegmentCounts[19]; + CircleSegmentCounts_20 = circleSegmentCounts[20]; + CircleSegmentCounts_21 = circleSegmentCounts[21]; + CircleSegmentCounts_22 = circleSegmentCounts[22]; + CircleSegmentCounts_23 = circleSegmentCounts[23]; + CircleSegmentCounts_24 = circleSegmentCounts[24]; + CircleSegmentCounts_25 = circleSegmentCounts[25]; + CircleSegmentCounts_26 = circleSegmentCounts[26]; + CircleSegmentCounts_27 = circleSegmentCounts[27]; + CircleSegmentCounts_28 = circleSegmentCounts[28]; + CircleSegmentCounts_29 = circleSegmentCounts[29]; + CircleSegmentCounts_30 = circleSegmentCounts[30]; + CircleSegmentCounts_31 = circleSegmentCounts[31]; + CircleSegmentCounts_32 = circleSegmentCounts[32]; + CircleSegmentCounts_33 = circleSegmentCounts[33]; + CircleSegmentCounts_34 = circleSegmentCounts[34]; + CircleSegmentCounts_35 = circleSegmentCounts[35]; + CircleSegmentCounts_36 = circleSegmentCounts[36]; + CircleSegmentCounts_37 = circleSegmentCounts[37]; + CircleSegmentCounts_38 = circleSegmentCounts[38]; + CircleSegmentCounts_39 = circleSegmentCounts[39]; + CircleSegmentCounts_40 = circleSegmentCounts[40]; + CircleSegmentCounts_41 = circleSegmentCounts[41]; + CircleSegmentCounts_42 = circleSegmentCounts[42]; + CircleSegmentCounts_43 = circleSegmentCounts[43]; + CircleSegmentCounts_44 = circleSegmentCounts[44]; + CircleSegmentCounts_45 = circleSegmentCounts[45]; + CircleSegmentCounts_46 = circleSegmentCounts[46]; + CircleSegmentCounts_47 = circleSegmentCounts[47]; + CircleSegmentCounts_48 = circleSegmentCounts[48]; + CircleSegmentCounts_49 = circleSegmentCounts[49]; + CircleSegmentCounts_50 = circleSegmentCounts[50]; + CircleSegmentCounts_51 = circleSegmentCounts[51]; + CircleSegmentCounts_52 = circleSegmentCounts[52]; + CircleSegmentCounts_53 = circleSegmentCounts[53]; + CircleSegmentCounts_54 = circleSegmentCounts[54]; + CircleSegmentCounts_55 = circleSegmentCounts[55]; + CircleSegmentCounts_56 = circleSegmentCounts[56]; + CircleSegmentCounts_57 = circleSegmentCounts[57]; + CircleSegmentCounts_58 = circleSegmentCounts[58]; + CircleSegmentCounts_59 = circleSegmentCounts[59]; + CircleSegmentCounts_60 = circleSegmentCounts[60]; + CircleSegmentCounts_61 = circleSegmentCounts[61]; + CircleSegmentCounts_62 = circleSegmentCounts[62]; + CircleSegmentCounts_63 = circleSegmentCounts[63]; + } + TexUvLines = texUvLines; + } + public unsafe Span ArcFastVtx + { + get + { + fixed (Vector2* p = &this.ArcFastVtx_0) + { + return new Span(p, 48); + } + } + } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImDrawListSharedDataPtr : IEquatable + { + public ImDrawListSharedDataPtr(ImDrawListSharedData* handle) { Handle = handle; } + public ImDrawListSharedData* Handle; + public bool IsNull => Handle == null; + public static ImDrawListSharedDataPtr Null => new ImDrawListSharedDataPtr(null); + public ImDrawListSharedData this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImDrawListSharedDataPtr(ImDrawListSharedData* handle) => new ImDrawListSharedDataPtr(handle); + public static implicit operator ImDrawListSharedData*(ImDrawListSharedDataPtr handle) => handle.Handle; + public static bool operator ==(ImDrawListSharedDataPtr left, ImDrawListSharedDataPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImDrawListSharedDataPtr left, ImDrawListSharedDataPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImDrawListSharedDataPtr left, ImDrawListSharedData* right) => left.Handle == right; + public static bool operator !=(ImDrawListSharedDataPtr left, ImDrawListSharedData* right) => left.Handle != right; + public bool Equals(ImDrawListSharedDataPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImDrawListSharedDataPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImDrawListSharedDataPtr [0x{0}]", ((nuint)Handle).ToString("X")); + public ref ImTextureID TexIdCommon => ref Unsafe.AsRef(&Handle->TexIdCommon); + public ref Vector2 TexUvWhitePixel => ref Unsafe.AsRef(&Handle->TexUvWhitePixel); + public ref ImFontPtr Font => ref Unsafe.AsRef(&Handle->Font); + public ref float FontSize => ref Unsafe.AsRef(&Handle->FontSize); + public ref float CurveTessellationTol => ref Unsafe.AsRef(&Handle->CurveTessellationTol); + public ref float CircleSegmentMaxError => ref Unsafe.AsRef(&Handle->CircleSegmentMaxError); + public ref Vector4 ClipRectFullscreen => ref Unsafe.AsRef(&Handle->ClipRectFullscreen); + public ref ImDrawListFlags InitialFlags => ref Unsafe.AsRef(&Handle->InitialFlags); + public unsafe Span ArcFastVtx + { + get + { + return new Span(&Handle->ArcFastVtx_0, 48); + } + } + public ref float ArcFastRadiusCutoff => ref Unsafe.AsRef(&Handle->ArcFastRadiusCutoff); + public unsafe Span CircleSegmentCounts + { + get + { + return new Span(&Handle->CircleSegmentCounts_0, 64); + } + } + public Vector4* TexUvLines { get => Handle->TexUvLines; set => Handle->TexUvLines = value; } + } +} +/* ImDrawListSplitter.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImDrawListSplitter + { + public int Current; + public int Count; + public ImVector Channels; + public unsafe ImDrawListSplitter(int current = default, int count = default, ImVector channels = default) + { + Current = current; + Count = count; + Channels = channels; + } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImDrawListSplitterPtr : IEquatable + { + public ImDrawListSplitterPtr(ImDrawListSplitter* handle) { Handle = handle; } + public ImDrawListSplitter* Handle; + public bool IsNull => Handle == null; + public static ImDrawListSplitterPtr Null => new ImDrawListSplitterPtr(null); + public ImDrawListSplitter this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImDrawListSplitterPtr(ImDrawListSplitter* handle) => new ImDrawListSplitterPtr(handle); + public static implicit operator ImDrawListSplitter*(ImDrawListSplitterPtr handle) => handle.Handle; + public static bool operator ==(ImDrawListSplitterPtr left, ImDrawListSplitterPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImDrawListSplitterPtr left, ImDrawListSplitterPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImDrawListSplitterPtr left, ImDrawListSplitter* right) => left.Handle == right; + public static bool operator !=(ImDrawListSplitterPtr left, ImDrawListSplitter* right) => left.Handle != right; + public bool Equals(ImDrawListSplitterPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImDrawListSplitterPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImDrawListSplitterPtr [0x{0}]", ((nuint)Handle).ToString("X")); + public ref int Current => ref Unsafe.AsRef(&Handle->Current); + public ref int Count => ref Unsafe.AsRef(&Handle->Count); + public ref ImVector Channels => ref Unsafe.AsRef>(&Handle->Channels); + } +} +/* ImDrawVert.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImDrawVert + { + public Vector2 Pos; + public Vector2 Uv; + public uint Col; + public unsafe ImDrawVert(Vector2 pos = default, Vector2 uv = default, uint col = default) + { + Pos = pos; + Uv = uv; + Col = col; + } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImDrawVertPtr : IEquatable + { + public ImDrawVertPtr(ImDrawVert* handle) { Handle = handle; } + public ImDrawVert* Handle; + public bool IsNull => Handle == null; + public static ImDrawVertPtr Null => new ImDrawVertPtr(null); + public ImDrawVert this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImDrawVertPtr(ImDrawVert* handle) => new ImDrawVertPtr(handle); + public static implicit operator ImDrawVert*(ImDrawVertPtr handle) => handle.Handle; + public static bool operator ==(ImDrawVertPtr left, ImDrawVertPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImDrawVertPtr left, ImDrawVertPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImDrawVertPtr left, ImDrawVert* right) => left.Handle == right; + public static bool operator !=(ImDrawVertPtr left, ImDrawVert* right) => left.Handle != right; + public bool Equals(ImDrawVertPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImDrawVertPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImDrawVertPtr [0x{0}]", ((nuint)Handle).ToString("X")); + public ref Vector2 Pos => ref Unsafe.AsRef(&Handle->Pos); + public ref Vector2 Uv => ref Unsafe.AsRef(&Handle->Uv); + public ref uint Col => ref Unsafe.AsRef(&Handle->Col); + } +} +/* ImFont.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImFont + { + public ImVector IndexedHotData; + public ImVector FrequentKerningPairs; + public float FontSize; + public ImVector IndexLookup; + public ImVector Glyphs; + public unsafe ImFontGlyph* FallbackGlyph; + public unsafe ImFontGlyphHotData* FallbackHotData; + public ImVector KerningPairs; + public unsafe ImFontAtlas* ContainerAtlas; + public unsafe ImFontConfig* ConfigData; + public short ConfigDataCount; + public ushort FallbackChar; + public ushort EllipsisChar; + public ushort DotChar; + public byte DirtyLookupTables; + public float Scale; + public float Ascent; + public float Descent; + public int MetricsTotalSurface; + public byte Used4kPagesMap_0; + public byte Used4kPagesMap_1; + public unsafe ImFont(ImVector indexedHotData = default, ImVector frequentKerningPairs = default, float fontSize = default, ImVector indexLookup = default, ImVector glyphs = default, ImFontGlyph* fallbackGlyph = default, ImFontGlyphHotData* fallbackHotData = default, ImVector kerningPairs = default, ImFontAtlas* containerAtlas = default, ImFontConfig* configData = default, short configDataCount = default, ushort fallbackChar = default, ushort ellipsisChar = default, ushort dotChar = default, bool dirtyLookupTables = default, float scale = default, float ascent = default, float descent = default, int metricsTotalSurface = default, byte* used4KPagesMap = default) + { + IndexedHotData = indexedHotData; + FrequentKerningPairs = frequentKerningPairs; + FontSize = fontSize; + IndexLookup = indexLookup; + Glyphs = glyphs; + FallbackGlyph = fallbackGlyph; + FallbackHotData = fallbackHotData; + KerningPairs = kerningPairs; + ContainerAtlas = containerAtlas; + ConfigData = configData; + ConfigDataCount = configDataCount; + FallbackChar = fallbackChar; + EllipsisChar = ellipsisChar; + DotChar = dotChar; + DirtyLookupTables = dirtyLookupTables ? (byte)1 : (byte)0; + Scale = scale; + Ascent = ascent; + Descent = descent; + MetricsTotalSurface = metricsTotalSurface; + if (used4KPagesMap != default(byte*)) + { + Used4kPagesMap_0 = used4KPagesMap[0]; + Used4kPagesMap_1 = used4KPagesMap[1]; + } + } + public unsafe ImFont(ImVector indexedHotData = default, ImVector frequentKerningPairs = default, float fontSize = default, ImVector indexLookup = default, ImVector glyphs = default, ImFontGlyph* fallbackGlyph = default, ImFontGlyphHotData* fallbackHotData = default, ImVector kerningPairs = default, ImFontAtlas* containerAtlas = default, ImFontConfig* configData = default, short configDataCount = default, ushort fallbackChar = default, ushort ellipsisChar = default, ushort dotChar = default, bool dirtyLookupTables = default, float scale = default, float ascent = default, float descent = default, int metricsTotalSurface = default, Span used4KPagesMap = default) + { + IndexedHotData = indexedHotData; + FrequentKerningPairs = frequentKerningPairs; + FontSize = fontSize; + IndexLookup = indexLookup; + Glyphs = glyphs; + FallbackGlyph = fallbackGlyph; + FallbackHotData = fallbackHotData; + KerningPairs = kerningPairs; + ContainerAtlas = containerAtlas; + ConfigData = configData; + ConfigDataCount = configDataCount; + FallbackChar = fallbackChar; + EllipsisChar = ellipsisChar; + DotChar = dotChar; + DirtyLookupTables = dirtyLookupTables ? (byte)1 : (byte)0; + Scale = scale; + Ascent = ascent; + Descent = descent; + MetricsTotalSurface = metricsTotalSurface; + if (used4KPagesMap != default(Span)) + { + Used4kPagesMap_0 = used4KPagesMap[0]; + Used4kPagesMap_1 = used4KPagesMap[1]; + } + } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImFontPtr : IEquatable + { + public ImFontPtr(ImFont* handle) { Handle = handle; } + public ImFont* Handle; + public bool IsNull => Handle == null; + public static ImFontPtr Null => new ImFontPtr(null); + public ImFont this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImFontPtr(ImFont* handle) => new ImFontPtr(handle); + public static implicit operator ImFont*(ImFontPtr handle) => handle.Handle; + public static bool operator ==(ImFontPtr left, ImFontPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImFontPtr left, ImFontPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImFontPtr left, ImFont* right) => left.Handle == right; + public static bool operator !=(ImFontPtr left, ImFont* right) => left.Handle != right; + public bool Equals(ImFontPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImFontPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImFontPtr [0x{0}]", ((nuint)Handle).ToString("X")); + public ref ImVector IndexedHotData => ref Unsafe.AsRef>(&Handle->IndexedHotData); + public ref ImVector FrequentKerningPairs => ref Unsafe.AsRef>(&Handle->FrequentKerningPairs); + public ref float FontSize => ref Unsafe.AsRef(&Handle->FontSize); + public ref ImVector IndexLookup => ref Unsafe.AsRef>(&Handle->IndexLookup); + public ref ImVector Glyphs => ref Unsafe.AsRef>(&Handle->Glyphs); + public ref ImFontGlyphPtr FallbackGlyph => ref Unsafe.AsRef(&Handle->FallbackGlyph); + public ref ImFontGlyphHotDataPtr FallbackHotData => ref Unsafe.AsRef(&Handle->FallbackHotData); + public ref ImVector KerningPairs => ref Unsafe.AsRef>(&Handle->KerningPairs); + public ref ImFontAtlasPtr ContainerAtlas => ref Unsafe.AsRef(&Handle->ContainerAtlas); + public ref ImFontConfigPtr ConfigData => ref Unsafe.AsRef(&Handle->ConfigData); + public ref short ConfigDataCount => ref Unsafe.AsRef(&Handle->ConfigDataCount); + public ref ushort FallbackChar => ref Unsafe.AsRef(&Handle->FallbackChar); + public ref ushort EllipsisChar => ref Unsafe.AsRef(&Handle->EllipsisChar); + public ref ushort DotChar => ref Unsafe.AsRef(&Handle->DotChar); + public ref bool DirtyLookupTables => ref Unsafe.AsRef(&Handle->DirtyLookupTables); + public ref float Scale => ref Unsafe.AsRef(&Handle->Scale); + public ref float Ascent => ref Unsafe.AsRef(&Handle->Ascent); + public ref float Descent => ref Unsafe.AsRef(&Handle->Descent); + public ref int MetricsTotalSurface => ref Unsafe.AsRef(&Handle->MetricsTotalSurface); + public unsafe Span Used4kPagesMap + { + get + { + return new Span(&Handle->Used4kPagesMap_0, 2); + } + } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImFontPtrPtr : IEquatable + { + public ImFontPtrPtr(ImFont** handle) { Handle = handle; } + public ImFont** Handle; + public bool IsNull => Handle == null; + public static ImFontPtrPtr Null => new ImFontPtrPtr(null); + public ImFont* this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImFontPtrPtr(ImFont** handle) => new ImFontPtrPtr(handle); + public static implicit operator ImFont**(ImFontPtrPtr handle) => handle.Handle; + public static bool operator ==(ImFontPtrPtr left, ImFontPtrPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImFontPtrPtr left, ImFontPtrPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImFontPtrPtr left, ImFont** right) => left.Handle == right; + public static bool operator !=(ImFontPtrPtr left, ImFont** right) => left.Handle != right; + public bool Equals(ImFontPtrPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImFontPtrPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImFontPtrPtr [0x{0}]", ((nuint)Handle).ToString("X")); + + } +} +/* ImFontAtlas.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImFontAtlas + { + public ImFontAtlasFlags Flags; + public ImVector Textures; + public int TexDesiredWidth; + public int TexDesiredHeight; + public int TexGlyphPadding; + public byte Locked; + public byte TexReady; + public byte TexPixelsUseColors; + public int TexWidth; + public int TexHeight; + public Vector2 TexUvScale; + public Vector2 TexUvWhitePixel; + public ImVector Fonts; + public ImVector CustomRects; + public ImVector ConfigData; + public Vector4 TexUvLines_0; + public Vector4 TexUvLines_1; + public Vector4 TexUvLines_2; + public Vector4 TexUvLines_3; + public Vector4 TexUvLines_4; + public Vector4 TexUvLines_5; + public Vector4 TexUvLines_6; + public Vector4 TexUvLines_7; + public Vector4 TexUvLines_8; + public Vector4 TexUvLines_9; + public Vector4 TexUvLines_10; + public Vector4 TexUvLines_11; + public Vector4 TexUvLines_12; + public Vector4 TexUvLines_13; + public Vector4 TexUvLines_14; + public Vector4 TexUvLines_15; + public Vector4 TexUvLines_16; + public Vector4 TexUvLines_17; + public Vector4 TexUvLines_18; + public Vector4 TexUvLines_19; + public Vector4 TexUvLines_20; + public Vector4 TexUvLines_21; + public Vector4 TexUvLines_22; + public Vector4 TexUvLines_23; + public Vector4 TexUvLines_24; + public Vector4 TexUvLines_25; + public Vector4 TexUvLines_26; + public Vector4 TexUvLines_27; + public Vector4 TexUvLines_28; + public Vector4 TexUvLines_29; + public Vector4 TexUvLines_30; + public Vector4 TexUvLines_31; + public Vector4 TexUvLines_32; + public Vector4 TexUvLines_33; + public Vector4 TexUvLines_34; + public Vector4 TexUvLines_35; + public Vector4 TexUvLines_36; + public Vector4 TexUvLines_37; + public Vector4 TexUvLines_38; + public Vector4 TexUvLines_39; + public Vector4 TexUvLines_40; + public Vector4 TexUvLines_41; + public Vector4 TexUvLines_42; + public Vector4 TexUvLines_43; + public Vector4 TexUvLines_44; + public Vector4 TexUvLines_45; + public Vector4 TexUvLines_46; + public Vector4 TexUvLines_47; + public Vector4 TexUvLines_48; + public Vector4 TexUvLines_49; + public Vector4 TexUvLines_50; + public Vector4 TexUvLines_51; + public Vector4 TexUvLines_52; + public Vector4 TexUvLines_53; + public Vector4 TexUvLines_54; + public Vector4 TexUvLines_55; + public Vector4 TexUvLines_56; + public Vector4 TexUvLines_57; + public Vector4 TexUvLines_58; + public Vector4 TexUvLines_59; + public Vector4 TexUvLines_60; + public Vector4 TexUvLines_61; + public Vector4 TexUvLines_62; + public Vector4 TexUvLines_63; + public unsafe ImFontBuilderIO* FontBuilderIO; + public uint FontBuilderFlags; + public int TextureIndexCommon; + public int PackIdCommon; + public ImFontAtlasCustomRect RectMouseCursors; + public ImFontAtlasCustomRect RectLines; + public unsafe ImFontAtlas(ImFontAtlasFlags flags = default, ImVector textures = default, int texDesiredWidth = default, int texDesiredHeight = default, int texGlyphPadding = default, bool locked = default, bool texReady = default, bool texPixelsUseColors = default, int texWidth = default, int texHeight = default, Vector2 texUvScale = default, Vector2 texUvWhitePixel = default, ImVector fonts = default, ImVector customRects = default, ImVector configData = default, Vector4* texUvLines = default, ImFontBuilderIO* fontBuilderIo = default, uint fontBuilderFlags = default, int textureIndexCommon = default, int packIdCommon = default, ImFontAtlasCustomRect rectMouseCursors = default, ImFontAtlasCustomRect rectLines = default) + { + Flags = flags; + Textures = textures; + TexDesiredWidth = texDesiredWidth; + TexDesiredHeight = texDesiredHeight; + TexGlyphPadding = texGlyphPadding; + Locked = locked ? (byte)1 : (byte)0; + TexReady = texReady ? (byte)1 : (byte)0; + TexPixelsUseColors = texPixelsUseColors ? (byte)1 : (byte)0; + TexWidth = texWidth; + TexHeight = texHeight; + TexUvScale = texUvScale; + TexUvWhitePixel = texUvWhitePixel; + Fonts = fonts; + CustomRects = customRects; + ConfigData = configData; + if (texUvLines != default(Vector4*)) + { + TexUvLines_0 = texUvLines[0]; + TexUvLines_1 = texUvLines[1]; + TexUvLines_2 = texUvLines[2]; + TexUvLines_3 = texUvLines[3]; + TexUvLines_4 = texUvLines[4]; + TexUvLines_5 = texUvLines[5]; + TexUvLines_6 = texUvLines[6]; + TexUvLines_7 = texUvLines[7]; + TexUvLines_8 = texUvLines[8]; + TexUvLines_9 = texUvLines[9]; + TexUvLines_10 = texUvLines[10]; + TexUvLines_11 = texUvLines[11]; + TexUvLines_12 = texUvLines[12]; + TexUvLines_13 = texUvLines[13]; + TexUvLines_14 = texUvLines[14]; + TexUvLines_15 = texUvLines[15]; + TexUvLines_16 = texUvLines[16]; + TexUvLines_17 = texUvLines[17]; + TexUvLines_18 = texUvLines[18]; + TexUvLines_19 = texUvLines[19]; + TexUvLines_20 = texUvLines[20]; + TexUvLines_21 = texUvLines[21]; + TexUvLines_22 = texUvLines[22]; + TexUvLines_23 = texUvLines[23]; + TexUvLines_24 = texUvLines[24]; + TexUvLines_25 = texUvLines[25]; + TexUvLines_26 = texUvLines[26]; + TexUvLines_27 = texUvLines[27]; + TexUvLines_28 = texUvLines[28]; + TexUvLines_29 = texUvLines[29]; + TexUvLines_30 = texUvLines[30]; + TexUvLines_31 = texUvLines[31]; + TexUvLines_32 = texUvLines[32]; + TexUvLines_33 = texUvLines[33]; + TexUvLines_34 = texUvLines[34]; + TexUvLines_35 = texUvLines[35]; + TexUvLines_36 = texUvLines[36]; + TexUvLines_37 = texUvLines[37]; + TexUvLines_38 = texUvLines[38]; + TexUvLines_39 = texUvLines[39]; + TexUvLines_40 = texUvLines[40]; + TexUvLines_41 = texUvLines[41]; + TexUvLines_42 = texUvLines[42]; + TexUvLines_43 = texUvLines[43]; + TexUvLines_44 = texUvLines[44]; + TexUvLines_45 = texUvLines[45]; + TexUvLines_46 = texUvLines[46]; + TexUvLines_47 = texUvLines[47]; + TexUvLines_48 = texUvLines[48]; + TexUvLines_49 = texUvLines[49]; + TexUvLines_50 = texUvLines[50]; + TexUvLines_51 = texUvLines[51]; + TexUvLines_52 = texUvLines[52]; + TexUvLines_53 = texUvLines[53]; + TexUvLines_54 = texUvLines[54]; + TexUvLines_55 = texUvLines[55]; + TexUvLines_56 = texUvLines[56]; + TexUvLines_57 = texUvLines[57]; + TexUvLines_58 = texUvLines[58]; + TexUvLines_59 = texUvLines[59]; + TexUvLines_60 = texUvLines[60]; + TexUvLines_61 = texUvLines[61]; + TexUvLines_62 = texUvLines[62]; + TexUvLines_63 = texUvLines[63]; + } + FontBuilderIO = fontBuilderIo; + FontBuilderFlags = fontBuilderFlags; + TextureIndexCommon = textureIndexCommon; + PackIdCommon = packIdCommon; + RectMouseCursors = rectMouseCursors; + RectLines = rectLines; + } + public unsafe ImFontAtlas(ImFontAtlasFlags flags = default, ImVector textures = default, int texDesiredWidth = default, int texDesiredHeight = default, int texGlyphPadding = default, bool locked = default, bool texReady = default, bool texPixelsUseColors = default, int texWidth = default, int texHeight = default, Vector2 texUvScale = default, Vector2 texUvWhitePixel = default, ImVector fonts = default, ImVector customRects = default, ImVector configData = default, Span texUvLines = default, ImFontBuilderIO* fontBuilderIo = default, uint fontBuilderFlags = default, int textureIndexCommon = default, int packIdCommon = default, ImFontAtlasCustomRect rectMouseCursors = default, ImFontAtlasCustomRect rectLines = default) + { + Flags = flags; + Textures = textures; + TexDesiredWidth = texDesiredWidth; + TexDesiredHeight = texDesiredHeight; + TexGlyphPadding = texGlyphPadding; + Locked = locked ? (byte)1 : (byte)0; + TexReady = texReady ? (byte)1 : (byte)0; + TexPixelsUseColors = texPixelsUseColors ? (byte)1 : (byte)0; + TexWidth = texWidth; + TexHeight = texHeight; + TexUvScale = texUvScale; + TexUvWhitePixel = texUvWhitePixel; + Fonts = fonts; + CustomRects = customRects; + ConfigData = configData; + if (texUvLines != default(Span)) + { + TexUvLines_0 = texUvLines[0]; + TexUvLines_1 = texUvLines[1]; + TexUvLines_2 = texUvLines[2]; + TexUvLines_3 = texUvLines[3]; + TexUvLines_4 = texUvLines[4]; + TexUvLines_5 = texUvLines[5]; + TexUvLines_6 = texUvLines[6]; + TexUvLines_7 = texUvLines[7]; + TexUvLines_8 = texUvLines[8]; + TexUvLines_9 = texUvLines[9]; + TexUvLines_10 = texUvLines[10]; + TexUvLines_11 = texUvLines[11]; + TexUvLines_12 = texUvLines[12]; + TexUvLines_13 = texUvLines[13]; + TexUvLines_14 = texUvLines[14]; + TexUvLines_15 = texUvLines[15]; + TexUvLines_16 = texUvLines[16]; + TexUvLines_17 = texUvLines[17]; + TexUvLines_18 = texUvLines[18]; + TexUvLines_19 = texUvLines[19]; + TexUvLines_20 = texUvLines[20]; + TexUvLines_21 = texUvLines[21]; + TexUvLines_22 = texUvLines[22]; + TexUvLines_23 = texUvLines[23]; + TexUvLines_24 = texUvLines[24]; + TexUvLines_25 = texUvLines[25]; + TexUvLines_26 = texUvLines[26]; + TexUvLines_27 = texUvLines[27]; + TexUvLines_28 = texUvLines[28]; + TexUvLines_29 = texUvLines[29]; + TexUvLines_30 = texUvLines[30]; + TexUvLines_31 = texUvLines[31]; + TexUvLines_32 = texUvLines[32]; + TexUvLines_33 = texUvLines[33]; + TexUvLines_34 = texUvLines[34]; + TexUvLines_35 = texUvLines[35]; + TexUvLines_36 = texUvLines[36]; + TexUvLines_37 = texUvLines[37]; + TexUvLines_38 = texUvLines[38]; + TexUvLines_39 = texUvLines[39]; + TexUvLines_40 = texUvLines[40]; + TexUvLines_41 = texUvLines[41]; + TexUvLines_42 = texUvLines[42]; + TexUvLines_43 = texUvLines[43]; + TexUvLines_44 = texUvLines[44]; + TexUvLines_45 = texUvLines[45]; + TexUvLines_46 = texUvLines[46]; + TexUvLines_47 = texUvLines[47]; + TexUvLines_48 = texUvLines[48]; + TexUvLines_49 = texUvLines[49]; + TexUvLines_50 = texUvLines[50]; + TexUvLines_51 = texUvLines[51]; + TexUvLines_52 = texUvLines[52]; + TexUvLines_53 = texUvLines[53]; + TexUvLines_54 = texUvLines[54]; + TexUvLines_55 = texUvLines[55]; + TexUvLines_56 = texUvLines[56]; + TexUvLines_57 = texUvLines[57]; + TexUvLines_58 = texUvLines[58]; + TexUvLines_59 = texUvLines[59]; + TexUvLines_60 = texUvLines[60]; + TexUvLines_61 = texUvLines[61]; + TexUvLines_62 = texUvLines[62]; + TexUvLines_63 = texUvLines[63]; + } + FontBuilderIO = fontBuilderIo; + FontBuilderFlags = fontBuilderFlags; + TextureIndexCommon = textureIndexCommon; + PackIdCommon = packIdCommon; + RectMouseCursors = rectMouseCursors; + RectLines = rectLines; + } + public unsafe Span TexUvLines + { + get + { + fixed (Vector4* p = &this.TexUvLines_0) + { + return new Span(p, 64); + } + } + } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImFontAtlasPtr : IEquatable + { + public ImFontAtlasPtr(ImFontAtlas* handle) { Handle = handle; } + public ImFontAtlas* Handle; + public bool IsNull => Handle == null; + public static ImFontAtlasPtr Null => new ImFontAtlasPtr(null); + public ImFontAtlas this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImFontAtlasPtr(ImFontAtlas* handle) => new ImFontAtlasPtr(handle); + public static implicit operator ImFontAtlas*(ImFontAtlasPtr handle) => handle.Handle; + public static bool operator ==(ImFontAtlasPtr left, ImFontAtlasPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImFontAtlasPtr left, ImFontAtlasPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImFontAtlasPtr left, ImFontAtlas* right) => left.Handle == right; + public static bool operator !=(ImFontAtlasPtr left, ImFontAtlas* right) => left.Handle != right; + public bool Equals(ImFontAtlasPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImFontAtlasPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImFontAtlasPtr [0x{0}]", ((nuint)Handle).ToString("X")); + public ref ImFontAtlasFlags Flags => ref Unsafe.AsRef(&Handle->Flags); + public ref ImVector Textures => ref Unsafe.AsRef>(&Handle->Textures); + public ref int TexDesiredWidth => ref Unsafe.AsRef(&Handle->TexDesiredWidth); + public ref int TexDesiredHeight => ref Unsafe.AsRef(&Handle->TexDesiredHeight); + public ref int TexGlyphPadding => ref Unsafe.AsRef(&Handle->TexGlyphPadding); + public ref bool Locked => ref Unsafe.AsRef(&Handle->Locked); + public ref bool TexReady => ref Unsafe.AsRef(&Handle->TexReady); + public ref bool TexPixelsUseColors => ref Unsafe.AsRef(&Handle->TexPixelsUseColors); + public ref int TexWidth => ref Unsafe.AsRef(&Handle->TexWidth); + public ref int TexHeight => ref Unsafe.AsRef(&Handle->TexHeight); + public ref Vector2 TexUvScale => ref Unsafe.AsRef(&Handle->TexUvScale); + public ref Vector2 TexUvWhitePixel => ref Unsafe.AsRef(&Handle->TexUvWhitePixel); + public ref ImVector Fonts => ref Unsafe.AsRef>(&Handle->Fonts); + public ref ImVector CustomRects => ref Unsafe.AsRef>(&Handle->CustomRects); + public ref ImVector ConfigData => ref Unsafe.AsRef>(&Handle->ConfigData); + public unsafe Span TexUvLines + { + get + { + return new Span(&Handle->TexUvLines_0, 64); + } + } + public ref ImFontBuilderIOPtr FontBuilderIO => ref Unsafe.AsRef(&Handle->FontBuilderIO); + public ref uint FontBuilderFlags => ref Unsafe.AsRef(&Handle->FontBuilderFlags); + public ref int TextureIndexCommon => ref Unsafe.AsRef(&Handle->TextureIndexCommon); + public ref int PackIdCommon => ref Unsafe.AsRef(&Handle->PackIdCommon); + public ref ImFontAtlasCustomRect RectMouseCursors => ref Unsafe.AsRef(&Handle->RectMouseCursors); + public ref ImFontAtlasCustomRect RectLines => ref Unsafe.AsRef(&Handle->RectLines); + } +} +/* ImFontAtlasCustomRect.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImFontAtlasCustomRect + { + public ushort Width; + public ushort Height; + public ushort X; + public ushort Y; + public uint RawBits0; + public float GlyphAdvanceX; + public Vector2 GlyphOffset; + public unsafe ImFont* Font; + public unsafe ImFontAtlasCustomRect(ushort width = default, ushort height = default, ushort x = default, ushort y = default, uint reserved = default, uint textureIndex = default, uint glyphId = default, float glyphAdvanceX = default, Vector2 glyphOffset = default, ImFontPtr font = default) + { + Width = width; + Height = height; + X = x; + Y = y; + Reserved = reserved; + TextureIndex = textureIndex; + GlyphID = glyphId; + GlyphAdvanceX = glyphAdvanceX; + GlyphOffset = glyphOffset; + Font = font; + } + public uint Reserved { get => Bitfield.Get(RawBits0, 0, 2); set => Bitfield.Set(ref RawBits0, value, 0, 2); } + public uint TextureIndex { get => Bitfield.Get(RawBits0, 2, 9); set => Bitfield.Set(ref RawBits0, value, 2, 9); } + public uint GlyphID { get => Bitfield.Get(RawBits0, 11, 21); set => Bitfield.Set(ref RawBits0, value, 11, 21); } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImFontAtlasCustomRectPtr : IEquatable + { + public ImFontAtlasCustomRectPtr(ImFontAtlasCustomRect* handle) { Handle = handle; } + public ImFontAtlasCustomRect* Handle; + public bool IsNull => Handle == null; + public static ImFontAtlasCustomRectPtr Null => new ImFontAtlasCustomRectPtr(null); + public ImFontAtlasCustomRect this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImFontAtlasCustomRectPtr(ImFontAtlasCustomRect* handle) => new ImFontAtlasCustomRectPtr(handle); + public static implicit operator ImFontAtlasCustomRect*(ImFontAtlasCustomRectPtr handle) => handle.Handle; + public static bool operator ==(ImFontAtlasCustomRectPtr left, ImFontAtlasCustomRectPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImFontAtlasCustomRectPtr left, ImFontAtlasCustomRectPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImFontAtlasCustomRectPtr left, ImFontAtlasCustomRect* right) => left.Handle == right; + public static bool operator !=(ImFontAtlasCustomRectPtr left, ImFontAtlasCustomRect* right) => left.Handle != right; + public bool Equals(ImFontAtlasCustomRectPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImFontAtlasCustomRectPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImFontAtlasCustomRectPtr [0x{0}]", ((nuint)Handle).ToString("X")); + public ref ushort Width => ref Unsafe.AsRef(&Handle->Width); + public ref ushort Height => ref Unsafe.AsRef(&Handle->Height); + public ref ushort X => ref Unsafe.AsRef(&Handle->X); + public ref ushort Y => ref Unsafe.AsRef(&Handle->Y); + public uint Reserved { get => Handle->Reserved; set => Handle->Reserved = value; } + public uint TextureIndex { get => Handle->TextureIndex; set => Handle->TextureIndex = value; } + public uint GlyphID { get => Handle->GlyphID; set => Handle->GlyphID = value; } + public ref float GlyphAdvanceX => ref Unsafe.AsRef(&Handle->GlyphAdvanceX); + public ref Vector2 GlyphOffset => ref Unsafe.AsRef(&Handle->GlyphOffset); + public ref ImFontPtr Font => ref Unsafe.AsRef(&Handle->Font); + } +} +/* ImFontAtlasTexture.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImFontAtlasTexture + { + public ImTextureID TexID; + public unsafe byte* TexPixelsAlpha8; + public unsafe uint* TexPixelsRGBA32; + public unsafe ImFontAtlasTexture(ImTextureID texId = default, byte* texPixelsAlpha8 = default, uint* texPixelsRgba32 = default) + { + TexID = texId; + TexPixelsAlpha8 = texPixelsAlpha8; + TexPixelsRGBA32 = texPixelsRgba32; + } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImFontAtlasTexturePtr : IEquatable + { + public ImFontAtlasTexturePtr(ImFontAtlasTexture* handle) { Handle = handle; } + public ImFontAtlasTexture* Handle; + public bool IsNull => Handle == null; + public static ImFontAtlasTexturePtr Null => new ImFontAtlasTexturePtr(null); + public ImFontAtlasTexture this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImFontAtlasTexturePtr(ImFontAtlasTexture* handle) => new ImFontAtlasTexturePtr(handle); + public static implicit operator ImFontAtlasTexture*(ImFontAtlasTexturePtr handle) => handle.Handle; + public static bool operator ==(ImFontAtlasTexturePtr left, ImFontAtlasTexturePtr right) => left.Handle == right.Handle; + public static bool operator !=(ImFontAtlasTexturePtr left, ImFontAtlasTexturePtr right) => left.Handle != right.Handle; + public static bool operator ==(ImFontAtlasTexturePtr left, ImFontAtlasTexture* right) => left.Handle == right; + public static bool operator !=(ImFontAtlasTexturePtr left, ImFontAtlasTexture* right) => left.Handle != right; + public bool Equals(ImFontAtlasTexturePtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImFontAtlasTexturePtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImFontAtlasTexturePtr [0x{0}]", ((nuint)Handle).ToString("X")); + public ref ImTextureID TexID => ref Unsafe.AsRef(&Handle->TexID); + public byte* TexPixelsAlpha8 { get => Handle->TexPixelsAlpha8; set => Handle->TexPixelsAlpha8 = value; } + public uint* TexPixelsRGBA32 { get => Handle->TexPixelsRGBA32; set => Handle->TexPixelsRGBA32 = value; } + } +} +/* ImFontBuilderIO.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImFontBuilderIO + { + public unsafe void* FontBuilderBuild; + public unsafe ImFontBuilderIO(delegate* fontbuilderBuild = default) + { + FontBuilderBuild = (void*)fontbuilderBuild; + } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImFontBuilderIOPtr : IEquatable + { + public ImFontBuilderIOPtr(ImFontBuilderIO* handle) { Handle = handle; } + public ImFontBuilderIO* Handle; + public bool IsNull => Handle == null; + public static ImFontBuilderIOPtr Null => new ImFontBuilderIOPtr(null); + public ImFontBuilderIO this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImFontBuilderIOPtr(ImFontBuilderIO* handle) => new ImFontBuilderIOPtr(handle); + public static implicit operator ImFontBuilderIO*(ImFontBuilderIOPtr handle) => handle.Handle; + public static bool operator ==(ImFontBuilderIOPtr left, ImFontBuilderIOPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImFontBuilderIOPtr left, ImFontBuilderIOPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImFontBuilderIOPtr left, ImFontBuilderIO* right) => left.Handle == right; + public static bool operator !=(ImFontBuilderIOPtr left, ImFontBuilderIO* right) => left.Handle != right; + public bool Equals(ImFontBuilderIOPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImFontBuilderIOPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImFontBuilderIOPtr [0x{0}]", ((nuint)Handle).ToString("X")); + public void* FontBuilderBuild { get => Handle->FontBuilderBuild; set => Handle->FontBuilderBuild = value; } + } +} +/* ImFontConfig.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImFontConfig + { + public unsafe void* FontData; + public int FontDataSize; + public byte FontDataOwnedByAtlas; + public int FontNo; + public float SizePixels; + public int OversampleH; + public int OversampleV; + public byte PixelSnapH; + public Vector2 GlyphExtraSpacing; + public Vector2 GlyphOffset; + public unsafe ushort* GlyphRanges; + public float GlyphMinAdvanceX; + public float GlyphMaxAdvanceX; + public byte MergeMode; + public uint FontBuilderFlags; + public float RasterizerMultiply; + public float RasterizerGamma; + public ushort EllipsisChar; + public byte Name_0; + public byte Name_1; + public byte Name_2; + public byte Name_3; + public byte Name_4; + public byte Name_5; + public byte Name_6; + public byte Name_7; + public byte Name_8; + public byte Name_9; + public byte Name_10; + public byte Name_11; + public byte Name_12; + public byte Name_13; + public byte Name_14; + public byte Name_15; + public byte Name_16; + public byte Name_17; + public byte Name_18; + public byte Name_19; + public byte Name_20; + public byte Name_21; + public byte Name_22; + public byte Name_23; + public byte Name_24; + public byte Name_25; + public byte Name_26; + public byte Name_27; + public byte Name_28; + public byte Name_29; + public byte Name_30; + public byte Name_31; + public byte Name_32; + public byte Name_33; + public byte Name_34; + public byte Name_35; + public byte Name_36; + public byte Name_37; + public byte Name_38; + public byte Name_39; + public unsafe ImFont* DstFont; + public unsafe ImFontConfig(void* fontData = default, int fontDataSize = default, bool fontDataOwnedByAtlas = default, int fontNo = default, float sizePixels = default, int oversampleH = default, int oversampleV = default, bool pixelSnapH = default, Vector2 glyphExtraSpacing = default, Vector2 glyphOffset = default, ushort* glyphRanges = default, float glyphMinAdvanceX = default, float glyphMaxAdvanceX = default, bool mergeMode = default, uint fontBuilderFlags = default, float rasterizerMultiply = default, float rasterizerGamma = default, ushort ellipsisChar = default, byte* name = default, ImFontPtr dstFont = default) + { + FontData = fontData; + FontDataSize = fontDataSize; + FontDataOwnedByAtlas = fontDataOwnedByAtlas ? (byte)1 : (byte)0; + FontNo = fontNo; + SizePixels = sizePixels; + OversampleH = oversampleH; + OversampleV = oversampleV; + PixelSnapH = pixelSnapH ? (byte)1 : (byte)0; + GlyphExtraSpacing = glyphExtraSpacing; + GlyphOffset = glyphOffset; + GlyphRanges = glyphRanges; + GlyphMinAdvanceX = glyphMinAdvanceX; + GlyphMaxAdvanceX = glyphMaxAdvanceX; + MergeMode = mergeMode ? (byte)1 : (byte)0; + FontBuilderFlags = fontBuilderFlags; + RasterizerMultiply = rasterizerMultiply; + RasterizerGamma = rasterizerGamma; + EllipsisChar = ellipsisChar; + if (name != default(byte*)) + { + Name_0 = name[0]; + Name_1 = name[1]; + Name_2 = name[2]; + Name_3 = name[3]; + Name_4 = name[4]; + Name_5 = name[5]; + Name_6 = name[6]; + Name_7 = name[7]; + Name_8 = name[8]; + Name_9 = name[9]; + Name_10 = name[10]; + Name_11 = name[11]; + Name_12 = name[12]; + Name_13 = name[13]; + Name_14 = name[14]; + Name_15 = name[15]; + Name_16 = name[16]; + Name_17 = name[17]; + Name_18 = name[18]; + Name_19 = name[19]; + Name_20 = name[20]; + Name_21 = name[21]; + Name_22 = name[22]; + Name_23 = name[23]; + Name_24 = name[24]; + Name_25 = name[25]; + Name_26 = name[26]; + Name_27 = name[27]; + Name_28 = name[28]; + Name_29 = name[29]; + Name_30 = name[30]; + Name_31 = name[31]; + Name_32 = name[32]; + Name_33 = name[33]; + Name_34 = name[34]; + Name_35 = name[35]; + Name_36 = name[36]; + Name_37 = name[37]; + Name_38 = name[38]; + Name_39 = name[39]; + } + DstFont = dstFont; + } + public unsafe ImFontConfig(void* fontData = default, int fontDataSize = default, bool fontDataOwnedByAtlas = default, int fontNo = default, float sizePixels = default, int oversampleH = default, int oversampleV = default, bool pixelSnapH = default, Vector2 glyphExtraSpacing = default, Vector2 glyphOffset = default, ushort* glyphRanges = default, float glyphMinAdvanceX = default, float glyphMaxAdvanceX = default, bool mergeMode = default, uint fontBuilderFlags = default, float rasterizerMultiply = default, float rasterizerGamma = default, ushort ellipsisChar = default, Span name = default, ImFontPtr dstFont = default) + { + FontData = fontData; + FontDataSize = fontDataSize; + FontDataOwnedByAtlas = fontDataOwnedByAtlas ? (byte)1 : (byte)0; + FontNo = fontNo; + SizePixels = sizePixels; + OversampleH = oversampleH; + OversampleV = oversampleV; + PixelSnapH = pixelSnapH ? (byte)1 : (byte)0; + GlyphExtraSpacing = glyphExtraSpacing; + GlyphOffset = glyphOffset; + GlyphRanges = glyphRanges; + GlyphMinAdvanceX = glyphMinAdvanceX; + GlyphMaxAdvanceX = glyphMaxAdvanceX; + MergeMode = mergeMode ? (byte)1 : (byte)0; + FontBuilderFlags = fontBuilderFlags; + RasterizerMultiply = rasterizerMultiply; + RasterizerGamma = rasterizerGamma; + EllipsisChar = ellipsisChar; + if (name != default(Span)) + { + Name_0 = name[0]; + Name_1 = name[1]; + Name_2 = name[2]; + Name_3 = name[3]; + Name_4 = name[4]; + Name_5 = name[5]; + Name_6 = name[6]; + Name_7 = name[7]; + Name_8 = name[8]; + Name_9 = name[9]; + Name_10 = name[10]; + Name_11 = name[11]; + Name_12 = name[12]; + Name_13 = name[13]; + Name_14 = name[14]; + Name_15 = name[15]; + Name_16 = name[16]; + Name_17 = name[17]; + Name_18 = name[18]; + Name_19 = name[19]; + Name_20 = name[20]; + Name_21 = name[21]; + Name_22 = name[22]; + Name_23 = name[23]; + Name_24 = name[24]; + Name_25 = name[25]; + Name_26 = name[26]; + Name_27 = name[27]; + Name_28 = name[28]; + Name_29 = name[29]; + Name_30 = name[30]; + Name_31 = name[31]; + Name_32 = name[32]; + Name_33 = name[33]; + Name_34 = name[34]; + Name_35 = name[35]; + Name_36 = name[36]; + Name_37 = name[37]; + Name_38 = name[38]; + Name_39 = name[39]; + } + DstFont = dstFont; + } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImFontConfigPtr : IEquatable + { + public ImFontConfigPtr(ImFontConfig* handle) { Handle = handle; } + public ImFontConfig* Handle; + public bool IsNull => Handle == null; + public static ImFontConfigPtr Null => new ImFontConfigPtr(null); + public ImFontConfig this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImFontConfigPtr(ImFontConfig* handle) => new ImFontConfigPtr(handle); + public static implicit operator ImFontConfig*(ImFontConfigPtr handle) => handle.Handle; + public static bool operator ==(ImFontConfigPtr left, ImFontConfigPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImFontConfigPtr left, ImFontConfigPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImFontConfigPtr left, ImFontConfig* right) => left.Handle == right; + public static bool operator !=(ImFontConfigPtr left, ImFontConfig* right) => left.Handle != right; + public bool Equals(ImFontConfigPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImFontConfigPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImFontConfigPtr [0x{0}]", ((nuint)Handle).ToString("X")); + public void* FontData { get => Handle->FontData; set => Handle->FontData = value; } + public ref int FontDataSize => ref Unsafe.AsRef(&Handle->FontDataSize); + public ref bool FontDataOwnedByAtlas => ref Unsafe.AsRef(&Handle->FontDataOwnedByAtlas); + public ref int FontNo => ref Unsafe.AsRef(&Handle->FontNo); + public ref float SizePixels => ref Unsafe.AsRef(&Handle->SizePixels); + public ref int OversampleH => ref Unsafe.AsRef(&Handle->OversampleH); + public ref int OversampleV => ref Unsafe.AsRef(&Handle->OversampleV); + public ref bool PixelSnapH => ref Unsafe.AsRef(&Handle->PixelSnapH); + public ref Vector2 GlyphExtraSpacing => ref Unsafe.AsRef(&Handle->GlyphExtraSpacing); + public ref Vector2 GlyphOffset => ref Unsafe.AsRef(&Handle->GlyphOffset); + public ushort* GlyphRanges { get => Handle->GlyphRanges; set => Handle->GlyphRanges = value; } + public ref float GlyphMinAdvanceX => ref Unsafe.AsRef(&Handle->GlyphMinAdvanceX); + public ref float GlyphMaxAdvanceX => ref Unsafe.AsRef(&Handle->GlyphMaxAdvanceX); + public ref bool MergeMode => ref Unsafe.AsRef(&Handle->MergeMode); + public ref uint FontBuilderFlags => ref Unsafe.AsRef(&Handle->FontBuilderFlags); + public ref float RasterizerMultiply => ref Unsafe.AsRef(&Handle->RasterizerMultiply); + public ref float RasterizerGamma => ref Unsafe.AsRef(&Handle->RasterizerGamma); + public ref ushort EllipsisChar => ref Unsafe.AsRef(&Handle->EllipsisChar); + public unsafe Span Name + { + get + { + return new Span(&Handle->Name_0, 40); + } + } + public ref ImFontPtr DstFont => ref Unsafe.AsRef(&Handle->DstFont); + } +} +/* ImFontGlyph.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImFontGlyph + { + public uint RawBits0; + public float AdvanceX; + public float X0; + public float Y0; + public float X1; + public float Y1; + public float U0; + public float V0; + public float U1; + public float V1; + public unsafe ImFontGlyph(uint colored = default, uint visible = default, uint textureIndex = default, uint codepoint = default, float advanceX = default, float x0 = default, float y0 = default, float x1 = default, float y1 = default, float u0 = default, float v0 = default, float u1 = default, float v1 = default) + { + Colored = colored; + Visible = visible; + TextureIndex = textureIndex; + Codepoint = codepoint; + AdvanceX = advanceX; + X0 = x0; + Y0 = y0; + X1 = x1; + Y1 = y1; + U0 = u0; + V0 = v0; + U1 = u1; + V1 = v1; + } + public uint Colored { get => Bitfield.Get(RawBits0, 0, 1); set => Bitfield.Set(ref RawBits0, value, 0, 1); } + public uint Visible { get => Bitfield.Get(RawBits0, 1, 1); set => Bitfield.Set(ref RawBits0, value, 1, 1); } + public uint TextureIndex { get => Bitfield.Get(RawBits0, 2, 9); set => Bitfield.Set(ref RawBits0, value, 2, 9); } + public uint Codepoint { get => Bitfield.Get(RawBits0, 11, 21); set => Bitfield.Set(ref RawBits0, value, 11, 21); } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImFontGlyphPtr : IEquatable + { + public ImFontGlyphPtr(ImFontGlyph* handle) { Handle = handle; } + public ImFontGlyph* Handle; + public bool IsNull => Handle == null; + public static ImFontGlyphPtr Null => new ImFontGlyphPtr(null); + public ImFontGlyph this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImFontGlyphPtr(ImFontGlyph* handle) => new ImFontGlyphPtr(handle); + public static implicit operator ImFontGlyph*(ImFontGlyphPtr handle) => handle.Handle; + public static bool operator ==(ImFontGlyphPtr left, ImFontGlyphPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImFontGlyphPtr left, ImFontGlyphPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImFontGlyphPtr left, ImFontGlyph* right) => left.Handle == right; + public static bool operator !=(ImFontGlyphPtr left, ImFontGlyph* right) => left.Handle != right; + public bool Equals(ImFontGlyphPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImFontGlyphPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImFontGlyphPtr [0x{0}]", ((nuint)Handle).ToString("X")); + public uint Colored { get => Handle->Colored; set => Handle->Colored = value; } + public uint Visible { get => Handle->Visible; set => Handle->Visible = value; } + public uint TextureIndex { get => Handle->TextureIndex; set => Handle->TextureIndex = value; } + public uint Codepoint { get => Handle->Codepoint; set => Handle->Codepoint = value; } + public ref float AdvanceX => ref Unsafe.AsRef(&Handle->AdvanceX); + public ref float X0 => ref Unsafe.AsRef(&Handle->X0); + public ref float Y0 => ref Unsafe.AsRef(&Handle->Y0); + public ref float X1 => ref Unsafe.AsRef(&Handle->X1); + public ref float Y1 => ref Unsafe.AsRef(&Handle->Y1); + public ref float U0 => ref Unsafe.AsRef(&Handle->U0); + public ref float V0 => ref Unsafe.AsRef(&Handle->V0); + public ref float U1 => ref Unsafe.AsRef(&Handle->U1); + public ref float V1 => ref Unsafe.AsRef(&Handle->V1); + } +} +/* ImFontGlyphHotData.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImFontGlyphHotData + { + public float AdvanceX; + public float OccupiedWidth; + public uint RawBits0; + public unsafe ImFontGlyphHotData(float advanceX = default, float occupiedWidth = default, uint kerningPairUseBisect = default, uint kerningPairOffset = default, uint kerningPairCount = default) + { + AdvanceX = advanceX; + OccupiedWidth = occupiedWidth; + KerningPairUseBisect = kerningPairUseBisect; + KerningPairOffset = kerningPairOffset; + KerningPairCount = kerningPairCount; + } + public uint KerningPairUseBisect { get => Bitfield.Get(RawBits0, 0, 1); set => Bitfield.Set(ref RawBits0, value, 0, 1); } + public uint KerningPairOffset { get => Bitfield.Get(RawBits0, 1, 19); set => Bitfield.Set(ref RawBits0, value, 1, 19); } + public uint KerningPairCount { get => Bitfield.Get(RawBits0, 20, 12); set => Bitfield.Set(ref RawBits0, value, 20, 12); } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImFontGlyphHotDataPtr : IEquatable + { + public ImFontGlyphHotDataPtr(ImFontGlyphHotData* handle) { Handle = handle; } + public ImFontGlyphHotData* Handle; + public bool IsNull => Handle == null; + public static ImFontGlyphHotDataPtr Null => new ImFontGlyphHotDataPtr(null); + public ImFontGlyphHotData this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImFontGlyphHotDataPtr(ImFontGlyphHotData* handle) => new ImFontGlyphHotDataPtr(handle); + public static implicit operator ImFontGlyphHotData*(ImFontGlyphHotDataPtr handle) => handle.Handle; + public static bool operator ==(ImFontGlyphHotDataPtr left, ImFontGlyphHotDataPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImFontGlyphHotDataPtr left, ImFontGlyphHotDataPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImFontGlyphHotDataPtr left, ImFontGlyphHotData* right) => left.Handle == right; + public static bool operator !=(ImFontGlyphHotDataPtr left, ImFontGlyphHotData* right) => left.Handle != right; + public bool Equals(ImFontGlyphHotDataPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImFontGlyphHotDataPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImFontGlyphHotDataPtr [0x{0}]", ((nuint)Handle).ToString("X")); + public ref float AdvanceX => ref Unsafe.AsRef(&Handle->AdvanceX); + public ref float OccupiedWidth => ref Unsafe.AsRef(&Handle->OccupiedWidth); + public uint KerningPairUseBisect { get => Handle->KerningPairUseBisect; set => Handle->KerningPairUseBisect = value; } + public uint KerningPairOffset { get => Handle->KerningPairOffset; set => Handle->KerningPairOffset = value; } + public uint KerningPairCount { get => Handle->KerningPairCount; set => Handle->KerningPairCount = value; } + } +} +/* ImFontGlyphRangesBuilder.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImFontGlyphRangesBuilder + { + public ImVector UsedChars; + public unsafe ImFontGlyphRangesBuilder(ImVector usedChars = default) + { + UsedChars = usedChars; + } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImFontGlyphRangesBuilderPtr : IEquatable + { + public ImFontGlyphRangesBuilderPtr(ImFontGlyphRangesBuilder* handle) { Handle = handle; } + public ImFontGlyphRangesBuilder* Handle; + public bool IsNull => Handle == null; + public static ImFontGlyphRangesBuilderPtr Null => new ImFontGlyphRangesBuilderPtr(null); + public ImFontGlyphRangesBuilder this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImFontGlyphRangesBuilderPtr(ImFontGlyphRangesBuilder* handle) => new ImFontGlyphRangesBuilderPtr(handle); + public static implicit operator ImFontGlyphRangesBuilder*(ImFontGlyphRangesBuilderPtr handle) => handle.Handle; + public static bool operator ==(ImFontGlyphRangesBuilderPtr left, ImFontGlyphRangesBuilderPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImFontGlyphRangesBuilderPtr left, ImFontGlyphRangesBuilderPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImFontGlyphRangesBuilderPtr left, ImFontGlyphRangesBuilder* right) => left.Handle == right; + public static bool operator !=(ImFontGlyphRangesBuilderPtr left, ImFontGlyphRangesBuilder* right) => left.Handle != right; + public bool Equals(ImFontGlyphRangesBuilderPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImFontGlyphRangesBuilderPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImFontGlyphRangesBuilderPtr [0x{0}]", ((nuint)Handle).ToString("X")); + public ref ImVector UsedChars => ref Unsafe.AsRef>(&Handle->UsedChars); + } +} +/* ImFontKerningPair.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImFontKerningPair + { + public ushort Left; + public ushort Right; + public float AdvanceXAdjustment; + public unsafe ImFontKerningPair(ushort left = default, ushort right = default, float advanceXAdjustment = default) + { + Left = left; + Right = right; + AdvanceXAdjustment = advanceXAdjustment; + } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImFontKerningPairPtr : IEquatable + { + public ImFontKerningPairPtr(ImFontKerningPair* handle) { Handle = handle; } + public ImFontKerningPair* Handle; + public bool IsNull => Handle == null; + public static ImFontKerningPairPtr Null => new ImFontKerningPairPtr(null); + public ImFontKerningPair this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImFontKerningPairPtr(ImFontKerningPair* handle) => new ImFontKerningPairPtr(handle); + public static implicit operator ImFontKerningPair*(ImFontKerningPairPtr handle) => handle.Handle; + public static bool operator ==(ImFontKerningPairPtr left, ImFontKerningPairPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImFontKerningPairPtr left, ImFontKerningPairPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImFontKerningPairPtr left, ImFontKerningPair* right) => left.Handle == right; + public static bool operator !=(ImFontKerningPairPtr left, ImFontKerningPair* right) => left.Handle != right; + public bool Equals(ImFontKerningPairPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImFontKerningPairPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImFontKerningPairPtr [0x{0}]", ((nuint)Handle).ToString("X")); + public ref ushort Left => ref Unsafe.AsRef(&Handle->Left); + public ref ushort Right => ref Unsafe.AsRef(&Handle->Right); + public ref float AdvanceXAdjustment => ref Unsafe.AsRef(&Handle->AdvanceXAdjustment); + } +} +/* ImGuiColorMod.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiColorMod + { + public ImGuiCol Col; + public Vector4 BackupValue; + public unsafe ImGuiColorMod(ImGuiCol col = default, Vector4 backupValue = default) + { + Col = col; + BackupValue = backupValue; + } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImGuiColorModPtr : IEquatable + { + public ImGuiColorModPtr(ImGuiColorMod* handle) { Handle = handle; } + public ImGuiColorMod* Handle; + public bool IsNull => Handle == null; + public static ImGuiColorModPtr Null => new ImGuiColorModPtr(null); + public ImGuiColorMod this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImGuiColorModPtr(ImGuiColorMod* handle) => new ImGuiColorModPtr(handle); + public static implicit operator ImGuiColorMod*(ImGuiColorModPtr handle) => handle.Handle; + public static bool operator ==(ImGuiColorModPtr left, ImGuiColorModPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImGuiColorModPtr left, ImGuiColorModPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImGuiColorModPtr left, ImGuiColorMod* right) => left.Handle == right; + public static bool operator !=(ImGuiColorModPtr left, ImGuiColorMod* right) => left.Handle != right; + public bool Equals(ImGuiColorModPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImGuiColorModPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImGuiColorModPtr [0x{0}]", ((nuint)Handle).ToString("X")); + public ref ImGuiCol Col => ref Unsafe.AsRef(&Handle->Col); + public ref Vector4 BackupValue => ref Unsafe.AsRef(&Handle->BackupValue); + } +} +/* ImGuiComboPreviewData.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiComboPreviewData + { + public ImRect PreviewRect; + public Vector2 BackupCursorPos; + public Vector2 BackupCursorMaxPos; + public Vector2 BackupCursorPosPrevLine; + public float BackupPrevLineTextBaseOffset; + public ImGuiLayoutType BackupLayout; + public unsafe ImGuiComboPreviewData(ImRect previewRect = default, Vector2 backupCursorPos = default, Vector2 backupCursorMaxPos = default, Vector2 backupCursorPosPrevLine = default, float backupPrevLineTextBaseOffset = default, ImGuiLayoutType backupLayout = default) + { + PreviewRect = previewRect; + BackupCursorPos = backupCursorPos; + BackupCursorMaxPos = backupCursorMaxPos; + BackupCursorPosPrevLine = backupCursorPosPrevLine; + BackupPrevLineTextBaseOffset = backupPrevLineTextBaseOffset; + BackupLayout = backupLayout; + } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImGuiComboPreviewDataPtr : IEquatable + { + public ImGuiComboPreviewDataPtr(ImGuiComboPreviewData* handle) { Handle = handle; } + public ImGuiComboPreviewData* Handle; + public bool IsNull => Handle == null; + public static ImGuiComboPreviewDataPtr Null => new ImGuiComboPreviewDataPtr(null); + public ImGuiComboPreviewData this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImGuiComboPreviewDataPtr(ImGuiComboPreviewData* handle) => new ImGuiComboPreviewDataPtr(handle); + public static implicit operator ImGuiComboPreviewData*(ImGuiComboPreviewDataPtr handle) => handle.Handle; + public static bool operator ==(ImGuiComboPreviewDataPtr left, ImGuiComboPreviewDataPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImGuiComboPreviewDataPtr left, ImGuiComboPreviewDataPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImGuiComboPreviewDataPtr left, ImGuiComboPreviewData* right) => left.Handle == right; + public static bool operator !=(ImGuiComboPreviewDataPtr left, ImGuiComboPreviewData* right) => left.Handle != right; + public bool Equals(ImGuiComboPreviewDataPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImGuiComboPreviewDataPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImGuiComboPreviewDataPtr [0x{0}]", ((nuint)Handle).ToString("X")); + public ref ImRect PreviewRect => ref Unsafe.AsRef(&Handle->PreviewRect); + public ref Vector2 BackupCursorPos => ref Unsafe.AsRef(&Handle->BackupCursorPos); + public ref Vector2 BackupCursorMaxPos => ref Unsafe.AsRef(&Handle->BackupCursorMaxPos); + public ref Vector2 BackupCursorPosPrevLine => ref Unsafe.AsRef(&Handle->BackupCursorPosPrevLine); + public ref float BackupPrevLineTextBaseOffset => ref Unsafe.AsRef(&Handle->BackupPrevLineTextBaseOffset); + public ref ImGuiLayoutType BackupLayout => ref Unsafe.AsRef(&Handle->BackupLayout); + } +} +/* ImGuiContext.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiContext + { + public byte Initialized; + public byte FontAtlasOwnedByContext; + public ImGuiIO IO; + public ImGuiPlatformIO PlatformIO; + public ImVector InputEventsQueue; + public ImVector InputEventsTrail; + public ImGuiStyle Style; + public ImGuiConfigFlags ConfigFlagsCurrFrame; + public ImGuiConfigFlags ConfigFlagsLastFrame; + public unsafe ImFont* Font; + public float FontSize; + public float FontBaseSize; + public ImDrawListSharedData DrawListSharedData; + public double Time; + public int FrameCount; + public int FrameCountEnded; + public int FrameCountPlatformEnded; + public int FrameCountRendered; + public byte WithinFrameScope; + public byte WithinFrameScopeWithImplicitWindow; + public byte WithinEndChild; + public byte GcCompactAll; + public byte TestEngineHookItems; + public unsafe void* TestEngine; + public ImVector Windows; + public ImVector WindowsFocusOrder; + public ImVector WindowsTempSortBuffer; + public ImVector CurrentWindowStack; + public ImGuiStorage WindowsById; + public int WindowsActiveCount; + public Vector2 WindowsHoverPadding; + public unsafe ImGuiWindow* CurrentWindow; + public unsafe ImGuiWindow* HoveredWindow; + public unsafe ImGuiWindow* HoveredWindowUnderMovingWindow; + public unsafe ImGuiDockNode* HoveredDockNode; + public unsafe ImGuiWindow* MovingWindow; + public unsafe ImGuiWindow* WheelingWindow; + public Vector2 WheelingWindowRefMousePos; + public float WheelingWindowTimer; + public uint DebugHookIdInfo; + public uint HoveredId; + public uint HoveredIdPreviousFrame; + public byte HoveredIdAllowOverlap; + public byte HoveredIdUsingMouseWheel; + public byte HoveredIdPreviousFrameUsingMouseWheel; + public byte HoveredIdDisabled; + public float HoveredIdTimer; + public float HoveredIdNotActiveTimer; + public uint ActiveId; + public uint ActiveIdIsAlive; + public float ActiveIdTimer; + public byte ActiveIdIsJustActivated; + public byte ActiveIdAllowOverlap; + public byte ActiveIdNoClearOnFocusLoss; + public byte ActiveIdHasBeenPressedBefore; + public byte ActiveIdHasBeenEditedBefore; + public byte ActiveIdHasBeenEditedThisFrame; + public Vector2 ActiveIdClickOffset; + public unsafe ImGuiWindow* ActiveIdWindow; + public ImGuiInputSource ActiveIdSource; + public int ActiveIdMouseButton; + public uint ActiveIdPreviousFrame; + public byte ActiveIdPreviousFrameIsAlive; + public byte ActiveIdPreviousFrameHasBeenEditedBefore; + public unsafe ImGuiWindow* ActiveIdPreviousFrameWindow; + public uint LastActiveId; + public float LastActiveIdTimer; + public byte ActiveIdUsingMouseWheel; + public uint ActiveIdUsingNavDirMask; + public uint ActiveIdUsingNavInputMask; + public nuint ActiveIdUsingKeyInputMask; + public ImGuiItemFlags CurrentItemFlags; + public ImGuiNextItemData NextItemData; + public ImGuiLastItemData LastItemData; + public ImGuiNextWindowData NextWindowData; + public ImVector ColorStack; + public ImVector StyleVarStack; + public ImVector FontStack; + public ImVector FocusScopeStack; + public ImVector ItemFlagsStack; + public ImVector GroupStack; + public ImVector OpenPopupStack; + public ImVector BeginPopupStack; + public int BeginMenuCount; + public ImVector Viewports; + public float CurrentDpiScale; + public unsafe ImGuiViewportP* CurrentViewport; + public unsafe ImGuiViewportP* MouseViewport; + public unsafe ImGuiViewportP* MouseLastHoveredViewport; + public uint PlatformLastFocusedViewportId; + public ImGuiPlatformMonitor FallbackMonitor; + public int ViewportFrontMostStampCount; + public unsafe ImGuiWindow* NavWindow; + public uint NavId; + public uint NavFocusScopeId; + public uint NavActivateId; + public uint NavActivateDownId; + public uint NavActivatePressedId; + public uint NavActivateInputId; + public ImGuiActivateFlags NavActivateFlags; + public uint NavJustMovedToId; + public uint NavJustMovedToFocusScopeId; + public ImGuiModFlags NavJustMovedToKeyMods; + public uint NavNextActivateId; + public ImGuiActivateFlags NavNextActivateFlags; + public ImGuiInputSource NavInputSource; + public ImGuiNavLayer NavLayer; + public byte NavIdIsAlive; + public byte NavMousePosDirty; + public byte NavDisableHighlight; + public byte NavDisableMouseHover; + public byte NavAnyRequest; + public byte NavInitRequest; + public byte NavInitRequestFromMove; + public uint NavInitResultId; + public ImRect NavInitResultRectRel; + public byte NavMoveSubmitted; + public byte NavMoveScoringItems; + public byte NavMoveForwardToNextFrame; + public ImGuiNavMoveFlags NavMoveFlags; + public ImGuiScrollFlags NavMoveScrollFlags; + public ImGuiModFlags NavMoveKeyMods; + public ImGuiDir NavMoveDir; + public ImGuiDir NavMoveDirForDebug; + public ImGuiDir NavMoveClipDir; + public ImRect NavScoringRect; + public ImRect NavScoringNoClipRect; + public int NavScoringDebugCount; + public int NavTabbingDir; + public int NavTabbingCounter; + public ImGuiNavItemData NavMoveResultLocal; + public ImGuiNavItemData NavMoveResultLocalVisible; + public ImGuiNavItemData NavMoveResultOther; + public ImGuiNavItemData NavTabbingResultFirst; + public unsafe ImGuiWindow* NavWindowingTarget; + public unsafe ImGuiWindow* NavWindowingTargetAnim; + public unsafe ImGuiWindow* NavWindowingListWindow; + public float NavWindowingTimer; + public float NavWindowingHighlightAlpha; + public byte NavWindowingToggleLayer; + public float DimBgRatio; + public ImGuiMouseCursor MouseCursor; + public byte DragDropActive; + public byte DragDropWithinSource; + public byte DragDropWithinTarget; + public ImGuiDragDropFlags DragDropSourceFlags; + public int DragDropSourceFrameCount; + public int DragDropMouseButton; + public ImGuiPayload DragDropPayload; + public ImRect DragDropTargetRect; + public uint DragDropTargetId; + public ImGuiDragDropFlags DragDropAcceptFlags; + public float DragDropAcceptIdCurrRectSurface; + public uint DragDropAcceptIdCurr; + public uint DragDropAcceptIdPrev; + public int DragDropAcceptFrameCount; + public uint DragDropHoldJustPressedId; + public ImVector DragDropPayloadBufHeap; + public byte DragDropPayloadBufLocal_0; + public byte DragDropPayloadBufLocal_1; + public byte DragDropPayloadBufLocal_2; + public byte DragDropPayloadBufLocal_3; + public byte DragDropPayloadBufLocal_4; + public byte DragDropPayloadBufLocal_5; + public byte DragDropPayloadBufLocal_6; + public byte DragDropPayloadBufLocal_7; + public byte DragDropPayloadBufLocal_8; + public byte DragDropPayloadBufLocal_9; + public byte DragDropPayloadBufLocal_10; + public byte DragDropPayloadBufLocal_11; + public byte DragDropPayloadBufLocal_12; + public byte DragDropPayloadBufLocal_13; + public byte DragDropPayloadBufLocal_14; + public byte DragDropPayloadBufLocal_15; + public int ClipperTempDataStacked; + public ImVector ClipperTempData; + public unsafe ImGuiTable* CurrentTable; + public int TablesTempDataStacked; + public ImVector TablesTempData; + public ImPoolImGuiTable Tables; + public ImVector TablesLastTimeActive; + public ImVector DrawChannelsTempMergeBuffer; + public unsafe ImGuiTabBar* CurrentTabBar; + public ImPoolImGuiTabBar TabBars; + public ImVector CurrentTabBarStack; + public ImVector ShrinkWidthBuffer; + public Vector2 MouseLastValidPos; + public ImGuiInputTextState InputTextState; + public ImFont InputTextPasswordFont; + public uint TempInputId; + public ImGuiColorEditFlags ColorEditOptions; + public float ColorEditLastHue; + public float ColorEditLastSat; + public uint ColorEditLastColor; + public Vector4 ColorPickerRef; + public ImGuiComboPreviewData ComboPreviewData; + public float SliderGrabClickOffset; + public float SliderCurrentAccum; + public byte SliderCurrentAccumDirty; + public byte DragCurrentAccumDirty; + public float DragCurrentAccum; + public float DragSpeedDefaultRatio; + public float ScrollbarClickDeltaToGrabCenter; + public float DisabledAlphaBackup; + public short DisabledStackSize; + public short TooltipOverrideCount; + public float TooltipSlowDelay; + public ImVector ClipboardHandlerData; + public ImVector MenusIdSubmittedThisFrame; + public ImGuiPlatformImeData PlatformImeData; + public ImGuiPlatformImeData PlatformImeDataPrev; + public uint PlatformImeViewport; + public byte PlatformLocaleDecimalPoint; + public ImGuiDockContext DockContext; + public byte SettingsLoaded; + public float SettingsDirtyTimer; + public ImGuiTextBuffer SettingsIniData; + public ImVector SettingsHandlers; + public ImChunkStreamImGuiWindowSettings SettingsWindows; + public ImChunkStreamImGuiTableSettings SettingsTables; + public ImVector Hooks; + public uint HookIdNext; + public byte LogEnabled; + public ImGuiLogType LogType; + public ImFileHandle LogFile; + public ImGuiTextBuffer LogBuffer; + public unsafe byte* LogNextPrefix; + public unsafe byte* LogNextSuffix; + public float LogLinePosY; + public byte LogLineFirstItem; + public int LogDepthRef; + public int LogDepthToExpand; + public int LogDepthToExpandDefault; + public ImGuiDebugLogFlags DebugLogFlags; + public ImGuiTextBuffer DebugLogBuf; + public byte DebugItemPickerActive; + public uint DebugItemPickerBreakId; + public ImGuiMetricsConfig DebugMetricsConfig; + public ImGuiStackTool DebugStackTool; + public float FramerateSecPerFrame_0; + public float FramerateSecPerFrame_1; + public float FramerateSecPerFrame_2; + public float FramerateSecPerFrame_3; + public float FramerateSecPerFrame_4; + public float FramerateSecPerFrame_5; + public float FramerateSecPerFrame_6; + public float FramerateSecPerFrame_7; + public float FramerateSecPerFrame_8; + public float FramerateSecPerFrame_9; + public float FramerateSecPerFrame_10; + public float FramerateSecPerFrame_11; + public float FramerateSecPerFrame_12; + public float FramerateSecPerFrame_13; + public float FramerateSecPerFrame_14; + public float FramerateSecPerFrame_15; + public float FramerateSecPerFrame_16; + public float FramerateSecPerFrame_17; + public float FramerateSecPerFrame_18; + public float FramerateSecPerFrame_19; + public float FramerateSecPerFrame_20; + public float FramerateSecPerFrame_21; + public float FramerateSecPerFrame_22; + public float FramerateSecPerFrame_23; + public float FramerateSecPerFrame_24; + public float FramerateSecPerFrame_25; + public float FramerateSecPerFrame_26; + public float FramerateSecPerFrame_27; + public float FramerateSecPerFrame_28; + public float FramerateSecPerFrame_29; + public float FramerateSecPerFrame_30; + public float FramerateSecPerFrame_31; + public float FramerateSecPerFrame_32; + public float FramerateSecPerFrame_33; + public float FramerateSecPerFrame_34; + public float FramerateSecPerFrame_35; + public float FramerateSecPerFrame_36; + public float FramerateSecPerFrame_37; + public float FramerateSecPerFrame_38; + public float FramerateSecPerFrame_39; + public float FramerateSecPerFrame_40; + public float FramerateSecPerFrame_41; + public float FramerateSecPerFrame_42; + public float FramerateSecPerFrame_43; + public float FramerateSecPerFrame_44; + public float FramerateSecPerFrame_45; + public float FramerateSecPerFrame_46; + public float FramerateSecPerFrame_47; + public float FramerateSecPerFrame_48; + public float FramerateSecPerFrame_49; + public float FramerateSecPerFrame_50; + public float FramerateSecPerFrame_51; + public float FramerateSecPerFrame_52; + public float FramerateSecPerFrame_53; + public float FramerateSecPerFrame_54; + public float FramerateSecPerFrame_55; + public float FramerateSecPerFrame_56; + public float FramerateSecPerFrame_57; + public float FramerateSecPerFrame_58; + public float FramerateSecPerFrame_59; + public float FramerateSecPerFrame_60; + public float FramerateSecPerFrame_61; + public float FramerateSecPerFrame_62; + public float FramerateSecPerFrame_63; + public float FramerateSecPerFrame_64; + public float FramerateSecPerFrame_65; + public float FramerateSecPerFrame_66; + public float FramerateSecPerFrame_67; + public float FramerateSecPerFrame_68; + public float FramerateSecPerFrame_69; + public float FramerateSecPerFrame_70; + public float FramerateSecPerFrame_71; + public float FramerateSecPerFrame_72; + public float FramerateSecPerFrame_73; + public float FramerateSecPerFrame_74; + public float FramerateSecPerFrame_75; + public float FramerateSecPerFrame_76; + public float FramerateSecPerFrame_77; + public float FramerateSecPerFrame_78; + public float FramerateSecPerFrame_79; + public float FramerateSecPerFrame_80; + public float FramerateSecPerFrame_81; + public float FramerateSecPerFrame_82; + public float FramerateSecPerFrame_83; + public float FramerateSecPerFrame_84; + public float FramerateSecPerFrame_85; + public float FramerateSecPerFrame_86; + public float FramerateSecPerFrame_87; + public float FramerateSecPerFrame_88; + public float FramerateSecPerFrame_89; + public float FramerateSecPerFrame_90; + public float FramerateSecPerFrame_91; + public float FramerateSecPerFrame_92; + public float FramerateSecPerFrame_93; + public float FramerateSecPerFrame_94; + public float FramerateSecPerFrame_95; + public float FramerateSecPerFrame_96; + public float FramerateSecPerFrame_97; + public float FramerateSecPerFrame_98; + public float FramerateSecPerFrame_99; + public float FramerateSecPerFrame_100; + public float FramerateSecPerFrame_101; + public float FramerateSecPerFrame_102; + public float FramerateSecPerFrame_103; + public float FramerateSecPerFrame_104; + public float FramerateSecPerFrame_105; + public float FramerateSecPerFrame_106; + public float FramerateSecPerFrame_107; + public float FramerateSecPerFrame_108; + public float FramerateSecPerFrame_109; + public float FramerateSecPerFrame_110; + public float FramerateSecPerFrame_111; + public float FramerateSecPerFrame_112; + public float FramerateSecPerFrame_113; + public float FramerateSecPerFrame_114; + public float FramerateSecPerFrame_115; + public float FramerateSecPerFrame_116; + public float FramerateSecPerFrame_117; + public float FramerateSecPerFrame_118; + public float FramerateSecPerFrame_119; + public int FramerateSecPerFrameIdx; + public int FramerateSecPerFrameCount; + public float FramerateSecPerFrameAccum; + public int WantCaptureMouseNextFrame; + public int WantCaptureKeyboardNextFrame; + public int WantTextInputNextFrame; + public ImVector TempBuffer; + public unsafe ImGuiContext(bool initialized = default, bool fontAtlasOwnedByContext = default, ImGuiIO io = default, ImGuiPlatformIO platformIo = default, ImVector inputEventsQueue = default, ImVector inputEventsTrail = default, ImGuiStyle style = default, ImGuiConfigFlags configFlagsCurrFrame = default, ImGuiConfigFlags configFlagsLastFrame = default, ImFontPtr font = default, float fontSize = default, float fontBaseSize = default, ImDrawListSharedData drawListSharedData = default, double time = default, int frameCount = default, int frameCountEnded = default, int frameCountPlatformEnded = default, int frameCountRendered = default, bool withinFrameScope = default, bool withinFrameScopeWithImplicitWindow = default, bool withinEndChild = default, bool gcCompactAll = default, bool testEngineHookItems = default, void* testEngine = default, ImVector windows = default, ImVector windowsFocusOrder = default, ImVector windowsTempSortBuffer = default, ImVector currentWindowStack = default, ImGuiStorage windowsById = default, int windowsActiveCount = default, Vector2 windowsHoverPadding = default, ImGuiWindow* currentWindow = default, ImGuiWindow* hoveredWindow = default, ImGuiWindow* hoveredWindowUnderMovingWindow = default, ImGuiDockNode* hoveredDockNode = default, ImGuiWindow* movingWindow = default, ImGuiWindow* wheelingWindow = default, Vector2 wheelingWindowRefMousePos = default, float wheelingWindowTimer = default, uint debugHookIdInfo = default, uint hoveredId = default, uint hoveredIdPreviousFrame = default, bool hoveredIdAllowOverlap = default, bool hoveredIdUsingMouseWheel = default, bool hoveredIdPreviousFrameUsingMouseWheel = default, bool hoveredIdDisabled = default, float hoveredIdTimer = default, float hoveredIdNotActiveTimer = default, uint activeId = default, uint activeIdIsAlive = default, float activeIdTimer = default, bool activeIdIsJustActivated = default, bool activeIdAllowOverlap = default, bool activeIdNoClearOnFocusLoss = default, bool activeIdHasBeenPressedBefore = default, bool activeIdHasBeenEditedBefore = default, bool activeIdHasBeenEditedThisFrame = default, Vector2 activeIdClickOffset = default, ImGuiWindow* activeIdWindow = default, ImGuiInputSource activeIdSource = default, int activeIdMouseButton = default, uint activeIdPreviousFrame = default, bool activeIdPreviousFrameIsAlive = default, bool activeIdPreviousFrameHasBeenEditedBefore = default, ImGuiWindow* activeIdPreviousFrameWindow = default, uint lastActiveId = default, float lastActiveIdTimer = default, bool activeIdUsingMouseWheel = default, uint activeIdUsingNavDirMask = default, uint activeIdUsingNavInputMask = default, nuint activeIdUsingKeyInputMask = default, ImGuiItemFlags currentItemFlags = default, ImGuiNextItemData nextItemData = default, ImGuiLastItemData lastItemData = default, ImGuiNextWindowData nextWindowData = default, ImVector colorStack = default, ImVector styleVarStack = default, ImVector fontStack = default, ImVector focusScopeStack = default, ImVector itemFlagsStack = default, ImVector groupStack = default, ImVector openPopupStack = default, ImVector beginPopupStack = default, int beginMenuCount = default, ImVector viewports = default, float currentDpiScale = default, ImGuiViewportP* currentViewport = default, ImGuiViewportP* mouseViewport = default, ImGuiViewportP* mouseLastHoveredViewport = default, uint platformLastFocusedViewportId = default, ImGuiPlatformMonitor fallbackMonitor = default, int viewportFrontMostStampCount = default, ImGuiWindow* navWindow = default, uint navId = default, uint navFocusScopeId = default, uint navActivateId = default, uint navActivateDownId = default, uint navActivatePressedId = default, uint navActivateInputId = default, ImGuiActivateFlags navActivateFlags = default, uint navJustMovedToId = default, uint navJustMovedToFocusScopeId = default, ImGuiModFlags navJustMovedToKeyMods = default, uint navNextActivateId = default, ImGuiActivateFlags navNextActivateFlags = default, ImGuiInputSource navInputSource = default, ImGuiNavLayer navLayer = default, bool navIdIsAlive = default, bool navMousePosDirty = default, bool navDisableHighlight = default, bool navDisableMouseHover = default, bool navAnyRequest = default, bool navInitRequest = default, bool navInitRequestFromMove = default, uint navInitResultId = default, ImRect navInitResultRectRel = default, bool navMoveSubmitted = default, bool navMoveScoringItems = default, bool navMoveForwardToNextFrame = default, ImGuiNavMoveFlags navMoveFlags = default, ImGuiScrollFlags navMoveScrollFlags = default, ImGuiModFlags navMoveKeyMods = default, ImGuiDir navMoveDir = default, ImGuiDir navMoveDirForDebug = default, ImGuiDir navMoveClipDir = default, ImRect navScoringRect = default, ImRect navScoringNoClipRect = default, int navScoringDebugCount = default, int navTabbingDir = default, int navTabbingCounter = default, ImGuiNavItemData navMoveResultLocal = default, ImGuiNavItemData navMoveResultLocalVisible = default, ImGuiNavItemData navMoveResultOther = default, ImGuiNavItemData navTabbingResultFirst = default, ImGuiWindow* navWindowingTarget = default, ImGuiWindow* navWindowingTargetAnim = default, ImGuiWindow* navWindowingListWindow = default, float navWindowingTimer = default, float navWindowingHighlightAlpha = default, bool navWindowingToggleLayer = default, float dimBgRatio = default, ImGuiMouseCursor mouseCursor = default, bool dragDropActive = default, bool dragDropWithinSource = default, bool dragDropWithinTarget = default, ImGuiDragDropFlags dragDropSourceFlags = default, int dragDropSourceFrameCount = default, int dragDropMouseButton = default, ImGuiPayload dragDropPayload = default, ImRect dragDropTargetRect = default, uint dragDropTargetId = default, ImGuiDragDropFlags dragDropAcceptFlags = default, float dragDropAcceptIdCurrRectSurface = default, uint dragDropAcceptIdCurr = default, uint dragDropAcceptIdPrev = default, int dragDropAcceptFrameCount = default, uint dragDropHoldJustPressedId = default, ImVector dragDropPayloadBufHeap = default, byte* dragDropPayloadBufLocal = default, int clipperTempDataStacked = default, ImVector clipperTempData = default, ImGuiTable* currentTable = default, int tablesTempDataStacked = default, ImVector tablesTempData = default, ImPoolImGuiTable tables = default, ImVector tablesLastTimeActive = default, ImVector drawChannelsTempMergeBuffer = default, ImGuiTabBar* currentTabBar = default, ImPoolImGuiTabBar tabBars = default, ImVector currentTabBarStack = default, ImVector shrinkWidthBuffer = default, Vector2 mouseLastValidPos = default, ImGuiInputTextState inputTextState = default, ImFont inputTextPasswordFont = default, uint tempInputId = default, ImGuiColorEditFlags colorEditOptions = default, float colorEditLastHue = default, float colorEditLastSat = default, uint colorEditLastColor = default, Vector4 colorPickerRef = default, ImGuiComboPreviewData comboPreviewData = default, float sliderGrabClickOffset = default, float sliderCurrentAccum = default, bool sliderCurrentAccumDirty = default, bool dragCurrentAccumDirty = default, float dragCurrentAccum = default, float dragSpeedDefaultRatio = default, float scrollbarClickDeltaToGrabCenter = default, float disabledAlphaBackup = default, short disabledStackSize = default, short tooltipOverrideCount = default, float tooltipSlowDelay = default, ImVector clipboardHandlerData = default, ImVector menusIdSubmittedThisFrame = default, ImGuiPlatformImeData platformImeData = default, ImGuiPlatformImeData platformImeDataPrev = default, uint platformImeViewport = default, byte platformLocaleDecimalPoint = default, ImGuiDockContext dockContext = default, bool settingsLoaded = default, float settingsDirtyTimer = default, ImGuiTextBuffer settingsIniData = default, ImVector settingsHandlers = default, ImChunkStreamImGuiWindowSettings settingsWindows = default, ImChunkStreamImGuiTableSettings settingsTables = default, ImVector hooks = default, uint hookIdNext = default, bool logEnabled = default, ImGuiLogType logType = default, ImFileHandle logFile = default, ImGuiTextBuffer logBuffer = default, byte* logNextPrefix = default, byte* logNextSuffix = default, float logLinePosY = default, bool logLineFirstItem = default, int logDepthRef = default, int logDepthToExpand = default, int logDepthToExpandDefault = default, ImGuiDebugLogFlags debugLogFlags = default, ImGuiTextBuffer debugLogBuf = default, bool debugItemPickerActive = default, uint debugItemPickerBreakId = default, ImGuiMetricsConfig debugMetricsConfig = default, ImGuiStackTool debugStackTool = default, float* framerateSecPerFrame = default, int framerateSecPerFrameIdx = default, int framerateSecPerFrameCount = default, float framerateSecPerFrameAccum = default, int wantCaptureMouseNextFrame = default, int wantCaptureKeyboardNextFrame = default, int wantTextInputNextFrame = default, ImVector tempBuffer = default) + { + Initialized = initialized ? (byte)1 : (byte)0; + FontAtlasOwnedByContext = fontAtlasOwnedByContext ? (byte)1 : (byte)0; + IO = io; + PlatformIO = platformIo; + InputEventsQueue = inputEventsQueue; + InputEventsTrail = inputEventsTrail; + Style = style; + ConfigFlagsCurrFrame = configFlagsCurrFrame; + ConfigFlagsLastFrame = configFlagsLastFrame; + Font = font; + FontSize = fontSize; + FontBaseSize = fontBaseSize; + DrawListSharedData = drawListSharedData; + Time = time; + FrameCount = frameCount; + FrameCountEnded = frameCountEnded; + FrameCountPlatformEnded = frameCountPlatformEnded; + FrameCountRendered = frameCountRendered; + WithinFrameScope = withinFrameScope ? (byte)1 : (byte)0; + WithinFrameScopeWithImplicitWindow = withinFrameScopeWithImplicitWindow ? (byte)1 : (byte)0; + WithinEndChild = withinEndChild ? (byte)1 : (byte)0; + GcCompactAll = gcCompactAll ? (byte)1 : (byte)0; + TestEngineHookItems = testEngineHookItems ? (byte)1 : (byte)0; + TestEngine = testEngine; + Windows = windows; + WindowsFocusOrder = windowsFocusOrder; + WindowsTempSortBuffer = windowsTempSortBuffer; + CurrentWindowStack = currentWindowStack; + WindowsById = windowsById; + WindowsActiveCount = windowsActiveCount; + WindowsHoverPadding = windowsHoverPadding; + CurrentWindow = currentWindow; + HoveredWindow = hoveredWindow; + HoveredWindowUnderMovingWindow = hoveredWindowUnderMovingWindow; + HoveredDockNode = hoveredDockNode; + MovingWindow = movingWindow; + WheelingWindow = wheelingWindow; + WheelingWindowRefMousePos = wheelingWindowRefMousePos; + WheelingWindowTimer = wheelingWindowTimer; + DebugHookIdInfo = debugHookIdInfo; + HoveredId = hoveredId; + HoveredIdPreviousFrame = hoveredIdPreviousFrame; + HoveredIdAllowOverlap = hoveredIdAllowOverlap ? (byte)1 : (byte)0; + HoveredIdUsingMouseWheel = hoveredIdUsingMouseWheel ? (byte)1 : (byte)0; + HoveredIdPreviousFrameUsingMouseWheel = hoveredIdPreviousFrameUsingMouseWheel ? (byte)1 : (byte)0; + HoveredIdDisabled = hoveredIdDisabled ? (byte)1 : (byte)0; + HoveredIdTimer = hoveredIdTimer; + HoveredIdNotActiveTimer = hoveredIdNotActiveTimer; + ActiveId = activeId; + ActiveIdIsAlive = activeIdIsAlive; + ActiveIdTimer = activeIdTimer; + ActiveIdIsJustActivated = activeIdIsJustActivated ? (byte)1 : (byte)0; + ActiveIdAllowOverlap = activeIdAllowOverlap ? (byte)1 : (byte)0; + ActiveIdNoClearOnFocusLoss = activeIdNoClearOnFocusLoss ? (byte)1 : (byte)0; + ActiveIdHasBeenPressedBefore = activeIdHasBeenPressedBefore ? (byte)1 : (byte)0; + ActiveIdHasBeenEditedBefore = activeIdHasBeenEditedBefore ? (byte)1 : (byte)0; + ActiveIdHasBeenEditedThisFrame = activeIdHasBeenEditedThisFrame ? (byte)1 : (byte)0; + ActiveIdClickOffset = activeIdClickOffset; + ActiveIdWindow = activeIdWindow; + ActiveIdSource = activeIdSource; + ActiveIdMouseButton = activeIdMouseButton; + ActiveIdPreviousFrame = activeIdPreviousFrame; + ActiveIdPreviousFrameIsAlive = activeIdPreviousFrameIsAlive ? (byte)1 : (byte)0; + ActiveIdPreviousFrameHasBeenEditedBefore = activeIdPreviousFrameHasBeenEditedBefore ? (byte)1 : (byte)0; + ActiveIdPreviousFrameWindow = activeIdPreviousFrameWindow; + LastActiveId = lastActiveId; + LastActiveIdTimer = lastActiveIdTimer; + ActiveIdUsingMouseWheel = activeIdUsingMouseWheel ? (byte)1 : (byte)0; + ActiveIdUsingNavDirMask = activeIdUsingNavDirMask; + ActiveIdUsingNavInputMask = activeIdUsingNavInputMask; + ActiveIdUsingKeyInputMask = activeIdUsingKeyInputMask; + CurrentItemFlags = currentItemFlags; + NextItemData = nextItemData; + LastItemData = lastItemData; + NextWindowData = nextWindowData; + ColorStack = colorStack; + StyleVarStack = styleVarStack; + FontStack = fontStack; + FocusScopeStack = focusScopeStack; + ItemFlagsStack = itemFlagsStack; + GroupStack = groupStack; + OpenPopupStack = openPopupStack; + BeginPopupStack = beginPopupStack; + BeginMenuCount = beginMenuCount; + Viewports = viewports; + CurrentDpiScale = currentDpiScale; + CurrentViewport = currentViewport; + MouseViewport = mouseViewport; + MouseLastHoveredViewport = mouseLastHoveredViewport; + PlatformLastFocusedViewportId = platformLastFocusedViewportId; + FallbackMonitor = fallbackMonitor; + ViewportFrontMostStampCount = viewportFrontMostStampCount; + NavWindow = navWindow; + NavId = navId; + NavFocusScopeId = navFocusScopeId; + NavActivateId = navActivateId; + NavActivateDownId = navActivateDownId; + NavActivatePressedId = navActivatePressedId; + NavActivateInputId = navActivateInputId; + NavActivateFlags = navActivateFlags; + NavJustMovedToId = navJustMovedToId; + NavJustMovedToFocusScopeId = navJustMovedToFocusScopeId; + NavJustMovedToKeyMods = navJustMovedToKeyMods; + NavNextActivateId = navNextActivateId; + NavNextActivateFlags = navNextActivateFlags; + NavInputSource = navInputSource; + NavLayer = navLayer; + NavIdIsAlive = navIdIsAlive ? (byte)1 : (byte)0; + NavMousePosDirty = navMousePosDirty ? (byte)1 : (byte)0; + NavDisableHighlight = navDisableHighlight ? (byte)1 : (byte)0; + NavDisableMouseHover = navDisableMouseHover ? (byte)1 : (byte)0; + NavAnyRequest = navAnyRequest ? (byte)1 : (byte)0; + NavInitRequest = navInitRequest ? (byte)1 : (byte)0; + NavInitRequestFromMove = navInitRequestFromMove ? (byte)1 : (byte)0; + NavInitResultId = navInitResultId; + NavInitResultRectRel = navInitResultRectRel; + NavMoveSubmitted = navMoveSubmitted ? (byte)1 : (byte)0; + NavMoveScoringItems = navMoveScoringItems ? (byte)1 : (byte)0; + NavMoveForwardToNextFrame = navMoveForwardToNextFrame ? (byte)1 : (byte)0; + NavMoveFlags = navMoveFlags; + NavMoveScrollFlags = navMoveScrollFlags; + NavMoveKeyMods = navMoveKeyMods; + NavMoveDir = navMoveDir; + NavMoveDirForDebug = navMoveDirForDebug; + NavMoveClipDir = navMoveClipDir; + NavScoringRect = navScoringRect; + NavScoringNoClipRect = navScoringNoClipRect; + NavScoringDebugCount = navScoringDebugCount; + NavTabbingDir = navTabbingDir; + NavTabbingCounter = navTabbingCounter; + NavMoveResultLocal = navMoveResultLocal; + NavMoveResultLocalVisible = navMoveResultLocalVisible; + NavMoveResultOther = navMoveResultOther; + NavTabbingResultFirst = navTabbingResultFirst; + NavWindowingTarget = navWindowingTarget; + NavWindowingTargetAnim = navWindowingTargetAnim; + NavWindowingListWindow = navWindowingListWindow; + NavWindowingTimer = navWindowingTimer; + NavWindowingHighlightAlpha = navWindowingHighlightAlpha; + NavWindowingToggleLayer = navWindowingToggleLayer ? (byte)1 : (byte)0; + DimBgRatio = dimBgRatio; + MouseCursor = mouseCursor; + DragDropActive = dragDropActive ? (byte)1 : (byte)0; + DragDropWithinSource = dragDropWithinSource ? (byte)1 : (byte)0; + DragDropWithinTarget = dragDropWithinTarget ? (byte)1 : (byte)0; + DragDropSourceFlags = dragDropSourceFlags; + DragDropSourceFrameCount = dragDropSourceFrameCount; + DragDropMouseButton = dragDropMouseButton; + DragDropPayload = dragDropPayload; + DragDropTargetRect = dragDropTargetRect; + DragDropTargetId = dragDropTargetId; + DragDropAcceptFlags = dragDropAcceptFlags; + DragDropAcceptIdCurrRectSurface = dragDropAcceptIdCurrRectSurface; + DragDropAcceptIdCurr = dragDropAcceptIdCurr; + DragDropAcceptIdPrev = dragDropAcceptIdPrev; + DragDropAcceptFrameCount = dragDropAcceptFrameCount; + DragDropHoldJustPressedId = dragDropHoldJustPressedId; + DragDropPayloadBufHeap = dragDropPayloadBufHeap; + if (dragDropPayloadBufLocal != default(byte*)) + { + DragDropPayloadBufLocal_0 = dragDropPayloadBufLocal[0]; + DragDropPayloadBufLocal_1 = dragDropPayloadBufLocal[1]; + DragDropPayloadBufLocal_2 = dragDropPayloadBufLocal[2]; + DragDropPayloadBufLocal_3 = dragDropPayloadBufLocal[3]; + DragDropPayloadBufLocal_4 = dragDropPayloadBufLocal[4]; + DragDropPayloadBufLocal_5 = dragDropPayloadBufLocal[5]; + DragDropPayloadBufLocal_6 = dragDropPayloadBufLocal[6]; + DragDropPayloadBufLocal_7 = dragDropPayloadBufLocal[7]; + DragDropPayloadBufLocal_8 = dragDropPayloadBufLocal[8]; + DragDropPayloadBufLocal_9 = dragDropPayloadBufLocal[9]; + DragDropPayloadBufLocal_10 = dragDropPayloadBufLocal[10]; + DragDropPayloadBufLocal_11 = dragDropPayloadBufLocal[11]; + DragDropPayloadBufLocal_12 = dragDropPayloadBufLocal[12]; + DragDropPayloadBufLocal_13 = dragDropPayloadBufLocal[13]; + DragDropPayloadBufLocal_14 = dragDropPayloadBufLocal[14]; + DragDropPayloadBufLocal_15 = dragDropPayloadBufLocal[15]; + } + ClipperTempDataStacked = clipperTempDataStacked; + ClipperTempData = clipperTempData; + CurrentTable = currentTable; + TablesTempDataStacked = tablesTempDataStacked; + TablesTempData = tablesTempData; + Tables = tables; + TablesLastTimeActive = tablesLastTimeActive; + DrawChannelsTempMergeBuffer = drawChannelsTempMergeBuffer; + CurrentTabBar = currentTabBar; + TabBars = tabBars; + CurrentTabBarStack = currentTabBarStack; + ShrinkWidthBuffer = shrinkWidthBuffer; + MouseLastValidPos = mouseLastValidPos; + InputTextState = inputTextState; + InputTextPasswordFont = inputTextPasswordFont; + TempInputId = tempInputId; + ColorEditOptions = colorEditOptions; + ColorEditLastHue = colorEditLastHue; + ColorEditLastSat = colorEditLastSat; + ColorEditLastColor = colorEditLastColor; + ColorPickerRef = colorPickerRef; + ComboPreviewData = comboPreviewData; + SliderGrabClickOffset = sliderGrabClickOffset; + SliderCurrentAccum = sliderCurrentAccum; + SliderCurrentAccumDirty = sliderCurrentAccumDirty ? (byte)1 : (byte)0; + DragCurrentAccumDirty = dragCurrentAccumDirty ? (byte)1 : (byte)0; + DragCurrentAccum = dragCurrentAccum; + DragSpeedDefaultRatio = dragSpeedDefaultRatio; + ScrollbarClickDeltaToGrabCenter = scrollbarClickDeltaToGrabCenter; + DisabledAlphaBackup = disabledAlphaBackup; + DisabledStackSize = disabledStackSize; + TooltipOverrideCount = tooltipOverrideCount; + TooltipSlowDelay = tooltipSlowDelay; + ClipboardHandlerData = clipboardHandlerData; + MenusIdSubmittedThisFrame = menusIdSubmittedThisFrame; + PlatformImeData = platformImeData; + PlatformImeDataPrev = platformImeDataPrev; + PlatformImeViewport = platformImeViewport; + PlatformLocaleDecimalPoint = platformLocaleDecimalPoint; + DockContext = dockContext; + SettingsLoaded = settingsLoaded ? (byte)1 : (byte)0; + SettingsDirtyTimer = settingsDirtyTimer; + SettingsIniData = settingsIniData; + SettingsHandlers = settingsHandlers; + SettingsWindows = settingsWindows; + SettingsTables = settingsTables; + Hooks = hooks; + HookIdNext = hookIdNext; + LogEnabled = logEnabled ? (byte)1 : (byte)0; + LogType = logType; + LogFile = logFile; + LogBuffer = logBuffer; + LogNextPrefix = logNextPrefix; + LogNextSuffix = logNextSuffix; + LogLinePosY = logLinePosY; + LogLineFirstItem = logLineFirstItem ? (byte)1 : (byte)0; + LogDepthRef = logDepthRef; + LogDepthToExpand = logDepthToExpand; + LogDepthToExpandDefault = logDepthToExpandDefault; + DebugLogFlags = debugLogFlags; + DebugLogBuf = debugLogBuf; + DebugItemPickerActive = debugItemPickerActive ? (byte)1 : (byte)0; + DebugItemPickerBreakId = debugItemPickerBreakId; + DebugMetricsConfig = debugMetricsConfig; + DebugStackTool = debugStackTool; + if (framerateSecPerFrame != default(float*)) + { + FramerateSecPerFrame_0 = framerateSecPerFrame[0]; + FramerateSecPerFrame_1 = framerateSecPerFrame[1]; + FramerateSecPerFrame_2 = framerateSecPerFrame[2]; + FramerateSecPerFrame_3 = framerateSecPerFrame[3]; + FramerateSecPerFrame_4 = framerateSecPerFrame[4]; + FramerateSecPerFrame_5 = framerateSecPerFrame[5]; + FramerateSecPerFrame_6 = framerateSecPerFrame[6]; + FramerateSecPerFrame_7 = framerateSecPerFrame[7]; + FramerateSecPerFrame_8 = framerateSecPerFrame[8]; + FramerateSecPerFrame_9 = framerateSecPerFrame[9]; + FramerateSecPerFrame_10 = framerateSecPerFrame[10]; + FramerateSecPerFrame_11 = framerateSecPerFrame[11]; + FramerateSecPerFrame_12 = framerateSecPerFrame[12]; + FramerateSecPerFrame_13 = framerateSecPerFrame[13]; + FramerateSecPerFrame_14 = framerateSecPerFrame[14]; + FramerateSecPerFrame_15 = framerateSecPerFrame[15]; + FramerateSecPerFrame_16 = framerateSecPerFrame[16]; + FramerateSecPerFrame_17 = framerateSecPerFrame[17]; + FramerateSecPerFrame_18 = framerateSecPerFrame[18]; + FramerateSecPerFrame_19 = framerateSecPerFrame[19]; + FramerateSecPerFrame_20 = framerateSecPerFrame[20]; + FramerateSecPerFrame_21 = framerateSecPerFrame[21]; + FramerateSecPerFrame_22 = framerateSecPerFrame[22]; + FramerateSecPerFrame_23 = framerateSecPerFrame[23]; + FramerateSecPerFrame_24 = framerateSecPerFrame[24]; + FramerateSecPerFrame_25 = framerateSecPerFrame[25]; + FramerateSecPerFrame_26 = framerateSecPerFrame[26]; + FramerateSecPerFrame_27 = framerateSecPerFrame[27]; + FramerateSecPerFrame_28 = framerateSecPerFrame[28]; + FramerateSecPerFrame_29 = framerateSecPerFrame[29]; + FramerateSecPerFrame_30 = framerateSecPerFrame[30]; + FramerateSecPerFrame_31 = framerateSecPerFrame[31]; + FramerateSecPerFrame_32 = framerateSecPerFrame[32]; + FramerateSecPerFrame_33 = framerateSecPerFrame[33]; + FramerateSecPerFrame_34 = framerateSecPerFrame[34]; + FramerateSecPerFrame_35 = framerateSecPerFrame[35]; + FramerateSecPerFrame_36 = framerateSecPerFrame[36]; + FramerateSecPerFrame_37 = framerateSecPerFrame[37]; + FramerateSecPerFrame_38 = framerateSecPerFrame[38]; + FramerateSecPerFrame_39 = framerateSecPerFrame[39]; + FramerateSecPerFrame_40 = framerateSecPerFrame[40]; + FramerateSecPerFrame_41 = framerateSecPerFrame[41]; + FramerateSecPerFrame_42 = framerateSecPerFrame[42]; + FramerateSecPerFrame_43 = framerateSecPerFrame[43]; + FramerateSecPerFrame_44 = framerateSecPerFrame[44]; + FramerateSecPerFrame_45 = framerateSecPerFrame[45]; + FramerateSecPerFrame_46 = framerateSecPerFrame[46]; + FramerateSecPerFrame_47 = framerateSecPerFrame[47]; + FramerateSecPerFrame_48 = framerateSecPerFrame[48]; + FramerateSecPerFrame_49 = framerateSecPerFrame[49]; + FramerateSecPerFrame_50 = framerateSecPerFrame[50]; + FramerateSecPerFrame_51 = framerateSecPerFrame[51]; + FramerateSecPerFrame_52 = framerateSecPerFrame[52]; + FramerateSecPerFrame_53 = framerateSecPerFrame[53]; + FramerateSecPerFrame_54 = framerateSecPerFrame[54]; + FramerateSecPerFrame_55 = framerateSecPerFrame[55]; + FramerateSecPerFrame_56 = framerateSecPerFrame[56]; + FramerateSecPerFrame_57 = framerateSecPerFrame[57]; + FramerateSecPerFrame_58 = framerateSecPerFrame[58]; + FramerateSecPerFrame_59 = framerateSecPerFrame[59]; + FramerateSecPerFrame_60 = framerateSecPerFrame[60]; + FramerateSecPerFrame_61 = framerateSecPerFrame[61]; + FramerateSecPerFrame_62 = framerateSecPerFrame[62]; + FramerateSecPerFrame_63 = framerateSecPerFrame[63]; + FramerateSecPerFrame_64 = framerateSecPerFrame[64]; + FramerateSecPerFrame_65 = framerateSecPerFrame[65]; + FramerateSecPerFrame_66 = framerateSecPerFrame[66]; + FramerateSecPerFrame_67 = framerateSecPerFrame[67]; + FramerateSecPerFrame_68 = framerateSecPerFrame[68]; + FramerateSecPerFrame_69 = framerateSecPerFrame[69]; + FramerateSecPerFrame_70 = framerateSecPerFrame[70]; + FramerateSecPerFrame_71 = framerateSecPerFrame[71]; + FramerateSecPerFrame_72 = framerateSecPerFrame[72]; + FramerateSecPerFrame_73 = framerateSecPerFrame[73]; + FramerateSecPerFrame_74 = framerateSecPerFrame[74]; + FramerateSecPerFrame_75 = framerateSecPerFrame[75]; + FramerateSecPerFrame_76 = framerateSecPerFrame[76]; + FramerateSecPerFrame_77 = framerateSecPerFrame[77]; + FramerateSecPerFrame_78 = framerateSecPerFrame[78]; + FramerateSecPerFrame_79 = framerateSecPerFrame[79]; + FramerateSecPerFrame_80 = framerateSecPerFrame[80]; + FramerateSecPerFrame_81 = framerateSecPerFrame[81]; + FramerateSecPerFrame_82 = framerateSecPerFrame[82]; + FramerateSecPerFrame_83 = framerateSecPerFrame[83]; + FramerateSecPerFrame_84 = framerateSecPerFrame[84]; + FramerateSecPerFrame_85 = framerateSecPerFrame[85]; + FramerateSecPerFrame_86 = framerateSecPerFrame[86]; + FramerateSecPerFrame_87 = framerateSecPerFrame[87]; + FramerateSecPerFrame_88 = framerateSecPerFrame[88]; + FramerateSecPerFrame_89 = framerateSecPerFrame[89]; + FramerateSecPerFrame_90 = framerateSecPerFrame[90]; + FramerateSecPerFrame_91 = framerateSecPerFrame[91]; + FramerateSecPerFrame_92 = framerateSecPerFrame[92]; + FramerateSecPerFrame_93 = framerateSecPerFrame[93]; + FramerateSecPerFrame_94 = framerateSecPerFrame[94]; + FramerateSecPerFrame_95 = framerateSecPerFrame[95]; + FramerateSecPerFrame_96 = framerateSecPerFrame[96]; + FramerateSecPerFrame_97 = framerateSecPerFrame[97]; + FramerateSecPerFrame_98 = framerateSecPerFrame[98]; + FramerateSecPerFrame_99 = framerateSecPerFrame[99]; + FramerateSecPerFrame_100 = framerateSecPerFrame[100]; + FramerateSecPerFrame_101 = framerateSecPerFrame[101]; + FramerateSecPerFrame_102 = framerateSecPerFrame[102]; + FramerateSecPerFrame_103 = framerateSecPerFrame[103]; + FramerateSecPerFrame_104 = framerateSecPerFrame[104]; + FramerateSecPerFrame_105 = framerateSecPerFrame[105]; + FramerateSecPerFrame_106 = framerateSecPerFrame[106]; + FramerateSecPerFrame_107 = framerateSecPerFrame[107]; + FramerateSecPerFrame_108 = framerateSecPerFrame[108]; + FramerateSecPerFrame_109 = framerateSecPerFrame[109]; + FramerateSecPerFrame_110 = framerateSecPerFrame[110]; + FramerateSecPerFrame_111 = framerateSecPerFrame[111]; + FramerateSecPerFrame_112 = framerateSecPerFrame[112]; + FramerateSecPerFrame_113 = framerateSecPerFrame[113]; + FramerateSecPerFrame_114 = framerateSecPerFrame[114]; + FramerateSecPerFrame_115 = framerateSecPerFrame[115]; + FramerateSecPerFrame_116 = framerateSecPerFrame[116]; + FramerateSecPerFrame_117 = framerateSecPerFrame[117]; + FramerateSecPerFrame_118 = framerateSecPerFrame[118]; + FramerateSecPerFrame_119 = framerateSecPerFrame[119]; + } + FramerateSecPerFrameIdx = framerateSecPerFrameIdx; + FramerateSecPerFrameCount = framerateSecPerFrameCount; + FramerateSecPerFrameAccum = framerateSecPerFrameAccum; + WantCaptureMouseNextFrame = wantCaptureMouseNextFrame; + WantCaptureKeyboardNextFrame = wantCaptureKeyboardNextFrame; + WantTextInputNextFrame = wantTextInputNextFrame; + TempBuffer = tempBuffer; + } + public unsafe ImGuiContext(bool initialized = default, bool fontAtlasOwnedByContext = default, ImGuiIO io = default, ImGuiPlatformIO platformIo = default, ImVector inputEventsQueue = default, ImVector inputEventsTrail = default, ImGuiStyle style = default, ImGuiConfigFlags configFlagsCurrFrame = default, ImGuiConfigFlags configFlagsLastFrame = default, ImFontPtr font = default, float fontSize = default, float fontBaseSize = default, ImDrawListSharedData drawListSharedData = default, double time = default, int frameCount = default, int frameCountEnded = default, int frameCountPlatformEnded = default, int frameCountRendered = default, bool withinFrameScope = default, bool withinFrameScopeWithImplicitWindow = default, bool withinEndChild = default, bool gcCompactAll = default, bool testEngineHookItems = default, void* testEngine = default, ImVector windows = default, ImVector windowsFocusOrder = default, ImVector windowsTempSortBuffer = default, ImVector currentWindowStack = default, ImGuiStorage windowsById = default, int windowsActiveCount = default, Vector2 windowsHoverPadding = default, ImGuiWindow* currentWindow = default, ImGuiWindow* hoveredWindow = default, ImGuiWindow* hoveredWindowUnderMovingWindow = default, ImGuiDockNode* hoveredDockNode = default, ImGuiWindow* movingWindow = default, ImGuiWindow* wheelingWindow = default, Vector2 wheelingWindowRefMousePos = default, float wheelingWindowTimer = default, uint debugHookIdInfo = default, uint hoveredId = default, uint hoveredIdPreviousFrame = default, bool hoveredIdAllowOverlap = default, bool hoveredIdUsingMouseWheel = default, bool hoveredIdPreviousFrameUsingMouseWheel = default, bool hoveredIdDisabled = default, float hoveredIdTimer = default, float hoveredIdNotActiveTimer = default, uint activeId = default, uint activeIdIsAlive = default, float activeIdTimer = default, bool activeIdIsJustActivated = default, bool activeIdAllowOverlap = default, bool activeIdNoClearOnFocusLoss = default, bool activeIdHasBeenPressedBefore = default, bool activeIdHasBeenEditedBefore = default, bool activeIdHasBeenEditedThisFrame = default, Vector2 activeIdClickOffset = default, ImGuiWindow* activeIdWindow = default, ImGuiInputSource activeIdSource = default, int activeIdMouseButton = default, uint activeIdPreviousFrame = default, bool activeIdPreviousFrameIsAlive = default, bool activeIdPreviousFrameHasBeenEditedBefore = default, ImGuiWindow* activeIdPreviousFrameWindow = default, uint lastActiveId = default, float lastActiveIdTimer = default, bool activeIdUsingMouseWheel = default, uint activeIdUsingNavDirMask = default, uint activeIdUsingNavInputMask = default, nuint activeIdUsingKeyInputMask = default, ImGuiItemFlags currentItemFlags = default, ImGuiNextItemData nextItemData = default, ImGuiLastItemData lastItemData = default, ImGuiNextWindowData nextWindowData = default, ImVector colorStack = default, ImVector styleVarStack = default, ImVector fontStack = default, ImVector focusScopeStack = default, ImVector itemFlagsStack = default, ImVector groupStack = default, ImVector openPopupStack = default, ImVector beginPopupStack = default, int beginMenuCount = default, ImVector viewports = default, float currentDpiScale = default, ImGuiViewportP* currentViewport = default, ImGuiViewportP* mouseViewport = default, ImGuiViewportP* mouseLastHoveredViewport = default, uint platformLastFocusedViewportId = default, ImGuiPlatformMonitor fallbackMonitor = default, int viewportFrontMostStampCount = default, ImGuiWindow* navWindow = default, uint navId = default, uint navFocusScopeId = default, uint navActivateId = default, uint navActivateDownId = default, uint navActivatePressedId = default, uint navActivateInputId = default, ImGuiActivateFlags navActivateFlags = default, uint navJustMovedToId = default, uint navJustMovedToFocusScopeId = default, ImGuiModFlags navJustMovedToKeyMods = default, uint navNextActivateId = default, ImGuiActivateFlags navNextActivateFlags = default, ImGuiInputSource navInputSource = default, ImGuiNavLayer navLayer = default, bool navIdIsAlive = default, bool navMousePosDirty = default, bool navDisableHighlight = default, bool navDisableMouseHover = default, bool navAnyRequest = default, bool navInitRequest = default, bool navInitRequestFromMove = default, uint navInitResultId = default, ImRect navInitResultRectRel = default, bool navMoveSubmitted = default, bool navMoveScoringItems = default, bool navMoveForwardToNextFrame = default, ImGuiNavMoveFlags navMoveFlags = default, ImGuiScrollFlags navMoveScrollFlags = default, ImGuiModFlags navMoveKeyMods = default, ImGuiDir navMoveDir = default, ImGuiDir navMoveDirForDebug = default, ImGuiDir navMoveClipDir = default, ImRect navScoringRect = default, ImRect navScoringNoClipRect = default, int navScoringDebugCount = default, int navTabbingDir = default, int navTabbingCounter = default, ImGuiNavItemData navMoveResultLocal = default, ImGuiNavItemData navMoveResultLocalVisible = default, ImGuiNavItemData navMoveResultOther = default, ImGuiNavItemData navTabbingResultFirst = default, ImGuiWindow* navWindowingTarget = default, ImGuiWindow* navWindowingTargetAnim = default, ImGuiWindow* navWindowingListWindow = default, float navWindowingTimer = default, float navWindowingHighlightAlpha = default, bool navWindowingToggleLayer = default, float dimBgRatio = default, ImGuiMouseCursor mouseCursor = default, bool dragDropActive = default, bool dragDropWithinSource = default, bool dragDropWithinTarget = default, ImGuiDragDropFlags dragDropSourceFlags = default, int dragDropSourceFrameCount = default, int dragDropMouseButton = default, ImGuiPayload dragDropPayload = default, ImRect dragDropTargetRect = default, uint dragDropTargetId = default, ImGuiDragDropFlags dragDropAcceptFlags = default, float dragDropAcceptIdCurrRectSurface = default, uint dragDropAcceptIdCurr = default, uint dragDropAcceptIdPrev = default, int dragDropAcceptFrameCount = default, uint dragDropHoldJustPressedId = default, ImVector dragDropPayloadBufHeap = default, Span dragDropPayloadBufLocal = default, int clipperTempDataStacked = default, ImVector clipperTempData = default, ImGuiTable* currentTable = default, int tablesTempDataStacked = default, ImVector tablesTempData = default, ImPoolImGuiTable tables = default, ImVector tablesLastTimeActive = default, ImVector drawChannelsTempMergeBuffer = default, ImGuiTabBar* currentTabBar = default, ImPoolImGuiTabBar tabBars = default, ImVector currentTabBarStack = default, ImVector shrinkWidthBuffer = default, Vector2 mouseLastValidPos = default, ImGuiInputTextState inputTextState = default, ImFont inputTextPasswordFont = default, uint tempInputId = default, ImGuiColorEditFlags colorEditOptions = default, float colorEditLastHue = default, float colorEditLastSat = default, uint colorEditLastColor = default, Vector4 colorPickerRef = default, ImGuiComboPreviewData comboPreviewData = default, float sliderGrabClickOffset = default, float sliderCurrentAccum = default, bool sliderCurrentAccumDirty = default, bool dragCurrentAccumDirty = default, float dragCurrentAccum = default, float dragSpeedDefaultRatio = default, float scrollbarClickDeltaToGrabCenter = default, float disabledAlphaBackup = default, short disabledStackSize = default, short tooltipOverrideCount = default, float tooltipSlowDelay = default, ImVector clipboardHandlerData = default, ImVector menusIdSubmittedThisFrame = default, ImGuiPlatformImeData platformImeData = default, ImGuiPlatformImeData platformImeDataPrev = default, uint platformImeViewport = default, byte platformLocaleDecimalPoint = default, ImGuiDockContext dockContext = default, bool settingsLoaded = default, float settingsDirtyTimer = default, ImGuiTextBuffer settingsIniData = default, ImVector settingsHandlers = default, ImChunkStreamImGuiWindowSettings settingsWindows = default, ImChunkStreamImGuiTableSettings settingsTables = default, ImVector hooks = default, uint hookIdNext = default, bool logEnabled = default, ImGuiLogType logType = default, ImFileHandle logFile = default, ImGuiTextBuffer logBuffer = default, byte* logNextPrefix = default, byte* logNextSuffix = default, float logLinePosY = default, bool logLineFirstItem = default, int logDepthRef = default, int logDepthToExpand = default, int logDepthToExpandDefault = default, ImGuiDebugLogFlags debugLogFlags = default, ImGuiTextBuffer debugLogBuf = default, bool debugItemPickerActive = default, uint debugItemPickerBreakId = default, ImGuiMetricsConfig debugMetricsConfig = default, ImGuiStackTool debugStackTool = default, Span framerateSecPerFrame = default, int framerateSecPerFrameIdx = default, int framerateSecPerFrameCount = default, float framerateSecPerFrameAccum = default, int wantCaptureMouseNextFrame = default, int wantCaptureKeyboardNextFrame = default, int wantTextInputNextFrame = default, ImVector tempBuffer = default) + { + Initialized = initialized ? (byte)1 : (byte)0; + FontAtlasOwnedByContext = fontAtlasOwnedByContext ? (byte)1 : (byte)0; + IO = io; + PlatformIO = platformIo; + InputEventsQueue = inputEventsQueue; + InputEventsTrail = inputEventsTrail; + Style = style; + ConfigFlagsCurrFrame = configFlagsCurrFrame; + ConfigFlagsLastFrame = configFlagsLastFrame; + Font = font; + FontSize = fontSize; + FontBaseSize = fontBaseSize; + DrawListSharedData = drawListSharedData; + Time = time; + FrameCount = frameCount; + FrameCountEnded = frameCountEnded; + FrameCountPlatformEnded = frameCountPlatformEnded; + FrameCountRendered = frameCountRendered; + WithinFrameScope = withinFrameScope ? (byte)1 : (byte)0; + WithinFrameScopeWithImplicitWindow = withinFrameScopeWithImplicitWindow ? (byte)1 : (byte)0; + WithinEndChild = withinEndChild ? (byte)1 : (byte)0; + GcCompactAll = gcCompactAll ? (byte)1 : (byte)0; + TestEngineHookItems = testEngineHookItems ? (byte)1 : (byte)0; + TestEngine = testEngine; + Windows = windows; + WindowsFocusOrder = windowsFocusOrder; + WindowsTempSortBuffer = windowsTempSortBuffer; + CurrentWindowStack = currentWindowStack; + WindowsById = windowsById; + WindowsActiveCount = windowsActiveCount; + WindowsHoverPadding = windowsHoverPadding; + CurrentWindow = currentWindow; + HoveredWindow = hoveredWindow; + HoveredWindowUnderMovingWindow = hoveredWindowUnderMovingWindow; + HoveredDockNode = hoveredDockNode; + MovingWindow = movingWindow; + WheelingWindow = wheelingWindow; + WheelingWindowRefMousePos = wheelingWindowRefMousePos; + WheelingWindowTimer = wheelingWindowTimer; + DebugHookIdInfo = debugHookIdInfo; + HoveredId = hoveredId; + HoveredIdPreviousFrame = hoveredIdPreviousFrame; + HoveredIdAllowOverlap = hoveredIdAllowOverlap ? (byte)1 : (byte)0; + HoveredIdUsingMouseWheel = hoveredIdUsingMouseWheel ? (byte)1 : (byte)0; + HoveredIdPreviousFrameUsingMouseWheel = hoveredIdPreviousFrameUsingMouseWheel ? (byte)1 : (byte)0; + HoveredIdDisabled = hoveredIdDisabled ? (byte)1 : (byte)0; + HoveredIdTimer = hoveredIdTimer; + HoveredIdNotActiveTimer = hoveredIdNotActiveTimer; + ActiveId = activeId; + ActiveIdIsAlive = activeIdIsAlive; + ActiveIdTimer = activeIdTimer; + ActiveIdIsJustActivated = activeIdIsJustActivated ? (byte)1 : (byte)0; + ActiveIdAllowOverlap = activeIdAllowOverlap ? (byte)1 : (byte)0; + ActiveIdNoClearOnFocusLoss = activeIdNoClearOnFocusLoss ? (byte)1 : (byte)0; + ActiveIdHasBeenPressedBefore = activeIdHasBeenPressedBefore ? (byte)1 : (byte)0; + ActiveIdHasBeenEditedBefore = activeIdHasBeenEditedBefore ? (byte)1 : (byte)0; + ActiveIdHasBeenEditedThisFrame = activeIdHasBeenEditedThisFrame ? (byte)1 : (byte)0; + ActiveIdClickOffset = activeIdClickOffset; + ActiveIdWindow = activeIdWindow; + ActiveIdSource = activeIdSource; + ActiveIdMouseButton = activeIdMouseButton; + ActiveIdPreviousFrame = activeIdPreviousFrame; + ActiveIdPreviousFrameIsAlive = activeIdPreviousFrameIsAlive ? (byte)1 : (byte)0; + ActiveIdPreviousFrameHasBeenEditedBefore = activeIdPreviousFrameHasBeenEditedBefore ? (byte)1 : (byte)0; + ActiveIdPreviousFrameWindow = activeIdPreviousFrameWindow; + LastActiveId = lastActiveId; + LastActiveIdTimer = lastActiveIdTimer; + ActiveIdUsingMouseWheel = activeIdUsingMouseWheel ? (byte)1 : (byte)0; + ActiveIdUsingNavDirMask = activeIdUsingNavDirMask; + ActiveIdUsingNavInputMask = activeIdUsingNavInputMask; + ActiveIdUsingKeyInputMask = activeIdUsingKeyInputMask; + CurrentItemFlags = currentItemFlags; + NextItemData = nextItemData; + LastItemData = lastItemData; + NextWindowData = nextWindowData; + ColorStack = colorStack; + StyleVarStack = styleVarStack; + FontStack = fontStack; + FocusScopeStack = focusScopeStack; + ItemFlagsStack = itemFlagsStack; + GroupStack = groupStack; + OpenPopupStack = openPopupStack; + BeginPopupStack = beginPopupStack; + BeginMenuCount = beginMenuCount; + Viewports = viewports; + CurrentDpiScale = currentDpiScale; + CurrentViewport = currentViewport; + MouseViewport = mouseViewport; + MouseLastHoveredViewport = mouseLastHoveredViewport; + PlatformLastFocusedViewportId = platformLastFocusedViewportId; + FallbackMonitor = fallbackMonitor; + ViewportFrontMostStampCount = viewportFrontMostStampCount; + NavWindow = navWindow; + NavId = navId; + NavFocusScopeId = navFocusScopeId; + NavActivateId = navActivateId; + NavActivateDownId = navActivateDownId; + NavActivatePressedId = navActivatePressedId; + NavActivateInputId = navActivateInputId; + NavActivateFlags = navActivateFlags; + NavJustMovedToId = navJustMovedToId; + NavJustMovedToFocusScopeId = navJustMovedToFocusScopeId; + NavJustMovedToKeyMods = navJustMovedToKeyMods; + NavNextActivateId = navNextActivateId; + NavNextActivateFlags = navNextActivateFlags; + NavInputSource = navInputSource; + NavLayer = navLayer; + NavIdIsAlive = navIdIsAlive ? (byte)1 : (byte)0; + NavMousePosDirty = navMousePosDirty ? (byte)1 : (byte)0; + NavDisableHighlight = navDisableHighlight ? (byte)1 : (byte)0; + NavDisableMouseHover = navDisableMouseHover ? (byte)1 : (byte)0; + NavAnyRequest = navAnyRequest ? (byte)1 : (byte)0; + NavInitRequest = navInitRequest ? (byte)1 : (byte)0; + NavInitRequestFromMove = navInitRequestFromMove ? (byte)1 : (byte)0; + NavInitResultId = navInitResultId; + NavInitResultRectRel = navInitResultRectRel; + NavMoveSubmitted = navMoveSubmitted ? (byte)1 : (byte)0; + NavMoveScoringItems = navMoveScoringItems ? (byte)1 : (byte)0; + NavMoveForwardToNextFrame = navMoveForwardToNextFrame ? (byte)1 : (byte)0; + NavMoveFlags = navMoveFlags; + NavMoveScrollFlags = navMoveScrollFlags; + NavMoveKeyMods = navMoveKeyMods; + NavMoveDir = navMoveDir; + NavMoveDirForDebug = navMoveDirForDebug; + NavMoveClipDir = navMoveClipDir; + NavScoringRect = navScoringRect; + NavScoringNoClipRect = navScoringNoClipRect; + NavScoringDebugCount = navScoringDebugCount; + NavTabbingDir = navTabbingDir; + NavTabbingCounter = navTabbingCounter; + NavMoveResultLocal = navMoveResultLocal; + NavMoveResultLocalVisible = navMoveResultLocalVisible; + NavMoveResultOther = navMoveResultOther; + NavTabbingResultFirst = navTabbingResultFirst; + NavWindowingTarget = navWindowingTarget; + NavWindowingTargetAnim = navWindowingTargetAnim; + NavWindowingListWindow = navWindowingListWindow; + NavWindowingTimer = navWindowingTimer; + NavWindowingHighlightAlpha = navWindowingHighlightAlpha; + NavWindowingToggleLayer = navWindowingToggleLayer ? (byte)1 : (byte)0; + DimBgRatio = dimBgRatio; + MouseCursor = mouseCursor; + DragDropActive = dragDropActive ? (byte)1 : (byte)0; + DragDropWithinSource = dragDropWithinSource ? (byte)1 : (byte)0; + DragDropWithinTarget = dragDropWithinTarget ? (byte)1 : (byte)0; + DragDropSourceFlags = dragDropSourceFlags; + DragDropSourceFrameCount = dragDropSourceFrameCount; + DragDropMouseButton = dragDropMouseButton; + DragDropPayload = dragDropPayload; + DragDropTargetRect = dragDropTargetRect; + DragDropTargetId = dragDropTargetId; + DragDropAcceptFlags = dragDropAcceptFlags; + DragDropAcceptIdCurrRectSurface = dragDropAcceptIdCurrRectSurface; + DragDropAcceptIdCurr = dragDropAcceptIdCurr; + DragDropAcceptIdPrev = dragDropAcceptIdPrev; + DragDropAcceptFrameCount = dragDropAcceptFrameCount; + DragDropHoldJustPressedId = dragDropHoldJustPressedId; + DragDropPayloadBufHeap = dragDropPayloadBufHeap; + if (dragDropPayloadBufLocal != default(Span)) + { + DragDropPayloadBufLocal_0 = dragDropPayloadBufLocal[0]; + DragDropPayloadBufLocal_1 = dragDropPayloadBufLocal[1]; + DragDropPayloadBufLocal_2 = dragDropPayloadBufLocal[2]; + DragDropPayloadBufLocal_3 = dragDropPayloadBufLocal[3]; + DragDropPayloadBufLocal_4 = dragDropPayloadBufLocal[4]; + DragDropPayloadBufLocal_5 = dragDropPayloadBufLocal[5]; + DragDropPayloadBufLocal_6 = dragDropPayloadBufLocal[6]; + DragDropPayloadBufLocal_7 = dragDropPayloadBufLocal[7]; + DragDropPayloadBufLocal_8 = dragDropPayloadBufLocal[8]; + DragDropPayloadBufLocal_9 = dragDropPayloadBufLocal[9]; + DragDropPayloadBufLocal_10 = dragDropPayloadBufLocal[10]; + DragDropPayloadBufLocal_11 = dragDropPayloadBufLocal[11]; + DragDropPayloadBufLocal_12 = dragDropPayloadBufLocal[12]; + DragDropPayloadBufLocal_13 = dragDropPayloadBufLocal[13]; + DragDropPayloadBufLocal_14 = dragDropPayloadBufLocal[14]; + DragDropPayloadBufLocal_15 = dragDropPayloadBufLocal[15]; + } + ClipperTempDataStacked = clipperTempDataStacked; + ClipperTempData = clipperTempData; + CurrentTable = currentTable; + TablesTempDataStacked = tablesTempDataStacked; + TablesTempData = tablesTempData; + Tables = tables; + TablesLastTimeActive = tablesLastTimeActive; + DrawChannelsTempMergeBuffer = drawChannelsTempMergeBuffer; + CurrentTabBar = currentTabBar; + TabBars = tabBars; + CurrentTabBarStack = currentTabBarStack; + ShrinkWidthBuffer = shrinkWidthBuffer; + MouseLastValidPos = mouseLastValidPos; + InputTextState = inputTextState; + InputTextPasswordFont = inputTextPasswordFont; + TempInputId = tempInputId; + ColorEditOptions = colorEditOptions; + ColorEditLastHue = colorEditLastHue; + ColorEditLastSat = colorEditLastSat; + ColorEditLastColor = colorEditLastColor; + ColorPickerRef = colorPickerRef; + ComboPreviewData = comboPreviewData; + SliderGrabClickOffset = sliderGrabClickOffset; + SliderCurrentAccum = sliderCurrentAccum; + SliderCurrentAccumDirty = sliderCurrentAccumDirty ? (byte)1 : (byte)0; + DragCurrentAccumDirty = dragCurrentAccumDirty ? (byte)1 : (byte)0; + DragCurrentAccum = dragCurrentAccum; + DragSpeedDefaultRatio = dragSpeedDefaultRatio; + ScrollbarClickDeltaToGrabCenter = scrollbarClickDeltaToGrabCenter; + DisabledAlphaBackup = disabledAlphaBackup; + DisabledStackSize = disabledStackSize; + TooltipOverrideCount = tooltipOverrideCount; + TooltipSlowDelay = tooltipSlowDelay; + ClipboardHandlerData = clipboardHandlerData; + MenusIdSubmittedThisFrame = menusIdSubmittedThisFrame; + PlatformImeData = platformImeData; + PlatformImeDataPrev = platformImeDataPrev; + PlatformImeViewport = platformImeViewport; + PlatformLocaleDecimalPoint = platformLocaleDecimalPoint; + DockContext = dockContext; + SettingsLoaded = settingsLoaded ? (byte)1 : (byte)0; + SettingsDirtyTimer = settingsDirtyTimer; + SettingsIniData = settingsIniData; + SettingsHandlers = settingsHandlers; + SettingsWindows = settingsWindows; + SettingsTables = settingsTables; + Hooks = hooks; + HookIdNext = hookIdNext; + LogEnabled = logEnabled ? (byte)1 : (byte)0; + LogType = logType; + LogFile = logFile; + LogBuffer = logBuffer; + LogNextPrefix = logNextPrefix; + LogNextSuffix = logNextSuffix; + LogLinePosY = logLinePosY; + LogLineFirstItem = logLineFirstItem ? (byte)1 : (byte)0; + LogDepthRef = logDepthRef; + LogDepthToExpand = logDepthToExpand; + LogDepthToExpandDefault = logDepthToExpandDefault; + DebugLogFlags = debugLogFlags; + DebugLogBuf = debugLogBuf; + DebugItemPickerActive = debugItemPickerActive ? (byte)1 : (byte)0; + DebugItemPickerBreakId = debugItemPickerBreakId; + DebugMetricsConfig = debugMetricsConfig; + DebugStackTool = debugStackTool; + if (framerateSecPerFrame != default(Span)) + { + FramerateSecPerFrame_0 = framerateSecPerFrame[0]; + FramerateSecPerFrame_1 = framerateSecPerFrame[1]; + FramerateSecPerFrame_2 = framerateSecPerFrame[2]; + FramerateSecPerFrame_3 = framerateSecPerFrame[3]; + FramerateSecPerFrame_4 = framerateSecPerFrame[4]; + FramerateSecPerFrame_5 = framerateSecPerFrame[5]; + FramerateSecPerFrame_6 = framerateSecPerFrame[6]; + FramerateSecPerFrame_7 = framerateSecPerFrame[7]; + FramerateSecPerFrame_8 = framerateSecPerFrame[8]; + FramerateSecPerFrame_9 = framerateSecPerFrame[9]; + FramerateSecPerFrame_10 = framerateSecPerFrame[10]; + FramerateSecPerFrame_11 = framerateSecPerFrame[11]; + FramerateSecPerFrame_12 = framerateSecPerFrame[12]; + FramerateSecPerFrame_13 = framerateSecPerFrame[13]; + FramerateSecPerFrame_14 = framerateSecPerFrame[14]; + FramerateSecPerFrame_15 = framerateSecPerFrame[15]; + FramerateSecPerFrame_16 = framerateSecPerFrame[16]; + FramerateSecPerFrame_17 = framerateSecPerFrame[17]; + FramerateSecPerFrame_18 = framerateSecPerFrame[18]; + FramerateSecPerFrame_19 = framerateSecPerFrame[19]; + FramerateSecPerFrame_20 = framerateSecPerFrame[20]; + FramerateSecPerFrame_21 = framerateSecPerFrame[21]; + FramerateSecPerFrame_22 = framerateSecPerFrame[22]; + FramerateSecPerFrame_23 = framerateSecPerFrame[23]; + FramerateSecPerFrame_24 = framerateSecPerFrame[24]; + FramerateSecPerFrame_25 = framerateSecPerFrame[25]; + FramerateSecPerFrame_26 = framerateSecPerFrame[26]; + FramerateSecPerFrame_27 = framerateSecPerFrame[27]; + FramerateSecPerFrame_28 = framerateSecPerFrame[28]; + FramerateSecPerFrame_29 = framerateSecPerFrame[29]; + FramerateSecPerFrame_30 = framerateSecPerFrame[30]; + FramerateSecPerFrame_31 = framerateSecPerFrame[31]; + FramerateSecPerFrame_32 = framerateSecPerFrame[32]; + FramerateSecPerFrame_33 = framerateSecPerFrame[33]; + FramerateSecPerFrame_34 = framerateSecPerFrame[34]; + FramerateSecPerFrame_35 = framerateSecPerFrame[35]; + FramerateSecPerFrame_36 = framerateSecPerFrame[36]; + FramerateSecPerFrame_37 = framerateSecPerFrame[37]; + FramerateSecPerFrame_38 = framerateSecPerFrame[38]; + FramerateSecPerFrame_39 = framerateSecPerFrame[39]; + FramerateSecPerFrame_40 = framerateSecPerFrame[40]; + FramerateSecPerFrame_41 = framerateSecPerFrame[41]; + FramerateSecPerFrame_42 = framerateSecPerFrame[42]; + FramerateSecPerFrame_43 = framerateSecPerFrame[43]; + FramerateSecPerFrame_44 = framerateSecPerFrame[44]; + FramerateSecPerFrame_45 = framerateSecPerFrame[45]; + FramerateSecPerFrame_46 = framerateSecPerFrame[46]; + FramerateSecPerFrame_47 = framerateSecPerFrame[47]; + FramerateSecPerFrame_48 = framerateSecPerFrame[48]; + FramerateSecPerFrame_49 = framerateSecPerFrame[49]; + FramerateSecPerFrame_50 = framerateSecPerFrame[50]; + FramerateSecPerFrame_51 = framerateSecPerFrame[51]; + FramerateSecPerFrame_52 = framerateSecPerFrame[52]; + FramerateSecPerFrame_53 = framerateSecPerFrame[53]; + FramerateSecPerFrame_54 = framerateSecPerFrame[54]; + FramerateSecPerFrame_55 = framerateSecPerFrame[55]; + FramerateSecPerFrame_56 = framerateSecPerFrame[56]; + FramerateSecPerFrame_57 = framerateSecPerFrame[57]; + FramerateSecPerFrame_58 = framerateSecPerFrame[58]; + FramerateSecPerFrame_59 = framerateSecPerFrame[59]; + FramerateSecPerFrame_60 = framerateSecPerFrame[60]; + FramerateSecPerFrame_61 = framerateSecPerFrame[61]; + FramerateSecPerFrame_62 = framerateSecPerFrame[62]; + FramerateSecPerFrame_63 = framerateSecPerFrame[63]; + FramerateSecPerFrame_64 = framerateSecPerFrame[64]; + FramerateSecPerFrame_65 = framerateSecPerFrame[65]; + FramerateSecPerFrame_66 = framerateSecPerFrame[66]; + FramerateSecPerFrame_67 = framerateSecPerFrame[67]; + FramerateSecPerFrame_68 = framerateSecPerFrame[68]; + FramerateSecPerFrame_69 = framerateSecPerFrame[69]; + FramerateSecPerFrame_70 = framerateSecPerFrame[70]; + FramerateSecPerFrame_71 = framerateSecPerFrame[71]; + FramerateSecPerFrame_72 = framerateSecPerFrame[72]; + FramerateSecPerFrame_73 = framerateSecPerFrame[73]; + FramerateSecPerFrame_74 = framerateSecPerFrame[74]; + FramerateSecPerFrame_75 = framerateSecPerFrame[75]; + FramerateSecPerFrame_76 = framerateSecPerFrame[76]; + FramerateSecPerFrame_77 = framerateSecPerFrame[77]; + FramerateSecPerFrame_78 = framerateSecPerFrame[78]; + FramerateSecPerFrame_79 = framerateSecPerFrame[79]; + FramerateSecPerFrame_80 = framerateSecPerFrame[80]; + FramerateSecPerFrame_81 = framerateSecPerFrame[81]; + FramerateSecPerFrame_82 = framerateSecPerFrame[82]; + FramerateSecPerFrame_83 = framerateSecPerFrame[83]; + FramerateSecPerFrame_84 = framerateSecPerFrame[84]; + FramerateSecPerFrame_85 = framerateSecPerFrame[85]; + FramerateSecPerFrame_86 = framerateSecPerFrame[86]; + FramerateSecPerFrame_87 = framerateSecPerFrame[87]; + FramerateSecPerFrame_88 = framerateSecPerFrame[88]; + FramerateSecPerFrame_89 = framerateSecPerFrame[89]; + FramerateSecPerFrame_90 = framerateSecPerFrame[90]; + FramerateSecPerFrame_91 = framerateSecPerFrame[91]; + FramerateSecPerFrame_92 = framerateSecPerFrame[92]; + FramerateSecPerFrame_93 = framerateSecPerFrame[93]; + FramerateSecPerFrame_94 = framerateSecPerFrame[94]; + FramerateSecPerFrame_95 = framerateSecPerFrame[95]; + FramerateSecPerFrame_96 = framerateSecPerFrame[96]; + FramerateSecPerFrame_97 = framerateSecPerFrame[97]; + FramerateSecPerFrame_98 = framerateSecPerFrame[98]; + FramerateSecPerFrame_99 = framerateSecPerFrame[99]; + FramerateSecPerFrame_100 = framerateSecPerFrame[100]; + FramerateSecPerFrame_101 = framerateSecPerFrame[101]; + FramerateSecPerFrame_102 = framerateSecPerFrame[102]; + FramerateSecPerFrame_103 = framerateSecPerFrame[103]; + FramerateSecPerFrame_104 = framerateSecPerFrame[104]; + FramerateSecPerFrame_105 = framerateSecPerFrame[105]; + FramerateSecPerFrame_106 = framerateSecPerFrame[106]; + FramerateSecPerFrame_107 = framerateSecPerFrame[107]; + FramerateSecPerFrame_108 = framerateSecPerFrame[108]; + FramerateSecPerFrame_109 = framerateSecPerFrame[109]; + FramerateSecPerFrame_110 = framerateSecPerFrame[110]; + FramerateSecPerFrame_111 = framerateSecPerFrame[111]; + FramerateSecPerFrame_112 = framerateSecPerFrame[112]; + FramerateSecPerFrame_113 = framerateSecPerFrame[113]; + FramerateSecPerFrame_114 = framerateSecPerFrame[114]; + FramerateSecPerFrame_115 = framerateSecPerFrame[115]; + FramerateSecPerFrame_116 = framerateSecPerFrame[116]; + FramerateSecPerFrame_117 = framerateSecPerFrame[117]; + FramerateSecPerFrame_118 = framerateSecPerFrame[118]; + FramerateSecPerFrame_119 = framerateSecPerFrame[119]; + } + FramerateSecPerFrameIdx = framerateSecPerFrameIdx; + FramerateSecPerFrameCount = framerateSecPerFrameCount; + FramerateSecPerFrameAccum = framerateSecPerFrameAccum; + WantCaptureMouseNextFrame = wantCaptureMouseNextFrame; + WantCaptureKeyboardNextFrame = wantCaptureKeyboardNextFrame; + WantTextInputNextFrame = wantTextInputNextFrame; + TempBuffer = tempBuffer; + } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImGuiContextPtr : IEquatable + { + public ImGuiContextPtr(ImGuiContext* handle) { Handle = handle; } + public ImGuiContext* Handle; + public bool IsNull => Handle == null; + public static ImGuiContextPtr Null => new ImGuiContextPtr(null); + public ImGuiContext this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImGuiContextPtr(ImGuiContext* handle) => new ImGuiContextPtr(handle); + public static implicit operator ImGuiContext*(ImGuiContextPtr handle) => handle.Handle; + public static bool operator ==(ImGuiContextPtr left, ImGuiContextPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImGuiContextPtr left, ImGuiContextPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImGuiContextPtr left, ImGuiContext* right) => left.Handle == right; + public static bool operator !=(ImGuiContextPtr left, ImGuiContext* right) => left.Handle != right; + public bool Equals(ImGuiContextPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImGuiContextPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImGuiContextPtr [0x{0}]", ((nuint)Handle).ToString("X")); + public ref bool Initialized => ref Unsafe.AsRef(&Handle->Initialized); + public ref bool FontAtlasOwnedByContext => ref Unsafe.AsRef(&Handle->FontAtlasOwnedByContext); + public ref ImGuiIO IO => ref Unsafe.AsRef(&Handle->IO); + public ref ImGuiPlatformIO PlatformIO => ref Unsafe.AsRef(&Handle->PlatformIO); + public ref ImVector InputEventsQueue => ref Unsafe.AsRef>(&Handle->InputEventsQueue); + public ref ImVector InputEventsTrail => ref Unsafe.AsRef>(&Handle->InputEventsTrail); + public ref ImGuiStyle Style => ref Unsafe.AsRef(&Handle->Style); + public ref ImGuiConfigFlags ConfigFlagsCurrFrame => ref Unsafe.AsRef(&Handle->ConfigFlagsCurrFrame); + public ref ImGuiConfigFlags ConfigFlagsLastFrame => ref Unsafe.AsRef(&Handle->ConfigFlagsLastFrame); + public ref ImFontPtr Font => ref Unsafe.AsRef(&Handle->Font); + public ref float FontSize => ref Unsafe.AsRef(&Handle->FontSize); + public ref float FontBaseSize => ref Unsafe.AsRef(&Handle->FontBaseSize); + public ref ImDrawListSharedData DrawListSharedData => ref Unsafe.AsRef(&Handle->DrawListSharedData); + public ref double Time => ref Unsafe.AsRef(&Handle->Time); + public ref int FrameCount => ref Unsafe.AsRef(&Handle->FrameCount); + public ref int FrameCountEnded => ref Unsafe.AsRef(&Handle->FrameCountEnded); + public ref int FrameCountPlatformEnded => ref Unsafe.AsRef(&Handle->FrameCountPlatformEnded); + public ref int FrameCountRendered => ref Unsafe.AsRef(&Handle->FrameCountRendered); + public ref bool WithinFrameScope => ref Unsafe.AsRef(&Handle->WithinFrameScope); + public ref bool WithinFrameScopeWithImplicitWindow => ref Unsafe.AsRef(&Handle->WithinFrameScopeWithImplicitWindow); + public ref bool WithinEndChild => ref Unsafe.AsRef(&Handle->WithinEndChild); + public ref bool GcCompactAll => ref Unsafe.AsRef(&Handle->GcCompactAll); + public ref bool TestEngineHookItems => ref Unsafe.AsRef(&Handle->TestEngineHookItems); + public void* TestEngine { get => Handle->TestEngine; set => Handle->TestEngine = value; } + public ref ImVector Windows => ref Unsafe.AsRef>(&Handle->Windows); + public ref ImVector WindowsFocusOrder => ref Unsafe.AsRef>(&Handle->WindowsFocusOrder); + public ref ImVector WindowsTempSortBuffer => ref Unsafe.AsRef>(&Handle->WindowsTempSortBuffer); + public ref ImVector CurrentWindowStack => ref Unsafe.AsRef>(&Handle->CurrentWindowStack); + public ref ImGuiStorage WindowsById => ref Unsafe.AsRef(&Handle->WindowsById); + public ref int WindowsActiveCount => ref Unsafe.AsRef(&Handle->WindowsActiveCount); + public ref Vector2 WindowsHoverPadding => ref Unsafe.AsRef(&Handle->WindowsHoverPadding); + public ref ImGuiWindowPtr CurrentWindow => ref Unsafe.AsRef(&Handle->CurrentWindow); + public ref ImGuiWindowPtr HoveredWindow => ref Unsafe.AsRef(&Handle->HoveredWindow); + public ref ImGuiWindowPtr HoveredWindowUnderMovingWindow => ref Unsafe.AsRef(&Handle->HoveredWindowUnderMovingWindow); + public ref ImGuiDockNodePtr HoveredDockNode => ref Unsafe.AsRef(&Handle->HoveredDockNode); + public ref ImGuiWindowPtr MovingWindow => ref Unsafe.AsRef(&Handle->MovingWindow); + public ref ImGuiWindowPtr WheelingWindow => ref Unsafe.AsRef(&Handle->WheelingWindow); + public ref Vector2 WheelingWindowRefMousePos => ref Unsafe.AsRef(&Handle->WheelingWindowRefMousePos); + public ref float WheelingWindowTimer => ref Unsafe.AsRef(&Handle->WheelingWindowTimer); + public ref uint DebugHookIdInfo => ref Unsafe.AsRef(&Handle->DebugHookIdInfo); + public ref uint HoveredId => ref Unsafe.AsRef(&Handle->HoveredId); + public ref uint HoveredIdPreviousFrame => ref Unsafe.AsRef(&Handle->HoveredIdPreviousFrame); + public ref bool HoveredIdAllowOverlap => ref Unsafe.AsRef(&Handle->HoveredIdAllowOverlap); + public ref bool HoveredIdUsingMouseWheel => ref Unsafe.AsRef(&Handle->HoveredIdUsingMouseWheel); + public ref bool HoveredIdPreviousFrameUsingMouseWheel => ref Unsafe.AsRef(&Handle->HoveredIdPreviousFrameUsingMouseWheel); + public ref bool HoveredIdDisabled => ref Unsafe.AsRef(&Handle->HoveredIdDisabled); + public ref float HoveredIdTimer => ref Unsafe.AsRef(&Handle->HoveredIdTimer); + public ref float HoveredIdNotActiveTimer => ref Unsafe.AsRef(&Handle->HoveredIdNotActiveTimer); + public ref uint ActiveId => ref Unsafe.AsRef(&Handle->ActiveId); + public ref uint ActiveIdIsAlive => ref Unsafe.AsRef(&Handle->ActiveIdIsAlive); + public ref float ActiveIdTimer => ref Unsafe.AsRef(&Handle->ActiveIdTimer); + public ref bool ActiveIdIsJustActivated => ref Unsafe.AsRef(&Handle->ActiveIdIsJustActivated); + public ref bool ActiveIdAllowOverlap => ref Unsafe.AsRef(&Handle->ActiveIdAllowOverlap); + public ref bool ActiveIdNoClearOnFocusLoss => ref Unsafe.AsRef(&Handle->ActiveIdNoClearOnFocusLoss); + public ref bool ActiveIdHasBeenPressedBefore => ref Unsafe.AsRef(&Handle->ActiveIdHasBeenPressedBefore); + public ref bool ActiveIdHasBeenEditedBefore => ref Unsafe.AsRef(&Handle->ActiveIdHasBeenEditedBefore); + public ref bool ActiveIdHasBeenEditedThisFrame => ref Unsafe.AsRef(&Handle->ActiveIdHasBeenEditedThisFrame); + public ref Vector2 ActiveIdClickOffset => ref Unsafe.AsRef(&Handle->ActiveIdClickOffset); + public ref ImGuiWindowPtr ActiveIdWindow => ref Unsafe.AsRef(&Handle->ActiveIdWindow); + public ref ImGuiInputSource ActiveIdSource => ref Unsafe.AsRef(&Handle->ActiveIdSource); + public ref int ActiveIdMouseButton => ref Unsafe.AsRef(&Handle->ActiveIdMouseButton); + public ref uint ActiveIdPreviousFrame => ref Unsafe.AsRef(&Handle->ActiveIdPreviousFrame); + public ref bool ActiveIdPreviousFrameIsAlive => ref Unsafe.AsRef(&Handle->ActiveIdPreviousFrameIsAlive); + public ref bool ActiveIdPreviousFrameHasBeenEditedBefore => ref Unsafe.AsRef(&Handle->ActiveIdPreviousFrameHasBeenEditedBefore); + public ref ImGuiWindowPtr ActiveIdPreviousFrameWindow => ref Unsafe.AsRef(&Handle->ActiveIdPreviousFrameWindow); + public ref uint LastActiveId => ref Unsafe.AsRef(&Handle->LastActiveId); + public ref float LastActiveIdTimer => ref Unsafe.AsRef(&Handle->LastActiveIdTimer); + public ref bool ActiveIdUsingMouseWheel => ref Unsafe.AsRef(&Handle->ActiveIdUsingMouseWheel); + public ref uint ActiveIdUsingNavDirMask => ref Unsafe.AsRef(&Handle->ActiveIdUsingNavDirMask); + public ref uint ActiveIdUsingNavInputMask => ref Unsafe.AsRef(&Handle->ActiveIdUsingNavInputMask); + public ref nuint ActiveIdUsingKeyInputMask => ref Unsafe.AsRef(&Handle->ActiveIdUsingKeyInputMask); + public ref ImGuiItemFlags CurrentItemFlags => ref Unsafe.AsRef(&Handle->CurrentItemFlags); + public ref ImGuiNextItemData NextItemData => ref Unsafe.AsRef(&Handle->NextItemData); + public ref ImGuiLastItemData LastItemData => ref Unsafe.AsRef(&Handle->LastItemData); + public ref ImGuiNextWindowData NextWindowData => ref Unsafe.AsRef(&Handle->NextWindowData); + public ref ImVector ColorStack => ref Unsafe.AsRef>(&Handle->ColorStack); + public ref ImVector StyleVarStack => ref Unsafe.AsRef>(&Handle->StyleVarStack); + public ref ImVector FontStack => ref Unsafe.AsRef>(&Handle->FontStack); + public ref ImVector FocusScopeStack => ref Unsafe.AsRef>(&Handle->FocusScopeStack); + public ref ImVector ItemFlagsStack => ref Unsafe.AsRef>(&Handle->ItemFlagsStack); + public ref ImVector GroupStack => ref Unsafe.AsRef>(&Handle->GroupStack); + public ref ImVector OpenPopupStack => ref Unsafe.AsRef>(&Handle->OpenPopupStack); + public ref ImVector BeginPopupStack => ref Unsafe.AsRef>(&Handle->BeginPopupStack); + public ref int BeginMenuCount => ref Unsafe.AsRef(&Handle->BeginMenuCount); + public ref ImVector Viewports => ref Unsafe.AsRef>(&Handle->Viewports); + public ref float CurrentDpiScale => ref Unsafe.AsRef(&Handle->CurrentDpiScale); + public ref ImGuiViewportPPtr CurrentViewport => ref Unsafe.AsRef(&Handle->CurrentViewport); + public ref ImGuiViewportPPtr MouseViewport => ref Unsafe.AsRef(&Handle->MouseViewport); + public ref ImGuiViewportPPtr MouseLastHoveredViewport => ref Unsafe.AsRef(&Handle->MouseLastHoveredViewport); + public ref uint PlatformLastFocusedViewportId => ref Unsafe.AsRef(&Handle->PlatformLastFocusedViewportId); + public ref ImGuiPlatformMonitor FallbackMonitor => ref Unsafe.AsRef(&Handle->FallbackMonitor); + public ref int ViewportFrontMostStampCount => ref Unsafe.AsRef(&Handle->ViewportFrontMostStampCount); + public ref ImGuiWindowPtr NavWindow => ref Unsafe.AsRef(&Handle->NavWindow); + public ref uint NavId => ref Unsafe.AsRef(&Handle->NavId); + public ref uint NavFocusScopeId => ref Unsafe.AsRef(&Handle->NavFocusScopeId); + public ref uint NavActivateId => ref Unsafe.AsRef(&Handle->NavActivateId); + public ref uint NavActivateDownId => ref Unsafe.AsRef(&Handle->NavActivateDownId); + public ref uint NavActivatePressedId => ref Unsafe.AsRef(&Handle->NavActivatePressedId); + public ref uint NavActivateInputId => ref Unsafe.AsRef(&Handle->NavActivateInputId); + public ref ImGuiActivateFlags NavActivateFlags => ref Unsafe.AsRef(&Handle->NavActivateFlags); + public ref uint NavJustMovedToId => ref Unsafe.AsRef(&Handle->NavJustMovedToId); + public ref uint NavJustMovedToFocusScopeId => ref Unsafe.AsRef(&Handle->NavJustMovedToFocusScopeId); + public ref ImGuiModFlags NavJustMovedToKeyMods => ref Unsafe.AsRef(&Handle->NavJustMovedToKeyMods); + public ref uint NavNextActivateId => ref Unsafe.AsRef(&Handle->NavNextActivateId); + public ref ImGuiActivateFlags NavNextActivateFlags => ref Unsafe.AsRef(&Handle->NavNextActivateFlags); + public ref ImGuiInputSource NavInputSource => ref Unsafe.AsRef(&Handle->NavInputSource); + public ref ImGuiNavLayer NavLayer => ref Unsafe.AsRef(&Handle->NavLayer); + public ref bool NavIdIsAlive => ref Unsafe.AsRef(&Handle->NavIdIsAlive); + public ref bool NavMousePosDirty => ref Unsafe.AsRef(&Handle->NavMousePosDirty); + public ref bool NavDisableHighlight => ref Unsafe.AsRef(&Handle->NavDisableHighlight); + public ref bool NavDisableMouseHover => ref Unsafe.AsRef(&Handle->NavDisableMouseHover); + public ref bool NavAnyRequest => ref Unsafe.AsRef(&Handle->NavAnyRequest); + public ref bool NavInitRequest => ref Unsafe.AsRef(&Handle->NavInitRequest); + public ref bool NavInitRequestFromMove => ref Unsafe.AsRef(&Handle->NavInitRequestFromMove); + public ref uint NavInitResultId => ref Unsafe.AsRef(&Handle->NavInitResultId); + public ref ImRect NavInitResultRectRel => ref Unsafe.AsRef(&Handle->NavInitResultRectRel); + public ref bool NavMoveSubmitted => ref Unsafe.AsRef(&Handle->NavMoveSubmitted); + public ref bool NavMoveScoringItems => ref Unsafe.AsRef(&Handle->NavMoveScoringItems); + public ref bool NavMoveForwardToNextFrame => ref Unsafe.AsRef(&Handle->NavMoveForwardToNextFrame); + public ref ImGuiNavMoveFlags NavMoveFlags => ref Unsafe.AsRef(&Handle->NavMoveFlags); + public ref ImGuiScrollFlags NavMoveScrollFlags => ref Unsafe.AsRef(&Handle->NavMoveScrollFlags); + public ref ImGuiModFlags NavMoveKeyMods => ref Unsafe.AsRef(&Handle->NavMoveKeyMods); + public ref ImGuiDir NavMoveDir => ref Unsafe.AsRef(&Handle->NavMoveDir); + public ref ImGuiDir NavMoveDirForDebug => ref Unsafe.AsRef(&Handle->NavMoveDirForDebug); + public ref ImGuiDir NavMoveClipDir => ref Unsafe.AsRef(&Handle->NavMoveClipDir); + public ref ImRect NavScoringRect => ref Unsafe.AsRef(&Handle->NavScoringRect); + public ref ImRect NavScoringNoClipRect => ref Unsafe.AsRef(&Handle->NavScoringNoClipRect); + public ref int NavScoringDebugCount => ref Unsafe.AsRef(&Handle->NavScoringDebugCount); + public ref int NavTabbingDir => ref Unsafe.AsRef(&Handle->NavTabbingDir); + public ref int NavTabbingCounter => ref Unsafe.AsRef(&Handle->NavTabbingCounter); + public ref ImGuiNavItemData NavMoveResultLocal => ref Unsafe.AsRef(&Handle->NavMoveResultLocal); + public ref ImGuiNavItemData NavMoveResultLocalVisible => ref Unsafe.AsRef(&Handle->NavMoveResultLocalVisible); + public ref ImGuiNavItemData NavMoveResultOther => ref Unsafe.AsRef(&Handle->NavMoveResultOther); + public ref ImGuiNavItemData NavTabbingResultFirst => ref Unsafe.AsRef(&Handle->NavTabbingResultFirst); + public ref ImGuiWindowPtr NavWindowingTarget => ref Unsafe.AsRef(&Handle->NavWindowingTarget); + public ref ImGuiWindowPtr NavWindowingTargetAnim => ref Unsafe.AsRef(&Handle->NavWindowingTargetAnim); + public ref ImGuiWindowPtr NavWindowingListWindow => ref Unsafe.AsRef(&Handle->NavWindowingListWindow); + public ref float NavWindowingTimer => ref Unsafe.AsRef(&Handle->NavWindowingTimer); + public ref float NavWindowingHighlightAlpha => ref Unsafe.AsRef(&Handle->NavWindowingHighlightAlpha); + public ref bool NavWindowingToggleLayer => ref Unsafe.AsRef(&Handle->NavWindowingToggleLayer); + public ref float DimBgRatio => ref Unsafe.AsRef(&Handle->DimBgRatio); + public ref ImGuiMouseCursor MouseCursor => ref Unsafe.AsRef(&Handle->MouseCursor); + public ref bool DragDropActive => ref Unsafe.AsRef(&Handle->DragDropActive); + public ref bool DragDropWithinSource => ref Unsafe.AsRef(&Handle->DragDropWithinSource); + public ref bool DragDropWithinTarget => ref Unsafe.AsRef(&Handle->DragDropWithinTarget); + public ref ImGuiDragDropFlags DragDropSourceFlags => ref Unsafe.AsRef(&Handle->DragDropSourceFlags); + public ref int DragDropSourceFrameCount => ref Unsafe.AsRef(&Handle->DragDropSourceFrameCount); + public ref int DragDropMouseButton => ref Unsafe.AsRef(&Handle->DragDropMouseButton); + public ref ImGuiPayload DragDropPayload => ref Unsafe.AsRef(&Handle->DragDropPayload); + public ref ImRect DragDropTargetRect => ref Unsafe.AsRef(&Handle->DragDropTargetRect); + public ref uint DragDropTargetId => ref Unsafe.AsRef(&Handle->DragDropTargetId); + public ref ImGuiDragDropFlags DragDropAcceptFlags => ref Unsafe.AsRef(&Handle->DragDropAcceptFlags); + public ref float DragDropAcceptIdCurrRectSurface => ref Unsafe.AsRef(&Handle->DragDropAcceptIdCurrRectSurface); + public ref uint DragDropAcceptIdCurr => ref Unsafe.AsRef(&Handle->DragDropAcceptIdCurr); + public ref uint DragDropAcceptIdPrev => ref Unsafe.AsRef(&Handle->DragDropAcceptIdPrev); + public ref int DragDropAcceptFrameCount => ref Unsafe.AsRef(&Handle->DragDropAcceptFrameCount); + public ref uint DragDropHoldJustPressedId => ref Unsafe.AsRef(&Handle->DragDropHoldJustPressedId); + public ref ImVector DragDropPayloadBufHeap => ref Unsafe.AsRef>(&Handle->DragDropPayloadBufHeap); + public unsafe Span DragDropPayloadBufLocal + { + get + { + return new Span(&Handle->DragDropPayloadBufLocal_0, 16); + } + } + public ref int ClipperTempDataStacked => ref Unsafe.AsRef(&Handle->ClipperTempDataStacked); + public ref ImVector ClipperTempData => ref Unsafe.AsRef>(&Handle->ClipperTempData); + public ref ImGuiTablePtr CurrentTable => ref Unsafe.AsRef(&Handle->CurrentTable); + public ref int TablesTempDataStacked => ref Unsafe.AsRef(&Handle->TablesTempDataStacked); + public ref ImVector TablesTempData => ref Unsafe.AsRef>(&Handle->TablesTempData); + public ref ImPoolImGuiTable Tables => ref Unsafe.AsRef(&Handle->Tables); + public ref ImVector TablesLastTimeActive => ref Unsafe.AsRef>(&Handle->TablesLastTimeActive); + public ref ImVector DrawChannelsTempMergeBuffer => ref Unsafe.AsRef>(&Handle->DrawChannelsTempMergeBuffer); + public ref ImGuiTabBarPtr CurrentTabBar => ref Unsafe.AsRef(&Handle->CurrentTabBar); + public ref ImPoolImGuiTabBar TabBars => ref Unsafe.AsRef(&Handle->TabBars); + public ref ImVector CurrentTabBarStack => ref Unsafe.AsRef>(&Handle->CurrentTabBarStack); + public ref ImVector ShrinkWidthBuffer => ref Unsafe.AsRef>(&Handle->ShrinkWidthBuffer); + public ref Vector2 MouseLastValidPos => ref Unsafe.AsRef(&Handle->MouseLastValidPos); + public ref ImGuiInputTextState InputTextState => ref Unsafe.AsRef(&Handle->InputTextState); + public ref ImFont InputTextPasswordFont => ref Unsafe.AsRef(&Handle->InputTextPasswordFont); + public ref uint TempInputId => ref Unsafe.AsRef(&Handle->TempInputId); + public ref ImGuiColorEditFlags ColorEditOptions => ref Unsafe.AsRef(&Handle->ColorEditOptions); + public ref float ColorEditLastHue => ref Unsafe.AsRef(&Handle->ColorEditLastHue); + public ref float ColorEditLastSat => ref Unsafe.AsRef(&Handle->ColorEditLastSat); + public ref uint ColorEditLastColor => ref Unsafe.AsRef(&Handle->ColorEditLastColor); + public ref Vector4 ColorPickerRef => ref Unsafe.AsRef(&Handle->ColorPickerRef); + public ref ImGuiComboPreviewData ComboPreviewData => ref Unsafe.AsRef(&Handle->ComboPreviewData); + public ref float SliderGrabClickOffset => ref Unsafe.AsRef(&Handle->SliderGrabClickOffset); + public ref float SliderCurrentAccum => ref Unsafe.AsRef(&Handle->SliderCurrentAccum); + public ref bool SliderCurrentAccumDirty => ref Unsafe.AsRef(&Handle->SliderCurrentAccumDirty); + public ref bool DragCurrentAccumDirty => ref Unsafe.AsRef(&Handle->DragCurrentAccumDirty); + public ref float DragCurrentAccum => ref Unsafe.AsRef(&Handle->DragCurrentAccum); + public ref float DragSpeedDefaultRatio => ref Unsafe.AsRef(&Handle->DragSpeedDefaultRatio); + public ref float ScrollbarClickDeltaToGrabCenter => ref Unsafe.AsRef(&Handle->ScrollbarClickDeltaToGrabCenter); + public ref float DisabledAlphaBackup => ref Unsafe.AsRef(&Handle->DisabledAlphaBackup); + public ref short DisabledStackSize => ref Unsafe.AsRef(&Handle->DisabledStackSize); + public ref short TooltipOverrideCount => ref Unsafe.AsRef(&Handle->TooltipOverrideCount); + public ref float TooltipSlowDelay => ref Unsafe.AsRef(&Handle->TooltipSlowDelay); + public ref ImVector ClipboardHandlerData => ref Unsafe.AsRef>(&Handle->ClipboardHandlerData); + public ref ImVector MenusIdSubmittedThisFrame => ref Unsafe.AsRef>(&Handle->MenusIdSubmittedThisFrame); + public ref ImGuiPlatformImeData PlatformImeData => ref Unsafe.AsRef(&Handle->PlatformImeData); + public ref ImGuiPlatformImeData PlatformImeDataPrev => ref Unsafe.AsRef(&Handle->PlatformImeDataPrev); + public ref uint PlatformImeViewport => ref Unsafe.AsRef(&Handle->PlatformImeViewport); + public ref byte PlatformLocaleDecimalPoint => ref Unsafe.AsRef(&Handle->PlatformLocaleDecimalPoint); + public ref ImGuiDockContext DockContext => ref Unsafe.AsRef(&Handle->DockContext); + public ref bool SettingsLoaded => ref Unsafe.AsRef(&Handle->SettingsLoaded); + public ref float SettingsDirtyTimer => ref Unsafe.AsRef(&Handle->SettingsDirtyTimer); + public ref ImGuiTextBuffer SettingsIniData => ref Unsafe.AsRef(&Handle->SettingsIniData); + public ref ImVector SettingsHandlers => ref Unsafe.AsRef>(&Handle->SettingsHandlers); + public ref ImChunkStreamImGuiWindowSettings SettingsWindows => ref Unsafe.AsRef(&Handle->SettingsWindows); + public ref ImChunkStreamImGuiTableSettings SettingsTables => ref Unsafe.AsRef(&Handle->SettingsTables); + public ref ImVector Hooks => ref Unsafe.AsRef>(&Handle->Hooks); + public ref uint HookIdNext => ref Unsafe.AsRef(&Handle->HookIdNext); + public ref bool LogEnabled => ref Unsafe.AsRef(&Handle->LogEnabled); + public ref ImGuiLogType LogType => ref Unsafe.AsRef(&Handle->LogType); + public ref ImFileHandle LogFile => ref Unsafe.AsRef(&Handle->LogFile); + public ref ImGuiTextBuffer LogBuffer => ref Unsafe.AsRef(&Handle->LogBuffer); + public byte* LogNextPrefix { get => Handle->LogNextPrefix; set => Handle->LogNextPrefix = value; } + public byte* LogNextSuffix { get => Handle->LogNextSuffix; set => Handle->LogNextSuffix = value; } + public ref float LogLinePosY => ref Unsafe.AsRef(&Handle->LogLinePosY); + public ref bool LogLineFirstItem => ref Unsafe.AsRef(&Handle->LogLineFirstItem); + public ref int LogDepthRef => ref Unsafe.AsRef(&Handle->LogDepthRef); + public ref int LogDepthToExpand => ref Unsafe.AsRef(&Handle->LogDepthToExpand); + public ref int LogDepthToExpandDefault => ref Unsafe.AsRef(&Handle->LogDepthToExpandDefault); + public ref ImGuiDebugLogFlags DebugLogFlags => ref Unsafe.AsRef(&Handle->DebugLogFlags); + public ref ImGuiTextBuffer DebugLogBuf => ref Unsafe.AsRef(&Handle->DebugLogBuf); + public ref bool DebugItemPickerActive => ref Unsafe.AsRef(&Handle->DebugItemPickerActive); + public ref uint DebugItemPickerBreakId => ref Unsafe.AsRef(&Handle->DebugItemPickerBreakId); + public ref ImGuiMetricsConfig DebugMetricsConfig => ref Unsafe.AsRef(&Handle->DebugMetricsConfig); + public ref ImGuiStackTool DebugStackTool => ref Unsafe.AsRef(&Handle->DebugStackTool); + public unsafe Span FramerateSecPerFrame + { + get + { + return new Span(&Handle->FramerateSecPerFrame_0, 120); + } + } + public ref int FramerateSecPerFrameIdx => ref Unsafe.AsRef(&Handle->FramerateSecPerFrameIdx); + public ref int FramerateSecPerFrameCount => ref Unsafe.AsRef(&Handle->FramerateSecPerFrameCount); + public ref float FramerateSecPerFrameAccum => ref Unsafe.AsRef(&Handle->FramerateSecPerFrameAccum); + public ref int WantCaptureMouseNextFrame => ref Unsafe.AsRef(&Handle->WantCaptureMouseNextFrame); + public ref int WantCaptureKeyboardNextFrame => ref Unsafe.AsRef(&Handle->WantCaptureKeyboardNextFrame); + public ref int WantTextInputNextFrame => ref Unsafe.AsRef(&Handle->WantTextInputNextFrame); + public ref ImVector TempBuffer => ref Unsafe.AsRef>(&Handle->TempBuffer); + } +} +/* ImGuiContextHook.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiContextHook + { + public uint HookId; + public ImGuiContextHookType Type; + public uint Owner; + public unsafe void* Callback; + public unsafe void* UserData; + public unsafe ImGuiContextHook(uint hookId = default, ImGuiContextHookType type = default, uint owner = default, ImGuiContextHookCallback callback = default, void* userData = default) + { + HookId = hookId; + Type = type; + Owner = owner; + Callback = (void*)Marshal.GetFunctionPointerForDelegate(callback); + UserData = userData; + } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImGuiContextHookPtr : IEquatable + { + public ImGuiContextHookPtr(ImGuiContextHook* handle) { Handle = handle; } + public ImGuiContextHook* Handle; + public bool IsNull => Handle == null; + public static ImGuiContextHookPtr Null => new ImGuiContextHookPtr(null); + public ImGuiContextHook this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImGuiContextHookPtr(ImGuiContextHook* handle) => new ImGuiContextHookPtr(handle); + public static implicit operator ImGuiContextHook*(ImGuiContextHookPtr handle) => handle.Handle; + public static bool operator ==(ImGuiContextHookPtr left, ImGuiContextHookPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImGuiContextHookPtr left, ImGuiContextHookPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImGuiContextHookPtr left, ImGuiContextHook* right) => left.Handle == right; + public static bool operator !=(ImGuiContextHookPtr left, ImGuiContextHook* right) => left.Handle != right; + public bool Equals(ImGuiContextHookPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImGuiContextHookPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImGuiContextHookPtr [0x{0}]", ((nuint)Handle).ToString("X")); + public ref uint HookId => ref Unsafe.AsRef(&Handle->HookId); + public ref ImGuiContextHookType Type => ref Unsafe.AsRef(&Handle->Type); + public ref uint Owner => ref Unsafe.AsRef(&Handle->Owner); + public void* Callback { get => Handle->Callback; set => Handle->Callback = value; } + public void* UserData { get => Handle->UserData; set => Handle->UserData = value; } + } +} +/* ImGuiDataTypeInfo.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiDataTypeInfo + { + public nuint Size; + public unsafe byte* Name; + public unsafe byte* PrintFmt; + public unsafe byte* ScanFmt; + public unsafe ImGuiDataTypeInfo(nuint size = default, byte* name = default, byte* printFmt = default, byte* scanFmt = default) + { + Size = size; + Name = name; + PrintFmt = printFmt; + ScanFmt = scanFmt; + } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImGuiDataTypeInfoPtr : IEquatable + { + public ImGuiDataTypeInfoPtr(ImGuiDataTypeInfo* handle) { Handle = handle; } + public ImGuiDataTypeInfo* Handle; + public bool IsNull => Handle == null; + public static ImGuiDataTypeInfoPtr Null => new ImGuiDataTypeInfoPtr(null); + public ImGuiDataTypeInfo this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImGuiDataTypeInfoPtr(ImGuiDataTypeInfo* handle) => new ImGuiDataTypeInfoPtr(handle); + public static implicit operator ImGuiDataTypeInfo*(ImGuiDataTypeInfoPtr handle) => handle.Handle; + public static bool operator ==(ImGuiDataTypeInfoPtr left, ImGuiDataTypeInfoPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImGuiDataTypeInfoPtr left, ImGuiDataTypeInfoPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImGuiDataTypeInfoPtr left, ImGuiDataTypeInfo* right) => left.Handle == right; + public static bool operator !=(ImGuiDataTypeInfoPtr left, ImGuiDataTypeInfo* right) => left.Handle != right; + public bool Equals(ImGuiDataTypeInfoPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImGuiDataTypeInfoPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImGuiDataTypeInfoPtr [0x{0}]", ((nuint)Handle).ToString("X")); + public ref nuint Size => ref Unsafe.AsRef(&Handle->Size); + public byte* Name { get => Handle->Name; set => Handle->Name = value; } + public byte* PrintFmt { get => Handle->PrintFmt; set => Handle->PrintFmt = value; } + public byte* ScanFmt { get => Handle->ScanFmt; set => Handle->ScanFmt = value; } + } +} +/* ImGuiDataTypeTempStorage.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiDataTypeTempStorage + { + public byte Data_0; + public byte Data_1; + public byte Data_2; + public byte Data_3; + public byte Data_4; + public byte Data_5; + public byte Data_6; + public byte Data_7; + public unsafe ImGuiDataTypeTempStorage(byte* data = default) + { + if (data != default(byte*)) + { + Data_0 = data[0]; + Data_1 = data[1]; + Data_2 = data[2]; + Data_3 = data[3]; + Data_4 = data[4]; + Data_5 = data[5]; + Data_6 = data[6]; + Data_7 = data[7]; + } + } + public unsafe ImGuiDataTypeTempStorage(Span data = default) + { + if (data != default(Span)) + { + Data_0 = data[0]; + Data_1 = data[1]; + Data_2 = data[2]; + Data_3 = data[3]; + Data_4 = data[4]; + Data_5 = data[5]; + Data_6 = data[6]; + Data_7 = data[7]; + } + } + } +} +/* ImGuiDockContext.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiDockContext + { + public ImGuiStorage Nodes; + public ImVector Requests; + public ImVector NodesSettings; + public byte WantFullRebuild; + public unsafe ImGuiDockContext(ImGuiStorage nodes = default, ImVector requests = default, ImVector nodesSettings = default, bool wantFullRebuild = default) + { + Nodes = nodes; + Requests = requests; + NodesSettings = nodesSettings; + WantFullRebuild = wantFullRebuild ? (byte)1 : (byte)0; + } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImGuiDockContextPtr : IEquatable + { + public ImGuiDockContextPtr(ImGuiDockContext* handle) { Handle = handle; } + public ImGuiDockContext* Handle; + public bool IsNull => Handle == null; + public static ImGuiDockContextPtr Null => new ImGuiDockContextPtr(null); + public ImGuiDockContext this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImGuiDockContextPtr(ImGuiDockContext* handle) => new ImGuiDockContextPtr(handle); + public static implicit operator ImGuiDockContext*(ImGuiDockContextPtr handle) => handle.Handle; + public static bool operator ==(ImGuiDockContextPtr left, ImGuiDockContextPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImGuiDockContextPtr left, ImGuiDockContextPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImGuiDockContextPtr left, ImGuiDockContext* right) => left.Handle == right; + public static bool operator !=(ImGuiDockContextPtr left, ImGuiDockContext* right) => left.Handle != right; + public bool Equals(ImGuiDockContextPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImGuiDockContextPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImGuiDockContextPtr [0x{0}]", ((nuint)Handle).ToString("X")); + public ref ImGuiStorage Nodes => ref Unsafe.AsRef(&Handle->Nodes); + public ref ImVector Requests => ref Unsafe.AsRef>(&Handle->Requests); + public ref ImVector NodesSettings => ref Unsafe.AsRef>(&Handle->NodesSettings); + public ref bool WantFullRebuild => ref Unsafe.AsRef(&Handle->WantFullRebuild); + } +} +/* ImGuiDockNode.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiDockNode + { + public uint ID; + public ImGuiDockNodeFlags SharedFlags; + public ImGuiDockNodeFlags LocalFlags; + public ImGuiDockNodeFlags LocalFlagsInWindows; + public ImGuiDockNodeFlags MergedFlags; + public ImGuiDockNodeState State; + public unsafe ImGuiDockNode* ParentNode; + public unsafe ImGuiDockNode* ChildNodes_0; + public unsafe ImGuiDockNode* ChildNodes_1; + public ImVector Windows; + public unsafe ImGuiTabBar* TabBar; + public Vector2 Pos; + public Vector2 Size; + public Vector2 SizeRef; + public ImGuiAxis SplitAxis; + public ImGuiWindowClass WindowClass; + public uint LastBgColor; + public unsafe ImGuiWindow* HostWindow; + public unsafe ImGuiWindow* VisibleWindow; + public unsafe ImGuiDockNode* CentralNode; + public unsafe ImGuiDockNode* OnlyNodeWithWindows; + public int CountNodeWithWindows; + public int LastFrameAlive; + public int LastFrameActive; + public int LastFrameFocused; + public uint LastFocusedNodeId; + public uint SelectedTabId; + public uint WantCloseTabId; + public ImGuiDataAuthority RawBits0; + public bool RawBits1; + public bool RawBits2; + public unsafe ImGuiDockNode(uint id = default, ImGuiDockNodeFlags sharedFlags = default, ImGuiDockNodeFlags localFlags = default, ImGuiDockNodeFlags localFlagsInWindows = default, ImGuiDockNodeFlags mergedFlags = default, ImGuiDockNodeState state = default, ImGuiDockNode* parentNode = default, ImGuiDockNode** childNodes = default, ImVector windows = default, ImGuiTabBar* tabBar = default, Vector2 pos = default, Vector2 size = default, Vector2 sizeRef = default, ImGuiAxis splitAxis = default, ImGuiWindowClass windowClass = default, uint lastBgColor = default, ImGuiWindowPtr hostWindow = default, ImGuiWindowPtr visibleWindow = default, ImGuiDockNode* centralNode = default, ImGuiDockNode* onlyNodeWithWindows = default, int countNodeWithWindows = default, int lastFrameAlive = default, int lastFrameActive = default, int lastFrameFocused = default, uint lastFocusedNodeId = default, uint selectedTabId = default, uint wantCloseTabId = default, ImGuiDataAuthority authorityForPos = default, ImGuiDataAuthority authorityForSize = default, ImGuiDataAuthority authorityForViewport = default, bool isVisible = default, bool isFocused = default, bool isBgDrawnThisFrame = default, bool hasCloseButton = default, bool hasWindowMenuButton = default, bool hasCentralNodeChild = default, bool wantCloseAll = default, bool wantLockSizeOnce = default, bool wantMouseMove = default, bool wantHiddenTabBarUpdate = default, bool wantHiddenTabBarToggle = default) + { + ID = id; + SharedFlags = sharedFlags; + LocalFlags = localFlags; + LocalFlagsInWindows = localFlagsInWindows; + MergedFlags = mergedFlags; + State = state; + ParentNode = parentNode; + if (childNodes != default(ImGuiDockNode**)) + { + ChildNodes_0 = childNodes[0]; + ChildNodes_1 = childNodes[1]; + } + Windows = windows; + TabBar = tabBar; + Pos = pos; + Size = size; + SizeRef = sizeRef; + SplitAxis = splitAxis; + WindowClass = windowClass; + LastBgColor = lastBgColor; + HostWindow = hostWindow; + VisibleWindow = visibleWindow; + CentralNode = centralNode; + OnlyNodeWithWindows = onlyNodeWithWindows; + CountNodeWithWindows = countNodeWithWindows; + LastFrameAlive = lastFrameAlive; + LastFrameActive = lastFrameActive; + LastFrameFocused = lastFrameFocused; + LastFocusedNodeId = lastFocusedNodeId; + SelectedTabId = selectedTabId; + WantCloseTabId = wantCloseTabId; + AuthorityForPos = authorityForPos; + AuthorityForSize = authorityForSize; + AuthorityForViewport = authorityForViewport; + IsVisible = isVisible; + IsFocused = isFocused; + IsBgDrawnThisFrame = isBgDrawnThisFrame; + HasCloseButton = hasCloseButton; + HasWindowMenuButton = hasWindowMenuButton; + HasCentralNodeChild = hasCentralNodeChild; + WantCloseAll = wantCloseAll; + WantLockSizeOnce = wantLockSizeOnce; + WantMouseMove = wantMouseMove; + WantHiddenTabBarUpdate = wantHiddenTabBarUpdate; + WantHiddenTabBarToggle = wantHiddenTabBarToggle; + } + public unsafe ImGuiDockNode(uint id = default, ImGuiDockNodeFlags sharedFlags = default, ImGuiDockNodeFlags localFlags = default, ImGuiDockNodeFlags localFlagsInWindows = default, ImGuiDockNodeFlags mergedFlags = default, ImGuiDockNodeState state = default, ImGuiDockNode* parentNode = default, Span> childNodes = default, ImVector windows = default, ImGuiTabBar* tabBar = default, Vector2 pos = default, Vector2 size = default, Vector2 sizeRef = default, ImGuiAxis splitAxis = default, ImGuiWindowClass windowClass = default, uint lastBgColor = default, ImGuiWindowPtr hostWindow = default, ImGuiWindowPtr visibleWindow = default, ImGuiDockNode* centralNode = default, ImGuiDockNode* onlyNodeWithWindows = default, int countNodeWithWindows = default, int lastFrameAlive = default, int lastFrameActive = default, int lastFrameFocused = default, uint lastFocusedNodeId = default, uint selectedTabId = default, uint wantCloseTabId = default, ImGuiDataAuthority authorityForPos = default, ImGuiDataAuthority authorityForSize = default, ImGuiDataAuthority authorityForViewport = default, bool isVisible = default, bool isFocused = default, bool isBgDrawnThisFrame = default, bool hasCloseButton = default, bool hasWindowMenuButton = default, bool hasCentralNodeChild = default, bool wantCloseAll = default, bool wantLockSizeOnce = default, bool wantMouseMove = default, bool wantHiddenTabBarUpdate = default, bool wantHiddenTabBarToggle = default) + { + ID = id; + SharedFlags = sharedFlags; + LocalFlags = localFlags; + LocalFlagsInWindows = localFlagsInWindows; + MergedFlags = mergedFlags; + State = state; + ParentNode = parentNode; + if (childNodes != default(Span>)) + { + ChildNodes_0 = childNodes[0]; + ChildNodes_1 = childNodes[1]; + } + Windows = windows; + TabBar = tabBar; + Pos = pos; + Size = size; + SizeRef = sizeRef; + SplitAxis = splitAxis; + WindowClass = windowClass; + LastBgColor = lastBgColor; + HostWindow = hostWindow; + VisibleWindow = visibleWindow; + CentralNode = centralNode; + OnlyNodeWithWindows = onlyNodeWithWindows; + CountNodeWithWindows = countNodeWithWindows; + LastFrameAlive = lastFrameAlive; + LastFrameActive = lastFrameActive; + LastFrameFocused = lastFrameFocused; + LastFocusedNodeId = lastFocusedNodeId; + SelectedTabId = selectedTabId; + WantCloseTabId = wantCloseTabId; + AuthorityForPos = authorityForPos; + AuthorityForSize = authorityForSize; + AuthorityForViewport = authorityForViewport; + IsVisible = isVisible; + IsFocused = isFocused; + IsBgDrawnThisFrame = isBgDrawnThisFrame; + HasCloseButton = hasCloseButton; + HasWindowMenuButton = hasWindowMenuButton; + HasCentralNodeChild = hasCentralNodeChild; + WantCloseAll = wantCloseAll; + WantLockSizeOnce = wantLockSizeOnce; + WantMouseMove = wantMouseMove; + WantHiddenTabBarUpdate = wantHiddenTabBarUpdate; + WantHiddenTabBarToggle = wantHiddenTabBarToggle; + } + public ImGuiDataAuthority AuthorityForPos { get => Bitfield.Get(RawBits0, 0, 3); set => Bitfield.Set(ref RawBits0, value, 0, 3); } + public ImGuiDataAuthority AuthorityForSize { get => Bitfield.Get(RawBits0, 3, 3); set => Bitfield.Set(ref RawBits0, value, 3, 3); } + public ImGuiDataAuthority AuthorityForViewport { get => Bitfield.Get(RawBits0, 6, 3); set => Bitfield.Set(ref RawBits0, value, 6, 3); } + public bool IsVisible { get => Bitfield.Get(RawBits1, 0, 1); set => Bitfield.Set(ref RawBits1, value, 0, 1); } + public bool IsFocused { get => Bitfield.Get(RawBits1, 1, 1); set => Bitfield.Set(ref RawBits1, value, 1, 1); } + public bool IsBgDrawnThisFrame { get => Bitfield.Get(RawBits1, 2, 1); set => Bitfield.Set(ref RawBits1, value, 2, 1); } + public bool HasCloseButton { get => Bitfield.Get(RawBits1, 3, 1); set => Bitfield.Set(ref RawBits1, value, 3, 1); } + public bool HasWindowMenuButton { get => Bitfield.Get(RawBits1, 4, 1); set => Bitfield.Set(ref RawBits1, value, 4, 1); } + public bool HasCentralNodeChild { get => Bitfield.Get(RawBits1, 5, 1); set => Bitfield.Set(ref RawBits1, value, 5, 1); } + public bool WantCloseAll { get => Bitfield.Get(RawBits1, 6, 1); set => Bitfield.Set(ref RawBits1, value, 6, 1); } + public bool WantLockSizeOnce { get => Bitfield.Get(RawBits1, 7, 1); set => Bitfield.Set(ref RawBits1, value, 7, 1); } + public bool WantMouseMove { get => Bitfield.Get(RawBits2, 0, 1); set => Bitfield.Set(ref RawBits2, value, 0, 1); } + public bool WantHiddenTabBarUpdate { get => Bitfield.Get(RawBits2, 1, 1); set => Bitfield.Set(ref RawBits2, value, 1, 1); } + public bool WantHiddenTabBarToggle { get => Bitfield.Get(RawBits2, 2, 1); set => Bitfield.Set(ref RawBits2, value, 2, 1); } + public unsafe Span> ChildNodes + { + get + { + fixed (ImGuiDockNode** p = &this.ChildNodes_0) + { + return new Span>(p, 2); + } + } + } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImGuiDockNodePtr : IEquatable + { + public ImGuiDockNodePtr(ImGuiDockNode* handle) { Handle = handle; } + public ImGuiDockNode* Handle; + public bool IsNull => Handle == null; + public static ImGuiDockNodePtr Null => new ImGuiDockNodePtr(null); + public ImGuiDockNode this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImGuiDockNodePtr(ImGuiDockNode* handle) => new ImGuiDockNodePtr(handle); + public static implicit operator ImGuiDockNode*(ImGuiDockNodePtr handle) => handle.Handle; + public static bool operator ==(ImGuiDockNodePtr left, ImGuiDockNodePtr right) => left.Handle == right.Handle; + public static bool operator !=(ImGuiDockNodePtr left, ImGuiDockNodePtr right) => left.Handle != right.Handle; + public static bool operator ==(ImGuiDockNodePtr left, ImGuiDockNode* right) => left.Handle == right; + public static bool operator !=(ImGuiDockNodePtr left, ImGuiDockNode* right) => left.Handle != right; + public bool Equals(ImGuiDockNodePtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImGuiDockNodePtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImGuiDockNodePtr [0x{0}]", ((nuint)Handle).ToString("X")); + public ref uint ID => ref Unsafe.AsRef(&Handle->ID); + public ref ImGuiDockNodeFlags SharedFlags => ref Unsafe.AsRef(&Handle->SharedFlags); + public ref ImGuiDockNodeFlags LocalFlags => ref Unsafe.AsRef(&Handle->LocalFlags); + public ref ImGuiDockNodeFlags LocalFlagsInWindows => ref Unsafe.AsRef(&Handle->LocalFlagsInWindows); + public ref ImGuiDockNodeFlags MergedFlags => ref Unsafe.AsRef(&Handle->MergedFlags); + public ref ImGuiDockNodeState State => ref Unsafe.AsRef(&Handle->State); + public ref ImGuiDockNodePtr ParentNode => ref Unsafe.AsRef(&Handle->ParentNode); + public ref ImVector Windows => ref Unsafe.AsRef>(&Handle->Windows); + public ref ImGuiTabBarPtr TabBar => ref Unsafe.AsRef(&Handle->TabBar); + public ref Vector2 Pos => ref Unsafe.AsRef(&Handle->Pos); + public ref Vector2 Size => ref Unsafe.AsRef(&Handle->Size); + public ref Vector2 SizeRef => ref Unsafe.AsRef(&Handle->SizeRef); + public ref ImGuiAxis SplitAxis => ref Unsafe.AsRef(&Handle->SplitAxis); + public ref ImGuiWindowClass WindowClass => ref Unsafe.AsRef(&Handle->WindowClass); + public ref uint LastBgColor => ref Unsafe.AsRef(&Handle->LastBgColor); + public ref ImGuiWindowPtr HostWindow => ref Unsafe.AsRef(&Handle->HostWindow); + public ref ImGuiWindowPtr VisibleWindow => ref Unsafe.AsRef(&Handle->VisibleWindow); + public ref ImGuiDockNodePtr CentralNode => ref Unsafe.AsRef(&Handle->CentralNode); + public ref ImGuiDockNodePtr OnlyNodeWithWindows => ref Unsafe.AsRef(&Handle->OnlyNodeWithWindows); + public ref int CountNodeWithWindows => ref Unsafe.AsRef(&Handle->CountNodeWithWindows); + public ref int LastFrameAlive => ref Unsafe.AsRef(&Handle->LastFrameAlive); + public ref int LastFrameActive => ref Unsafe.AsRef(&Handle->LastFrameActive); + public ref int LastFrameFocused => ref Unsafe.AsRef(&Handle->LastFrameFocused); + public ref uint LastFocusedNodeId => ref Unsafe.AsRef(&Handle->LastFocusedNodeId); + public ref uint SelectedTabId => ref Unsafe.AsRef(&Handle->SelectedTabId); + public ref uint WantCloseTabId => ref Unsafe.AsRef(&Handle->WantCloseTabId); + public ImGuiDataAuthority AuthorityForPos { get => Handle->AuthorityForPos; set => Handle->AuthorityForPos = value; } + public ImGuiDataAuthority AuthorityForSize { get => Handle->AuthorityForSize; set => Handle->AuthorityForSize = value; } + public ImGuiDataAuthority AuthorityForViewport { get => Handle->AuthorityForViewport; set => Handle->AuthorityForViewport = value; } + public bool IsVisible { get => Handle->IsVisible; set => Handle->IsVisible = value; } + public bool IsFocused { get => Handle->IsFocused; set => Handle->IsFocused = value; } + public bool IsBgDrawnThisFrame { get => Handle->IsBgDrawnThisFrame; set => Handle->IsBgDrawnThisFrame = value; } + public bool HasCloseButton { get => Handle->HasCloseButton; set => Handle->HasCloseButton = value; } + public bool HasWindowMenuButton { get => Handle->HasWindowMenuButton; set => Handle->HasWindowMenuButton = value; } + public bool HasCentralNodeChild { get => Handle->HasCentralNodeChild; set => Handle->HasCentralNodeChild = value; } + public bool WantCloseAll { get => Handle->WantCloseAll; set => Handle->WantCloseAll = value; } + public bool WantLockSizeOnce { get => Handle->WantLockSizeOnce; set => Handle->WantLockSizeOnce = value; } + public bool WantMouseMove { get => Handle->WantMouseMove; set => Handle->WantMouseMove = value; } + public bool WantHiddenTabBarUpdate { get => Handle->WantHiddenTabBarUpdate; set => Handle->WantHiddenTabBarUpdate = value; } + public bool WantHiddenTabBarToggle { get => Handle->WantHiddenTabBarToggle; set => Handle->WantHiddenTabBarToggle = value; } + } +} +/* ImGuiDockNodeSettings.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiDockNodeSettings + { + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImGuiDockNodeSettingsPtr : IEquatable + { + public ImGuiDockNodeSettingsPtr(ImGuiDockNodeSettings* handle) { Handle = handle; } + public ImGuiDockNodeSettings* Handle; + public bool IsNull => Handle == null; + public static ImGuiDockNodeSettingsPtr Null => new ImGuiDockNodeSettingsPtr(null); + public ImGuiDockNodeSettings this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImGuiDockNodeSettingsPtr(ImGuiDockNodeSettings* handle) => new ImGuiDockNodeSettingsPtr(handle); + public static implicit operator ImGuiDockNodeSettings*(ImGuiDockNodeSettingsPtr handle) => handle.Handle; + public static bool operator ==(ImGuiDockNodeSettingsPtr left, ImGuiDockNodeSettingsPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImGuiDockNodeSettingsPtr left, ImGuiDockNodeSettingsPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImGuiDockNodeSettingsPtr left, ImGuiDockNodeSettings* right) => left.Handle == right; + public static bool operator !=(ImGuiDockNodeSettingsPtr left, ImGuiDockNodeSettings* right) => left.Handle != right; + public bool Equals(ImGuiDockNodeSettingsPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImGuiDockNodeSettingsPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImGuiDockNodeSettingsPtr [0x{0}]", ((nuint)Handle).ToString("X")); + + } +} +/* ImGuiDockRequest.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiDockRequest + { + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImGuiDockRequestPtr : IEquatable + { + public ImGuiDockRequestPtr(ImGuiDockRequest* handle) { Handle = handle; } + public ImGuiDockRequest* Handle; + public bool IsNull => Handle == null; + public static ImGuiDockRequestPtr Null => new ImGuiDockRequestPtr(null); + public ImGuiDockRequest this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImGuiDockRequestPtr(ImGuiDockRequest* handle) => new ImGuiDockRequestPtr(handle); + public static implicit operator ImGuiDockRequest*(ImGuiDockRequestPtr handle) => handle.Handle; + public static bool operator ==(ImGuiDockRequestPtr left, ImGuiDockRequestPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImGuiDockRequestPtr left, ImGuiDockRequestPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImGuiDockRequestPtr left, ImGuiDockRequest* right) => left.Handle == right; + public static bool operator !=(ImGuiDockRequestPtr left, ImGuiDockRequest* right) => left.Handle != right; + public bool Equals(ImGuiDockRequestPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImGuiDockRequestPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImGuiDockRequestPtr [0x{0}]", ((nuint)Handle).ToString("X")); + + } +} +/* ImGuiGroupData.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiGroupData + { + public uint WindowID; + public Vector2 BackupCursorPos; + public Vector2 BackupCursorMaxPos; + public ImVec1 BackupIndent; + public ImVec1 BackupGroupOffset; + public Vector2 BackupCurrLineSize; + public float BackupCurrLineTextBaseOffset; + public uint BackupActiveIdIsAlive; + public byte BackupActiveIdPreviousFrameIsAlive; + public byte BackupHoveredIdIsAlive; + public byte EmitItem; + public unsafe ImGuiGroupData(uint windowId = default, Vector2 backupCursorPos = default, Vector2 backupCursorMaxPos = default, ImVec1 backupIndent = default, ImVec1 backupGroupOffset = default, Vector2 backupCurrLineSize = default, float backupCurrLineTextBaseOffset = default, uint backupActiveIdIsAlive = default, bool backupActiveIdPreviousFrameIsAlive = default, bool backupHoveredIdIsAlive = default, bool emitItem = default) + { + WindowID = windowId; + BackupCursorPos = backupCursorPos; + BackupCursorMaxPos = backupCursorMaxPos; + BackupIndent = backupIndent; + BackupGroupOffset = backupGroupOffset; + BackupCurrLineSize = backupCurrLineSize; + BackupCurrLineTextBaseOffset = backupCurrLineTextBaseOffset; + BackupActiveIdIsAlive = backupActiveIdIsAlive; + BackupActiveIdPreviousFrameIsAlive = backupActiveIdPreviousFrameIsAlive ? (byte)1 : (byte)0; + BackupHoveredIdIsAlive = backupHoveredIdIsAlive ? (byte)1 : (byte)0; + EmitItem = emitItem ? (byte)1 : (byte)0; + } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImGuiGroupDataPtr : IEquatable + { + public ImGuiGroupDataPtr(ImGuiGroupData* handle) { Handle = handle; } + public ImGuiGroupData* Handle; + public bool IsNull => Handle == null; + public static ImGuiGroupDataPtr Null => new ImGuiGroupDataPtr(null); + public ImGuiGroupData this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImGuiGroupDataPtr(ImGuiGroupData* handle) => new ImGuiGroupDataPtr(handle); + public static implicit operator ImGuiGroupData*(ImGuiGroupDataPtr handle) => handle.Handle; + public static bool operator ==(ImGuiGroupDataPtr left, ImGuiGroupDataPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImGuiGroupDataPtr left, ImGuiGroupDataPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImGuiGroupDataPtr left, ImGuiGroupData* right) => left.Handle == right; + public static bool operator !=(ImGuiGroupDataPtr left, ImGuiGroupData* right) => left.Handle != right; + public bool Equals(ImGuiGroupDataPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImGuiGroupDataPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImGuiGroupDataPtr [0x{0}]", ((nuint)Handle).ToString("X")); + public ref uint WindowID => ref Unsafe.AsRef(&Handle->WindowID); + public ref Vector2 BackupCursorPos => ref Unsafe.AsRef(&Handle->BackupCursorPos); + public ref Vector2 BackupCursorMaxPos => ref Unsafe.AsRef(&Handle->BackupCursorMaxPos); + public ref ImVec1 BackupIndent => ref Unsafe.AsRef(&Handle->BackupIndent); + public ref ImVec1 BackupGroupOffset => ref Unsafe.AsRef(&Handle->BackupGroupOffset); + public ref Vector2 BackupCurrLineSize => ref Unsafe.AsRef(&Handle->BackupCurrLineSize); + public ref float BackupCurrLineTextBaseOffset => ref Unsafe.AsRef(&Handle->BackupCurrLineTextBaseOffset); + public ref uint BackupActiveIdIsAlive => ref Unsafe.AsRef(&Handle->BackupActiveIdIsAlive); + public ref bool BackupActiveIdPreviousFrameIsAlive => ref Unsafe.AsRef(&Handle->BackupActiveIdPreviousFrameIsAlive); + public ref bool BackupHoveredIdIsAlive => ref Unsafe.AsRef(&Handle->BackupHoveredIdIsAlive); + public ref bool EmitItem => ref Unsafe.AsRef(&Handle->EmitItem); + } +} +/* ImGuiInputEvent.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiInputEvent + { + [StructLayout(LayoutKind.Explicit)] + public partial struct ImGuiInputEventUnion + { + [FieldOffset(0)] + public ImGuiInputEventMousePos MousePos; + [FieldOffset(0)] + public ImGuiInputEventMouseWheel MouseWheel; + [FieldOffset(0)] + public ImGuiInputEventMouseButton MouseButton; + [FieldOffset(0)] + public ImGuiInputEventMouseViewport MouseViewport; + [FieldOffset(0)] + public ImGuiInputEventKey Key; + [FieldOffset(0)] + public ImGuiInputEventText Text; + [FieldOffset(0)] + public ImGuiInputEventAppFocused AppFocused; + public unsafe ImGuiInputEventUnion(ImGuiInputEventMousePos mousePos = default, ImGuiInputEventMouseWheel mouseWheel = default, ImGuiInputEventMouseButton mouseButton = default, ImGuiInputEventMouseViewport mouseViewport = default, ImGuiInputEventKey key = default, ImGuiInputEventText text = default, ImGuiInputEventAppFocused appFocused = default) + { + MousePos = mousePos; + MouseWheel = mouseWheel; + MouseButton = mouseButton; + MouseViewport = mouseViewport; + Key = key; + Text = text; + AppFocused = appFocused; + } + } + public ImGuiInputEventType Type; + public ImGuiInputSource Source; + public ImGuiInputEventUnion Union; + public byte AddedByTestEngine; + public unsafe ImGuiInputEvent(ImGuiInputEventType type = default, ImGuiInputSource source = default, ImGuiInputEventUnion union = default, bool addedByTestEngine = default) + { + Type = type; + Source = source; + Union = union; + AddedByTestEngine = addedByTestEngine ? (byte)1 : (byte)0; + } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImGuiInputEventPtr : IEquatable + { + public ImGuiInputEventPtr(ImGuiInputEvent* handle) { Handle = handle; } + public ImGuiInputEvent* Handle; + public bool IsNull => Handle == null; + public static ImGuiInputEventPtr Null => new ImGuiInputEventPtr(null); + public ImGuiInputEvent this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImGuiInputEventPtr(ImGuiInputEvent* handle) => new ImGuiInputEventPtr(handle); + public static implicit operator ImGuiInputEvent*(ImGuiInputEventPtr handle) => handle.Handle; + public static bool operator ==(ImGuiInputEventPtr left, ImGuiInputEventPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImGuiInputEventPtr left, ImGuiInputEventPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImGuiInputEventPtr left, ImGuiInputEvent* right) => left.Handle == right; + public static bool operator !=(ImGuiInputEventPtr left, ImGuiInputEvent* right) => left.Handle != right; + public bool Equals(ImGuiInputEventPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImGuiInputEventPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImGuiInputEventPtr [0x{0}]", ((nuint)Handle).ToString("X")); + public ref ImGuiInputEventType Type => ref Unsafe.AsRef(&Handle->Type); + public ref ImGuiInputSource Source => ref Unsafe.AsRef(&Handle->Source); + public ref ImGuiInputEvent.ImGuiInputEventUnion Union => ref Unsafe.AsRef(&Handle->Union); + public ref bool AddedByTestEngine => ref Unsafe.AsRef(&Handle->AddedByTestEngine); + } +} +/* ImGuiInputEventAppFocused.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiInputEventAppFocused + { + public byte Focused; + public unsafe ImGuiInputEventAppFocused(bool focused = default) + { + Focused = focused ? (byte)1 : (byte)0; + } + } +} +/* ImGuiInputEventKey.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiInputEventKey + { + public ImGuiKey Key; + public byte Down; + public float AnalogValue; + public unsafe ImGuiInputEventKey(ImGuiKey key = default, bool down = default, float analogValue = default) + { + Key = key; + Down = down ? (byte)1 : (byte)0; + AnalogValue = analogValue; + } + } +} +/* ImGuiInputEventMouseButton.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiInputEventMouseButton + { + public int Button; + public byte Down; + public unsafe ImGuiInputEventMouseButton(int button = default, bool down = default) + { + Button = button; + Down = down ? (byte)1 : (byte)0; + } + } +} +/* ImGuiInputEventMousePos.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiInputEventMousePos + { + public float PosX; + public float PosY; + public unsafe ImGuiInputEventMousePos(float posX = default, float posY = default) + { + PosX = posX; + PosY = posY; + } + } +} +/* ImGuiInputEventMouseViewport.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiInputEventMouseViewport + { + public uint HoveredViewportID; + public unsafe ImGuiInputEventMouseViewport(uint hoveredViewportId = default) + { + HoveredViewportID = hoveredViewportId; + } + } +} +/* ImGuiInputEventMouseWheel.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiInputEventMouseWheel + { + public float WheelX; + public float WheelY; + public unsafe ImGuiInputEventMouseWheel(float wheelX = default, float wheelY = default) + { + WheelX = wheelX; + WheelY = wheelY; + } + } +} +/* ImGuiInputEventText.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiInputEventText + { + public uint Char; + public unsafe ImGuiInputEventText(uint @char = default) + { + Char = @char; + } + } +} +/* ImGuiInputTextCallbackData.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiInputTextCallbackData + { + public ImGuiInputTextFlags EventFlag; + public ImGuiInputTextFlags Flags; + public unsafe void* UserData; + public ushort EventChar; + public ImGuiKey EventKey; + public unsafe byte* Buf; + public int BufTextLen; + public int BufSize; + public byte BufDirty; + public int CursorPos; + public int SelectionStart; + public int SelectionEnd; + public unsafe ImGuiInputTextCallbackData(ImGuiInputTextFlags eventFlag = default, ImGuiInputTextFlags flags = default, void* userData = default, ushort eventChar = default, ImGuiKey eventKey = default, byte* buf = default, int bufTextLen = default, int bufSize = default, bool bufDirty = default, int cursorPos = default, int selectionStart = default, int selectionEnd = default) + { + EventFlag = eventFlag; + Flags = flags; + UserData = userData; + EventChar = eventChar; + EventKey = eventKey; + Buf = buf; + BufTextLen = bufTextLen; + BufSize = bufSize; + BufDirty = bufDirty ? (byte)1 : (byte)0; + CursorPos = cursorPos; + SelectionStart = selectionStart; + SelectionEnd = selectionEnd; + } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImGuiInputTextCallbackDataPtr : IEquatable + { + public ImGuiInputTextCallbackDataPtr(ImGuiInputTextCallbackData* handle) { Handle = handle; } + public ImGuiInputTextCallbackData* Handle; + public bool IsNull => Handle == null; + public static ImGuiInputTextCallbackDataPtr Null => new ImGuiInputTextCallbackDataPtr(null); + public ImGuiInputTextCallbackData this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImGuiInputTextCallbackDataPtr(ImGuiInputTextCallbackData* handle) => new ImGuiInputTextCallbackDataPtr(handle); + public static implicit operator ImGuiInputTextCallbackData*(ImGuiInputTextCallbackDataPtr handle) => handle.Handle; + public static bool operator ==(ImGuiInputTextCallbackDataPtr left, ImGuiInputTextCallbackDataPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImGuiInputTextCallbackDataPtr left, ImGuiInputTextCallbackDataPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImGuiInputTextCallbackDataPtr left, ImGuiInputTextCallbackData* right) => left.Handle == right; + public static bool operator !=(ImGuiInputTextCallbackDataPtr left, ImGuiInputTextCallbackData* right) => left.Handle != right; + public bool Equals(ImGuiInputTextCallbackDataPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImGuiInputTextCallbackDataPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImGuiInputTextCallbackDataPtr [0x{0}]", ((nuint)Handle).ToString("X")); + public ref ImGuiInputTextFlags EventFlag => ref Unsafe.AsRef(&Handle->EventFlag); + public ref ImGuiInputTextFlags Flags => ref Unsafe.AsRef(&Handle->Flags); + public void* UserData { get => Handle->UserData; set => Handle->UserData = value; } + public ref ushort EventChar => ref Unsafe.AsRef(&Handle->EventChar); + public ref ImGuiKey EventKey => ref Unsafe.AsRef(&Handle->EventKey); + public byte* Buf { get => Handle->Buf; set => Handle->Buf = value; } + public ref int BufTextLen => ref Unsafe.AsRef(&Handle->BufTextLen); + public ref int BufSize => ref Unsafe.AsRef(&Handle->BufSize); + public ref bool BufDirty => ref Unsafe.AsRef(&Handle->BufDirty); + public ref int CursorPos => ref Unsafe.AsRef(&Handle->CursorPos); + public ref int SelectionStart => ref Unsafe.AsRef(&Handle->SelectionStart); + public ref int SelectionEnd => ref Unsafe.AsRef(&Handle->SelectionEnd); + } +} +/* ImGuiInputTextState.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiInputTextState + { + public uint ID; + public int CurLenW; + public int CurLenA; + public ImVector TextW; + public ImVector TextA; + public ImVector InitialTextA; + public byte TextAIsValid; + public int BufCapacityA; + public float ScrollX; + public STBTexteditState Stb; + public float CursorAnim; + public byte CursorFollow; + public byte SelectedAllMouseLock; + public byte Edited; + public ImGuiInputTextFlags Flags; + public unsafe ImGuiInputTextState(uint id = default, int curLenW = default, int curLenA = default, ImVector textW = default, ImVector textA = default, ImVector initialTextA = default, bool textAIsValid = default, int bufCapacityA = default, float scrollX = default, STBTexteditState stb = default, float cursorAnim = default, bool cursorFollow = default, bool selectedAllMouseLock = default, bool edited = default, ImGuiInputTextFlags flags = default) + { + ID = id; + CurLenW = curLenW; + CurLenA = curLenA; + TextW = textW; + TextA = textA; + InitialTextA = initialTextA; + TextAIsValid = textAIsValid ? (byte)1 : (byte)0; + BufCapacityA = bufCapacityA; + ScrollX = scrollX; + Stb = stb; + CursorAnim = cursorAnim; + CursorFollow = cursorFollow ? (byte)1 : (byte)0; + SelectedAllMouseLock = selectedAllMouseLock ? (byte)1 : (byte)0; + Edited = edited ? (byte)1 : (byte)0; + Flags = flags; + } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImGuiInputTextStatePtr : IEquatable + { + public ImGuiInputTextStatePtr(ImGuiInputTextState* handle) { Handle = handle; } + public ImGuiInputTextState* Handle; + public bool IsNull => Handle == null; + public static ImGuiInputTextStatePtr Null => new ImGuiInputTextStatePtr(null); + public ImGuiInputTextState this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImGuiInputTextStatePtr(ImGuiInputTextState* handle) => new ImGuiInputTextStatePtr(handle); + public static implicit operator ImGuiInputTextState*(ImGuiInputTextStatePtr handle) => handle.Handle; + public static bool operator ==(ImGuiInputTextStatePtr left, ImGuiInputTextStatePtr right) => left.Handle == right.Handle; + public static bool operator !=(ImGuiInputTextStatePtr left, ImGuiInputTextStatePtr right) => left.Handle != right.Handle; + public static bool operator ==(ImGuiInputTextStatePtr left, ImGuiInputTextState* right) => left.Handle == right; + public static bool operator !=(ImGuiInputTextStatePtr left, ImGuiInputTextState* right) => left.Handle != right; + public bool Equals(ImGuiInputTextStatePtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImGuiInputTextStatePtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImGuiInputTextStatePtr [0x{0}]", ((nuint)Handle).ToString("X")); + public ref uint ID => ref Unsafe.AsRef(&Handle->ID); + public ref int CurLenW => ref Unsafe.AsRef(&Handle->CurLenW); + public ref int CurLenA => ref Unsafe.AsRef(&Handle->CurLenA); + public ref ImVector TextW => ref Unsafe.AsRef>(&Handle->TextW); + public ref ImVector TextA => ref Unsafe.AsRef>(&Handle->TextA); + public ref ImVector InitialTextA => ref Unsafe.AsRef>(&Handle->InitialTextA); + public ref bool TextAIsValid => ref Unsafe.AsRef(&Handle->TextAIsValid); + public ref int BufCapacityA => ref Unsafe.AsRef(&Handle->BufCapacityA); + public ref float ScrollX => ref Unsafe.AsRef(&Handle->ScrollX); + public ref STBTexteditState Stb => ref Unsafe.AsRef(&Handle->Stb); + public ref float CursorAnim => ref Unsafe.AsRef(&Handle->CursorAnim); + public ref bool CursorFollow => ref Unsafe.AsRef(&Handle->CursorFollow); + public ref bool SelectedAllMouseLock => ref Unsafe.AsRef(&Handle->SelectedAllMouseLock); + public ref bool Edited => ref Unsafe.AsRef(&Handle->Edited); + public ref ImGuiInputTextFlags Flags => ref Unsafe.AsRef(&Handle->Flags); + } +} +/* ImGuiIO.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiIO + { + public ImGuiConfigFlags ConfigFlags; + public ImGuiBackendFlags BackendFlags; + public Vector2 DisplaySize; + public float DeltaTime; + public float IniSavingRate; + public unsafe byte* IniFilename; + public unsafe byte* LogFilename; + public float MouseDoubleClickTime; + public float MouseDoubleClickMaxDist; + public float MouseDragThreshold; + public float KeyRepeatDelay; + public float KeyRepeatRate; + public unsafe void* UserData; + public unsafe ImFontAtlas* Fonts; + public float FontGlobalScale; + public byte FontAllowUserScaling; + public unsafe ImFont* FontDefault; + public Vector2 DisplayFramebufferScale; + public byte ConfigDockingNoSplit; + public byte ConfigDockingWithShift; + public byte ConfigDockingAlwaysTabBar; + public byte ConfigDockingTransparentPayload; + public byte ConfigViewportsNoAutoMerge; + public byte ConfigViewportsNoTaskBarIcon; + public byte ConfigViewportsNoDecoration; + public byte ConfigViewportsNoDefaultParent; + public byte MouseDrawCursor; + public byte ConfigMacOSXBehaviors; + public byte ConfigInputTrickleEventQueue; + public byte ConfigInputTextCursorBlink; + public byte ConfigDragClickToInputText; + public byte ConfigWindowsResizeFromEdges; + public byte ConfigWindowsMoveFromTitleBarOnly; + public float ConfigMemoryCompactTimer; + public unsafe byte* BackendPlatformName; + public unsafe byte* BackendRendererName; + public unsafe void* BackendPlatformUserData; + public unsafe void* BackendRendererUserData; + public unsafe void* BackendLanguageUserData; + public unsafe void* GetClipboardTextFn; + public unsafe void* SetClipboardTextFn; + public unsafe void* ClipboardUserData; + public unsafe void* SetPlatformImeDataFn; + public unsafe void* UnusedPadding; + public byte WantCaptureMouse; + public byte WantCaptureKeyboard; + public byte WantTextInput; + public byte WantSetMousePos; + public byte WantSaveIniSettings; + public byte NavActive; + public byte NavVisible; + public float Framerate; + public int MetricsRenderVertices; + public int MetricsRenderIndices; + public int MetricsRenderWindows; + public int MetricsActiveWindows; + public int MetricsActiveAllocations; + public Vector2 MouseDelta; + public int KeyMap_0; + public int KeyMap_1; + public int KeyMap_2; + public int KeyMap_3; + public int KeyMap_4; + public int KeyMap_5; + public int KeyMap_6; + public int KeyMap_7; + public int KeyMap_8; + public int KeyMap_9; + public int KeyMap_10; + public int KeyMap_11; + public int KeyMap_12; + public int KeyMap_13; + public int KeyMap_14; + public int KeyMap_15; + public int KeyMap_16; + public int KeyMap_17; + public int KeyMap_18; + public int KeyMap_19; + public int KeyMap_20; + public int KeyMap_21; + public int KeyMap_22; + public int KeyMap_23; + public int KeyMap_24; + public int KeyMap_25; + public int KeyMap_26; + public int KeyMap_27; + public int KeyMap_28; + public int KeyMap_29; + public int KeyMap_30; + public int KeyMap_31; + public int KeyMap_32; + public int KeyMap_33; + public int KeyMap_34; + public int KeyMap_35; + public int KeyMap_36; + public int KeyMap_37; + public int KeyMap_38; + public int KeyMap_39; + public int KeyMap_40; + public int KeyMap_41; + public int KeyMap_42; + public int KeyMap_43; + public int KeyMap_44; + public int KeyMap_45; + public int KeyMap_46; + public int KeyMap_47; + public int KeyMap_48; + public int KeyMap_49; + public int KeyMap_50; + public int KeyMap_51; + public int KeyMap_52; + public int KeyMap_53; + public int KeyMap_54; + public int KeyMap_55; + public int KeyMap_56; + public int KeyMap_57; + public int KeyMap_58; + public int KeyMap_59; + public int KeyMap_60; + public int KeyMap_61; + public int KeyMap_62; + public int KeyMap_63; + public int KeyMap_64; + public int KeyMap_65; + public int KeyMap_66; + public int KeyMap_67; + public int KeyMap_68; + public int KeyMap_69; + public int KeyMap_70; + public int KeyMap_71; + public int KeyMap_72; + public int KeyMap_73; + public int KeyMap_74; + public int KeyMap_75; + public int KeyMap_76; + public int KeyMap_77; + public int KeyMap_78; + public int KeyMap_79; + public int KeyMap_80; + public int KeyMap_81; + public int KeyMap_82; + public int KeyMap_83; + public int KeyMap_84; + public int KeyMap_85; + public int KeyMap_86; + public int KeyMap_87; + public int KeyMap_88; + public int KeyMap_89; + public int KeyMap_90; + public int KeyMap_91; + public int KeyMap_92; + public int KeyMap_93; + public int KeyMap_94; + public int KeyMap_95; + public int KeyMap_96; + public int KeyMap_97; + public int KeyMap_98; + public int KeyMap_99; + public int KeyMap_100; + public int KeyMap_101; + public int KeyMap_102; + public int KeyMap_103; + public int KeyMap_104; + public int KeyMap_105; + public int KeyMap_106; + public int KeyMap_107; + public int KeyMap_108; + public int KeyMap_109; + public int KeyMap_110; + public int KeyMap_111; + public int KeyMap_112; + public int KeyMap_113; + public int KeyMap_114; + public int KeyMap_115; + public int KeyMap_116; + public int KeyMap_117; + public int KeyMap_118; + public int KeyMap_119; + public int KeyMap_120; + public int KeyMap_121; + public int KeyMap_122; + public int KeyMap_123; + public int KeyMap_124; + public int KeyMap_125; + public int KeyMap_126; + public int KeyMap_127; + public int KeyMap_128; + public int KeyMap_129; + public int KeyMap_130; + public int KeyMap_131; + public int KeyMap_132; + public int KeyMap_133; + public int KeyMap_134; + public int KeyMap_135; + public int KeyMap_136; + public int KeyMap_137; + public int KeyMap_138; + public int KeyMap_139; + public int KeyMap_140; + public int KeyMap_141; + public int KeyMap_142; + public int KeyMap_143; + public int KeyMap_144; + public int KeyMap_145; + public int KeyMap_146; + public int KeyMap_147; + public int KeyMap_148; + public int KeyMap_149; + public int KeyMap_150; + public int KeyMap_151; + public int KeyMap_152; + public int KeyMap_153; + public int KeyMap_154; + public int KeyMap_155; + public int KeyMap_156; + public int KeyMap_157; + public int KeyMap_158; + public int KeyMap_159; + public int KeyMap_160; + public int KeyMap_161; + public int KeyMap_162; + public int KeyMap_163; + public int KeyMap_164; + public int KeyMap_165; + public int KeyMap_166; + public int KeyMap_167; + public int KeyMap_168; + public int KeyMap_169; + public int KeyMap_170; + public int KeyMap_171; + public int KeyMap_172; + public int KeyMap_173; + public int KeyMap_174; + public int KeyMap_175; + public int KeyMap_176; + public int KeyMap_177; + public int KeyMap_178; + public int KeyMap_179; + public int KeyMap_180; + public int KeyMap_181; + public int KeyMap_182; + public int KeyMap_183; + public int KeyMap_184; + public int KeyMap_185; + public int KeyMap_186; + public int KeyMap_187; + public int KeyMap_188; + public int KeyMap_189; + public int KeyMap_190; + public int KeyMap_191; + public int KeyMap_192; + public int KeyMap_193; + public int KeyMap_194; + public int KeyMap_195; + public int KeyMap_196; + public int KeyMap_197; + public int KeyMap_198; + public int KeyMap_199; + public int KeyMap_200; + public int KeyMap_201; + public int KeyMap_202; + public int KeyMap_203; + public int KeyMap_204; + public int KeyMap_205; + public int KeyMap_206; + public int KeyMap_207; + public int KeyMap_208; + public int KeyMap_209; + public int KeyMap_210; + public int KeyMap_211; + public int KeyMap_212; + public int KeyMap_213; + public int KeyMap_214; + public int KeyMap_215; + public int KeyMap_216; + public int KeyMap_217; + public int KeyMap_218; + public int KeyMap_219; + public int KeyMap_220; + public int KeyMap_221; + public int KeyMap_222; + public int KeyMap_223; + public int KeyMap_224; + public int KeyMap_225; + public int KeyMap_226; + public int KeyMap_227; + public int KeyMap_228; + public int KeyMap_229; + public int KeyMap_230; + public int KeyMap_231; + public int KeyMap_232; + public int KeyMap_233; + public int KeyMap_234; + public int KeyMap_235; + public int KeyMap_236; + public int KeyMap_237; + public int KeyMap_238; + public int KeyMap_239; + public int KeyMap_240; + public int KeyMap_241; + public int KeyMap_242; + public int KeyMap_243; + public int KeyMap_244; + public int KeyMap_245; + public int KeyMap_246; + public int KeyMap_247; + public int KeyMap_248; + public int KeyMap_249; + public int KeyMap_250; + public int KeyMap_251; + public int KeyMap_252; + public int KeyMap_253; + public int KeyMap_254; + public int KeyMap_255; + public int KeyMap_256; + public int KeyMap_257; + public int KeyMap_258; + public int KeyMap_259; + public int KeyMap_260; + public int KeyMap_261; + public int KeyMap_262; + public int KeyMap_263; + public int KeyMap_264; + public int KeyMap_265; + public int KeyMap_266; + public int KeyMap_267; + public int KeyMap_268; + public int KeyMap_269; + public int KeyMap_270; + public int KeyMap_271; + public int KeyMap_272; + public int KeyMap_273; + public int KeyMap_274; + public int KeyMap_275; + public int KeyMap_276; + public int KeyMap_277; + public int KeyMap_278; + public int KeyMap_279; + public int KeyMap_280; + public int KeyMap_281; + public int KeyMap_282; + public int KeyMap_283; + public int KeyMap_284; + public int KeyMap_285; + public int KeyMap_286; + public int KeyMap_287; + public int KeyMap_288; + public int KeyMap_289; + public int KeyMap_290; + public int KeyMap_291; + public int KeyMap_292; + public int KeyMap_293; + public int KeyMap_294; + public int KeyMap_295; + public int KeyMap_296; + public int KeyMap_297; + public int KeyMap_298; + public int KeyMap_299; + public int KeyMap_300; + public int KeyMap_301; + public int KeyMap_302; + public int KeyMap_303; + public int KeyMap_304; + public int KeyMap_305; + public int KeyMap_306; + public int KeyMap_307; + public int KeyMap_308; + public int KeyMap_309; + public int KeyMap_310; + public int KeyMap_311; + public int KeyMap_312; + public int KeyMap_313; + public int KeyMap_314; + public int KeyMap_315; + public int KeyMap_316; + public int KeyMap_317; + public int KeyMap_318; + public int KeyMap_319; + public int KeyMap_320; + public int KeyMap_321; + public int KeyMap_322; + public int KeyMap_323; + public int KeyMap_324; + public int KeyMap_325; + public int KeyMap_326; + public int KeyMap_327; + public int KeyMap_328; + public int KeyMap_329; + public int KeyMap_330; + public int KeyMap_331; + public int KeyMap_332; + public int KeyMap_333; + public int KeyMap_334; + public int KeyMap_335; + public int KeyMap_336; + public int KeyMap_337; + public int KeyMap_338; + public int KeyMap_339; + public int KeyMap_340; + public int KeyMap_341; + public int KeyMap_342; + public int KeyMap_343; + public int KeyMap_344; + public int KeyMap_345; + public int KeyMap_346; + public int KeyMap_347; + public int KeyMap_348; + public int KeyMap_349; + public int KeyMap_350; + public int KeyMap_351; + public int KeyMap_352; + public int KeyMap_353; + public int KeyMap_354; + public int KeyMap_355; + public int KeyMap_356; + public int KeyMap_357; + public int KeyMap_358; + public int KeyMap_359; + public int KeyMap_360; + public int KeyMap_361; + public int KeyMap_362; + public int KeyMap_363; + public int KeyMap_364; + public int KeyMap_365; + public int KeyMap_366; + public int KeyMap_367; + public int KeyMap_368; + public int KeyMap_369; + public int KeyMap_370; + public int KeyMap_371; + public int KeyMap_372; + public int KeyMap_373; + public int KeyMap_374; + public int KeyMap_375; + public int KeyMap_376; + public int KeyMap_377; + public int KeyMap_378; + public int KeyMap_379; + public int KeyMap_380; + public int KeyMap_381; + public int KeyMap_382; + public int KeyMap_383; + public int KeyMap_384; + public int KeyMap_385; + public int KeyMap_386; + public int KeyMap_387; + public int KeyMap_388; + public int KeyMap_389; + public int KeyMap_390; + public int KeyMap_391; + public int KeyMap_392; + public int KeyMap_393; + public int KeyMap_394; + public int KeyMap_395; + public int KeyMap_396; + public int KeyMap_397; + public int KeyMap_398; + public int KeyMap_399; + public int KeyMap_400; + public int KeyMap_401; + public int KeyMap_402; + public int KeyMap_403; + public int KeyMap_404; + public int KeyMap_405; + public int KeyMap_406; + public int KeyMap_407; + public int KeyMap_408; + public int KeyMap_409; + public int KeyMap_410; + public int KeyMap_411; + public int KeyMap_412; + public int KeyMap_413; + public int KeyMap_414; + public int KeyMap_415; + public int KeyMap_416; + public int KeyMap_417; + public int KeyMap_418; + public int KeyMap_419; + public int KeyMap_420; + public int KeyMap_421; + public int KeyMap_422; + public int KeyMap_423; + public int KeyMap_424; + public int KeyMap_425; + public int KeyMap_426; + public int KeyMap_427; + public int KeyMap_428; + public int KeyMap_429; + public int KeyMap_430; + public int KeyMap_431; + public int KeyMap_432; + public int KeyMap_433; + public int KeyMap_434; + public int KeyMap_435; + public int KeyMap_436; + public int KeyMap_437; + public int KeyMap_438; + public int KeyMap_439; + public int KeyMap_440; + public int KeyMap_441; + public int KeyMap_442; + public int KeyMap_443; + public int KeyMap_444; + public int KeyMap_445; + public int KeyMap_446; + public int KeyMap_447; + public int KeyMap_448; + public int KeyMap_449; + public int KeyMap_450; + public int KeyMap_451; + public int KeyMap_452; + public int KeyMap_453; + public int KeyMap_454; + public int KeyMap_455; + public int KeyMap_456; + public int KeyMap_457; + public int KeyMap_458; + public int KeyMap_459; + public int KeyMap_460; + public int KeyMap_461; + public int KeyMap_462; + public int KeyMap_463; + public int KeyMap_464; + public int KeyMap_465; + public int KeyMap_466; + public int KeyMap_467; + public int KeyMap_468; + public int KeyMap_469; + public int KeyMap_470; + public int KeyMap_471; + public int KeyMap_472; + public int KeyMap_473; + public int KeyMap_474; + public int KeyMap_475; + public int KeyMap_476; + public int KeyMap_477; + public int KeyMap_478; + public int KeyMap_479; + public int KeyMap_480; + public int KeyMap_481; + public int KeyMap_482; + public int KeyMap_483; + public int KeyMap_484; + public int KeyMap_485; + public int KeyMap_486; + public int KeyMap_487; + public int KeyMap_488; + public int KeyMap_489; + public int KeyMap_490; + public int KeyMap_491; + public int KeyMap_492; + public int KeyMap_493; + public int KeyMap_494; + public int KeyMap_495; + public int KeyMap_496; + public int KeyMap_497; + public int KeyMap_498; + public int KeyMap_499; + public int KeyMap_500; + public int KeyMap_501; + public int KeyMap_502; + public int KeyMap_503; + public int KeyMap_504; + public int KeyMap_505; + public int KeyMap_506; + public int KeyMap_507; + public int KeyMap_508; + public int KeyMap_509; + public int KeyMap_510; + public int KeyMap_511; + public int KeyMap_512; + public int KeyMap_513; + public int KeyMap_514; + public int KeyMap_515; + public int KeyMap_516; + public int KeyMap_517; + public int KeyMap_518; + public int KeyMap_519; + public int KeyMap_520; + public int KeyMap_521; + public int KeyMap_522; + public int KeyMap_523; + public int KeyMap_524; + public int KeyMap_525; + public int KeyMap_526; + public int KeyMap_527; + public int KeyMap_528; + public int KeyMap_529; + public int KeyMap_530; + public int KeyMap_531; + public int KeyMap_532; + public int KeyMap_533; + public int KeyMap_534; + public int KeyMap_535; + public int KeyMap_536; + public int KeyMap_537; + public int KeyMap_538; + public int KeyMap_539; + public int KeyMap_540; + public int KeyMap_541; + public int KeyMap_542; + public int KeyMap_543; + public int KeyMap_544; + public int KeyMap_545; + public int KeyMap_546; + public int KeyMap_547; + public int KeyMap_548; + public int KeyMap_549; + public int KeyMap_550; + public int KeyMap_551; + public int KeyMap_552; + public int KeyMap_553; + public int KeyMap_554; + public int KeyMap_555; + public int KeyMap_556; + public int KeyMap_557; + public int KeyMap_558; + public int KeyMap_559; + public int KeyMap_560; + public int KeyMap_561; + public int KeyMap_562; + public int KeyMap_563; + public int KeyMap_564; + public int KeyMap_565; + public int KeyMap_566; + public int KeyMap_567; + public int KeyMap_568; + public int KeyMap_569; + public int KeyMap_570; + public int KeyMap_571; + public int KeyMap_572; + public int KeyMap_573; + public int KeyMap_574; + public int KeyMap_575; + public int KeyMap_576; + public int KeyMap_577; + public int KeyMap_578; + public int KeyMap_579; + public int KeyMap_580; + public int KeyMap_581; + public int KeyMap_582; + public int KeyMap_583; + public int KeyMap_584; + public int KeyMap_585; + public int KeyMap_586; + public int KeyMap_587; + public int KeyMap_588; + public int KeyMap_589; + public int KeyMap_590; + public int KeyMap_591; + public int KeyMap_592; + public int KeyMap_593; + public int KeyMap_594; + public int KeyMap_595; + public int KeyMap_596; + public int KeyMap_597; + public int KeyMap_598; + public int KeyMap_599; + public int KeyMap_600; + public int KeyMap_601; + public int KeyMap_602; + public int KeyMap_603; + public int KeyMap_604; + public int KeyMap_605; + public int KeyMap_606; + public int KeyMap_607; + public int KeyMap_608; + public int KeyMap_609; + public int KeyMap_610; + public int KeyMap_611; + public int KeyMap_612; + public int KeyMap_613; + public int KeyMap_614; + public int KeyMap_615; + public int KeyMap_616; + public int KeyMap_617; + public int KeyMap_618; + public int KeyMap_619; + public int KeyMap_620; + public int KeyMap_621; + public int KeyMap_622; + public int KeyMap_623; + public int KeyMap_624; + public int KeyMap_625; + public int KeyMap_626; + public int KeyMap_627; + public int KeyMap_628; + public int KeyMap_629; + public int KeyMap_630; + public int KeyMap_631; + public int KeyMap_632; + public int KeyMap_633; + public int KeyMap_634; + public int KeyMap_635; + public int KeyMap_636; + public int KeyMap_637; + public int KeyMap_638; + public int KeyMap_639; + public int KeyMap_640; + public int KeyMap_641; + public int KeyMap_642; + public int KeyMap_643; + public int KeyMap_644; + public bool KeysDown_0; + public bool KeysDown_1; + public bool KeysDown_2; + public bool KeysDown_3; + public bool KeysDown_4; + public bool KeysDown_5; + public bool KeysDown_6; + public bool KeysDown_7; + public bool KeysDown_8; + public bool KeysDown_9; + public bool KeysDown_10; + public bool KeysDown_11; + public bool KeysDown_12; + public bool KeysDown_13; + public bool KeysDown_14; + public bool KeysDown_15; + public bool KeysDown_16; + public bool KeysDown_17; + public bool KeysDown_18; + public bool KeysDown_19; + public bool KeysDown_20; + public bool KeysDown_21; + public bool KeysDown_22; + public bool KeysDown_23; + public bool KeysDown_24; + public bool KeysDown_25; + public bool KeysDown_26; + public bool KeysDown_27; + public bool KeysDown_28; + public bool KeysDown_29; + public bool KeysDown_30; + public bool KeysDown_31; + public bool KeysDown_32; + public bool KeysDown_33; + public bool KeysDown_34; + public bool KeysDown_35; + public bool KeysDown_36; + public bool KeysDown_37; + public bool KeysDown_38; + public bool KeysDown_39; + public bool KeysDown_40; + public bool KeysDown_41; + public bool KeysDown_42; + public bool KeysDown_43; + public bool KeysDown_44; + public bool KeysDown_45; + public bool KeysDown_46; + public bool KeysDown_47; + public bool KeysDown_48; + public bool KeysDown_49; + public bool KeysDown_50; + public bool KeysDown_51; + public bool KeysDown_52; + public bool KeysDown_53; + public bool KeysDown_54; + public bool KeysDown_55; + public bool KeysDown_56; + public bool KeysDown_57; + public bool KeysDown_58; + public bool KeysDown_59; + public bool KeysDown_60; + public bool KeysDown_61; + public bool KeysDown_62; + public bool KeysDown_63; + public bool KeysDown_64; + public bool KeysDown_65; + public bool KeysDown_66; + public bool KeysDown_67; + public bool KeysDown_68; + public bool KeysDown_69; + public bool KeysDown_70; + public bool KeysDown_71; + public bool KeysDown_72; + public bool KeysDown_73; + public bool KeysDown_74; + public bool KeysDown_75; + public bool KeysDown_76; + public bool KeysDown_77; + public bool KeysDown_78; + public bool KeysDown_79; + public bool KeysDown_80; + public bool KeysDown_81; + public bool KeysDown_82; + public bool KeysDown_83; + public bool KeysDown_84; + public bool KeysDown_85; + public bool KeysDown_86; + public bool KeysDown_87; + public bool KeysDown_88; + public bool KeysDown_89; + public bool KeysDown_90; + public bool KeysDown_91; + public bool KeysDown_92; + public bool KeysDown_93; + public bool KeysDown_94; + public bool KeysDown_95; + public bool KeysDown_96; + public bool KeysDown_97; + public bool KeysDown_98; + public bool KeysDown_99; + public bool KeysDown_100; + public bool KeysDown_101; + public bool KeysDown_102; + public bool KeysDown_103; + public bool KeysDown_104; + public bool KeysDown_105; + public bool KeysDown_106; + public bool KeysDown_107; + public bool KeysDown_108; + public bool KeysDown_109; + public bool KeysDown_110; + public bool KeysDown_111; + public bool KeysDown_112; + public bool KeysDown_113; + public bool KeysDown_114; + public bool KeysDown_115; + public bool KeysDown_116; + public bool KeysDown_117; + public bool KeysDown_118; + public bool KeysDown_119; + public bool KeysDown_120; + public bool KeysDown_121; + public bool KeysDown_122; + public bool KeysDown_123; + public bool KeysDown_124; + public bool KeysDown_125; + public bool KeysDown_126; + public bool KeysDown_127; + public bool KeysDown_128; + public bool KeysDown_129; + public bool KeysDown_130; + public bool KeysDown_131; + public bool KeysDown_132; + public bool KeysDown_133; + public bool KeysDown_134; + public bool KeysDown_135; + public bool KeysDown_136; + public bool KeysDown_137; + public bool KeysDown_138; + public bool KeysDown_139; + public bool KeysDown_140; + public bool KeysDown_141; + public bool KeysDown_142; + public bool KeysDown_143; + public bool KeysDown_144; + public bool KeysDown_145; + public bool KeysDown_146; + public bool KeysDown_147; + public bool KeysDown_148; + public bool KeysDown_149; + public bool KeysDown_150; + public bool KeysDown_151; + public bool KeysDown_152; + public bool KeysDown_153; + public bool KeysDown_154; + public bool KeysDown_155; + public bool KeysDown_156; + public bool KeysDown_157; + public bool KeysDown_158; + public bool KeysDown_159; + public bool KeysDown_160; + public bool KeysDown_161; + public bool KeysDown_162; + public bool KeysDown_163; + public bool KeysDown_164; + public bool KeysDown_165; + public bool KeysDown_166; + public bool KeysDown_167; + public bool KeysDown_168; + public bool KeysDown_169; + public bool KeysDown_170; + public bool KeysDown_171; + public bool KeysDown_172; + public bool KeysDown_173; + public bool KeysDown_174; + public bool KeysDown_175; + public bool KeysDown_176; + public bool KeysDown_177; + public bool KeysDown_178; + public bool KeysDown_179; + public bool KeysDown_180; + public bool KeysDown_181; + public bool KeysDown_182; + public bool KeysDown_183; + public bool KeysDown_184; + public bool KeysDown_185; + public bool KeysDown_186; + public bool KeysDown_187; + public bool KeysDown_188; + public bool KeysDown_189; + public bool KeysDown_190; + public bool KeysDown_191; + public bool KeysDown_192; + public bool KeysDown_193; + public bool KeysDown_194; + public bool KeysDown_195; + public bool KeysDown_196; + public bool KeysDown_197; + public bool KeysDown_198; + public bool KeysDown_199; + public bool KeysDown_200; + public bool KeysDown_201; + public bool KeysDown_202; + public bool KeysDown_203; + public bool KeysDown_204; + public bool KeysDown_205; + public bool KeysDown_206; + public bool KeysDown_207; + public bool KeysDown_208; + public bool KeysDown_209; + public bool KeysDown_210; + public bool KeysDown_211; + public bool KeysDown_212; + public bool KeysDown_213; + public bool KeysDown_214; + public bool KeysDown_215; + public bool KeysDown_216; + public bool KeysDown_217; + public bool KeysDown_218; + public bool KeysDown_219; + public bool KeysDown_220; + public bool KeysDown_221; + public bool KeysDown_222; + public bool KeysDown_223; + public bool KeysDown_224; + public bool KeysDown_225; + public bool KeysDown_226; + public bool KeysDown_227; + public bool KeysDown_228; + public bool KeysDown_229; + public bool KeysDown_230; + public bool KeysDown_231; + public bool KeysDown_232; + public bool KeysDown_233; + public bool KeysDown_234; + public bool KeysDown_235; + public bool KeysDown_236; + public bool KeysDown_237; + public bool KeysDown_238; + public bool KeysDown_239; + public bool KeysDown_240; + public bool KeysDown_241; + public bool KeysDown_242; + public bool KeysDown_243; + public bool KeysDown_244; + public bool KeysDown_245; + public bool KeysDown_246; + public bool KeysDown_247; + public bool KeysDown_248; + public bool KeysDown_249; + public bool KeysDown_250; + public bool KeysDown_251; + public bool KeysDown_252; + public bool KeysDown_253; + public bool KeysDown_254; + public bool KeysDown_255; + public bool KeysDown_256; + public bool KeysDown_257; + public bool KeysDown_258; + public bool KeysDown_259; + public bool KeysDown_260; + public bool KeysDown_261; + public bool KeysDown_262; + public bool KeysDown_263; + public bool KeysDown_264; + public bool KeysDown_265; + public bool KeysDown_266; + public bool KeysDown_267; + public bool KeysDown_268; + public bool KeysDown_269; + public bool KeysDown_270; + public bool KeysDown_271; + public bool KeysDown_272; + public bool KeysDown_273; + public bool KeysDown_274; + public bool KeysDown_275; + public bool KeysDown_276; + public bool KeysDown_277; + public bool KeysDown_278; + public bool KeysDown_279; + public bool KeysDown_280; + public bool KeysDown_281; + public bool KeysDown_282; + public bool KeysDown_283; + public bool KeysDown_284; + public bool KeysDown_285; + public bool KeysDown_286; + public bool KeysDown_287; + public bool KeysDown_288; + public bool KeysDown_289; + public bool KeysDown_290; + public bool KeysDown_291; + public bool KeysDown_292; + public bool KeysDown_293; + public bool KeysDown_294; + public bool KeysDown_295; + public bool KeysDown_296; + public bool KeysDown_297; + public bool KeysDown_298; + public bool KeysDown_299; + public bool KeysDown_300; + public bool KeysDown_301; + public bool KeysDown_302; + public bool KeysDown_303; + public bool KeysDown_304; + public bool KeysDown_305; + public bool KeysDown_306; + public bool KeysDown_307; + public bool KeysDown_308; + public bool KeysDown_309; + public bool KeysDown_310; + public bool KeysDown_311; + public bool KeysDown_312; + public bool KeysDown_313; + public bool KeysDown_314; + public bool KeysDown_315; + public bool KeysDown_316; + public bool KeysDown_317; + public bool KeysDown_318; + public bool KeysDown_319; + public bool KeysDown_320; + public bool KeysDown_321; + public bool KeysDown_322; + public bool KeysDown_323; + public bool KeysDown_324; + public bool KeysDown_325; + public bool KeysDown_326; + public bool KeysDown_327; + public bool KeysDown_328; + public bool KeysDown_329; + public bool KeysDown_330; + public bool KeysDown_331; + public bool KeysDown_332; + public bool KeysDown_333; + public bool KeysDown_334; + public bool KeysDown_335; + public bool KeysDown_336; + public bool KeysDown_337; + public bool KeysDown_338; + public bool KeysDown_339; + public bool KeysDown_340; + public bool KeysDown_341; + public bool KeysDown_342; + public bool KeysDown_343; + public bool KeysDown_344; + public bool KeysDown_345; + public bool KeysDown_346; + public bool KeysDown_347; + public bool KeysDown_348; + public bool KeysDown_349; + public bool KeysDown_350; + public bool KeysDown_351; + public bool KeysDown_352; + public bool KeysDown_353; + public bool KeysDown_354; + public bool KeysDown_355; + public bool KeysDown_356; + public bool KeysDown_357; + public bool KeysDown_358; + public bool KeysDown_359; + public bool KeysDown_360; + public bool KeysDown_361; + public bool KeysDown_362; + public bool KeysDown_363; + public bool KeysDown_364; + public bool KeysDown_365; + public bool KeysDown_366; + public bool KeysDown_367; + public bool KeysDown_368; + public bool KeysDown_369; + public bool KeysDown_370; + public bool KeysDown_371; + public bool KeysDown_372; + public bool KeysDown_373; + public bool KeysDown_374; + public bool KeysDown_375; + public bool KeysDown_376; + public bool KeysDown_377; + public bool KeysDown_378; + public bool KeysDown_379; + public bool KeysDown_380; + public bool KeysDown_381; + public bool KeysDown_382; + public bool KeysDown_383; + public bool KeysDown_384; + public bool KeysDown_385; + public bool KeysDown_386; + public bool KeysDown_387; + public bool KeysDown_388; + public bool KeysDown_389; + public bool KeysDown_390; + public bool KeysDown_391; + public bool KeysDown_392; + public bool KeysDown_393; + public bool KeysDown_394; + public bool KeysDown_395; + public bool KeysDown_396; + public bool KeysDown_397; + public bool KeysDown_398; + public bool KeysDown_399; + public bool KeysDown_400; + public bool KeysDown_401; + public bool KeysDown_402; + public bool KeysDown_403; + public bool KeysDown_404; + public bool KeysDown_405; + public bool KeysDown_406; + public bool KeysDown_407; + public bool KeysDown_408; + public bool KeysDown_409; + public bool KeysDown_410; + public bool KeysDown_411; + public bool KeysDown_412; + public bool KeysDown_413; + public bool KeysDown_414; + public bool KeysDown_415; + public bool KeysDown_416; + public bool KeysDown_417; + public bool KeysDown_418; + public bool KeysDown_419; + public bool KeysDown_420; + public bool KeysDown_421; + public bool KeysDown_422; + public bool KeysDown_423; + public bool KeysDown_424; + public bool KeysDown_425; + public bool KeysDown_426; + public bool KeysDown_427; + public bool KeysDown_428; + public bool KeysDown_429; + public bool KeysDown_430; + public bool KeysDown_431; + public bool KeysDown_432; + public bool KeysDown_433; + public bool KeysDown_434; + public bool KeysDown_435; + public bool KeysDown_436; + public bool KeysDown_437; + public bool KeysDown_438; + public bool KeysDown_439; + public bool KeysDown_440; + public bool KeysDown_441; + public bool KeysDown_442; + public bool KeysDown_443; + public bool KeysDown_444; + public bool KeysDown_445; + public bool KeysDown_446; + public bool KeysDown_447; + public bool KeysDown_448; + public bool KeysDown_449; + public bool KeysDown_450; + public bool KeysDown_451; + public bool KeysDown_452; + public bool KeysDown_453; + public bool KeysDown_454; + public bool KeysDown_455; + public bool KeysDown_456; + public bool KeysDown_457; + public bool KeysDown_458; + public bool KeysDown_459; + public bool KeysDown_460; + public bool KeysDown_461; + public bool KeysDown_462; + public bool KeysDown_463; + public bool KeysDown_464; + public bool KeysDown_465; + public bool KeysDown_466; + public bool KeysDown_467; + public bool KeysDown_468; + public bool KeysDown_469; + public bool KeysDown_470; + public bool KeysDown_471; + public bool KeysDown_472; + public bool KeysDown_473; + public bool KeysDown_474; + public bool KeysDown_475; + public bool KeysDown_476; + public bool KeysDown_477; + public bool KeysDown_478; + public bool KeysDown_479; + public bool KeysDown_480; + public bool KeysDown_481; + public bool KeysDown_482; + public bool KeysDown_483; + public bool KeysDown_484; + public bool KeysDown_485; + public bool KeysDown_486; + public bool KeysDown_487; + public bool KeysDown_488; + public bool KeysDown_489; + public bool KeysDown_490; + public bool KeysDown_491; + public bool KeysDown_492; + public bool KeysDown_493; + public bool KeysDown_494; + public bool KeysDown_495; + public bool KeysDown_496; + public bool KeysDown_497; + public bool KeysDown_498; + public bool KeysDown_499; + public bool KeysDown_500; + public bool KeysDown_501; + public bool KeysDown_502; + public bool KeysDown_503; + public bool KeysDown_504; + public bool KeysDown_505; + public bool KeysDown_506; + public bool KeysDown_507; + public bool KeysDown_508; + public bool KeysDown_509; + public bool KeysDown_510; + public bool KeysDown_511; + public bool KeysDown_512; + public bool KeysDown_513; + public bool KeysDown_514; + public bool KeysDown_515; + public bool KeysDown_516; + public bool KeysDown_517; + public bool KeysDown_518; + public bool KeysDown_519; + public bool KeysDown_520; + public bool KeysDown_521; + public bool KeysDown_522; + public bool KeysDown_523; + public bool KeysDown_524; + public bool KeysDown_525; + public bool KeysDown_526; + public bool KeysDown_527; + public bool KeysDown_528; + public bool KeysDown_529; + public bool KeysDown_530; + public bool KeysDown_531; + public bool KeysDown_532; + public bool KeysDown_533; + public bool KeysDown_534; + public bool KeysDown_535; + public bool KeysDown_536; + public bool KeysDown_537; + public bool KeysDown_538; + public bool KeysDown_539; + public bool KeysDown_540; + public bool KeysDown_541; + public bool KeysDown_542; + public bool KeysDown_543; + public bool KeysDown_544; + public bool KeysDown_545; + public bool KeysDown_546; + public bool KeysDown_547; + public bool KeysDown_548; + public bool KeysDown_549; + public bool KeysDown_550; + public bool KeysDown_551; + public bool KeysDown_552; + public bool KeysDown_553; + public bool KeysDown_554; + public bool KeysDown_555; + public bool KeysDown_556; + public bool KeysDown_557; + public bool KeysDown_558; + public bool KeysDown_559; + public bool KeysDown_560; + public bool KeysDown_561; + public bool KeysDown_562; + public bool KeysDown_563; + public bool KeysDown_564; + public bool KeysDown_565; + public bool KeysDown_566; + public bool KeysDown_567; + public bool KeysDown_568; + public bool KeysDown_569; + public bool KeysDown_570; + public bool KeysDown_571; + public bool KeysDown_572; + public bool KeysDown_573; + public bool KeysDown_574; + public bool KeysDown_575; + public bool KeysDown_576; + public bool KeysDown_577; + public bool KeysDown_578; + public bool KeysDown_579; + public bool KeysDown_580; + public bool KeysDown_581; + public bool KeysDown_582; + public bool KeysDown_583; + public bool KeysDown_584; + public bool KeysDown_585; + public bool KeysDown_586; + public bool KeysDown_587; + public bool KeysDown_588; + public bool KeysDown_589; + public bool KeysDown_590; + public bool KeysDown_591; + public bool KeysDown_592; + public bool KeysDown_593; + public bool KeysDown_594; + public bool KeysDown_595; + public bool KeysDown_596; + public bool KeysDown_597; + public bool KeysDown_598; + public bool KeysDown_599; + public bool KeysDown_600; + public bool KeysDown_601; + public bool KeysDown_602; + public bool KeysDown_603; + public bool KeysDown_604; + public bool KeysDown_605; + public bool KeysDown_606; + public bool KeysDown_607; + public bool KeysDown_608; + public bool KeysDown_609; + public bool KeysDown_610; + public bool KeysDown_611; + public bool KeysDown_612; + public bool KeysDown_613; + public bool KeysDown_614; + public bool KeysDown_615; + public bool KeysDown_616; + public bool KeysDown_617; + public bool KeysDown_618; + public bool KeysDown_619; + public bool KeysDown_620; + public bool KeysDown_621; + public bool KeysDown_622; + public bool KeysDown_623; + public bool KeysDown_624; + public bool KeysDown_625; + public bool KeysDown_626; + public bool KeysDown_627; + public bool KeysDown_628; + public bool KeysDown_629; + public bool KeysDown_630; + public bool KeysDown_631; + public bool KeysDown_632; + public bool KeysDown_633; + public bool KeysDown_634; + public bool KeysDown_635; + public bool KeysDown_636; + public bool KeysDown_637; + public bool KeysDown_638; + public bool KeysDown_639; + public bool KeysDown_640; + public bool KeysDown_641; + public bool KeysDown_642; + public bool KeysDown_643; + public bool KeysDown_644; + public Vector2 MousePos; + public bool MouseDown_0; + public bool MouseDown_1; + public bool MouseDown_2; + public bool MouseDown_3; + public bool MouseDown_4; + public float MouseWheel; + public float MouseWheelH; + public uint MouseHoveredViewport; + public byte KeyCtrl; + public byte KeyShift; + public byte KeyAlt; + public byte KeySuper; + public float NavInputs_0; + public float NavInputs_1; + public float NavInputs_2; + public float NavInputs_3; + public float NavInputs_4; + public float NavInputs_5; + public float NavInputs_6; + public float NavInputs_7; + public float NavInputs_8; + public float NavInputs_9; + public float NavInputs_10; + public float NavInputs_11; + public float NavInputs_12; + public float NavInputs_13; + public float NavInputs_14; + public float NavInputs_15; + public float NavInputs_16; + public float NavInputs_17; + public float NavInputs_18; + public float NavInputs_19; + public float NavInputs_20; + public ImGuiModFlags KeyMods; + public ImGuiKeyData KeysData_0; + public ImGuiKeyData KeysData_1; + public ImGuiKeyData KeysData_2; + public ImGuiKeyData KeysData_3; + public ImGuiKeyData KeysData_4; + public ImGuiKeyData KeysData_5; + public ImGuiKeyData KeysData_6; + public ImGuiKeyData KeysData_7; + public ImGuiKeyData KeysData_8; + public ImGuiKeyData KeysData_9; + public ImGuiKeyData KeysData_10; + public ImGuiKeyData KeysData_11; + public ImGuiKeyData KeysData_12; + public ImGuiKeyData KeysData_13; + public ImGuiKeyData KeysData_14; + public ImGuiKeyData KeysData_15; + public ImGuiKeyData KeysData_16; + public ImGuiKeyData KeysData_17; + public ImGuiKeyData KeysData_18; + public ImGuiKeyData KeysData_19; + public ImGuiKeyData KeysData_20; + public ImGuiKeyData KeysData_21; + public ImGuiKeyData KeysData_22; + public ImGuiKeyData KeysData_23; + public ImGuiKeyData KeysData_24; + public ImGuiKeyData KeysData_25; + public ImGuiKeyData KeysData_26; + public ImGuiKeyData KeysData_27; + public ImGuiKeyData KeysData_28; + public ImGuiKeyData KeysData_29; + public ImGuiKeyData KeysData_30; + public ImGuiKeyData KeysData_31; + public ImGuiKeyData KeysData_32; + public ImGuiKeyData KeysData_33; + public ImGuiKeyData KeysData_34; + public ImGuiKeyData KeysData_35; + public ImGuiKeyData KeysData_36; + public ImGuiKeyData KeysData_37; + public ImGuiKeyData KeysData_38; + public ImGuiKeyData KeysData_39; + public ImGuiKeyData KeysData_40; + public ImGuiKeyData KeysData_41; + public ImGuiKeyData KeysData_42; + public ImGuiKeyData KeysData_43; + public ImGuiKeyData KeysData_44; + public ImGuiKeyData KeysData_45; + public ImGuiKeyData KeysData_46; + public ImGuiKeyData KeysData_47; + public ImGuiKeyData KeysData_48; + public ImGuiKeyData KeysData_49; + public ImGuiKeyData KeysData_50; + public ImGuiKeyData KeysData_51; + public ImGuiKeyData KeysData_52; + public ImGuiKeyData KeysData_53; + public ImGuiKeyData KeysData_54; + public ImGuiKeyData KeysData_55; + public ImGuiKeyData KeysData_56; + public ImGuiKeyData KeysData_57; + public ImGuiKeyData KeysData_58; + public ImGuiKeyData KeysData_59; + public ImGuiKeyData KeysData_60; + public ImGuiKeyData KeysData_61; + public ImGuiKeyData KeysData_62; + public ImGuiKeyData KeysData_63; + public ImGuiKeyData KeysData_64; + public ImGuiKeyData KeysData_65; + public ImGuiKeyData KeysData_66; + public ImGuiKeyData KeysData_67; + public ImGuiKeyData KeysData_68; + public ImGuiKeyData KeysData_69; + public ImGuiKeyData KeysData_70; + public ImGuiKeyData KeysData_71; + public ImGuiKeyData KeysData_72; + public ImGuiKeyData KeysData_73; + public ImGuiKeyData KeysData_74; + public ImGuiKeyData KeysData_75; + public ImGuiKeyData KeysData_76; + public ImGuiKeyData KeysData_77; + public ImGuiKeyData KeysData_78; + public ImGuiKeyData KeysData_79; + public ImGuiKeyData KeysData_80; + public ImGuiKeyData KeysData_81; + public ImGuiKeyData KeysData_82; + public ImGuiKeyData KeysData_83; + public ImGuiKeyData KeysData_84; + public ImGuiKeyData KeysData_85; + public ImGuiKeyData KeysData_86; + public ImGuiKeyData KeysData_87; + public ImGuiKeyData KeysData_88; + public ImGuiKeyData KeysData_89; + public ImGuiKeyData KeysData_90; + public ImGuiKeyData KeysData_91; + public ImGuiKeyData KeysData_92; + public ImGuiKeyData KeysData_93; + public ImGuiKeyData KeysData_94; + public ImGuiKeyData KeysData_95; + public ImGuiKeyData KeysData_96; + public ImGuiKeyData KeysData_97; + public ImGuiKeyData KeysData_98; + public ImGuiKeyData KeysData_99; + public ImGuiKeyData KeysData_100; + public ImGuiKeyData KeysData_101; + public ImGuiKeyData KeysData_102; + public ImGuiKeyData KeysData_103; + public ImGuiKeyData KeysData_104; + public ImGuiKeyData KeysData_105; + public ImGuiKeyData KeysData_106; + public ImGuiKeyData KeysData_107; + public ImGuiKeyData KeysData_108; + public ImGuiKeyData KeysData_109; + public ImGuiKeyData KeysData_110; + public ImGuiKeyData KeysData_111; + public ImGuiKeyData KeysData_112; + public ImGuiKeyData KeysData_113; + public ImGuiKeyData KeysData_114; + public ImGuiKeyData KeysData_115; + public ImGuiKeyData KeysData_116; + public ImGuiKeyData KeysData_117; + public ImGuiKeyData KeysData_118; + public ImGuiKeyData KeysData_119; + public ImGuiKeyData KeysData_120; + public ImGuiKeyData KeysData_121; + public ImGuiKeyData KeysData_122; + public ImGuiKeyData KeysData_123; + public ImGuiKeyData KeysData_124; + public ImGuiKeyData KeysData_125; + public ImGuiKeyData KeysData_126; + public ImGuiKeyData KeysData_127; + public ImGuiKeyData KeysData_128; + public ImGuiKeyData KeysData_129; + public ImGuiKeyData KeysData_130; + public ImGuiKeyData KeysData_131; + public ImGuiKeyData KeysData_132; + public ImGuiKeyData KeysData_133; + public ImGuiKeyData KeysData_134; + public ImGuiKeyData KeysData_135; + public ImGuiKeyData KeysData_136; + public ImGuiKeyData KeysData_137; + public ImGuiKeyData KeysData_138; + public ImGuiKeyData KeysData_139; + public ImGuiKeyData KeysData_140; + public ImGuiKeyData KeysData_141; + public ImGuiKeyData KeysData_142; + public ImGuiKeyData KeysData_143; + public ImGuiKeyData KeysData_144; + public ImGuiKeyData KeysData_145; + public ImGuiKeyData KeysData_146; + public ImGuiKeyData KeysData_147; + public ImGuiKeyData KeysData_148; + public ImGuiKeyData KeysData_149; + public ImGuiKeyData KeysData_150; + public ImGuiKeyData KeysData_151; + public ImGuiKeyData KeysData_152; + public ImGuiKeyData KeysData_153; + public ImGuiKeyData KeysData_154; + public ImGuiKeyData KeysData_155; + public ImGuiKeyData KeysData_156; + public ImGuiKeyData KeysData_157; + public ImGuiKeyData KeysData_158; + public ImGuiKeyData KeysData_159; + public ImGuiKeyData KeysData_160; + public ImGuiKeyData KeysData_161; + public ImGuiKeyData KeysData_162; + public ImGuiKeyData KeysData_163; + public ImGuiKeyData KeysData_164; + public ImGuiKeyData KeysData_165; + public ImGuiKeyData KeysData_166; + public ImGuiKeyData KeysData_167; + public ImGuiKeyData KeysData_168; + public ImGuiKeyData KeysData_169; + public ImGuiKeyData KeysData_170; + public ImGuiKeyData KeysData_171; + public ImGuiKeyData KeysData_172; + public ImGuiKeyData KeysData_173; + public ImGuiKeyData KeysData_174; + public ImGuiKeyData KeysData_175; + public ImGuiKeyData KeysData_176; + public ImGuiKeyData KeysData_177; + public ImGuiKeyData KeysData_178; + public ImGuiKeyData KeysData_179; + public ImGuiKeyData KeysData_180; + public ImGuiKeyData KeysData_181; + public ImGuiKeyData KeysData_182; + public ImGuiKeyData KeysData_183; + public ImGuiKeyData KeysData_184; + public ImGuiKeyData KeysData_185; + public ImGuiKeyData KeysData_186; + public ImGuiKeyData KeysData_187; + public ImGuiKeyData KeysData_188; + public ImGuiKeyData KeysData_189; + public ImGuiKeyData KeysData_190; + public ImGuiKeyData KeysData_191; + public ImGuiKeyData KeysData_192; + public ImGuiKeyData KeysData_193; + public ImGuiKeyData KeysData_194; + public ImGuiKeyData KeysData_195; + public ImGuiKeyData KeysData_196; + public ImGuiKeyData KeysData_197; + public ImGuiKeyData KeysData_198; + public ImGuiKeyData KeysData_199; + public ImGuiKeyData KeysData_200; + public ImGuiKeyData KeysData_201; + public ImGuiKeyData KeysData_202; + public ImGuiKeyData KeysData_203; + public ImGuiKeyData KeysData_204; + public ImGuiKeyData KeysData_205; + public ImGuiKeyData KeysData_206; + public ImGuiKeyData KeysData_207; + public ImGuiKeyData KeysData_208; + public ImGuiKeyData KeysData_209; + public ImGuiKeyData KeysData_210; + public ImGuiKeyData KeysData_211; + public ImGuiKeyData KeysData_212; + public ImGuiKeyData KeysData_213; + public ImGuiKeyData KeysData_214; + public ImGuiKeyData KeysData_215; + public ImGuiKeyData KeysData_216; + public ImGuiKeyData KeysData_217; + public ImGuiKeyData KeysData_218; + public ImGuiKeyData KeysData_219; + public ImGuiKeyData KeysData_220; + public ImGuiKeyData KeysData_221; + public ImGuiKeyData KeysData_222; + public ImGuiKeyData KeysData_223; + public ImGuiKeyData KeysData_224; + public ImGuiKeyData KeysData_225; + public ImGuiKeyData KeysData_226; + public ImGuiKeyData KeysData_227; + public ImGuiKeyData KeysData_228; + public ImGuiKeyData KeysData_229; + public ImGuiKeyData KeysData_230; + public ImGuiKeyData KeysData_231; + public ImGuiKeyData KeysData_232; + public ImGuiKeyData KeysData_233; + public ImGuiKeyData KeysData_234; + public ImGuiKeyData KeysData_235; + public ImGuiKeyData KeysData_236; + public ImGuiKeyData KeysData_237; + public ImGuiKeyData KeysData_238; + public ImGuiKeyData KeysData_239; + public ImGuiKeyData KeysData_240; + public ImGuiKeyData KeysData_241; + public ImGuiKeyData KeysData_242; + public ImGuiKeyData KeysData_243; + public ImGuiKeyData KeysData_244; + public ImGuiKeyData KeysData_245; + public ImGuiKeyData KeysData_246; + public ImGuiKeyData KeysData_247; + public ImGuiKeyData KeysData_248; + public ImGuiKeyData KeysData_249; + public ImGuiKeyData KeysData_250; + public ImGuiKeyData KeysData_251; + public ImGuiKeyData KeysData_252; + public ImGuiKeyData KeysData_253; + public ImGuiKeyData KeysData_254; + public ImGuiKeyData KeysData_255; + public ImGuiKeyData KeysData_256; + public ImGuiKeyData KeysData_257; + public ImGuiKeyData KeysData_258; + public ImGuiKeyData KeysData_259; + public ImGuiKeyData KeysData_260; + public ImGuiKeyData KeysData_261; + public ImGuiKeyData KeysData_262; + public ImGuiKeyData KeysData_263; + public ImGuiKeyData KeysData_264; + public ImGuiKeyData KeysData_265; + public ImGuiKeyData KeysData_266; + public ImGuiKeyData KeysData_267; + public ImGuiKeyData KeysData_268; + public ImGuiKeyData KeysData_269; + public ImGuiKeyData KeysData_270; + public ImGuiKeyData KeysData_271; + public ImGuiKeyData KeysData_272; + public ImGuiKeyData KeysData_273; + public ImGuiKeyData KeysData_274; + public ImGuiKeyData KeysData_275; + public ImGuiKeyData KeysData_276; + public ImGuiKeyData KeysData_277; + public ImGuiKeyData KeysData_278; + public ImGuiKeyData KeysData_279; + public ImGuiKeyData KeysData_280; + public ImGuiKeyData KeysData_281; + public ImGuiKeyData KeysData_282; + public ImGuiKeyData KeysData_283; + public ImGuiKeyData KeysData_284; + public ImGuiKeyData KeysData_285; + public ImGuiKeyData KeysData_286; + public ImGuiKeyData KeysData_287; + public ImGuiKeyData KeysData_288; + public ImGuiKeyData KeysData_289; + public ImGuiKeyData KeysData_290; + public ImGuiKeyData KeysData_291; + public ImGuiKeyData KeysData_292; + public ImGuiKeyData KeysData_293; + public ImGuiKeyData KeysData_294; + public ImGuiKeyData KeysData_295; + public ImGuiKeyData KeysData_296; + public ImGuiKeyData KeysData_297; + public ImGuiKeyData KeysData_298; + public ImGuiKeyData KeysData_299; + public ImGuiKeyData KeysData_300; + public ImGuiKeyData KeysData_301; + public ImGuiKeyData KeysData_302; + public ImGuiKeyData KeysData_303; + public ImGuiKeyData KeysData_304; + public ImGuiKeyData KeysData_305; + public ImGuiKeyData KeysData_306; + public ImGuiKeyData KeysData_307; + public ImGuiKeyData KeysData_308; + public ImGuiKeyData KeysData_309; + public ImGuiKeyData KeysData_310; + public ImGuiKeyData KeysData_311; + public ImGuiKeyData KeysData_312; + public ImGuiKeyData KeysData_313; + public ImGuiKeyData KeysData_314; + public ImGuiKeyData KeysData_315; + public ImGuiKeyData KeysData_316; + public ImGuiKeyData KeysData_317; + public ImGuiKeyData KeysData_318; + public ImGuiKeyData KeysData_319; + public ImGuiKeyData KeysData_320; + public ImGuiKeyData KeysData_321; + public ImGuiKeyData KeysData_322; + public ImGuiKeyData KeysData_323; + public ImGuiKeyData KeysData_324; + public ImGuiKeyData KeysData_325; + public ImGuiKeyData KeysData_326; + public ImGuiKeyData KeysData_327; + public ImGuiKeyData KeysData_328; + public ImGuiKeyData KeysData_329; + public ImGuiKeyData KeysData_330; + public ImGuiKeyData KeysData_331; + public ImGuiKeyData KeysData_332; + public ImGuiKeyData KeysData_333; + public ImGuiKeyData KeysData_334; + public ImGuiKeyData KeysData_335; + public ImGuiKeyData KeysData_336; + public ImGuiKeyData KeysData_337; + public ImGuiKeyData KeysData_338; + public ImGuiKeyData KeysData_339; + public ImGuiKeyData KeysData_340; + public ImGuiKeyData KeysData_341; + public ImGuiKeyData KeysData_342; + public ImGuiKeyData KeysData_343; + public ImGuiKeyData KeysData_344; + public ImGuiKeyData KeysData_345; + public ImGuiKeyData KeysData_346; + public ImGuiKeyData KeysData_347; + public ImGuiKeyData KeysData_348; + public ImGuiKeyData KeysData_349; + public ImGuiKeyData KeysData_350; + public ImGuiKeyData KeysData_351; + public ImGuiKeyData KeysData_352; + public ImGuiKeyData KeysData_353; + public ImGuiKeyData KeysData_354; + public ImGuiKeyData KeysData_355; + public ImGuiKeyData KeysData_356; + public ImGuiKeyData KeysData_357; + public ImGuiKeyData KeysData_358; + public ImGuiKeyData KeysData_359; + public ImGuiKeyData KeysData_360; + public ImGuiKeyData KeysData_361; + public ImGuiKeyData KeysData_362; + public ImGuiKeyData KeysData_363; + public ImGuiKeyData KeysData_364; + public ImGuiKeyData KeysData_365; + public ImGuiKeyData KeysData_366; + public ImGuiKeyData KeysData_367; + public ImGuiKeyData KeysData_368; + public ImGuiKeyData KeysData_369; + public ImGuiKeyData KeysData_370; + public ImGuiKeyData KeysData_371; + public ImGuiKeyData KeysData_372; + public ImGuiKeyData KeysData_373; + public ImGuiKeyData KeysData_374; + public ImGuiKeyData KeysData_375; + public ImGuiKeyData KeysData_376; + public ImGuiKeyData KeysData_377; + public ImGuiKeyData KeysData_378; + public ImGuiKeyData KeysData_379; + public ImGuiKeyData KeysData_380; + public ImGuiKeyData KeysData_381; + public ImGuiKeyData KeysData_382; + public ImGuiKeyData KeysData_383; + public ImGuiKeyData KeysData_384; + public ImGuiKeyData KeysData_385; + public ImGuiKeyData KeysData_386; + public ImGuiKeyData KeysData_387; + public ImGuiKeyData KeysData_388; + public ImGuiKeyData KeysData_389; + public ImGuiKeyData KeysData_390; + public ImGuiKeyData KeysData_391; + public ImGuiKeyData KeysData_392; + public ImGuiKeyData KeysData_393; + public ImGuiKeyData KeysData_394; + public ImGuiKeyData KeysData_395; + public ImGuiKeyData KeysData_396; + public ImGuiKeyData KeysData_397; + public ImGuiKeyData KeysData_398; + public ImGuiKeyData KeysData_399; + public ImGuiKeyData KeysData_400; + public ImGuiKeyData KeysData_401; + public ImGuiKeyData KeysData_402; + public ImGuiKeyData KeysData_403; + public ImGuiKeyData KeysData_404; + public ImGuiKeyData KeysData_405; + public ImGuiKeyData KeysData_406; + public ImGuiKeyData KeysData_407; + public ImGuiKeyData KeysData_408; + public ImGuiKeyData KeysData_409; + public ImGuiKeyData KeysData_410; + public ImGuiKeyData KeysData_411; + public ImGuiKeyData KeysData_412; + public ImGuiKeyData KeysData_413; + public ImGuiKeyData KeysData_414; + public ImGuiKeyData KeysData_415; + public ImGuiKeyData KeysData_416; + public ImGuiKeyData KeysData_417; + public ImGuiKeyData KeysData_418; + public ImGuiKeyData KeysData_419; + public ImGuiKeyData KeysData_420; + public ImGuiKeyData KeysData_421; + public ImGuiKeyData KeysData_422; + public ImGuiKeyData KeysData_423; + public ImGuiKeyData KeysData_424; + public ImGuiKeyData KeysData_425; + public ImGuiKeyData KeysData_426; + public ImGuiKeyData KeysData_427; + public ImGuiKeyData KeysData_428; + public ImGuiKeyData KeysData_429; + public ImGuiKeyData KeysData_430; + public ImGuiKeyData KeysData_431; + public ImGuiKeyData KeysData_432; + public ImGuiKeyData KeysData_433; + public ImGuiKeyData KeysData_434; + public ImGuiKeyData KeysData_435; + public ImGuiKeyData KeysData_436; + public ImGuiKeyData KeysData_437; + public ImGuiKeyData KeysData_438; + public ImGuiKeyData KeysData_439; + public ImGuiKeyData KeysData_440; + public ImGuiKeyData KeysData_441; + public ImGuiKeyData KeysData_442; + public ImGuiKeyData KeysData_443; + public ImGuiKeyData KeysData_444; + public ImGuiKeyData KeysData_445; + public ImGuiKeyData KeysData_446; + public ImGuiKeyData KeysData_447; + public ImGuiKeyData KeysData_448; + public ImGuiKeyData KeysData_449; + public ImGuiKeyData KeysData_450; + public ImGuiKeyData KeysData_451; + public ImGuiKeyData KeysData_452; + public ImGuiKeyData KeysData_453; + public ImGuiKeyData KeysData_454; + public ImGuiKeyData KeysData_455; + public ImGuiKeyData KeysData_456; + public ImGuiKeyData KeysData_457; + public ImGuiKeyData KeysData_458; + public ImGuiKeyData KeysData_459; + public ImGuiKeyData KeysData_460; + public ImGuiKeyData KeysData_461; + public ImGuiKeyData KeysData_462; + public ImGuiKeyData KeysData_463; + public ImGuiKeyData KeysData_464; + public ImGuiKeyData KeysData_465; + public ImGuiKeyData KeysData_466; + public ImGuiKeyData KeysData_467; + public ImGuiKeyData KeysData_468; + public ImGuiKeyData KeysData_469; + public ImGuiKeyData KeysData_470; + public ImGuiKeyData KeysData_471; + public ImGuiKeyData KeysData_472; + public ImGuiKeyData KeysData_473; + public ImGuiKeyData KeysData_474; + public ImGuiKeyData KeysData_475; + public ImGuiKeyData KeysData_476; + public ImGuiKeyData KeysData_477; + public ImGuiKeyData KeysData_478; + public ImGuiKeyData KeysData_479; + public ImGuiKeyData KeysData_480; + public ImGuiKeyData KeysData_481; + public ImGuiKeyData KeysData_482; + public ImGuiKeyData KeysData_483; + public ImGuiKeyData KeysData_484; + public ImGuiKeyData KeysData_485; + public ImGuiKeyData KeysData_486; + public ImGuiKeyData KeysData_487; + public ImGuiKeyData KeysData_488; + public ImGuiKeyData KeysData_489; + public ImGuiKeyData KeysData_490; + public ImGuiKeyData KeysData_491; + public ImGuiKeyData KeysData_492; + public ImGuiKeyData KeysData_493; + public ImGuiKeyData KeysData_494; + public ImGuiKeyData KeysData_495; + public ImGuiKeyData KeysData_496; + public ImGuiKeyData KeysData_497; + public ImGuiKeyData KeysData_498; + public ImGuiKeyData KeysData_499; + public ImGuiKeyData KeysData_500; + public ImGuiKeyData KeysData_501; + public ImGuiKeyData KeysData_502; + public ImGuiKeyData KeysData_503; + public ImGuiKeyData KeysData_504; + public ImGuiKeyData KeysData_505; + public ImGuiKeyData KeysData_506; + public ImGuiKeyData KeysData_507; + public ImGuiKeyData KeysData_508; + public ImGuiKeyData KeysData_509; + public ImGuiKeyData KeysData_510; + public ImGuiKeyData KeysData_511; + public ImGuiKeyData KeysData_512; + public ImGuiKeyData KeysData_513; + public ImGuiKeyData KeysData_514; + public ImGuiKeyData KeysData_515; + public ImGuiKeyData KeysData_516; + public ImGuiKeyData KeysData_517; + public ImGuiKeyData KeysData_518; + public ImGuiKeyData KeysData_519; + public ImGuiKeyData KeysData_520; + public ImGuiKeyData KeysData_521; + public ImGuiKeyData KeysData_522; + public ImGuiKeyData KeysData_523; + public ImGuiKeyData KeysData_524; + public ImGuiKeyData KeysData_525; + public ImGuiKeyData KeysData_526; + public ImGuiKeyData KeysData_527; + public ImGuiKeyData KeysData_528; + public ImGuiKeyData KeysData_529; + public ImGuiKeyData KeysData_530; + public ImGuiKeyData KeysData_531; + public ImGuiKeyData KeysData_532; + public ImGuiKeyData KeysData_533; + public ImGuiKeyData KeysData_534; + public ImGuiKeyData KeysData_535; + public ImGuiKeyData KeysData_536; + public ImGuiKeyData KeysData_537; + public ImGuiKeyData KeysData_538; + public ImGuiKeyData KeysData_539; + public ImGuiKeyData KeysData_540; + public ImGuiKeyData KeysData_541; + public ImGuiKeyData KeysData_542; + public ImGuiKeyData KeysData_543; + public ImGuiKeyData KeysData_544; + public ImGuiKeyData KeysData_545; + public ImGuiKeyData KeysData_546; + public ImGuiKeyData KeysData_547; + public ImGuiKeyData KeysData_548; + public ImGuiKeyData KeysData_549; + public ImGuiKeyData KeysData_550; + public ImGuiKeyData KeysData_551; + public ImGuiKeyData KeysData_552; + public ImGuiKeyData KeysData_553; + public ImGuiKeyData KeysData_554; + public ImGuiKeyData KeysData_555; + public ImGuiKeyData KeysData_556; + public ImGuiKeyData KeysData_557; + public ImGuiKeyData KeysData_558; + public ImGuiKeyData KeysData_559; + public ImGuiKeyData KeysData_560; + public ImGuiKeyData KeysData_561; + public ImGuiKeyData KeysData_562; + public ImGuiKeyData KeysData_563; + public ImGuiKeyData KeysData_564; + public ImGuiKeyData KeysData_565; + public ImGuiKeyData KeysData_566; + public ImGuiKeyData KeysData_567; + public ImGuiKeyData KeysData_568; + public ImGuiKeyData KeysData_569; + public ImGuiKeyData KeysData_570; + public ImGuiKeyData KeysData_571; + public ImGuiKeyData KeysData_572; + public ImGuiKeyData KeysData_573; + public ImGuiKeyData KeysData_574; + public ImGuiKeyData KeysData_575; + public ImGuiKeyData KeysData_576; + public ImGuiKeyData KeysData_577; + public ImGuiKeyData KeysData_578; + public ImGuiKeyData KeysData_579; + public ImGuiKeyData KeysData_580; + public ImGuiKeyData KeysData_581; + public ImGuiKeyData KeysData_582; + public ImGuiKeyData KeysData_583; + public ImGuiKeyData KeysData_584; + public ImGuiKeyData KeysData_585; + public ImGuiKeyData KeysData_586; + public ImGuiKeyData KeysData_587; + public ImGuiKeyData KeysData_588; + public ImGuiKeyData KeysData_589; + public ImGuiKeyData KeysData_590; + public ImGuiKeyData KeysData_591; + public ImGuiKeyData KeysData_592; + public ImGuiKeyData KeysData_593; + public ImGuiKeyData KeysData_594; + public ImGuiKeyData KeysData_595; + public ImGuiKeyData KeysData_596; + public ImGuiKeyData KeysData_597; + public ImGuiKeyData KeysData_598; + public ImGuiKeyData KeysData_599; + public ImGuiKeyData KeysData_600; + public ImGuiKeyData KeysData_601; + public ImGuiKeyData KeysData_602; + public ImGuiKeyData KeysData_603; + public ImGuiKeyData KeysData_604; + public ImGuiKeyData KeysData_605; + public ImGuiKeyData KeysData_606; + public ImGuiKeyData KeysData_607; + public ImGuiKeyData KeysData_608; + public ImGuiKeyData KeysData_609; + public ImGuiKeyData KeysData_610; + public ImGuiKeyData KeysData_611; + public ImGuiKeyData KeysData_612; + public ImGuiKeyData KeysData_613; + public ImGuiKeyData KeysData_614; + public ImGuiKeyData KeysData_615; + public ImGuiKeyData KeysData_616; + public ImGuiKeyData KeysData_617; + public ImGuiKeyData KeysData_618; + public ImGuiKeyData KeysData_619; + public ImGuiKeyData KeysData_620; + public ImGuiKeyData KeysData_621; + public ImGuiKeyData KeysData_622; + public ImGuiKeyData KeysData_623; + public ImGuiKeyData KeysData_624; + public ImGuiKeyData KeysData_625; + public ImGuiKeyData KeysData_626; + public ImGuiKeyData KeysData_627; + public ImGuiKeyData KeysData_628; + public ImGuiKeyData KeysData_629; + public ImGuiKeyData KeysData_630; + public ImGuiKeyData KeysData_631; + public ImGuiKeyData KeysData_632; + public ImGuiKeyData KeysData_633; + public ImGuiKeyData KeysData_634; + public ImGuiKeyData KeysData_635; + public ImGuiKeyData KeysData_636; + public ImGuiKeyData KeysData_637; + public ImGuiKeyData KeysData_638; + public ImGuiKeyData KeysData_639; + public ImGuiKeyData KeysData_640; + public ImGuiKeyData KeysData_641; + public ImGuiKeyData KeysData_642; + public ImGuiKeyData KeysData_643; + public ImGuiKeyData KeysData_644; + public byte WantCaptureMouseUnlessPopupClose; + public Vector2 MousePosPrev; + public Vector2 MouseClickedPos_0; + public Vector2 MouseClickedPos_1; + public Vector2 MouseClickedPos_2; + public Vector2 MouseClickedPos_3; + public Vector2 MouseClickedPos_4; + public double MouseClickedTime_0; + public double MouseClickedTime_1; + public double MouseClickedTime_2; + public double MouseClickedTime_3; + public double MouseClickedTime_4; + public bool MouseClicked_0; + public bool MouseClicked_1; + public bool MouseClicked_2; + public bool MouseClicked_3; + public bool MouseClicked_4; + public bool MouseDoubleClicked_0; + public bool MouseDoubleClicked_1; + public bool MouseDoubleClicked_2; + public bool MouseDoubleClicked_3; + public bool MouseDoubleClicked_4; + public ushort MouseClickedCount_0; + public ushort MouseClickedCount_1; + public ushort MouseClickedCount_2; + public ushort MouseClickedCount_3; + public ushort MouseClickedCount_4; + public ushort MouseClickedLastCount_0; + public ushort MouseClickedLastCount_1; + public ushort MouseClickedLastCount_2; + public ushort MouseClickedLastCount_3; + public ushort MouseClickedLastCount_4; + public bool MouseReleased_0; + public bool MouseReleased_1; + public bool MouseReleased_2; + public bool MouseReleased_3; + public bool MouseReleased_4; + public bool MouseDownOwned_0; + public bool MouseDownOwned_1; + public bool MouseDownOwned_2; + public bool MouseDownOwned_3; + public bool MouseDownOwned_4; + public bool MouseDownOwnedUnlessPopupClose_0; + public bool MouseDownOwnedUnlessPopupClose_1; + public bool MouseDownOwnedUnlessPopupClose_2; + public bool MouseDownOwnedUnlessPopupClose_3; + public bool MouseDownOwnedUnlessPopupClose_4; + public float MouseDownDuration_0; + public float MouseDownDuration_1; + public float MouseDownDuration_2; + public float MouseDownDuration_3; + public float MouseDownDuration_4; + public float MouseDownDurationPrev_0; + public float MouseDownDurationPrev_1; + public float MouseDownDurationPrev_2; + public float MouseDownDurationPrev_3; + public float MouseDownDurationPrev_4; + public Vector2 MouseDragMaxDistanceAbs_0; + public Vector2 MouseDragMaxDistanceAbs_1; + public Vector2 MouseDragMaxDistanceAbs_2; + public Vector2 MouseDragMaxDistanceAbs_3; + public Vector2 MouseDragMaxDistanceAbs_4; + public float MouseDragMaxDistanceSqr_0; + public float MouseDragMaxDistanceSqr_1; + public float MouseDragMaxDistanceSqr_2; + public float MouseDragMaxDistanceSqr_3; + public float MouseDragMaxDistanceSqr_4; + public float NavInputsDownDuration_0; + public float NavInputsDownDuration_1; + public float NavInputsDownDuration_2; + public float NavInputsDownDuration_3; + public float NavInputsDownDuration_4; + public float NavInputsDownDuration_5; + public float NavInputsDownDuration_6; + public float NavInputsDownDuration_7; + public float NavInputsDownDuration_8; + public float NavInputsDownDuration_9; + public float NavInputsDownDuration_10; + public float NavInputsDownDuration_11; + public float NavInputsDownDuration_12; + public float NavInputsDownDuration_13; + public float NavInputsDownDuration_14; + public float NavInputsDownDuration_15; + public float NavInputsDownDuration_16; + public float NavInputsDownDuration_17; + public float NavInputsDownDuration_18; + public float NavInputsDownDuration_19; + public float NavInputsDownDuration_20; + public float NavInputsDownDurationPrev_0; + public float NavInputsDownDurationPrev_1; + public float NavInputsDownDurationPrev_2; + public float NavInputsDownDurationPrev_3; + public float NavInputsDownDurationPrev_4; + public float NavInputsDownDurationPrev_5; + public float NavInputsDownDurationPrev_6; + public float NavInputsDownDurationPrev_7; + public float NavInputsDownDurationPrev_8; + public float NavInputsDownDurationPrev_9; + public float NavInputsDownDurationPrev_10; + public float NavInputsDownDurationPrev_11; + public float NavInputsDownDurationPrev_12; + public float NavInputsDownDurationPrev_13; + public float NavInputsDownDurationPrev_14; + public float NavInputsDownDurationPrev_15; + public float NavInputsDownDurationPrev_16; + public float NavInputsDownDurationPrev_17; + public float NavInputsDownDurationPrev_18; + public float NavInputsDownDurationPrev_19; + public float NavInputsDownDurationPrev_20; + public float PenPressure; + public byte AppFocusLost; + public byte AppAcceptingEvents; + public sbyte BackendUsingLegacyKeyArrays; + public byte BackendUsingLegacyNavInputArray; + public ushort InputQueueSurrogate; + public ImVector InputQueueCharacters; + public unsafe ImGuiIO(ImGuiConfigFlags configFlags = default, ImGuiBackendFlags backendFlags = default, Vector2 displaySize = default, float deltaTime = default, float iniSavingRate = default, byte* iniFilename = default, byte* logFilename = default, float mouseDoubleClickTime = default, float mouseDoubleClickMaxDist = default, float mouseDragThreshold = default, float keyRepeatDelay = default, float keyRepeatRate = default, void* userData = default, ImFontAtlasPtr fonts = default, float fontGlobalScale = default, bool fontAllowUserScaling = default, ImFontPtr fontDefault = default, Vector2 displayFramebufferScale = default, bool configDockingNoSplit = default, bool configDockingWithShift = default, bool configDockingAlwaysTabBar = default, bool configDockingTransparentPayload = default, bool configViewportsNoAutoMerge = default, bool configViewportsNoTaskBarIcon = default, bool configViewportsNoDecoration = default, bool configViewportsNoDefaultParent = default, bool mouseDrawCursor = default, bool configMacOsxBehaviors = default, bool configInputTrickleEventQueue = default, bool configInputTextCursorBlink = default, bool configDragClickToInputText = default, bool configWindowsResizeFromEdges = default, bool configWindowsMoveFromTitleBarOnly = default, float configMemoryCompactTimer = default, byte* backendPlatformName = default, byte* backendRendererName = default, void* backendPlatformUserData = default, void* backendRendererUserData = default, void* backendLanguageUserData = default, delegate* getClipboardTextFn = default, delegate* setClipboardTextFn = default, void* clipboardUserData = default, delegate* setPlatformImeDataFn = default, void* unusedPadding = default, bool wantCaptureMouse = default, bool wantCaptureKeyboard = default, bool wantTextInput = default, bool wantSetMousePos = default, bool wantSaveIniSettings = default, bool navActive = default, bool navVisible = default, float framerate = default, int metricsRenderVertices = default, int metricsRenderIndices = default, int metricsRenderWindows = default, int metricsActiveWindows = default, int metricsActiveAllocations = default, Vector2 mouseDelta = default, int* keyMap = default, bool* keysDown = default, Vector2 mousePos = default, bool* mouseDown = default, float mouseWheel = default, float mouseWheelH = default, uint mouseHoveredViewport = default, bool keyCtrl = default, bool keyShift = default, bool keyAlt = default, bool keySuper = default, float* navInputs = default, ImGuiModFlags keyMods = default, ImGuiKeyData* keysData = default, bool wantCaptureMouseUnlessPopupClose = default, Vector2 mousePosPrev = default, Vector2* mouseClickedPos = default, double* mouseClickedTime = default, bool* mouseClicked = default, bool* mouseDoubleClicked = default, ushort* mouseClickedCount = default, ushort* mouseClickedLastCount = default, bool* mouseReleased = default, bool* mouseDownOwned = default, bool* mouseDownOwnedUnlessPopupClose = default, float* mouseDownDuration = default, float* mouseDownDurationPrev = default, Vector2* mouseDragMaxDistanceAbs = default, float* mouseDragMaxDistanceSqr = default, float* navInputsDownDuration = default, float* navInputsDownDurationPrev = default, float penPressure = default, bool appFocusLost = default, bool appAcceptingEvents = default, sbyte backendUsingLegacyKeyArrays = default, bool backendUsingLegacyNavInputArray = default, ushort inputQueueSurrogate = default, ImVector inputQueueCharacters = default) + { + ConfigFlags = configFlags; + BackendFlags = backendFlags; + DisplaySize = displaySize; + DeltaTime = deltaTime; + IniSavingRate = iniSavingRate; + IniFilename = iniFilename; + LogFilename = logFilename; + MouseDoubleClickTime = mouseDoubleClickTime; + MouseDoubleClickMaxDist = mouseDoubleClickMaxDist; + MouseDragThreshold = mouseDragThreshold; + KeyRepeatDelay = keyRepeatDelay; + KeyRepeatRate = keyRepeatRate; + UserData = userData; + Fonts = fonts; + FontGlobalScale = fontGlobalScale; + FontAllowUserScaling = fontAllowUserScaling ? (byte)1 : (byte)0; + FontDefault = fontDefault; + DisplayFramebufferScale = displayFramebufferScale; + ConfigDockingNoSplit = configDockingNoSplit ? (byte)1 : (byte)0; + ConfigDockingWithShift = configDockingWithShift ? (byte)1 : (byte)0; + ConfigDockingAlwaysTabBar = configDockingAlwaysTabBar ? (byte)1 : (byte)0; + ConfigDockingTransparentPayload = configDockingTransparentPayload ? (byte)1 : (byte)0; + ConfigViewportsNoAutoMerge = configViewportsNoAutoMerge ? (byte)1 : (byte)0; + ConfigViewportsNoTaskBarIcon = configViewportsNoTaskBarIcon ? (byte)1 : (byte)0; + ConfigViewportsNoDecoration = configViewportsNoDecoration ? (byte)1 : (byte)0; + ConfigViewportsNoDefaultParent = configViewportsNoDefaultParent ? (byte)1 : (byte)0; + MouseDrawCursor = mouseDrawCursor ? (byte)1 : (byte)0; + ConfigMacOSXBehaviors = configMacOsxBehaviors ? (byte)1 : (byte)0; + ConfigInputTrickleEventQueue = configInputTrickleEventQueue ? (byte)1 : (byte)0; + ConfigInputTextCursorBlink = configInputTextCursorBlink ? (byte)1 : (byte)0; + ConfigDragClickToInputText = configDragClickToInputText ? (byte)1 : (byte)0; + ConfigWindowsResizeFromEdges = configWindowsResizeFromEdges ? (byte)1 : (byte)0; + ConfigWindowsMoveFromTitleBarOnly = configWindowsMoveFromTitleBarOnly ? (byte)1 : (byte)0; + ConfigMemoryCompactTimer = configMemoryCompactTimer; + BackendPlatformName = backendPlatformName; + BackendRendererName = backendRendererName; + BackendPlatformUserData = backendPlatformUserData; + BackendRendererUserData = backendRendererUserData; + BackendLanguageUserData = backendLanguageUserData; + GetClipboardTextFn = (void*)getClipboardTextFn; + SetClipboardTextFn = (void*)setClipboardTextFn; + ClipboardUserData = clipboardUserData; + SetPlatformImeDataFn = (void*)setPlatformImeDataFn; + UnusedPadding = unusedPadding; + WantCaptureMouse = wantCaptureMouse ? (byte)1 : (byte)0; + WantCaptureKeyboard = wantCaptureKeyboard ? (byte)1 : (byte)0; + WantTextInput = wantTextInput ? (byte)1 : (byte)0; + WantSetMousePos = wantSetMousePos ? (byte)1 : (byte)0; + WantSaveIniSettings = wantSaveIniSettings ? (byte)1 : (byte)0; + NavActive = navActive ? (byte)1 : (byte)0; + NavVisible = navVisible ? (byte)1 : (byte)0; + Framerate = framerate; + MetricsRenderVertices = metricsRenderVertices; + MetricsRenderIndices = metricsRenderIndices; + MetricsRenderWindows = metricsRenderWindows; + MetricsActiveWindows = metricsActiveWindows; + MetricsActiveAllocations = metricsActiveAllocations; + MouseDelta = mouseDelta; + if (keyMap != default(int*)) + { + KeyMap_0 = keyMap[0]; + KeyMap_1 = keyMap[1]; + KeyMap_2 = keyMap[2]; + KeyMap_3 = keyMap[3]; + KeyMap_4 = keyMap[4]; + KeyMap_5 = keyMap[5]; + KeyMap_6 = keyMap[6]; + KeyMap_7 = keyMap[7]; + KeyMap_8 = keyMap[8]; + KeyMap_9 = keyMap[9]; + KeyMap_10 = keyMap[10]; + KeyMap_11 = keyMap[11]; + KeyMap_12 = keyMap[12]; + KeyMap_13 = keyMap[13]; + KeyMap_14 = keyMap[14]; + KeyMap_15 = keyMap[15]; + KeyMap_16 = keyMap[16]; + KeyMap_17 = keyMap[17]; + KeyMap_18 = keyMap[18]; + KeyMap_19 = keyMap[19]; + KeyMap_20 = keyMap[20]; + KeyMap_21 = keyMap[21]; + KeyMap_22 = keyMap[22]; + KeyMap_23 = keyMap[23]; + KeyMap_24 = keyMap[24]; + KeyMap_25 = keyMap[25]; + KeyMap_26 = keyMap[26]; + KeyMap_27 = keyMap[27]; + KeyMap_28 = keyMap[28]; + KeyMap_29 = keyMap[29]; + KeyMap_30 = keyMap[30]; + KeyMap_31 = keyMap[31]; + KeyMap_32 = keyMap[32]; + KeyMap_33 = keyMap[33]; + KeyMap_34 = keyMap[34]; + KeyMap_35 = keyMap[35]; + KeyMap_36 = keyMap[36]; + KeyMap_37 = keyMap[37]; + KeyMap_38 = keyMap[38]; + KeyMap_39 = keyMap[39]; + KeyMap_40 = keyMap[40]; + KeyMap_41 = keyMap[41]; + KeyMap_42 = keyMap[42]; + KeyMap_43 = keyMap[43]; + KeyMap_44 = keyMap[44]; + KeyMap_45 = keyMap[45]; + KeyMap_46 = keyMap[46]; + KeyMap_47 = keyMap[47]; + KeyMap_48 = keyMap[48]; + KeyMap_49 = keyMap[49]; + KeyMap_50 = keyMap[50]; + KeyMap_51 = keyMap[51]; + KeyMap_52 = keyMap[52]; + KeyMap_53 = keyMap[53]; + KeyMap_54 = keyMap[54]; + KeyMap_55 = keyMap[55]; + KeyMap_56 = keyMap[56]; + KeyMap_57 = keyMap[57]; + KeyMap_58 = keyMap[58]; + KeyMap_59 = keyMap[59]; + KeyMap_60 = keyMap[60]; + KeyMap_61 = keyMap[61]; + KeyMap_62 = keyMap[62]; + KeyMap_63 = keyMap[63]; + KeyMap_64 = keyMap[64]; + KeyMap_65 = keyMap[65]; + KeyMap_66 = keyMap[66]; + KeyMap_67 = keyMap[67]; + KeyMap_68 = keyMap[68]; + KeyMap_69 = keyMap[69]; + KeyMap_70 = keyMap[70]; + KeyMap_71 = keyMap[71]; + KeyMap_72 = keyMap[72]; + KeyMap_73 = keyMap[73]; + KeyMap_74 = keyMap[74]; + KeyMap_75 = keyMap[75]; + KeyMap_76 = keyMap[76]; + KeyMap_77 = keyMap[77]; + KeyMap_78 = keyMap[78]; + KeyMap_79 = keyMap[79]; + KeyMap_80 = keyMap[80]; + KeyMap_81 = keyMap[81]; + KeyMap_82 = keyMap[82]; + KeyMap_83 = keyMap[83]; + KeyMap_84 = keyMap[84]; + KeyMap_85 = keyMap[85]; + KeyMap_86 = keyMap[86]; + KeyMap_87 = keyMap[87]; + KeyMap_88 = keyMap[88]; + KeyMap_89 = keyMap[89]; + KeyMap_90 = keyMap[90]; + KeyMap_91 = keyMap[91]; + KeyMap_92 = keyMap[92]; + KeyMap_93 = keyMap[93]; + KeyMap_94 = keyMap[94]; + KeyMap_95 = keyMap[95]; + KeyMap_96 = keyMap[96]; + KeyMap_97 = keyMap[97]; + KeyMap_98 = keyMap[98]; + KeyMap_99 = keyMap[99]; + KeyMap_100 = keyMap[100]; + KeyMap_101 = keyMap[101]; + KeyMap_102 = keyMap[102]; + KeyMap_103 = keyMap[103]; + KeyMap_104 = keyMap[104]; + KeyMap_105 = keyMap[105]; + KeyMap_106 = keyMap[106]; + KeyMap_107 = keyMap[107]; + KeyMap_108 = keyMap[108]; + KeyMap_109 = keyMap[109]; + KeyMap_110 = keyMap[110]; + KeyMap_111 = keyMap[111]; + KeyMap_112 = keyMap[112]; + KeyMap_113 = keyMap[113]; + KeyMap_114 = keyMap[114]; + KeyMap_115 = keyMap[115]; + KeyMap_116 = keyMap[116]; + KeyMap_117 = keyMap[117]; + KeyMap_118 = keyMap[118]; + KeyMap_119 = keyMap[119]; + KeyMap_120 = keyMap[120]; + KeyMap_121 = keyMap[121]; + KeyMap_122 = keyMap[122]; + KeyMap_123 = keyMap[123]; + KeyMap_124 = keyMap[124]; + KeyMap_125 = keyMap[125]; + KeyMap_126 = keyMap[126]; + KeyMap_127 = keyMap[127]; + KeyMap_128 = keyMap[128]; + KeyMap_129 = keyMap[129]; + KeyMap_130 = keyMap[130]; + KeyMap_131 = keyMap[131]; + KeyMap_132 = keyMap[132]; + KeyMap_133 = keyMap[133]; + KeyMap_134 = keyMap[134]; + KeyMap_135 = keyMap[135]; + KeyMap_136 = keyMap[136]; + KeyMap_137 = keyMap[137]; + KeyMap_138 = keyMap[138]; + KeyMap_139 = keyMap[139]; + KeyMap_140 = keyMap[140]; + KeyMap_141 = keyMap[141]; + KeyMap_142 = keyMap[142]; + KeyMap_143 = keyMap[143]; + KeyMap_144 = keyMap[144]; + KeyMap_145 = keyMap[145]; + KeyMap_146 = keyMap[146]; + KeyMap_147 = keyMap[147]; + KeyMap_148 = keyMap[148]; + KeyMap_149 = keyMap[149]; + KeyMap_150 = keyMap[150]; + KeyMap_151 = keyMap[151]; + KeyMap_152 = keyMap[152]; + KeyMap_153 = keyMap[153]; + KeyMap_154 = keyMap[154]; + KeyMap_155 = keyMap[155]; + KeyMap_156 = keyMap[156]; + KeyMap_157 = keyMap[157]; + KeyMap_158 = keyMap[158]; + KeyMap_159 = keyMap[159]; + KeyMap_160 = keyMap[160]; + KeyMap_161 = keyMap[161]; + KeyMap_162 = keyMap[162]; + KeyMap_163 = keyMap[163]; + KeyMap_164 = keyMap[164]; + KeyMap_165 = keyMap[165]; + KeyMap_166 = keyMap[166]; + KeyMap_167 = keyMap[167]; + KeyMap_168 = keyMap[168]; + KeyMap_169 = keyMap[169]; + KeyMap_170 = keyMap[170]; + KeyMap_171 = keyMap[171]; + KeyMap_172 = keyMap[172]; + KeyMap_173 = keyMap[173]; + KeyMap_174 = keyMap[174]; + KeyMap_175 = keyMap[175]; + KeyMap_176 = keyMap[176]; + KeyMap_177 = keyMap[177]; + KeyMap_178 = keyMap[178]; + KeyMap_179 = keyMap[179]; + KeyMap_180 = keyMap[180]; + KeyMap_181 = keyMap[181]; + KeyMap_182 = keyMap[182]; + KeyMap_183 = keyMap[183]; + KeyMap_184 = keyMap[184]; + KeyMap_185 = keyMap[185]; + KeyMap_186 = keyMap[186]; + KeyMap_187 = keyMap[187]; + KeyMap_188 = keyMap[188]; + KeyMap_189 = keyMap[189]; + KeyMap_190 = keyMap[190]; + KeyMap_191 = keyMap[191]; + KeyMap_192 = keyMap[192]; + KeyMap_193 = keyMap[193]; + KeyMap_194 = keyMap[194]; + KeyMap_195 = keyMap[195]; + KeyMap_196 = keyMap[196]; + KeyMap_197 = keyMap[197]; + KeyMap_198 = keyMap[198]; + KeyMap_199 = keyMap[199]; + KeyMap_200 = keyMap[200]; + KeyMap_201 = keyMap[201]; + KeyMap_202 = keyMap[202]; + KeyMap_203 = keyMap[203]; + KeyMap_204 = keyMap[204]; + KeyMap_205 = keyMap[205]; + KeyMap_206 = keyMap[206]; + KeyMap_207 = keyMap[207]; + KeyMap_208 = keyMap[208]; + KeyMap_209 = keyMap[209]; + KeyMap_210 = keyMap[210]; + KeyMap_211 = keyMap[211]; + KeyMap_212 = keyMap[212]; + KeyMap_213 = keyMap[213]; + KeyMap_214 = keyMap[214]; + KeyMap_215 = keyMap[215]; + KeyMap_216 = keyMap[216]; + KeyMap_217 = keyMap[217]; + KeyMap_218 = keyMap[218]; + KeyMap_219 = keyMap[219]; + KeyMap_220 = keyMap[220]; + KeyMap_221 = keyMap[221]; + KeyMap_222 = keyMap[222]; + KeyMap_223 = keyMap[223]; + KeyMap_224 = keyMap[224]; + KeyMap_225 = keyMap[225]; + KeyMap_226 = keyMap[226]; + KeyMap_227 = keyMap[227]; + KeyMap_228 = keyMap[228]; + KeyMap_229 = keyMap[229]; + KeyMap_230 = keyMap[230]; + KeyMap_231 = keyMap[231]; + KeyMap_232 = keyMap[232]; + KeyMap_233 = keyMap[233]; + KeyMap_234 = keyMap[234]; + KeyMap_235 = keyMap[235]; + KeyMap_236 = keyMap[236]; + KeyMap_237 = keyMap[237]; + KeyMap_238 = keyMap[238]; + KeyMap_239 = keyMap[239]; + KeyMap_240 = keyMap[240]; + KeyMap_241 = keyMap[241]; + KeyMap_242 = keyMap[242]; + KeyMap_243 = keyMap[243]; + KeyMap_244 = keyMap[244]; + KeyMap_245 = keyMap[245]; + KeyMap_246 = keyMap[246]; + KeyMap_247 = keyMap[247]; + KeyMap_248 = keyMap[248]; + KeyMap_249 = keyMap[249]; + KeyMap_250 = keyMap[250]; + KeyMap_251 = keyMap[251]; + KeyMap_252 = keyMap[252]; + KeyMap_253 = keyMap[253]; + KeyMap_254 = keyMap[254]; + KeyMap_255 = keyMap[255]; + KeyMap_256 = keyMap[256]; + KeyMap_257 = keyMap[257]; + KeyMap_258 = keyMap[258]; + KeyMap_259 = keyMap[259]; + KeyMap_260 = keyMap[260]; + KeyMap_261 = keyMap[261]; + KeyMap_262 = keyMap[262]; + KeyMap_263 = keyMap[263]; + KeyMap_264 = keyMap[264]; + KeyMap_265 = keyMap[265]; + KeyMap_266 = keyMap[266]; + KeyMap_267 = keyMap[267]; + KeyMap_268 = keyMap[268]; + KeyMap_269 = keyMap[269]; + KeyMap_270 = keyMap[270]; + KeyMap_271 = keyMap[271]; + KeyMap_272 = keyMap[272]; + KeyMap_273 = keyMap[273]; + KeyMap_274 = keyMap[274]; + KeyMap_275 = keyMap[275]; + KeyMap_276 = keyMap[276]; + KeyMap_277 = keyMap[277]; + KeyMap_278 = keyMap[278]; + KeyMap_279 = keyMap[279]; + KeyMap_280 = keyMap[280]; + KeyMap_281 = keyMap[281]; + KeyMap_282 = keyMap[282]; + KeyMap_283 = keyMap[283]; + KeyMap_284 = keyMap[284]; + KeyMap_285 = keyMap[285]; + KeyMap_286 = keyMap[286]; + KeyMap_287 = keyMap[287]; + KeyMap_288 = keyMap[288]; + KeyMap_289 = keyMap[289]; + KeyMap_290 = keyMap[290]; + KeyMap_291 = keyMap[291]; + KeyMap_292 = keyMap[292]; + KeyMap_293 = keyMap[293]; + KeyMap_294 = keyMap[294]; + KeyMap_295 = keyMap[295]; + KeyMap_296 = keyMap[296]; + KeyMap_297 = keyMap[297]; + KeyMap_298 = keyMap[298]; + KeyMap_299 = keyMap[299]; + KeyMap_300 = keyMap[300]; + KeyMap_301 = keyMap[301]; + KeyMap_302 = keyMap[302]; + KeyMap_303 = keyMap[303]; + KeyMap_304 = keyMap[304]; + KeyMap_305 = keyMap[305]; + KeyMap_306 = keyMap[306]; + KeyMap_307 = keyMap[307]; + KeyMap_308 = keyMap[308]; + KeyMap_309 = keyMap[309]; + KeyMap_310 = keyMap[310]; + KeyMap_311 = keyMap[311]; + KeyMap_312 = keyMap[312]; + KeyMap_313 = keyMap[313]; + KeyMap_314 = keyMap[314]; + KeyMap_315 = keyMap[315]; + KeyMap_316 = keyMap[316]; + KeyMap_317 = keyMap[317]; + KeyMap_318 = keyMap[318]; + KeyMap_319 = keyMap[319]; + KeyMap_320 = keyMap[320]; + KeyMap_321 = keyMap[321]; + KeyMap_322 = keyMap[322]; + KeyMap_323 = keyMap[323]; + KeyMap_324 = keyMap[324]; + KeyMap_325 = keyMap[325]; + KeyMap_326 = keyMap[326]; + KeyMap_327 = keyMap[327]; + KeyMap_328 = keyMap[328]; + KeyMap_329 = keyMap[329]; + KeyMap_330 = keyMap[330]; + KeyMap_331 = keyMap[331]; + KeyMap_332 = keyMap[332]; + KeyMap_333 = keyMap[333]; + KeyMap_334 = keyMap[334]; + KeyMap_335 = keyMap[335]; + KeyMap_336 = keyMap[336]; + KeyMap_337 = keyMap[337]; + KeyMap_338 = keyMap[338]; + KeyMap_339 = keyMap[339]; + KeyMap_340 = keyMap[340]; + KeyMap_341 = keyMap[341]; + KeyMap_342 = keyMap[342]; + KeyMap_343 = keyMap[343]; + KeyMap_344 = keyMap[344]; + KeyMap_345 = keyMap[345]; + KeyMap_346 = keyMap[346]; + KeyMap_347 = keyMap[347]; + KeyMap_348 = keyMap[348]; + KeyMap_349 = keyMap[349]; + KeyMap_350 = keyMap[350]; + KeyMap_351 = keyMap[351]; + KeyMap_352 = keyMap[352]; + KeyMap_353 = keyMap[353]; + KeyMap_354 = keyMap[354]; + KeyMap_355 = keyMap[355]; + KeyMap_356 = keyMap[356]; + KeyMap_357 = keyMap[357]; + KeyMap_358 = keyMap[358]; + KeyMap_359 = keyMap[359]; + KeyMap_360 = keyMap[360]; + KeyMap_361 = keyMap[361]; + KeyMap_362 = keyMap[362]; + KeyMap_363 = keyMap[363]; + KeyMap_364 = keyMap[364]; + KeyMap_365 = keyMap[365]; + KeyMap_366 = keyMap[366]; + KeyMap_367 = keyMap[367]; + KeyMap_368 = keyMap[368]; + KeyMap_369 = keyMap[369]; + KeyMap_370 = keyMap[370]; + KeyMap_371 = keyMap[371]; + KeyMap_372 = keyMap[372]; + KeyMap_373 = keyMap[373]; + KeyMap_374 = keyMap[374]; + KeyMap_375 = keyMap[375]; + KeyMap_376 = keyMap[376]; + KeyMap_377 = keyMap[377]; + KeyMap_378 = keyMap[378]; + KeyMap_379 = keyMap[379]; + KeyMap_380 = keyMap[380]; + KeyMap_381 = keyMap[381]; + KeyMap_382 = keyMap[382]; + KeyMap_383 = keyMap[383]; + KeyMap_384 = keyMap[384]; + KeyMap_385 = keyMap[385]; + KeyMap_386 = keyMap[386]; + KeyMap_387 = keyMap[387]; + KeyMap_388 = keyMap[388]; + KeyMap_389 = keyMap[389]; + KeyMap_390 = keyMap[390]; + KeyMap_391 = keyMap[391]; + KeyMap_392 = keyMap[392]; + KeyMap_393 = keyMap[393]; + KeyMap_394 = keyMap[394]; + KeyMap_395 = keyMap[395]; + KeyMap_396 = keyMap[396]; + KeyMap_397 = keyMap[397]; + KeyMap_398 = keyMap[398]; + KeyMap_399 = keyMap[399]; + KeyMap_400 = keyMap[400]; + KeyMap_401 = keyMap[401]; + KeyMap_402 = keyMap[402]; + KeyMap_403 = keyMap[403]; + KeyMap_404 = keyMap[404]; + KeyMap_405 = keyMap[405]; + KeyMap_406 = keyMap[406]; + KeyMap_407 = keyMap[407]; + KeyMap_408 = keyMap[408]; + KeyMap_409 = keyMap[409]; + KeyMap_410 = keyMap[410]; + KeyMap_411 = keyMap[411]; + KeyMap_412 = keyMap[412]; + KeyMap_413 = keyMap[413]; + KeyMap_414 = keyMap[414]; + KeyMap_415 = keyMap[415]; + KeyMap_416 = keyMap[416]; + KeyMap_417 = keyMap[417]; + KeyMap_418 = keyMap[418]; + KeyMap_419 = keyMap[419]; + KeyMap_420 = keyMap[420]; + KeyMap_421 = keyMap[421]; + KeyMap_422 = keyMap[422]; + KeyMap_423 = keyMap[423]; + KeyMap_424 = keyMap[424]; + KeyMap_425 = keyMap[425]; + KeyMap_426 = keyMap[426]; + KeyMap_427 = keyMap[427]; + KeyMap_428 = keyMap[428]; + KeyMap_429 = keyMap[429]; + KeyMap_430 = keyMap[430]; + KeyMap_431 = keyMap[431]; + KeyMap_432 = keyMap[432]; + KeyMap_433 = keyMap[433]; + KeyMap_434 = keyMap[434]; + KeyMap_435 = keyMap[435]; + KeyMap_436 = keyMap[436]; + KeyMap_437 = keyMap[437]; + KeyMap_438 = keyMap[438]; + KeyMap_439 = keyMap[439]; + KeyMap_440 = keyMap[440]; + KeyMap_441 = keyMap[441]; + KeyMap_442 = keyMap[442]; + KeyMap_443 = keyMap[443]; + KeyMap_444 = keyMap[444]; + KeyMap_445 = keyMap[445]; + KeyMap_446 = keyMap[446]; + KeyMap_447 = keyMap[447]; + KeyMap_448 = keyMap[448]; + KeyMap_449 = keyMap[449]; + KeyMap_450 = keyMap[450]; + KeyMap_451 = keyMap[451]; + KeyMap_452 = keyMap[452]; + KeyMap_453 = keyMap[453]; + KeyMap_454 = keyMap[454]; + KeyMap_455 = keyMap[455]; + KeyMap_456 = keyMap[456]; + KeyMap_457 = keyMap[457]; + KeyMap_458 = keyMap[458]; + KeyMap_459 = keyMap[459]; + KeyMap_460 = keyMap[460]; + KeyMap_461 = keyMap[461]; + KeyMap_462 = keyMap[462]; + KeyMap_463 = keyMap[463]; + KeyMap_464 = keyMap[464]; + KeyMap_465 = keyMap[465]; + KeyMap_466 = keyMap[466]; + KeyMap_467 = keyMap[467]; + KeyMap_468 = keyMap[468]; + KeyMap_469 = keyMap[469]; + KeyMap_470 = keyMap[470]; + KeyMap_471 = keyMap[471]; + KeyMap_472 = keyMap[472]; + KeyMap_473 = keyMap[473]; + KeyMap_474 = keyMap[474]; + KeyMap_475 = keyMap[475]; + KeyMap_476 = keyMap[476]; + KeyMap_477 = keyMap[477]; + KeyMap_478 = keyMap[478]; + KeyMap_479 = keyMap[479]; + KeyMap_480 = keyMap[480]; + KeyMap_481 = keyMap[481]; + KeyMap_482 = keyMap[482]; + KeyMap_483 = keyMap[483]; + KeyMap_484 = keyMap[484]; + KeyMap_485 = keyMap[485]; + KeyMap_486 = keyMap[486]; + KeyMap_487 = keyMap[487]; + KeyMap_488 = keyMap[488]; + KeyMap_489 = keyMap[489]; + KeyMap_490 = keyMap[490]; + KeyMap_491 = keyMap[491]; + KeyMap_492 = keyMap[492]; + KeyMap_493 = keyMap[493]; + KeyMap_494 = keyMap[494]; + KeyMap_495 = keyMap[495]; + KeyMap_496 = keyMap[496]; + KeyMap_497 = keyMap[497]; + KeyMap_498 = keyMap[498]; + KeyMap_499 = keyMap[499]; + KeyMap_500 = keyMap[500]; + KeyMap_501 = keyMap[501]; + KeyMap_502 = keyMap[502]; + KeyMap_503 = keyMap[503]; + KeyMap_504 = keyMap[504]; + KeyMap_505 = keyMap[505]; + KeyMap_506 = keyMap[506]; + KeyMap_507 = keyMap[507]; + KeyMap_508 = keyMap[508]; + KeyMap_509 = keyMap[509]; + KeyMap_510 = keyMap[510]; + KeyMap_511 = keyMap[511]; + KeyMap_512 = keyMap[512]; + KeyMap_513 = keyMap[513]; + KeyMap_514 = keyMap[514]; + KeyMap_515 = keyMap[515]; + KeyMap_516 = keyMap[516]; + KeyMap_517 = keyMap[517]; + KeyMap_518 = keyMap[518]; + KeyMap_519 = keyMap[519]; + KeyMap_520 = keyMap[520]; + KeyMap_521 = keyMap[521]; + KeyMap_522 = keyMap[522]; + KeyMap_523 = keyMap[523]; + KeyMap_524 = keyMap[524]; + KeyMap_525 = keyMap[525]; + KeyMap_526 = keyMap[526]; + KeyMap_527 = keyMap[527]; + KeyMap_528 = keyMap[528]; + KeyMap_529 = keyMap[529]; + KeyMap_530 = keyMap[530]; + KeyMap_531 = keyMap[531]; + KeyMap_532 = keyMap[532]; + KeyMap_533 = keyMap[533]; + KeyMap_534 = keyMap[534]; + KeyMap_535 = keyMap[535]; + KeyMap_536 = keyMap[536]; + KeyMap_537 = keyMap[537]; + KeyMap_538 = keyMap[538]; + KeyMap_539 = keyMap[539]; + KeyMap_540 = keyMap[540]; + KeyMap_541 = keyMap[541]; + KeyMap_542 = keyMap[542]; + KeyMap_543 = keyMap[543]; + KeyMap_544 = keyMap[544]; + KeyMap_545 = keyMap[545]; + KeyMap_546 = keyMap[546]; + KeyMap_547 = keyMap[547]; + KeyMap_548 = keyMap[548]; + KeyMap_549 = keyMap[549]; + KeyMap_550 = keyMap[550]; + KeyMap_551 = keyMap[551]; + KeyMap_552 = keyMap[552]; + KeyMap_553 = keyMap[553]; + KeyMap_554 = keyMap[554]; + KeyMap_555 = keyMap[555]; + KeyMap_556 = keyMap[556]; + KeyMap_557 = keyMap[557]; + KeyMap_558 = keyMap[558]; + KeyMap_559 = keyMap[559]; + KeyMap_560 = keyMap[560]; + KeyMap_561 = keyMap[561]; + KeyMap_562 = keyMap[562]; + KeyMap_563 = keyMap[563]; + KeyMap_564 = keyMap[564]; + KeyMap_565 = keyMap[565]; + KeyMap_566 = keyMap[566]; + KeyMap_567 = keyMap[567]; + KeyMap_568 = keyMap[568]; + KeyMap_569 = keyMap[569]; + KeyMap_570 = keyMap[570]; + KeyMap_571 = keyMap[571]; + KeyMap_572 = keyMap[572]; + KeyMap_573 = keyMap[573]; + KeyMap_574 = keyMap[574]; + KeyMap_575 = keyMap[575]; + KeyMap_576 = keyMap[576]; + KeyMap_577 = keyMap[577]; + KeyMap_578 = keyMap[578]; + KeyMap_579 = keyMap[579]; + KeyMap_580 = keyMap[580]; + KeyMap_581 = keyMap[581]; + KeyMap_582 = keyMap[582]; + KeyMap_583 = keyMap[583]; + KeyMap_584 = keyMap[584]; + KeyMap_585 = keyMap[585]; + KeyMap_586 = keyMap[586]; + KeyMap_587 = keyMap[587]; + KeyMap_588 = keyMap[588]; + KeyMap_589 = keyMap[589]; + KeyMap_590 = keyMap[590]; + KeyMap_591 = keyMap[591]; + KeyMap_592 = keyMap[592]; + KeyMap_593 = keyMap[593]; + KeyMap_594 = keyMap[594]; + KeyMap_595 = keyMap[595]; + KeyMap_596 = keyMap[596]; + KeyMap_597 = keyMap[597]; + KeyMap_598 = keyMap[598]; + KeyMap_599 = keyMap[599]; + KeyMap_600 = keyMap[600]; + KeyMap_601 = keyMap[601]; + KeyMap_602 = keyMap[602]; + KeyMap_603 = keyMap[603]; + KeyMap_604 = keyMap[604]; + KeyMap_605 = keyMap[605]; + KeyMap_606 = keyMap[606]; + KeyMap_607 = keyMap[607]; + KeyMap_608 = keyMap[608]; + KeyMap_609 = keyMap[609]; + KeyMap_610 = keyMap[610]; + KeyMap_611 = keyMap[611]; + KeyMap_612 = keyMap[612]; + KeyMap_613 = keyMap[613]; + KeyMap_614 = keyMap[614]; + KeyMap_615 = keyMap[615]; + KeyMap_616 = keyMap[616]; + KeyMap_617 = keyMap[617]; + KeyMap_618 = keyMap[618]; + KeyMap_619 = keyMap[619]; + KeyMap_620 = keyMap[620]; + KeyMap_621 = keyMap[621]; + KeyMap_622 = keyMap[622]; + KeyMap_623 = keyMap[623]; + KeyMap_624 = keyMap[624]; + KeyMap_625 = keyMap[625]; + KeyMap_626 = keyMap[626]; + KeyMap_627 = keyMap[627]; + KeyMap_628 = keyMap[628]; + KeyMap_629 = keyMap[629]; + KeyMap_630 = keyMap[630]; + KeyMap_631 = keyMap[631]; + KeyMap_632 = keyMap[632]; + KeyMap_633 = keyMap[633]; + KeyMap_634 = keyMap[634]; + KeyMap_635 = keyMap[635]; + KeyMap_636 = keyMap[636]; + KeyMap_637 = keyMap[637]; + KeyMap_638 = keyMap[638]; + KeyMap_639 = keyMap[639]; + KeyMap_640 = keyMap[640]; + KeyMap_641 = keyMap[641]; + KeyMap_642 = keyMap[642]; + KeyMap_643 = keyMap[643]; + KeyMap_644 = keyMap[644]; + } + if (keysDown != default(bool*)) + { + KeysDown_0 = keysDown[0]; + KeysDown_1 = keysDown[1]; + KeysDown_2 = keysDown[2]; + KeysDown_3 = keysDown[3]; + KeysDown_4 = keysDown[4]; + KeysDown_5 = keysDown[5]; + KeysDown_6 = keysDown[6]; + KeysDown_7 = keysDown[7]; + KeysDown_8 = keysDown[8]; + KeysDown_9 = keysDown[9]; + KeysDown_10 = keysDown[10]; + KeysDown_11 = keysDown[11]; + KeysDown_12 = keysDown[12]; + KeysDown_13 = keysDown[13]; + KeysDown_14 = keysDown[14]; + KeysDown_15 = keysDown[15]; + KeysDown_16 = keysDown[16]; + KeysDown_17 = keysDown[17]; + KeysDown_18 = keysDown[18]; + KeysDown_19 = keysDown[19]; + KeysDown_20 = keysDown[20]; + KeysDown_21 = keysDown[21]; + KeysDown_22 = keysDown[22]; + KeysDown_23 = keysDown[23]; + KeysDown_24 = keysDown[24]; + KeysDown_25 = keysDown[25]; + KeysDown_26 = keysDown[26]; + KeysDown_27 = keysDown[27]; + KeysDown_28 = keysDown[28]; + KeysDown_29 = keysDown[29]; + KeysDown_30 = keysDown[30]; + KeysDown_31 = keysDown[31]; + KeysDown_32 = keysDown[32]; + KeysDown_33 = keysDown[33]; + KeysDown_34 = keysDown[34]; + KeysDown_35 = keysDown[35]; + KeysDown_36 = keysDown[36]; + KeysDown_37 = keysDown[37]; + KeysDown_38 = keysDown[38]; + KeysDown_39 = keysDown[39]; + KeysDown_40 = keysDown[40]; + KeysDown_41 = keysDown[41]; + KeysDown_42 = keysDown[42]; + KeysDown_43 = keysDown[43]; + KeysDown_44 = keysDown[44]; + KeysDown_45 = keysDown[45]; + KeysDown_46 = keysDown[46]; + KeysDown_47 = keysDown[47]; + KeysDown_48 = keysDown[48]; + KeysDown_49 = keysDown[49]; + KeysDown_50 = keysDown[50]; + KeysDown_51 = keysDown[51]; + KeysDown_52 = keysDown[52]; + KeysDown_53 = keysDown[53]; + KeysDown_54 = keysDown[54]; + KeysDown_55 = keysDown[55]; + KeysDown_56 = keysDown[56]; + KeysDown_57 = keysDown[57]; + KeysDown_58 = keysDown[58]; + KeysDown_59 = keysDown[59]; + KeysDown_60 = keysDown[60]; + KeysDown_61 = keysDown[61]; + KeysDown_62 = keysDown[62]; + KeysDown_63 = keysDown[63]; + KeysDown_64 = keysDown[64]; + KeysDown_65 = keysDown[65]; + KeysDown_66 = keysDown[66]; + KeysDown_67 = keysDown[67]; + KeysDown_68 = keysDown[68]; + KeysDown_69 = keysDown[69]; + KeysDown_70 = keysDown[70]; + KeysDown_71 = keysDown[71]; + KeysDown_72 = keysDown[72]; + KeysDown_73 = keysDown[73]; + KeysDown_74 = keysDown[74]; + KeysDown_75 = keysDown[75]; + KeysDown_76 = keysDown[76]; + KeysDown_77 = keysDown[77]; + KeysDown_78 = keysDown[78]; + KeysDown_79 = keysDown[79]; + KeysDown_80 = keysDown[80]; + KeysDown_81 = keysDown[81]; + KeysDown_82 = keysDown[82]; + KeysDown_83 = keysDown[83]; + KeysDown_84 = keysDown[84]; + KeysDown_85 = keysDown[85]; + KeysDown_86 = keysDown[86]; + KeysDown_87 = keysDown[87]; + KeysDown_88 = keysDown[88]; + KeysDown_89 = keysDown[89]; + KeysDown_90 = keysDown[90]; + KeysDown_91 = keysDown[91]; + KeysDown_92 = keysDown[92]; + KeysDown_93 = keysDown[93]; + KeysDown_94 = keysDown[94]; + KeysDown_95 = keysDown[95]; + KeysDown_96 = keysDown[96]; + KeysDown_97 = keysDown[97]; + KeysDown_98 = keysDown[98]; + KeysDown_99 = keysDown[99]; + KeysDown_100 = keysDown[100]; + KeysDown_101 = keysDown[101]; + KeysDown_102 = keysDown[102]; + KeysDown_103 = keysDown[103]; + KeysDown_104 = keysDown[104]; + KeysDown_105 = keysDown[105]; + KeysDown_106 = keysDown[106]; + KeysDown_107 = keysDown[107]; + KeysDown_108 = keysDown[108]; + KeysDown_109 = keysDown[109]; + KeysDown_110 = keysDown[110]; + KeysDown_111 = keysDown[111]; + KeysDown_112 = keysDown[112]; + KeysDown_113 = keysDown[113]; + KeysDown_114 = keysDown[114]; + KeysDown_115 = keysDown[115]; + KeysDown_116 = keysDown[116]; + KeysDown_117 = keysDown[117]; + KeysDown_118 = keysDown[118]; + KeysDown_119 = keysDown[119]; + KeysDown_120 = keysDown[120]; + KeysDown_121 = keysDown[121]; + KeysDown_122 = keysDown[122]; + KeysDown_123 = keysDown[123]; + KeysDown_124 = keysDown[124]; + KeysDown_125 = keysDown[125]; + KeysDown_126 = keysDown[126]; + KeysDown_127 = keysDown[127]; + KeysDown_128 = keysDown[128]; + KeysDown_129 = keysDown[129]; + KeysDown_130 = keysDown[130]; + KeysDown_131 = keysDown[131]; + KeysDown_132 = keysDown[132]; + KeysDown_133 = keysDown[133]; + KeysDown_134 = keysDown[134]; + KeysDown_135 = keysDown[135]; + KeysDown_136 = keysDown[136]; + KeysDown_137 = keysDown[137]; + KeysDown_138 = keysDown[138]; + KeysDown_139 = keysDown[139]; + KeysDown_140 = keysDown[140]; + KeysDown_141 = keysDown[141]; + KeysDown_142 = keysDown[142]; + KeysDown_143 = keysDown[143]; + KeysDown_144 = keysDown[144]; + KeysDown_145 = keysDown[145]; + KeysDown_146 = keysDown[146]; + KeysDown_147 = keysDown[147]; + KeysDown_148 = keysDown[148]; + KeysDown_149 = keysDown[149]; + KeysDown_150 = keysDown[150]; + KeysDown_151 = keysDown[151]; + KeysDown_152 = keysDown[152]; + KeysDown_153 = keysDown[153]; + KeysDown_154 = keysDown[154]; + KeysDown_155 = keysDown[155]; + KeysDown_156 = keysDown[156]; + KeysDown_157 = keysDown[157]; + KeysDown_158 = keysDown[158]; + KeysDown_159 = keysDown[159]; + KeysDown_160 = keysDown[160]; + KeysDown_161 = keysDown[161]; + KeysDown_162 = keysDown[162]; + KeysDown_163 = keysDown[163]; + KeysDown_164 = keysDown[164]; + KeysDown_165 = keysDown[165]; + KeysDown_166 = keysDown[166]; + KeysDown_167 = keysDown[167]; + KeysDown_168 = keysDown[168]; + KeysDown_169 = keysDown[169]; + KeysDown_170 = keysDown[170]; + KeysDown_171 = keysDown[171]; + KeysDown_172 = keysDown[172]; + KeysDown_173 = keysDown[173]; + KeysDown_174 = keysDown[174]; + KeysDown_175 = keysDown[175]; + KeysDown_176 = keysDown[176]; + KeysDown_177 = keysDown[177]; + KeysDown_178 = keysDown[178]; + KeysDown_179 = keysDown[179]; + KeysDown_180 = keysDown[180]; + KeysDown_181 = keysDown[181]; + KeysDown_182 = keysDown[182]; + KeysDown_183 = keysDown[183]; + KeysDown_184 = keysDown[184]; + KeysDown_185 = keysDown[185]; + KeysDown_186 = keysDown[186]; + KeysDown_187 = keysDown[187]; + KeysDown_188 = keysDown[188]; + KeysDown_189 = keysDown[189]; + KeysDown_190 = keysDown[190]; + KeysDown_191 = keysDown[191]; + KeysDown_192 = keysDown[192]; + KeysDown_193 = keysDown[193]; + KeysDown_194 = keysDown[194]; + KeysDown_195 = keysDown[195]; + KeysDown_196 = keysDown[196]; + KeysDown_197 = keysDown[197]; + KeysDown_198 = keysDown[198]; + KeysDown_199 = keysDown[199]; + KeysDown_200 = keysDown[200]; + KeysDown_201 = keysDown[201]; + KeysDown_202 = keysDown[202]; + KeysDown_203 = keysDown[203]; + KeysDown_204 = keysDown[204]; + KeysDown_205 = keysDown[205]; + KeysDown_206 = keysDown[206]; + KeysDown_207 = keysDown[207]; + KeysDown_208 = keysDown[208]; + KeysDown_209 = keysDown[209]; + KeysDown_210 = keysDown[210]; + KeysDown_211 = keysDown[211]; + KeysDown_212 = keysDown[212]; + KeysDown_213 = keysDown[213]; + KeysDown_214 = keysDown[214]; + KeysDown_215 = keysDown[215]; + KeysDown_216 = keysDown[216]; + KeysDown_217 = keysDown[217]; + KeysDown_218 = keysDown[218]; + KeysDown_219 = keysDown[219]; + KeysDown_220 = keysDown[220]; + KeysDown_221 = keysDown[221]; + KeysDown_222 = keysDown[222]; + KeysDown_223 = keysDown[223]; + KeysDown_224 = keysDown[224]; + KeysDown_225 = keysDown[225]; + KeysDown_226 = keysDown[226]; + KeysDown_227 = keysDown[227]; + KeysDown_228 = keysDown[228]; + KeysDown_229 = keysDown[229]; + KeysDown_230 = keysDown[230]; + KeysDown_231 = keysDown[231]; + KeysDown_232 = keysDown[232]; + KeysDown_233 = keysDown[233]; + KeysDown_234 = keysDown[234]; + KeysDown_235 = keysDown[235]; + KeysDown_236 = keysDown[236]; + KeysDown_237 = keysDown[237]; + KeysDown_238 = keysDown[238]; + KeysDown_239 = keysDown[239]; + KeysDown_240 = keysDown[240]; + KeysDown_241 = keysDown[241]; + KeysDown_242 = keysDown[242]; + KeysDown_243 = keysDown[243]; + KeysDown_244 = keysDown[244]; + KeysDown_245 = keysDown[245]; + KeysDown_246 = keysDown[246]; + KeysDown_247 = keysDown[247]; + KeysDown_248 = keysDown[248]; + KeysDown_249 = keysDown[249]; + KeysDown_250 = keysDown[250]; + KeysDown_251 = keysDown[251]; + KeysDown_252 = keysDown[252]; + KeysDown_253 = keysDown[253]; + KeysDown_254 = keysDown[254]; + KeysDown_255 = keysDown[255]; + KeysDown_256 = keysDown[256]; + KeysDown_257 = keysDown[257]; + KeysDown_258 = keysDown[258]; + KeysDown_259 = keysDown[259]; + KeysDown_260 = keysDown[260]; + KeysDown_261 = keysDown[261]; + KeysDown_262 = keysDown[262]; + KeysDown_263 = keysDown[263]; + KeysDown_264 = keysDown[264]; + KeysDown_265 = keysDown[265]; + KeysDown_266 = keysDown[266]; + KeysDown_267 = keysDown[267]; + KeysDown_268 = keysDown[268]; + KeysDown_269 = keysDown[269]; + KeysDown_270 = keysDown[270]; + KeysDown_271 = keysDown[271]; + KeysDown_272 = keysDown[272]; + KeysDown_273 = keysDown[273]; + KeysDown_274 = keysDown[274]; + KeysDown_275 = keysDown[275]; + KeysDown_276 = keysDown[276]; + KeysDown_277 = keysDown[277]; + KeysDown_278 = keysDown[278]; + KeysDown_279 = keysDown[279]; + KeysDown_280 = keysDown[280]; + KeysDown_281 = keysDown[281]; + KeysDown_282 = keysDown[282]; + KeysDown_283 = keysDown[283]; + KeysDown_284 = keysDown[284]; + KeysDown_285 = keysDown[285]; + KeysDown_286 = keysDown[286]; + KeysDown_287 = keysDown[287]; + KeysDown_288 = keysDown[288]; + KeysDown_289 = keysDown[289]; + KeysDown_290 = keysDown[290]; + KeysDown_291 = keysDown[291]; + KeysDown_292 = keysDown[292]; + KeysDown_293 = keysDown[293]; + KeysDown_294 = keysDown[294]; + KeysDown_295 = keysDown[295]; + KeysDown_296 = keysDown[296]; + KeysDown_297 = keysDown[297]; + KeysDown_298 = keysDown[298]; + KeysDown_299 = keysDown[299]; + KeysDown_300 = keysDown[300]; + KeysDown_301 = keysDown[301]; + KeysDown_302 = keysDown[302]; + KeysDown_303 = keysDown[303]; + KeysDown_304 = keysDown[304]; + KeysDown_305 = keysDown[305]; + KeysDown_306 = keysDown[306]; + KeysDown_307 = keysDown[307]; + KeysDown_308 = keysDown[308]; + KeysDown_309 = keysDown[309]; + KeysDown_310 = keysDown[310]; + KeysDown_311 = keysDown[311]; + KeysDown_312 = keysDown[312]; + KeysDown_313 = keysDown[313]; + KeysDown_314 = keysDown[314]; + KeysDown_315 = keysDown[315]; + KeysDown_316 = keysDown[316]; + KeysDown_317 = keysDown[317]; + KeysDown_318 = keysDown[318]; + KeysDown_319 = keysDown[319]; + KeysDown_320 = keysDown[320]; + KeysDown_321 = keysDown[321]; + KeysDown_322 = keysDown[322]; + KeysDown_323 = keysDown[323]; + KeysDown_324 = keysDown[324]; + KeysDown_325 = keysDown[325]; + KeysDown_326 = keysDown[326]; + KeysDown_327 = keysDown[327]; + KeysDown_328 = keysDown[328]; + KeysDown_329 = keysDown[329]; + KeysDown_330 = keysDown[330]; + KeysDown_331 = keysDown[331]; + KeysDown_332 = keysDown[332]; + KeysDown_333 = keysDown[333]; + KeysDown_334 = keysDown[334]; + KeysDown_335 = keysDown[335]; + KeysDown_336 = keysDown[336]; + KeysDown_337 = keysDown[337]; + KeysDown_338 = keysDown[338]; + KeysDown_339 = keysDown[339]; + KeysDown_340 = keysDown[340]; + KeysDown_341 = keysDown[341]; + KeysDown_342 = keysDown[342]; + KeysDown_343 = keysDown[343]; + KeysDown_344 = keysDown[344]; + KeysDown_345 = keysDown[345]; + KeysDown_346 = keysDown[346]; + KeysDown_347 = keysDown[347]; + KeysDown_348 = keysDown[348]; + KeysDown_349 = keysDown[349]; + KeysDown_350 = keysDown[350]; + KeysDown_351 = keysDown[351]; + KeysDown_352 = keysDown[352]; + KeysDown_353 = keysDown[353]; + KeysDown_354 = keysDown[354]; + KeysDown_355 = keysDown[355]; + KeysDown_356 = keysDown[356]; + KeysDown_357 = keysDown[357]; + KeysDown_358 = keysDown[358]; + KeysDown_359 = keysDown[359]; + KeysDown_360 = keysDown[360]; + KeysDown_361 = keysDown[361]; + KeysDown_362 = keysDown[362]; + KeysDown_363 = keysDown[363]; + KeysDown_364 = keysDown[364]; + KeysDown_365 = keysDown[365]; + KeysDown_366 = keysDown[366]; + KeysDown_367 = keysDown[367]; + KeysDown_368 = keysDown[368]; + KeysDown_369 = keysDown[369]; + KeysDown_370 = keysDown[370]; + KeysDown_371 = keysDown[371]; + KeysDown_372 = keysDown[372]; + KeysDown_373 = keysDown[373]; + KeysDown_374 = keysDown[374]; + KeysDown_375 = keysDown[375]; + KeysDown_376 = keysDown[376]; + KeysDown_377 = keysDown[377]; + KeysDown_378 = keysDown[378]; + KeysDown_379 = keysDown[379]; + KeysDown_380 = keysDown[380]; + KeysDown_381 = keysDown[381]; + KeysDown_382 = keysDown[382]; + KeysDown_383 = keysDown[383]; + KeysDown_384 = keysDown[384]; + KeysDown_385 = keysDown[385]; + KeysDown_386 = keysDown[386]; + KeysDown_387 = keysDown[387]; + KeysDown_388 = keysDown[388]; + KeysDown_389 = keysDown[389]; + KeysDown_390 = keysDown[390]; + KeysDown_391 = keysDown[391]; + KeysDown_392 = keysDown[392]; + KeysDown_393 = keysDown[393]; + KeysDown_394 = keysDown[394]; + KeysDown_395 = keysDown[395]; + KeysDown_396 = keysDown[396]; + KeysDown_397 = keysDown[397]; + KeysDown_398 = keysDown[398]; + KeysDown_399 = keysDown[399]; + KeysDown_400 = keysDown[400]; + KeysDown_401 = keysDown[401]; + KeysDown_402 = keysDown[402]; + KeysDown_403 = keysDown[403]; + KeysDown_404 = keysDown[404]; + KeysDown_405 = keysDown[405]; + KeysDown_406 = keysDown[406]; + KeysDown_407 = keysDown[407]; + KeysDown_408 = keysDown[408]; + KeysDown_409 = keysDown[409]; + KeysDown_410 = keysDown[410]; + KeysDown_411 = keysDown[411]; + KeysDown_412 = keysDown[412]; + KeysDown_413 = keysDown[413]; + KeysDown_414 = keysDown[414]; + KeysDown_415 = keysDown[415]; + KeysDown_416 = keysDown[416]; + KeysDown_417 = keysDown[417]; + KeysDown_418 = keysDown[418]; + KeysDown_419 = keysDown[419]; + KeysDown_420 = keysDown[420]; + KeysDown_421 = keysDown[421]; + KeysDown_422 = keysDown[422]; + KeysDown_423 = keysDown[423]; + KeysDown_424 = keysDown[424]; + KeysDown_425 = keysDown[425]; + KeysDown_426 = keysDown[426]; + KeysDown_427 = keysDown[427]; + KeysDown_428 = keysDown[428]; + KeysDown_429 = keysDown[429]; + KeysDown_430 = keysDown[430]; + KeysDown_431 = keysDown[431]; + KeysDown_432 = keysDown[432]; + KeysDown_433 = keysDown[433]; + KeysDown_434 = keysDown[434]; + KeysDown_435 = keysDown[435]; + KeysDown_436 = keysDown[436]; + KeysDown_437 = keysDown[437]; + KeysDown_438 = keysDown[438]; + KeysDown_439 = keysDown[439]; + KeysDown_440 = keysDown[440]; + KeysDown_441 = keysDown[441]; + KeysDown_442 = keysDown[442]; + KeysDown_443 = keysDown[443]; + KeysDown_444 = keysDown[444]; + KeysDown_445 = keysDown[445]; + KeysDown_446 = keysDown[446]; + KeysDown_447 = keysDown[447]; + KeysDown_448 = keysDown[448]; + KeysDown_449 = keysDown[449]; + KeysDown_450 = keysDown[450]; + KeysDown_451 = keysDown[451]; + KeysDown_452 = keysDown[452]; + KeysDown_453 = keysDown[453]; + KeysDown_454 = keysDown[454]; + KeysDown_455 = keysDown[455]; + KeysDown_456 = keysDown[456]; + KeysDown_457 = keysDown[457]; + KeysDown_458 = keysDown[458]; + KeysDown_459 = keysDown[459]; + KeysDown_460 = keysDown[460]; + KeysDown_461 = keysDown[461]; + KeysDown_462 = keysDown[462]; + KeysDown_463 = keysDown[463]; + KeysDown_464 = keysDown[464]; + KeysDown_465 = keysDown[465]; + KeysDown_466 = keysDown[466]; + KeysDown_467 = keysDown[467]; + KeysDown_468 = keysDown[468]; + KeysDown_469 = keysDown[469]; + KeysDown_470 = keysDown[470]; + KeysDown_471 = keysDown[471]; + KeysDown_472 = keysDown[472]; + KeysDown_473 = keysDown[473]; + KeysDown_474 = keysDown[474]; + KeysDown_475 = keysDown[475]; + KeysDown_476 = keysDown[476]; + KeysDown_477 = keysDown[477]; + KeysDown_478 = keysDown[478]; + KeysDown_479 = keysDown[479]; + KeysDown_480 = keysDown[480]; + KeysDown_481 = keysDown[481]; + KeysDown_482 = keysDown[482]; + KeysDown_483 = keysDown[483]; + KeysDown_484 = keysDown[484]; + KeysDown_485 = keysDown[485]; + KeysDown_486 = keysDown[486]; + KeysDown_487 = keysDown[487]; + KeysDown_488 = keysDown[488]; + KeysDown_489 = keysDown[489]; + KeysDown_490 = keysDown[490]; + KeysDown_491 = keysDown[491]; + KeysDown_492 = keysDown[492]; + KeysDown_493 = keysDown[493]; + KeysDown_494 = keysDown[494]; + KeysDown_495 = keysDown[495]; + KeysDown_496 = keysDown[496]; + KeysDown_497 = keysDown[497]; + KeysDown_498 = keysDown[498]; + KeysDown_499 = keysDown[499]; + KeysDown_500 = keysDown[500]; + KeysDown_501 = keysDown[501]; + KeysDown_502 = keysDown[502]; + KeysDown_503 = keysDown[503]; + KeysDown_504 = keysDown[504]; + KeysDown_505 = keysDown[505]; + KeysDown_506 = keysDown[506]; + KeysDown_507 = keysDown[507]; + KeysDown_508 = keysDown[508]; + KeysDown_509 = keysDown[509]; + KeysDown_510 = keysDown[510]; + KeysDown_511 = keysDown[511]; + KeysDown_512 = keysDown[512]; + KeysDown_513 = keysDown[513]; + KeysDown_514 = keysDown[514]; + KeysDown_515 = keysDown[515]; + KeysDown_516 = keysDown[516]; + KeysDown_517 = keysDown[517]; + KeysDown_518 = keysDown[518]; + KeysDown_519 = keysDown[519]; + KeysDown_520 = keysDown[520]; + KeysDown_521 = keysDown[521]; + KeysDown_522 = keysDown[522]; + KeysDown_523 = keysDown[523]; + KeysDown_524 = keysDown[524]; + KeysDown_525 = keysDown[525]; + KeysDown_526 = keysDown[526]; + KeysDown_527 = keysDown[527]; + KeysDown_528 = keysDown[528]; + KeysDown_529 = keysDown[529]; + KeysDown_530 = keysDown[530]; + KeysDown_531 = keysDown[531]; + KeysDown_532 = keysDown[532]; + KeysDown_533 = keysDown[533]; + KeysDown_534 = keysDown[534]; + KeysDown_535 = keysDown[535]; + KeysDown_536 = keysDown[536]; + KeysDown_537 = keysDown[537]; + KeysDown_538 = keysDown[538]; + KeysDown_539 = keysDown[539]; + KeysDown_540 = keysDown[540]; + KeysDown_541 = keysDown[541]; + KeysDown_542 = keysDown[542]; + KeysDown_543 = keysDown[543]; + KeysDown_544 = keysDown[544]; + KeysDown_545 = keysDown[545]; + KeysDown_546 = keysDown[546]; + KeysDown_547 = keysDown[547]; + KeysDown_548 = keysDown[548]; + KeysDown_549 = keysDown[549]; + KeysDown_550 = keysDown[550]; + KeysDown_551 = keysDown[551]; + KeysDown_552 = keysDown[552]; + KeysDown_553 = keysDown[553]; + KeysDown_554 = keysDown[554]; + KeysDown_555 = keysDown[555]; + KeysDown_556 = keysDown[556]; + KeysDown_557 = keysDown[557]; + KeysDown_558 = keysDown[558]; + KeysDown_559 = keysDown[559]; + KeysDown_560 = keysDown[560]; + KeysDown_561 = keysDown[561]; + KeysDown_562 = keysDown[562]; + KeysDown_563 = keysDown[563]; + KeysDown_564 = keysDown[564]; + KeysDown_565 = keysDown[565]; + KeysDown_566 = keysDown[566]; + KeysDown_567 = keysDown[567]; + KeysDown_568 = keysDown[568]; + KeysDown_569 = keysDown[569]; + KeysDown_570 = keysDown[570]; + KeysDown_571 = keysDown[571]; + KeysDown_572 = keysDown[572]; + KeysDown_573 = keysDown[573]; + KeysDown_574 = keysDown[574]; + KeysDown_575 = keysDown[575]; + KeysDown_576 = keysDown[576]; + KeysDown_577 = keysDown[577]; + KeysDown_578 = keysDown[578]; + KeysDown_579 = keysDown[579]; + KeysDown_580 = keysDown[580]; + KeysDown_581 = keysDown[581]; + KeysDown_582 = keysDown[582]; + KeysDown_583 = keysDown[583]; + KeysDown_584 = keysDown[584]; + KeysDown_585 = keysDown[585]; + KeysDown_586 = keysDown[586]; + KeysDown_587 = keysDown[587]; + KeysDown_588 = keysDown[588]; + KeysDown_589 = keysDown[589]; + KeysDown_590 = keysDown[590]; + KeysDown_591 = keysDown[591]; + KeysDown_592 = keysDown[592]; + KeysDown_593 = keysDown[593]; + KeysDown_594 = keysDown[594]; + KeysDown_595 = keysDown[595]; + KeysDown_596 = keysDown[596]; + KeysDown_597 = keysDown[597]; + KeysDown_598 = keysDown[598]; + KeysDown_599 = keysDown[599]; + KeysDown_600 = keysDown[600]; + KeysDown_601 = keysDown[601]; + KeysDown_602 = keysDown[602]; + KeysDown_603 = keysDown[603]; + KeysDown_604 = keysDown[604]; + KeysDown_605 = keysDown[605]; + KeysDown_606 = keysDown[606]; + KeysDown_607 = keysDown[607]; + KeysDown_608 = keysDown[608]; + KeysDown_609 = keysDown[609]; + KeysDown_610 = keysDown[610]; + KeysDown_611 = keysDown[611]; + KeysDown_612 = keysDown[612]; + KeysDown_613 = keysDown[613]; + KeysDown_614 = keysDown[614]; + KeysDown_615 = keysDown[615]; + KeysDown_616 = keysDown[616]; + KeysDown_617 = keysDown[617]; + KeysDown_618 = keysDown[618]; + KeysDown_619 = keysDown[619]; + KeysDown_620 = keysDown[620]; + KeysDown_621 = keysDown[621]; + KeysDown_622 = keysDown[622]; + KeysDown_623 = keysDown[623]; + KeysDown_624 = keysDown[624]; + KeysDown_625 = keysDown[625]; + KeysDown_626 = keysDown[626]; + KeysDown_627 = keysDown[627]; + KeysDown_628 = keysDown[628]; + KeysDown_629 = keysDown[629]; + KeysDown_630 = keysDown[630]; + KeysDown_631 = keysDown[631]; + KeysDown_632 = keysDown[632]; + KeysDown_633 = keysDown[633]; + KeysDown_634 = keysDown[634]; + KeysDown_635 = keysDown[635]; + KeysDown_636 = keysDown[636]; + KeysDown_637 = keysDown[637]; + KeysDown_638 = keysDown[638]; + KeysDown_639 = keysDown[639]; + KeysDown_640 = keysDown[640]; + KeysDown_641 = keysDown[641]; + KeysDown_642 = keysDown[642]; + KeysDown_643 = keysDown[643]; + KeysDown_644 = keysDown[644]; + } + MousePos = mousePos; + if (mouseDown != default(bool*)) + { + MouseDown_0 = mouseDown[0]; + MouseDown_1 = mouseDown[1]; + MouseDown_2 = mouseDown[2]; + MouseDown_3 = mouseDown[3]; + MouseDown_4 = mouseDown[4]; + } + MouseWheel = mouseWheel; + MouseWheelH = mouseWheelH; + MouseHoveredViewport = mouseHoveredViewport; + KeyCtrl = keyCtrl ? (byte)1 : (byte)0; + KeyShift = keyShift ? (byte)1 : (byte)0; + KeyAlt = keyAlt ? (byte)1 : (byte)0; + KeySuper = keySuper ? (byte)1 : (byte)0; + if (navInputs != default(float*)) + { + NavInputs_0 = navInputs[0]; + NavInputs_1 = navInputs[1]; + NavInputs_2 = navInputs[2]; + NavInputs_3 = navInputs[3]; + NavInputs_4 = navInputs[4]; + NavInputs_5 = navInputs[5]; + NavInputs_6 = navInputs[6]; + NavInputs_7 = navInputs[7]; + NavInputs_8 = navInputs[8]; + NavInputs_9 = navInputs[9]; + NavInputs_10 = navInputs[10]; + NavInputs_11 = navInputs[11]; + NavInputs_12 = navInputs[12]; + NavInputs_13 = navInputs[13]; + NavInputs_14 = navInputs[14]; + NavInputs_15 = navInputs[15]; + NavInputs_16 = navInputs[16]; + NavInputs_17 = navInputs[17]; + NavInputs_18 = navInputs[18]; + NavInputs_19 = navInputs[19]; + NavInputs_20 = navInputs[20]; + } + KeyMods = keyMods; + if (keysData != default(ImGuiKeyData*)) + { + KeysData_0 = keysData[0]; + KeysData_1 = keysData[1]; + KeysData_2 = keysData[2]; + KeysData_3 = keysData[3]; + KeysData_4 = keysData[4]; + KeysData_5 = keysData[5]; + KeysData_6 = keysData[6]; + KeysData_7 = keysData[7]; + KeysData_8 = keysData[8]; + KeysData_9 = keysData[9]; + KeysData_10 = keysData[10]; + KeysData_11 = keysData[11]; + KeysData_12 = keysData[12]; + KeysData_13 = keysData[13]; + KeysData_14 = keysData[14]; + KeysData_15 = keysData[15]; + KeysData_16 = keysData[16]; + KeysData_17 = keysData[17]; + KeysData_18 = keysData[18]; + KeysData_19 = keysData[19]; + KeysData_20 = keysData[20]; + KeysData_21 = keysData[21]; + KeysData_22 = keysData[22]; + KeysData_23 = keysData[23]; + KeysData_24 = keysData[24]; + KeysData_25 = keysData[25]; + KeysData_26 = keysData[26]; + KeysData_27 = keysData[27]; + KeysData_28 = keysData[28]; + KeysData_29 = keysData[29]; + KeysData_30 = keysData[30]; + KeysData_31 = keysData[31]; + KeysData_32 = keysData[32]; + KeysData_33 = keysData[33]; + KeysData_34 = keysData[34]; + KeysData_35 = keysData[35]; + KeysData_36 = keysData[36]; + KeysData_37 = keysData[37]; + KeysData_38 = keysData[38]; + KeysData_39 = keysData[39]; + KeysData_40 = keysData[40]; + KeysData_41 = keysData[41]; + KeysData_42 = keysData[42]; + KeysData_43 = keysData[43]; + KeysData_44 = keysData[44]; + KeysData_45 = keysData[45]; + KeysData_46 = keysData[46]; + KeysData_47 = keysData[47]; + KeysData_48 = keysData[48]; + KeysData_49 = keysData[49]; + KeysData_50 = keysData[50]; + KeysData_51 = keysData[51]; + KeysData_52 = keysData[52]; + KeysData_53 = keysData[53]; + KeysData_54 = keysData[54]; + KeysData_55 = keysData[55]; + KeysData_56 = keysData[56]; + KeysData_57 = keysData[57]; + KeysData_58 = keysData[58]; + KeysData_59 = keysData[59]; + KeysData_60 = keysData[60]; + KeysData_61 = keysData[61]; + KeysData_62 = keysData[62]; + KeysData_63 = keysData[63]; + KeysData_64 = keysData[64]; + KeysData_65 = keysData[65]; + KeysData_66 = keysData[66]; + KeysData_67 = keysData[67]; + KeysData_68 = keysData[68]; + KeysData_69 = keysData[69]; + KeysData_70 = keysData[70]; + KeysData_71 = keysData[71]; + KeysData_72 = keysData[72]; + KeysData_73 = keysData[73]; + KeysData_74 = keysData[74]; + KeysData_75 = keysData[75]; + KeysData_76 = keysData[76]; + KeysData_77 = keysData[77]; + KeysData_78 = keysData[78]; + KeysData_79 = keysData[79]; + KeysData_80 = keysData[80]; + KeysData_81 = keysData[81]; + KeysData_82 = keysData[82]; + KeysData_83 = keysData[83]; + KeysData_84 = keysData[84]; + KeysData_85 = keysData[85]; + KeysData_86 = keysData[86]; + KeysData_87 = keysData[87]; + KeysData_88 = keysData[88]; + KeysData_89 = keysData[89]; + KeysData_90 = keysData[90]; + KeysData_91 = keysData[91]; + KeysData_92 = keysData[92]; + KeysData_93 = keysData[93]; + KeysData_94 = keysData[94]; + KeysData_95 = keysData[95]; + KeysData_96 = keysData[96]; + KeysData_97 = keysData[97]; + KeysData_98 = keysData[98]; + KeysData_99 = keysData[99]; + KeysData_100 = keysData[100]; + KeysData_101 = keysData[101]; + KeysData_102 = keysData[102]; + KeysData_103 = keysData[103]; + KeysData_104 = keysData[104]; + KeysData_105 = keysData[105]; + KeysData_106 = keysData[106]; + KeysData_107 = keysData[107]; + KeysData_108 = keysData[108]; + KeysData_109 = keysData[109]; + KeysData_110 = keysData[110]; + KeysData_111 = keysData[111]; + KeysData_112 = keysData[112]; + KeysData_113 = keysData[113]; + KeysData_114 = keysData[114]; + KeysData_115 = keysData[115]; + KeysData_116 = keysData[116]; + KeysData_117 = keysData[117]; + KeysData_118 = keysData[118]; + KeysData_119 = keysData[119]; + KeysData_120 = keysData[120]; + KeysData_121 = keysData[121]; + KeysData_122 = keysData[122]; + KeysData_123 = keysData[123]; + KeysData_124 = keysData[124]; + KeysData_125 = keysData[125]; + KeysData_126 = keysData[126]; + KeysData_127 = keysData[127]; + KeysData_128 = keysData[128]; + KeysData_129 = keysData[129]; + KeysData_130 = keysData[130]; + KeysData_131 = keysData[131]; + KeysData_132 = keysData[132]; + KeysData_133 = keysData[133]; + KeysData_134 = keysData[134]; + KeysData_135 = keysData[135]; + KeysData_136 = keysData[136]; + KeysData_137 = keysData[137]; + KeysData_138 = keysData[138]; + KeysData_139 = keysData[139]; + KeysData_140 = keysData[140]; + KeysData_141 = keysData[141]; + KeysData_142 = keysData[142]; + KeysData_143 = keysData[143]; + KeysData_144 = keysData[144]; + KeysData_145 = keysData[145]; + KeysData_146 = keysData[146]; + KeysData_147 = keysData[147]; + KeysData_148 = keysData[148]; + KeysData_149 = keysData[149]; + KeysData_150 = keysData[150]; + KeysData_151 = keysData[151]; + KeysData_152 = keysData[152]; + KeysData_153 = keysData[153]; + KeysData_154 = keysData[154]; + KeysData_155 = keysData[155]; + KeysData_156 = keysData[156]; + KeysData_157 = keysData[157]; + KeysData_158 = keysData[158]; + KeysData_159 = keysData[159]; + KeysData_160 = keysData[160]; + KeysData_161 = keysData[161]; + KeysData_162 = keysData[162]; + KeysData_163 = keysData[163]; + KeysData_164 = keysData[164]; + KeysData_165 = keysData[165]; + KeysData_166 = keysData[166]; + KeysData_167 = keysData[167]; + KeysData_168 = keysData[168]; + KeysData_169 = keysData[169]; + KeysData_170 = keysData[170]; + KeysData_171 = keysData[171]; + KeysData_172 = keysData[172]; + KeysData_173 = keysData[173]; + KeysData_174 = keysData[174]; + KeysData_175 = keysData[175]; + KeysData_176 = keysData[176]; + KeysData_177 = keysData[177]; + KeysData_178 = keysData[178]; + KeysData_179 = keysData[179]; + KeysData_180 = keysData[180]; + KeysData_181 = keysData[181]; + KeysData_182 = keysData[182]; + KeysData_183 = keysData[183]; + KeysData_184 = keysData[184]; + KeysData_185 = keysData[185]; + KeysData_186 = keysData[186]; + KeysData_187 = keysData[187]; + KeysData_188 = keysData[188]; + KeysData_189 = keysData[189]; + KeysData_190 = keysData[190]; + KeysData_191 = keysData[191]; + KeysData_192 = keysData[192]; + KeysData_193 = keysData[193]; + KeysData_194 = keysData[194]; + KeysData_195 = keysData[195]; + KeysData_196 = keysData[196]; + KeysData_197 = keysData[197]; + KeysData_198 = keysData[198]; + KeysData_199 = keysData[199]; + KeysData_200 = keysData[200]; + KeysData_201 = keysData[201]; + KeysData_202 = keysData[202]; + KeysData_203 = keysData[203]; + KeysData_204 = keysData[204]; + KeysData_205 = keysData[205]; + KeysData_206 = keysData[206]; + KeysData_207 = keysData[207]; + KeysData_208 = keysData[208]; + KeysData_209 = keysData[209]; + KeysData_210 = keysData[210]; + KeysData_211 = keysData[211]; + KeysData_212 = keysData[212]; + KeysData_213 = keysData[213]; + KeysData_214 = keysData[214]; + KeysData_215 = keysData[215]; + KeysData_216 = keysData[216]; + KeysData_217 = keysData[217]; + KeysData_218 = keysData[218]; + KeysData_219 = keysData[219]; + KeysData_220 = keysData[220]; + KeysData_221 = keysData[221]; + KeysData_222 = keysData[222]; + KeysData_223 = keysData[223]; + KeysData_224 = keysData[224]; + KeysData_225 = keysData[225]; + KeysData_226 = keysData[226]; + KeysData_227 = keysData[227]; + KeysData_228 = keysData[228]; + KeysData_229 = keysData[229]; + KeysData_230 = keysData[230]; + KeysData_231 = keysData[231]; + KeysData_232 = keysData[232]; + KeysData_233 = keysData[233]; + KeysData_234 = keysData[234]; + KeysData_235 = keysData[235]; + KeysData_236 = keysData[236]; + KeysData_237 = keysData[237]; + KeysData_238 = keysData[238]; + KeysData_239 = keysData[239]; + KeysData_240 = keysData[240]; + KeysData_241 = keysData[241]; + KeysData_242 = keysData[242]; + KeysData_243 = keysData[243]; + KeysData_244 = keysData[244]; + KeysData_245 = keysData[245]; + KeysData_246 = keysData[246]; + KeysData_247 = keysData[247]; + KeysData_248 = keysData[248]; + KeysData_249 = keysData[249]; + KeysData_250 = keysData[250]; + KeysData_251 = keysData[251]; + KeysData_252 = keysData[252]; + KeysData_253 = keysData[253]; + KeysData_254 = keysData[254]; + KeysData_255 = keysData[255]; + KeysData_256 = keysData[256]; + KeysData_257 = keysData[257]; + KeysData_258 = keysData[258]; + KeysData_259 = keysData[259]; + KeysData_260 = keysData[260]; + KeysData_261 = keysData[261]; + KeysData_262 = keysData[262]; + KeysData_263 = keysData[263]; + KeysData_264 = keysData[264]; + KeysData_265 = keysData[265]; + KeysData_266 = keysData[266]; + KeysData_267 = keysData[267]; + KeysData_268 = keysData[268]; + KeysData_269 = keysData[269]; + KeysData_270 = keysData[270]; + KeysData_271 = keysData[271]; + KeysData_272 = keysData[272]; + KeysData_273 = keysData[273]; + KeysData_274 = keysData[274]; + KeysData_275 = keysData[275]; + KeysData_276 = keysData[276]; + KeysData_277 = keysData[277]; + KeysData_278 = keysData[278]; + KeysData_279 = keysData[279]; + KeysData_280 = keysData[280]; + KeysData_281 = keysData[281]; + KeysData_282 = keysData[282]; + KeysData_283 = keysData[283]; + KeysData_284 = keysData[284]; + KeysData_285 = keysData[285]; + KeysData_286 = keysData[286]; + KeysData_287 = keysData[287]; + KeysData_288 = keysData[288]; + KeysData_289 = keysData[289]; + KeysData_290 = keysData[290]; + KeysData_291 = keysData[291]; + KeysData_292 = keysData[292]; + KeysData_293 = keysData[293]; + KeysData_294 = keysData[294]; + KeysData_295 = keysData[295]; + KeysData_296 = keysData[296]; + KeysData_297 = keysData[297]; + KeysData_298 = keysData[298]; + KeysData_299 = keysData[299]; + KeysData_300 = keysData[300]; + KeysData_301 = keysData[301]; + KeysData_302 = keysData[302]; + KeysData_303 = keysData[303]; + KeysData_304 = keysData[304]; + KeysData_305 = keysData[305]; + KeysData_306 = keysData[306]; + KeysData_307 = keysData[307]; + KeysData_308 = keysData[308]; + KeysData_309 = keysData[309]; + KeysData_310 = keysData[310]; + KeysData_311 = keysData[311]; + KeysData_312 = keysData[312]; + KeysData_313 = keysData[313]; + KeysData_314 = keysData[314]; + KeysData_315 = keysData[315]; + KeysData_316 = keysData[316]; + KeysData_317 = keysData[317]; + KeysData_318 = keysData[318]; + KeysData_319 = keysData[319]; + KeysData_320 = keysData[320]; + KeysData_321 = keysData[321]; + KeysData_322 = keysData[322]; + KeysData_323 = keysData[323]; + KeysData_324 = keysData[324]; + KeysData_325 = keysData[325]; + KeysData_326 = keysData[326]; + KeysData_327 = keysData[327]; + KeysData_328 = keysData[328]; + KeysData_329 = keysData[329]; + KeysData_330 = keysData[330]; + KeysData_331 = keysData[331]; + KeysData_332 = keysData[332]; + KeysData_333 = keysData[333]; + KeysData_334 = keysData[334]; + KeysData_335 = keysData[335]; + KeysData_336 = keysData[336]; + KeysData_337 = keysData[337]; + KeysData_338 = keysData[338]; + KeysData_339 = keysData[339]; + KeysData_340 = keysData[340]; + KeysData_341 = keysData[341]; + KeysData_342 = keysData[342]; + KeysData_343 = keysData[343]; + KeysData_344 = keysData[344]; + KeysData_345 = keysData[345]; + KeysData_346 = keysData[346]; + KeysData_347 = keysData[347]; + KeysData_348 = keysData[348]; + KeysData_349 = keysData[349]; + KeysData_350 = keysData[350]; + KeysData_351 = keysData[351]; + KeysData_352 = keysData[352]; + KeysData_353 = keysData[353]; + KeysData_354 = keysData[354]; + KeysData_355 = keysData[355]; + KeysData_356 = keysData[356]; + KeysData_357 = keysData[357]; + KeysData_358 = keysData[358]; + KeysData_359 = keysData[359]; + KeysData_360 = keysData[360]; + KeysData_361 = keysData[361]; + KeysData_362 = keysData[362]; + KeysData_363 = keysData[363]; + KeysData_364 = keysData[364]; + KeysData_365 = keysData[365]; + KeysData_366 = keysData[366]; + KeysData_367 = keysData[367]; + KeysData_368 = keysData[368]; + KeysData_369 = keysData[369]; + KeysData_370 = keysData[370]; + KeysData_371 = keysData[371]; + KeysData_372 = keysData[372]; + KeysData_373 = keysData[373]; + KeysData_374 = keysData[374]; + KeysData_375 = keysData[375]; + KeysData_376 = keysData[376]; + KeysData_377 = keysData[377]; + KeysData_378 = keysData[378]; + KeysData_379 = keysData[379]; + KeysData_380 = keysData[380]; + KeysData_381 = keysData[381]; + KeysData_382 = keysData[382]; + KeysData_383 = keysData[383]; + KeysData_384 = keysData[384]; + KeysData_385 = keysData[385]; + KeysData_386 = keysData[386]; + KeysData_387 = keysData[387]; + KeysData_388 = keysData[388]; + KeysData_389 = keysData[389]; + KeysData_390 = keysData[390]; + KeysData_391 = keysData[391]; + KeysData_392 = keysData[392]; + KeysData_393 = keysData[393]; + KeysData_394 = keysData[394]; + KeysData_395 = keysData[395]; + KeysData_396 = keysData[396]; + KeysData_397 = keysData[397]; + KeysData_398 = keysData[398]; + KeysData_399 = keysData[399]; + KeysData_400 = keysData[400]; + KeysData_401 = keysData[401]; + KeysData_402 = keysData[402]; + KeysData_403 = keysData[403]; + KeysData_404 = keysData[404]; + KeysData_405 = keysData[405]; + KeysData_406 = keysData[406]; + KeysData_407 = keysData[407]; + KeysData_408 = keysData[408]; + KeysData_409 = keysData[409]; + KeysData_410 = keysData[410]; + KeysData_411 = keysData[411]; + KeysData_412 = keysData[412]; + KeysData_413 = keysData[413]; + KeysData_414 = keysData[414]; + KeysData_415 = keysData[415]; + KeysData_416 = keysData[416]; + KeysData_417 = keysData[417]; + KeysData_418 = keysData[418]; + KeysData_419 = keysData[419]; + KeysData_420 = keysData[420]; + KeysData_421 = keysData[421]; + KeysData_422 = keysData[422]; + KeysData_423 = keysData[423]; + KeysData_424 = keysData[424]; + KeysData_425 = keysData[425]; + KeysData_426 = keysData[426]; + KeysData_427 = keysData[427]; + KeysData_428 = keysData[428]; + KeysData_429 = keysData[429]; + KeysData_430 = keysData[430]; + KeysData_431 = keysData[431]; + KeysData_432 = keysData[432]; + KeysData_433 = keysData[433]; + KeysData_434 = keysData[434]; + KeysData_435 = keysData[435]; + KeysData_436 = keysData[436]; + KeysData_437 = keysData[437]; + KeysData_438 = keysData[438]; + KeysData_439 = keysData[439]; + KeysData_440 = keysData[440]; + KeysData_441 = keysData[441]; + KeysData_442 = keysData[442]; + KeysData_443 = keysData[443]; + KeysData_444 = keysData[444]; + KeysData_445 = keysData[445]; + KeysData_446 = keysData[446]; + KeysData_447 = keysData[447]; + KeysData_448 = keysData[448]; + KeysData_449 = keysData[449]; + KeysData_450 = keysData[450]; + KeysData_451 = keysData[451]; + KeysData_452 = keysData[452]; + KeysData_453 = keysData[453]; + KeysData_454 = keysData[454]; + KeysData_455 = keysData[455]; + KeysData_456 = keysData[456]; + KeysData_457 = keysData[457]; + KeysData_458 = keysData[458]; + KeysData_459 = keysData[459]; + KeysData_460 = keysData[460]; + KeysData_461 = keysData[461]; + KeysData_462 = keysData[462]; + KeysData_463 = keysData[463]; + KeysData_464 = keysData[464]; + KeysData_465 = keysData[465]; + KeysData_466 = keysData[466]; + KeysData_467 = keysData[467]; + KeysData_468 = keysData[468]; + KeysData_469 = keysData[469]; + KeysData_470 = keysData[470]; + KeysData_471 = keysData[471]; + KeysData_472 = keysData[472]; + KeysData_473 = keysData[473]; + KeysData_474 = keysData[474]; + KeysData_475 = keysData[475]; + KeysData_476 = keysData[476]; + KeysData_477 = keysData[477]; + KeysData_478 = keysData[478]; + KeysData_479 = keysData[479]; + KeysData_480 = keysData[480]; + KeysData_481 = keysData[481]; + KeysData_482 = keysData[482]; + KeysData_483 = keysData[483]; + KeysData_484 = keysData[484]; + KeysData_485 = keysData[485]; + KeysData_486 = keysData[486]; + KeysData_487 = keysData[487]; + KeysData_488 = keysData[488]; + KeysData_489 = keysData[489]; + KeysData_490 = keysData[490]; + KeysData_491 = keysData[491]; + KeysData_492 = keysData[492]; + KeysData_493 = keysData[493]; + KeysData_494 = keysData[494]; + KeysData_495 = keysData[495]; + KeysData_496 = keysData[496]; + KeysData_497 = keysData[497]; + KeysData_498 = keysData[498]; + KeysData_499 = keysData[499]; + KeysData_500 = keysData[500]; + KeysData_501 = keysData[501]; + KeysData_502 = keysData[502]; + KeysData_503 = keysData[503]; + KeysData_504 = keysData[504]; + KeysData_505 = keysData[505]; + KeysData_506 = keysData[506]; + KeysData_507 = keysData[507]; + KeysData_508 = keysData[508]; + KeysData_509 = keysData[509]; + KeysData_510 = keysData[510]; + KeysData_511 = keysData[511]; + KeysData_512 = keysData[512]; + KeysData_513 = keysData[513]; + KeysData_514 = keysData[514]; + KeysData_515 = keysData[515]; + KeysData_516 = keysData[516]; + KeysData_517 = keysData[517]; + KeysData_518 = keysData[518]; + KeysData_519 = keysData[519]; + KeysData_520 = keysData[520]; + KeysData_521 = keysData[521]; + KeysData_522 = keysData[522]; + KeysData_523 = keysData[523]; + KeysData_524 = keysData[524]; + KeysData_525 = keysData[525]; + KeysData_526 = keysData[526]; + KeysData_527 = keysData[527]; + KeysData_528 = keysData[528]; + KeysData_529 = keysData[529]; + KeysData_530 = keysData[530]; + KeysData_531 = keysData[531]; + KeysData_532 = keysData[532]; + KeysData_533 = keysData[533]; + KeysData_534 = keysData[534]; + KeysData_535 = keysData[535]; + KeysData_536 = keysData[536]; + KeysData_537 = keysData[537]; + KeysData_538 = keysData[538]; + KeysData_539 = keysData[539]; + KeysData_540 = keysData[540]; + KeysData_541 = keysData[541]; + KeysData_542 = keysData[542]; + KeysData_543 = keysData[543]; + KeysData_544 = keysData[544]; + KeysData_545 = keysData[545]; + KeysData_546 = keysData[546]; + KeysData_547 = keysData[547]; + KeysData_548 = keysData[548]; + KeysData_549 = keysData[549]; + KeysData_550 = keysData[550]; + KeysData_551 = keysData[551]; + KeysData_552 = keysData[552]; + KeysData_553 = keysData[553]; + KeysData_554 = keysData[554]; + KeysData_555 = keysData[555]; + KeysData_556 = keysData[556]; + KeysData_557 = keysData[557]; + KeysData_558 = keysData[558]; + KeysData_559 = keysData[559]; + KeysData_560 = keysData[560]; + KeysData_561 = keysData[561]; + KeysData_562 = keysData[562]; + KeysData_563 = keysData[563]; + KeysData_564 = keysData[564]; + KeysData_565 = keysData[565]; + KeysData_566 = keysData[566]; + KeysData_567 = keysData[567]; + KeysData_568 = keysData[568]; + KeysData_569 = keysData[569]; + KeysData_570 = keysData[570]; + KeysData_571 = keysData[571]; + KeysData_572 = keysData[572]; + KeysData_573 = keysData[573]; + KeysData_574 = keysData[574]; + KeysData_575 = keysData[575]; + KeysData_576 = keysData[576]; + KeysData_577 = keysData[577]; + KeysData_578 = keysData[578]; + KeysData_579 = keysData[579]; + KeysData_580 = keysData[580]; + KeysData_581 = keysData[581]; + KeysData_582 = keysData[582]; + KeysData_583 = keysData[583]; + KeysData_584 = keysData[584]; + KeysData_585 = keysData[585]; + KeysData_586 = keysData[586]; + KeysData_587 = keysData[587]; + KeysData_588 = keysData[588]; + KeysData_589 = keysData[589]; + KeysData_590 = keysData[590]; + KeysData_591 = keysData[591]; + KeysData_592 = keysData[592]; + KeysData_593 = keysData[593]; + KeysData_594 = keysData[594]; + KeysData_595 = keysData[595]; + KeysData_596 = keysData[596]; + KeysData_597 = keysData[597]; + KeysData_598 = keysData[598]; + KeysData_599 = keysData[599]; + KeysData_600 = keysData[600]; + KeysData_601 = keysData[601]; + KeysData_602 = keysData[602]; + KeysData_603 = keysData[603]; + KeysData_604 = keysData[604]; + KeysData_605 = keysData[605]; + KeysData_606 = keysData[606]; + KeysData_607 = keysData[607]; + KeysData_608 = keysData[608]; + KeysData_609 = keysData[609]; + KeysData_610 = keysData[610]; + KeysData_611 = keysData[611]; + KeysData_612 = keysData[612]; + KeysData_613 = keysData[613]; + KeysData_614 = keysData[614]; + KeysData_615 = keysData[615]; + KeysData_616 = keysData[616]; + KeysData_617 = keysData[617]; + KeysData_618 = keysData[618]; + KeysData_619 = keysData[619]; + KeysData_620 = keysData[620]; + KeysData_621 = keysData[621]; + KeysData_622 = keysData[622]; + KeysData_623 = keysData[623]; + KeysData_624 = keysData[624]; + KeysData_625 = keysData[625]; + KeysData_626 = keysData[626]; + KeysData_627 = keysData[627]; + KeysData_628 = keysData[628]; + KeysData_629 = keysData[629]; + KeysData_630 = keysData[630]; + KeysData_631 = keysData[631]; + KeysData_632 = keysData[632]; + KeysData_633 = keysData[633]; + KeysData_634 = keysData[634]; + KeysData_635 = keysData[635]; + KeysData_636 = keysData[636]; + KeysData_637 = keysData[637]; + KeysData_638 = keysData[638]; + KeysData_639 = keysData[639]; + KeysData_640 = keysData[640]; + KeysData_641 = keysData[641]; + KeysData_642 = keysData[642]; + KeysData_643 = keysData[643]; + KeysData_644 = keysData[644]; + } + WantCaptureMouseUnlessPopupClose = wantCaptureMouseUnlessPopupClose ? (byte)1 : (byte)0; + MousePosPrev = mousePosPrev; + if (mouseClickedPos != default(Vector2*)) + { + MouseClickedPos_0 = mouseClickedPos[0]; + MouseClickedPos_1 = mouseClickedPos[1]; + MouseClickedPos_2 = mouseClickedPos[2]; + MouseClickedPos_3 = mouseClickedPos[3]; + MouseClickedPos_4 = mouseClickedPos[4]; + } + if (mouseClickedTime != default(double*)) + { + MouseClickedTime_0 = mouseClickedTime[0]; + MouseClickedTime_1 = mouseClickedTime[1]; + MouseClickedTime_2 = mouseClickedTime[2]; + MouseClickedTime_3 = mouseClickedTime[3]; + MouseClickedTime_4 = mouseClickedTime[4]; + } + if (mouseClicked != default(bool*)) + { + MouseClicked_0 = mouseClicked[0]; + MouseClicked_1 = mouseClicked[1]; + MouseClicked_2 = mouseClicked[2]; + MouseClicked_3 = mouseClicked[3]; + MouseClicked_4 = mouseClicked[4]; + } + if (mouseDoubleClicked != default(bool*)) + { + MouseDoubleClicked_0 = mouseDoubleClicked[0]; + MouseDoubleClicked_1 = mouseDoubleClicked[1]; + MouseDoubleClicked_2 = mouseDoubleClicked[2]; + MouseDoubleClicked_3 = mouseDoubleClicked[3]; + MouseDoubleClicked_4 = mouseDoubleClicked[4]; + } + if (mouseClickedCount != default(ushort*)) + { + MouseClickedCount_0 = mouseClickedCount[0]; + MouseClickedCount_1 = mouseClickedCount[1]; + MouseClickedCount_2 = mouseClickedCount[2]; + MouseClickedCount_3 = mouseClickedCount[3]; + MouseClickedCount_4 = mouseClickedCount[4]; + } + if (mouseClickedLastCount != default(ushort*)) + { + MouseClickedLastCount_0 = mouseClickedLastCount[0]; + MouseClickedLastCount_1 = mouseClickedLastCount[1]; + MouseClickedLastCount_2 = mouseClickedLastCount[2]; + MouseClickedLastCount_3 = mouseClickedLastCount[3]; + MouseClickedLastCount_4 = mouseClickedLastCount[4]; + } + if (mouseReleased != default(bool*)) + { + MouseReleased_0 = mouseReleased[0]; + MouseReleased_1 = mouseReleased[1]; + MouseReleased_2 = mouseReleased[2]; + MouseReleased_3 = mouseReleased[3]; + MouseReleased_4 = mouseReleased[4]; + } + if (mouseDownOwned != default(bool*)) + { + MouseDownOwned_0 = mouseDownOwned[0]; + MouseDownOwned_1 = mouseDownOwned[1]; + MouseDownOwned_2 = mouseDownOwned[2]; + MouseDownOwned_3 = mouseDownOwned[3]; + MouseDownOwned_4 = mouseDownOwned[4]; + } + if (mouseDownOwnedUnlessPopupClose != default(bool*)) + { + MouseDownOwnedUnlessPopupClose_0 = mouseDownOwnedUnlessPopupClose[0]; + MouseDownOwnedUnlessPopupClose_1 = mouseDownOwnedUnlessPopupClose[1]; + MouseDownOwnedUnlessPopupClose_2 = mouseDownOwnedUnlessPopupClose[2]; + MouseDownOwnedUnlessPopupClose_3 = mouseDownOwnedUnlessPopupClose[3]; + MouseDownOwnedUnlessPopupClose_4 = mouseDownOwnedUnlessPopupClose[4]; + } + if (mouseDownDuration != default(float*)) + { + MouseDownDuration_0 = mouseDownDuration[0]; + MouseDownDuration_1 = mouseDownDuration[1]; + MouseDownDuration_2 = mouseDownDuration[2]; + MouseDownDuration_3 = mouseDownDuration[3]; + MouseDownDuration_4 = mouseDownDuration[4]; + } + if (mouseDownDurationPrev != default(float*)) + { + MouseDownDurationPrev_0 = mouseDownDurationPrev[0]; + MouseDownDurationPrev_1 = mouseDownDurationPrev[1]; + MouseDownDurationPrev_2 = mouseDownDurationPrev[2]; + MouseDownDurationPrev_3 = mouseDownDurationPrev[3]; + MouseDownDurationPrev_4 = mouseDownDurationPrev[4]; + } + if (mouseDragMaxDistanceAbs != default(Vector2*)) + { + MouseDragMaxDistanceAbs_0 = mouseDragMaxDistanceAbs[0]; + MouseDragMaxDistanceAbs_1 = mouseDragMaxDistanceAbs[1]; + MouseDragMaxDistanceAbs_2 = mouseDragMaxDistanceAbs[2]; + MouseDragMaxDistanceAbs_3 = mouseDragMaxDistanceAbs[3]; + MouseDragMaxDistanceAbs_4 = mouseDragMaxDistanceAbs[4]; + } + if (mouseDragMaxDistanceSqr != default(float*)) + { + MouseDragMaxDistanceSqr_0 = mouseDragMaxDistanceSqr[0]; + MouseDragMaxDistanceSqr_1 = mouseDragMaxDistanceSqr[1]; + MouseDragMaxDistanceSqr_2 = mouseDragMaxDistanceSqr[2]; + MouseDragMaxDistanceSqr_3 = mouseDragMaxDistanceSqr[3]; + MouseDragMaxDistanceSqr_4 = mouseDragMaxDistanceSqr[4]; + } + if (navInputsDownDuration != default(float*)) + { + NavInputsDownDuration_0 = navInputsDownDuration[0]; + NavInputsDownDuration_1 = navInputsDownDuration[1]; + NavInputsDownDuration_2 = navInputsDownDuration[2]; + NavInputsDownDuration_3 = navInputsDownDuration[3]; + NavInputsDownDuration_4 = navInputsDownDuration[4]; + NavInputsDownDuration_5 = navInputsDownDuration[5]; + NavInputsDownDuration_6 = navInputsDownDuration[6]; + NavInputsDownDuration_7 = navInputsDownDuration[7]; + NavInputsDownDuration_8 = navInputsDownDuration[8]; + NavInputsDownDuration_9 = navInputsDownDuration[9]; + NavInputsDownDuration_10 = navInputsDownDuration[10]; + NavInputsDownDuration_11 = navInputsDownDuration[11]; + NavInputsDownDuration_12 = navInputsDownDuration[12]; + NavInputsDownDuration_13 = navInputsDownDuration[13]; + NavInputsDownDuration_14 = navInputsDownDuration[14]; + NavInputsDownDuration_15 = navInputsDownDuration[15]; + NavInputsDownDuration_16 = navInputsDownDuration[16]; + NavInputsDownDuration_17 = navInputsDownDuration[17]; + NavInputsDownDuration_18 = navInputsDownDuration[18]; + NavInputsDownDuration_19 = navInputsDownDuration[19]; + NavInputsDownDuration_20 = navInputsDownDuration[20]; + } + if (navInputsDownDurationPrev != default(float*)) + { + NavInputsDownDurationPrev_0 = navInputsDownDurationPrev[0]; + NavInputsDownDurationPrev_1 = navInputsDownDurationPrev[1]; + NavInputsDownDurationPrev_2 = navInputsDownDurationPrev[2]; + NavInputsDownDurationPrev_3 = navInputsDownDurationPrev[3]; + NavInputsDownDurationPrev_4 = navInputsDownDurationPrev[4]; + NavInputsDownDurationPrev_5 = navInputsDownDurationPrev[5]; + NavInputsDownDurationPrev_6 = navInputsDownDurationPrev[6]; + NavInputsDownDurationPrev_7 = navInputsDownDurationPrev[7]; + NavInputsDownDurationPrev_8 = navInputsDownDurationPrev[8]; + NavInputsDownDurationPrev_9 = navInputsDownDurationPrev[9]; + NavInputsDownDurationPrev_10 = navInputsDownDurationPrev[10]; + NavInputsDownDurationPrev_11 = navInputsDownDurationPrev[11]; + NavInputsDownDurationPrev_12 = navInputsDownDurationPrev[12]; + NavInputsDownDurationPrev_13 = navInputsDownDurationPrev[13]; + NavInputsDownDurationPrev_14 = navInputsDownDurationPrev[14]; + NavInputsDownDurationPrev_15 = navInputsDownDurationPrev[15]; + NavInputsDownDurationPrev_16 = navInputsDownDurationPrev[16]; + NavInputsDownDurationPrev_17 = navInputsDownDurationPrev[17]; + NavInputsDownDurationPrev_18 = navInputsDownDurationPrev[18]; + NavInputsDownDurationPrev_19 = navInputsDownDurationPrev[19]; + NavInputsDownDurationPrev_20 = navInputsDownDurationPrev[20]; + } + PenPressure = penPressure; + AppFocusLost = appFocusLost ? (byte)1 : (byte)0; + AppAcceptingEvents = appAcceptingEvents ? (byte)1 : (byte)0; + BackendUsingLegacyKeyArrays = backendUsingLegacyKeyArrays; + BackendUsingLegacyNavInputArray = backendUsingLegacyNavInputArray ? (byte)1 : (byte)0; + InputQueueSurrogate = inputQueueSurrogate; + InputQueueCharacters = inputQueueCharacters; + } + public unsafe ImGuiIO(ImGuiConfigFlags configFlags = default, ImGuiBackendFlags backendFlags = default, Vector2 displaySize = default, float deltaTime = default, float iniSavingRate = default, byte* iniFilename = default, byte* logFilename = default, float mouseDoubleClickTime = default, float mouseDoubleClickMaxDist = default, float mouseDragThreshold = default, float keyRepeatDelay = default, float keyRepeatRate = default, void* userData = default, ImFontAtlasPtr fonts = default, float fontGlobalScale = default, bool fontAllowUserScaling = default, ImFontPtr fontDefault = default, Vector2 displayFramebufferScale = default, bool configDockingNoSplit = default, bool configDockingWithShift = default, bool configDockingAlwaysTabBar = default, bool configDockingTransparentPayload = default, bool configViewportsNoAutoMerge = default, bool configViewportsNoTaskBarIcon = default, bool configViewportsNoDecoration = default, bool configViewportsNoDefaultParent = default, bool mouseDrawCursor = default, bool configMacOsxBehaviors = default, bool configInputTrickleEventQueue = default, bool configInputTextCursorBlink = default, bool configDragClickToInputText = default, bool configWindowsResizeFromEdges = default, bool configWindowsMoveFromTitleBarOnly = default, float configMemoryCompactTimer = default, byte* backendPlatformName = default, byte* backendRendererName = default, void* backendPlatformUserData = default, void* backendRendererUserData = default, void* backendLanguageUserData = default, delegate* getClipboardTextFn = default, delegate* setClipboardTextFn = default, void* clipboardUserData = default, delegate* setPlatformImeDataFn = default, void* unusedPadding = default, bool wantCaptureMouse = default, bool wantCaptureKeyboard = default, bool wantTextInput = default, bool wantSetMousePos = default, bool wantSaveIniSettings = default, bool navActive = default, bool navVisible = default, float framerate = default, int metricsRenderVertices = default, int metricsRenderIndices = default, int metricsRenderWindows = default, int metricsActiveWindows = default, int metricsActiveAllocations = default, Vector2 mouseDelta = default, Span keyMap = default, Span keysDown = default, Vector2 mousePos = default, Span mouseDown = default, float mouseWheel = default, float mouseWheelH = default, uint mouseHoveredViewport = default, bool keyCtrl = default, bool keyShift = default, bool keyAlt = default, bool keySuper = default, Span navInputs = default, ImGuiModFlags keyMods = default, Span keysData = default, bool wantCaptureMouseUnlessPopupClose = default, Vector2 mousePosPrev = default, Span mouseClickedPos = default, Span mouseClickedTime = default, Span mouseClicked = default, Span mouseDoubleClicked = default, Span mouseClickedCount = default, Span mouseClickedLastCount = default, Span mouseReleased = default, Span mouseDownOwned = default, Span mouseDownOwnedUnlessPopupClose = default, Span mouseDownDuration = default, Span mouseDownDurationPrev = default, Span mouseDragMaxDistanceAbs = default, Span mouseDragMaxDistanceSqr = default, Span navInputsDownDuration = default, Span navInputsDownDurationPrev = default, float penPressure = default, bool appFocusLost = default, bool appAcceptingEvents = default, sbyte backendUsingLegacyKeyArrays = default, bool backendUsingLegacyNavInputArray = default, ushort inputQueueSurrogate = default, ImVector inputQueueCharacters = default) + { + ConfigFlags = configFlags; + BackendFlags = backendFlags; + DisplaySize = displaySize; + DeltaTime = deltaTime; + IniSavingRate = iniSavingRate; + IniFilename = iniFilename; + LogFilename = logFilename; + MouseDoubleClickTime = mouseDoubleClickTime; + MouseDoubleClickMaxDist = mouseDoubleClickMaxDist; + MouseDragThreshold = mouseDragThreshold; + KeyRepeatDelay = keyRepeatDelay; + KeyRepeatRate = keyRepeatRate; + UserData = userData; + Fonts = fonts; + FontGlobalScale = fontGlobalScale; + FontAllowUserScaling = fontAllowUserScaling ? (byte)1 : (byte)0; + FontDefault = fontDefault; + DisplayFramebufferScale = displayFramebufferScale; + ConfigDockingNoSplit = configDockingNoSplit ? (byte)1 : (byte)0; + ConfigDockingWithShift = configDockingWithShift ? (byte)1 : (byte)0; + ConfigDockingAlwaysTabBar = configDockingAlwaysTabBar ? (byte)1 : (byte)0; + ConfigDockingTransparentPayload = configDockingTransparentPayload ? (byte)1 : (byte)0; + ConfigViewportsNoAutoMerge = configViewportsNoAutoMerge ? (byte)1 : (byte)0; + ConfigViewportsNoTaskBarIcon = configViewportsNoTaskBarIcon ? (byte)1 : (byte)0; + ConfigViewportsNoDecoration = configViewportsNoDecoration ? (byte)1 : (byte)0; + ConfigViewportsNoDefaultParent = configViewportsNoDefaultParent ? (byte)1 : (byte)0; + MouseDrawCursor = mouseDrawCursor ? (byte)1 : (byte)0; + ConfigMacOSXBehaviors = configMacOsxBehaviors ? (byte)1 : (byte)0; + ConfigInputTrickleEventQueue = configInputTrickleEventQueue ? (byte)1 : (byte)0; + ConfigInputTextCursorBlink = configInputTextCursorBlink ? (byte)1 : (byte)0; + ConfigDragClickToInputText = configDragClickToInputText ? (byte)1 : (byte)0; + ConfigWindowsResizeFromEdges = configWindowsResizeFromEdges ? (byte)1 : (byte)0; + ConfigWindowsMoveFromTitleBarOnly = configWindowsMoveFromTitleBarOnly ? (byte)1 : (byte)0; + ConfigMemoryCompactTimer = configMemoryCompactTimer; + BackendPlatformName = backendPlatformName; + BackendRendererName = backendRendererName; + BackendPlatformUserData = backendPlatformUserData; + BackendRendererUserData = backendRendererUserData; + BackendLanguageUserData = backendLanguageUserData; + GetClipboardTextFn = (void*)getClipboardTextFn; + SetClipboardTextFn = (void*)setClipboardTextFn; + ClipboardUserData = clipboardUserData; + SetPlatformImeDataFn = (void*)setPlatformImeDataFn; + UnusedPadding = unusedPadding; + WantCaptureMouse = wantCaptureMouse ? (byte)1 : (byte)0; + WantCaptureKeyboard = wantCaptureKeyboard ? (byte)1 : (byte)0; + WantTextInput = wantTextInput ? (byte)1 : (byte)0; + WantSetMousePos = wantSetMousePos ? (byte)1 : (byte)0; + WantSaveIniSettings = wantSaveIniSettings ? (byte)1 : (byte)0; + NavActive = navActive ? (byte)1 : (byte)0; + NavVisible = navVisible ? (byte)1 : (byte)0; + Framerate = framerate; + MetricsRenderVertices = metricsRenderVertices; + MetricsRenderIndices = metricsRenderIndices; + MetricsRenderWindows = metricsRenderWindows; + MetricsActiveWindows = metricsActiveWindows; + MetricsActiveAllocations = metricsActiveAllocations; + MouseDelta = mouseDelta; + if (keyMap != default(Span)) + { + KeyMap_0 = keyMap[0]; + KeyMap_1 = keyMap[1]; + KeyMap_2 = keyMap[2]; + KeyMap_3 = keyMap[3]; + KeyMap_4 = keyMap[4]; + KeyMap_5 = keyMap[5]; + KeyMap_6 = keyMap[6]; + KeyMap_7 = keyMap[7]; + KeyMap_8 = keyMap[8]; + KeyMap_9 = keyMap[9]; + KeyMap_10 = keyMap[10]; + KeyMap_11 = keyMap[11]; + KeyMap_12 = keyMap[12]; + KeyMap_13 = keyMap[13]; + KeyMap_14 = keyMap[14]; + KeyMap_15 = keyMap[15]; + KeyMap_16 = keyMap[16]; + KeyMap_17 = keyMap[17]; + KeyMap_18 = keyMap[18]; + KeyMap_19 = keyMap[19]; + KeyMap_20 = keyMap[20]; + KeyMap_21 = keyMap[21]; + KeyMap_22 = keyMap[22]; + KeyMap_23 = keyMap[23]; + KeyMap_24 = keyMap[24]; + KeyMap_25 = keyMap[25]; + KeyMap_26 = keyMap[26]; + KeyMap_27 = keyMap[27]; + KeyMap_28 = keyMap[28]; + KeyMap_29 = keyMap[29]; + KeyMap_30 = keyMap[30]; + KeyMap_31 = keyMap[31]; + KeyMap_32 = keyMap[32]; + KeyMap_33 = keyMap[33]; + KeyMap_34 = keyMap[34]; + KeyMap_35 = keyMap[35]; + KeyMap_36 = keyMap[36]; + KeyMap_37 = keyMap[37]; + KeyMap_38 = keyMap[38]; + KeyMap_39 = keyMap[39]; + KeyMap_40 = keyMap[40]; + KeyMap_41 = keyMap[41]; + KeyMap_42 = keyMap[42]; + KeyMap_43 = keyMap[43]; + KeyMap_44 = keyMap[44]; + KeyMap_45 = keyMap[45]; + KeyMap_46 = keyMap[46]; + KeyMap_47 = keyMap[47]; + KeyMap_48 = keyMap[48]; + KeyMap_49 = keyMap[49]; + KeyMap_50 = keyMap[50]; + KeyMap_51 = keyMap[51]; + KeyMap_52 = keyMap[52]; + KeyMap_53 = keyMap[53]; + KeyMap_54 = keyMap[54]; + KeyMap_55 = keyMap[55]; + KeyMap_56 = keyMap[56]; + KeyMap_57 = keyMap[57]; + KeyMap_58 = keyMap[58]; + KeyMap_59 = keyMap[59]; + KeyMap_60 = keyMap[60]; + KeyMap_61 = keyMap[61]; + KeyMap_62 = keyMap[62]; + KeyMap_63 = keyMap[63]; + KeyMap_64 = keyMap[64]; + KeyMap_65 = keyMap[65]; + KeyMap_66 = keyMap[66]; + KeyMap_67 = keyMap[67]; + KeyMap_68 = keyMap[68]; + KeyMap_69 = keyMap[69]; + KeyMap_70 = keyMap[70]; + KeyMap_71 = keyMap[71]; + KeyMap_72 = keyMap[72]; + KeyMap_73 = keyMap[73]; + KeyMap_74 = keyMap[74]; + KeyMap_75 = keyMap[75]; + KeyMap_76 = keyMap[76]; + KeyMap_77 = keyMap[77]; + KeyMap_78 = keyMap[78]; + KeyMap_79 = keyMap[79]; + KeyMap_80 = keyMap[80]; + KeyMap_81 = keyMap[81]; + KeyMap_82 = keyMap[82]; + KeyMap_83 = keyMap[83]; + KeyMap_84 = keyMap[84]; + KeyMap_85 = keyMap[85]; + KeyMap_86 = keyMap[86]; + KeyMap_87 = keyMap[87]; + KeyMap_88 = keyMap[88]; + KeyMap_89 = keyMap[89]; + KeyMap_90 = keyMap[90]; + KeyMap_91 = keyMap[91]; + KeyMap_92 = keyMap[92]; + KeyMap_93 = keyMap[93]; + KeyMap_94 = keyMap[94]; + KeyMap_95 = keyMap[95]; + KeyMap_96 = keyMap[96]; + KeyMap_97 = keyMap[97]; + KeyMap_98 = keyMap[98]; + KeyMap_99 = keyMap[99]; + KeyMap_100 = keyMap[100]; + KeyMap_101 = keyMap[101]; + KeyMap_102 = keyMap[102]; + KeyMap_103 = keyMap[103]; + KeyMap_104 = keyMap[104]; + KeyMap_105 = keyMap[105]; + KeyMap_106 = keyMap[106]; + KeyMap_107 = keyMap[107]; + KeyMap_108 = keyMap[108]; + KeyMap_109 = keyMap[109]; + KeyMap_110 = keyMap[110]; + KeyMap_111 = keyMap[111]; + KeyMap_112 = keyMap[112]; + KeyMap_113 = keyMap[113]; + KeyMap_114 = keyMap[114]; + KeyMap_115 = keyMap[115]; + KeyMap_116 = keyMap[116]; + KeyMap_117 = keyMap[117]; + KeyMap_118 = keyMap[118]; + KeyMap_119 = keyMap[119]; + KeyMap_120 = keyMap[120]; + KeyMap_121 = keyMap[121]; + KeyMap_122 = keyMap[122]; + KeyMap_123 = keyMap[123]; + KeyMap_124 = keyMap[124]; + KeyMap_125 = keyMap[125]; + KeyMap_126 = keyMap[126]; + KeyMap_127 = keyMap[127]; + KeyMap_128 = keyMap[128]; + KeyMap_129 = keyMap[129]; + KeyMap_130 = keyMap[130]; + KeyMap_131 = keyMap[131]; + KeyMap_132 = keyMap[132]; + KeyMap_133 = keyMap[133]; + KeyMap_134 = keyMap[134]; + KeyMap_135 = keyMap[135]; + KeyMap_136 = keyMap[136]; + KeyMap_137 = keyMap[137]; + KeyMap_138 = keyMap[138]; + KeyMap_139 = keyMap[139]; + KeyMap_140 = keyMap[140]; + KeyMap_141 = keyMap[141]; + KeyMap_142 = keyMap[142]; + KeyMap_143 = keyMap[143]; + KeyMap_144 = keyMap[144]; + KeyMap_145 = keyMap[145]; + KeyMap_146 = keyMap[146]; + KeyMap_147 = keyMap[147]; + KeyMap_148 = keyMap[148]; + KeyMap_149 = keyMap[149]; + KeyMap_150 = keyMap[150]; + KeyMap_151 = keyMap[151]; + KeyMap_152 = keyMap[152]; + KeyMap_153 = keyMap[153]; + KeyMap_154 = keyMap[154]; + KeyMap_155 = keyMap[155]; + KeyMap_156 = keyMap[156]; + KeyMap_157 = keyMap[157]; + KeyMap_158 = keyMap[158]; + KeyMap_159 = keyMap[159]; + KeyMap_160 = keyMap[160]; + KeyMap_161 = keyMap[161]; + KeyMap_162 = keyMap[162]; + KeyMap_163 = keyMap[163]; + KeyMap_164 = keyMap[164]; + KeyMap_165 = keyMap[165]; + KeyMap_166 = keyMap[166]; + KeyMap_167 = keyMap[167]; + KeyMap_168 = keyMap[168]; + KeyMap_169 = keyMap[169]; + KeyMap_170 = keyMap[170]; + KeyMap_171 = keyMap[171]; + KeyMap_172 = keyMap[172]; + KeyMap_173 = keyMap[173]; + KeyMap_174 = keyMap[174]; + KeyMap_175 = keyMap[175]; + KeyMap_176 = keyMap[176]; + KeyMap_177 = keyMap[177]; + KeyMap_178 = keyMap[178]; + KeyMap_179 = keyMap[179]; + KeyMap_180 = keyMap[180]; + KeyMap_181 = keyMap[181]; + KeyMap_182 = keyMap[182]; + KeyMap_183 = keyMap[183]; + KeyMap_184 = keyMap[184]; + KeyMap_185 = keyMap[185]; + KeyMap_186 = keyMap[186]; + KeyMap_187 = keyMap[187]; + KeyMap_188 = keyMap[188]; + KeyMap_189 = keyMap[189]; + KeyMap_190 = keyMap[190]; + KeyMap_191 = keyMap[191]; + KeyMap_192 = keyMap[192]; + KeyMap_193 = keyMap[193]; + KeyMap_194 = keyMap[194]; + KeyMap_195 = keyMap[195]; + KeyMap_196 = keyMap[196]; + KeyMap_197 = keyMap[197]; + KeyMap_198 = keyMap[198]; + KeyMap_199 = keyMap[199]; + KeyMap_200 = keyMap[200]; + KeyMap_201 = keyMap[201]; + KeyMap_202 = keyMap[202]; + KeyMap_203 = keyMap[203]; + KeyMap_204 = keyMap[204]; + KeyMap_205 = keyMap[205]; + KeyMap_206 = keyMap[206]; + KeyMap_207 = keyMap[207]; + KeyMap_208 = keyMap[208]; + KeyMap_209 = keyMap[209]; + KeyMap_210 = keyMap[210]; + KeyMap_211 = keyMap[211]; + KeyMap_212 = keyMap[212]; + KeyMap_213 = keyMap[213]; + KeyMap_214 = keyMap[214]; + KeyMap_215 = keyMap[215]; + KeyMap_216 = keyMap[216]; + KeyMap_217 = keyMap[217]; + KeyMap_218 = keyMap[218]; + KeyMap_219 = keyMap[219]; + KeyMap_220 = keyMap[220]; + KeyMap_221 = keyMap[221]; + KeyMap_222 = keyMap[222]; + KeyMap_223 = keyMap[223]; + KeyMap_224 = keyMap[224]; + KeyMap_225 = keyMap[225]; + KeyMap_226 = keyMap[226]; + KeyMap_227 = keyMap[227]; + KeyMap_228 = keyMap[228]; + KeyMap_229 = keyMap[229]; + KeyMap_230 = keyMap[230]; + KeyMap_231 = keyMap[231]; + KeyMap_232 = keyMap[232]; + KeyMap_233 = keyMap[233]; + KeyMap_234 = keyMap[234]; + KeyMap_235 = keyMap[235]; + KeyMap_236 = keyMap[236]; + KeyMap_237 = keyMap[237]; + KeyMap_238 = keyMap[238]; + KeyMap_239 = keyMap[239]; + KeyMap_240 = keyMap[240]; + KeyMap_241 = keyMap[241]; + KeyMap_242 = keyMap[242]; + KeyMap_243 = keyMap[243]; + KeyMap_244 = keyMap[244]; + KeyMap_245 = keyMap[245]; + KeyMap_246 = keyMap[246]; + KeyMap_247 = keyMap[247]; + KeyMap_248 = keyMap[248]; + KeyMap_249 = keyMap[249]; + KeyMap_250 = keyMap[250]; + KeyMap_251 = keyMap[251]; + KeyMap_252 = keyMap[252]; + KeyMap_253 = keyMap[253]; + KeyMap_254 = keyMap[254]; + KeyMap_255 = keyMap[255]; + KeyMap_256 = keyMap[256]; + KeyMap_257 = keyMap[257]; + KeyMap_258 = keyMap[258]; + KeyMap_259 = keyMap[259]; + KeyMap_260 = keyMap[260]; + KeyMap_261 = keyMap[261]; + KeyMap_262 = keyMap[262]; + KeyMap_263 = keyMap[263]; + KeyMap_264 = keyMap[264]; + KeyMap_265 = keyMap[265]; + KeyMap_266 = keyMap[266]; + KeyMap_267 = keyMap[267]; + KeyMap_268 = keyMap[268]; + KeyMap_269 = keyMap[269]; + KeyMap_270 = keyMap[270]; + KeyMap_271 = keyMap[271]; + KeyMap_272 = keyMap[272]; + KeyMap_273 = keyMap[273]; + KeyMap_274 = keyMap[274]; + KeyMap_275 = keyMap[275]; + KeyMap_276 = keyMap[276]; + KeyMap_277 = keyMap[277]; + KeyMap_278 = keyMap[278]; + KeyMap_279 = keyMap[279]; + KeyMap_280 = keyMap[280]; + KeyMap_281 = keyMap[281]; + KeyMap_282 = keyMap[282]; + KeyMap_283 = keyMap[283]; + KeyMap_284 = keyMap[284]; + KeyMap_285 = keyMap[285]; + KeyMap_286 = keyMap[286]; + KeyMap_287 = keyMap[287]; + KeyMap_288 = keyMap[288]; + KeyMap_289 = keyMap[289]; + KeyMap_290 = keyMap[290]; + KeyMap_291 = keyMap[291]; + KeyMap_292 = keyMap[292]; + KeyMap_293 = keyMap[293]; + KeyMap_294 = keyMap[294]; + KeyMap_295 = keyMap[295]; + KeyMap_296 = keyMap[296]; + KeyMap_297 = keyMap[297]; + KeyMap_298 = keyMap[298]; + KeyMap_299 = keyMap[299]; + KeyMap_300 = keyMap[300]; + KeyMap_301 = keyMap[301]; + KeyMap_302 = keyMap[302]; + KeyMap_303 = keyMap[303]; + KeyMap_304 = keyMap[304]; + KeyMap_305 = keyMap[305]; + KeyMap_306 = keyMap[306]; + KeyMap_307 = keyMap[307]; + KeyMap_308 = keyMap[308]; + KeyMap_309 = keyMap[309]; + KeyMap_310 = keyMap[310]; + KeyMap_311 = keyMap[311]; + KeyMap_312 = keyMap[312]; + KeyMap_313 = keyMap[313]; + KeyMap_314 = keyMap[314]; + KeyMap_315 = keyMap[315]; + KeyMap_316 = keyMap[316]; + KeyMap_317 = keyMap[317]; + KeyMap_318 = keyMap[318]; + KeyMap_319 = keyMap[319]; + KeyMap_320 = keyMap[320]; + KeyMap_321 = keyMap[321]; + KeyMap_322 = keyMap[322]; + KeyMap_323 = keyMap[323]; + KeyMap_324 = keyMap[324]; + KeyMap_325 = keyMap[325]; + KeyMap_326 = keyMap[326]; + KeyMap_327 = keyMap[327]; + KeyMap_328 = keyMap[328]; + KeyMap_329 = keyMap[329]; + KeyMap_330 = keyMap[330]; + KeyMap_331 = keyMap[331]; + KeyMap_332 = keyMap[332]; + KeyMap_333 = keyMap[333]; + KeyMap_334 = keyMap[334]; + KeyMap_335 = keyMap[335]; + KeyMap_336 = keyMap[336]; + KeyMap_337 = keyMap[337]; + KeyMap_338 = keyMap[338]; + KeyMap_339 = keyMap[339]; + KeyMap_340 = keyMap[340]; + KeyMap_341 = keyMap[341]; + KeyMap_342 = keyMap[342]; + KeyMap_343 = keyMap[343]; + KeyMap_344 = keyMap[344]; + KeyMap_345 = keyMap[345]; + KeyMap_346 = keyMap[346]; + KeyMap_347 = keyMap[347]; + KeyMap_348 = keyMap[348]; + KeyMap_349 = keyMap[349]; + KeyMap_350 = keyMap[350]; + KeyMap_351 = keyMap[351]; + KeyMap_352 = keyMap[352]; + KeyMap_353 = keyMap[353]; + KeyMap_354 = keyMap[354]; + KeyMap_355 = keyMap[355]; + KeyMap_356 = keyMap[356]; + KeyMap_357 = keyMap[357]; + KeyMap_358 = keyMap[358]; + KeyMap_359 = keyMap[359]; + KeyMap_360 = keyMap[360]; + KeyMap_361 = keyMap[361]; + KeyMap_362 = keyMap[362]; + KeyMap_363 = keyMap[363]; + KeyMap_364 = keyMap[364]; + KeyMap_365 = keyMap[365]; + KeyMap_366 = keyMap[366]; + KeyMap_367 = keyMap[367]; + KeyMap_368 = keyMap[368]; + KeyMap_369 = keyMap[369]; + KeyMap_370 = keyMap[370]; + KeyMap_371 = keyMap[371]; + KeyMap_372 = keyMap[372]; + KeyMap_373 = keyMap[373]; + KeyMap_374 = keyMap[374]; + KeyMap_375 = keyMap[375]; + KeyMap_376 = keyMap[376]; + KeyMap_377 = keyMap[377]; + KeyMap_378 = keyMap[378]; + KeyMap_379 = keyMap[379]; + KeyMap_380 = keyMap[380]; + KeyMap_381 = keyMap[381]; + KeyMap_382 = keyMap[382]; + KeyMap_383 = keyMap[383]; + KeyMap_384 = keyMap[384]; + KeyMap_385 = keyMap[385]; + KeyMap_386 = keyMap[386]; + KeyMap_387 = keyMap[387]; + KeyMap_388 = keyMap[388]; + KeyMap_389 = keyMap[389]; + KeyMap_390 = keyMap[390]; + KeyMap_391 = keyMap[391]; + KeyMap_392 = keyMap[392]; + KeyMap_393 = keyMap[393]; + KeyMap_394 = keyMap[394]; + KeyMap_395 = keyMap[395]; + KeyMap_396 = keyMap[396]; + KeyMap_397 = keyMap[397]; + KeyMap_398 = keyMap[398]; + KeyMap_399 = keyMap[399]; + KeyMap_400 = keyMap[400]; + KeyMap_401 = keyMap[401]; + KeyMap_402 = keyMap[402]; + KeyMap_403 = keyMap[403]; + KeyMap_404 = keyMap[404]; + KeyMap_405 = keyMap[405]; + KeyMap_406 = keyMap[406]; + KeyMap_407 = keyMap[407]; + KeyMap_408 = keyMap[408]; + KeyMap_409 = keyMap[409]; + KeyMap_410 = keyMap[410]; + KeyMap_411 = keyMap[411]; + KeyMap_412 = keyMap[412]; + KeyMap_413 = keyMap[413]; + KeyMap_414 = keyMap[414]; + KeyMap_415 = keyMap[415]; + KeyMap_416 = keyMap[416]; + KeyMap_417 = keyMap[417]; + KeyMap_418 = keyMap[418]; + KeyMap_419 = keyMap[419]; + KeyMap_420 = keyMap[420]; + KeyMap_421 = keyMap[421]; + KeyMap_422 = keyMap[422]; + KeyMap_423 = keyMap[423]; + KeyMap_424 = keyMap[424]; + KeyMap_425 = keyMap[425]; + KeyMap_426 = keyMap[426]; + KeyMap_427 = keyMap[427]; + KeyMap_428 = keyMap[428]; + KeyMap_429 = keyMap[429]; + KeyMap_430 = keyMap[430]; + KeyMap_431 = keyMap[431]; + KeyMap_432 = keyMap[432]; + KeyMap_433 = keyMap[433]; + KeyMap_434 = keyMap[434]; + KeyMap_435 = keyMap[435]; + KeyMap_436 = keyMap[436]; + KeyMap_437 = keyMap[437]; + KeyMap_438 = keyMap[438]; + KeyMap_439 = keyMap[439]; + KeyMap_440 = keyMap[440]; + KeyMap_441 = keyMap[441]; + KeyMap_442 = keyMap[442]; + KeyMap_443 = keyMap[443]; + KeyMap_444 = keyMap[444]; + KeyMap_445 = keyMap[445]; + KeyMap_446 = keyMap[446]; + KeyMap_447 = keyMap[447]; + KeyMap_448 = keyMap[448]; + KeyMap_449 = keyMap[449]; + KeyMap_450 = keyMap[450]; + KeyMap_451 = keyMap[451]; + KeyMap_452 = keyMap[452]; + KeyMap_453 = keyMap[453]; + KeyMap_454 = keyMap[454]; + KeyMap_455 = keyMap[455]; + KeyMap_456 = keyMap[456]; + KeyMap_457 = keyMap[457]; + KeyMap_458 = keyMap[458]; + KeyMap_459 = keyMap[459]; + KeyMap_460 = keyMap[460]; + KeyMap_461 = keyMap[461]; + KeyMap_462 = keyMap[462]; + KeyMap_463 = keyMap[463]; + KeyMap_464 = keyMap[464]; + KeyMap_465 = keyMap[465]; + KeyMap_466 = keyMap[466]; + KeyMap_467 = keyMap[467]; + KeyMap_468 = keyMap[468]; + KeyMap_469 = keyMap[469]; + KeyMap_470 = keyMap[470]; + KeyMap_471 = keyMap[471]; + KeyMap_472 = keyMap[472]; + KeyMap_473 = keyMap[473]; + KeyMap_474 = keyMap[474]; + KeyMap_475 = keyMap[475]; + KeyMap_476 = keyMap[476]; + KeyMap_477 = keyMap[477]; + KeyMap_478 = keyMap[478]; + KeyMap_479 = keyMap[479]; + KeyMap_480 = keyMap[480]; + KeyMap_481 = keyMap[481]; + KeyMap_482 = keyMap[482]; + KeyMap_483 = keyMap[483]; + KeyMap_484 = keyMap[484]; + KeyMap_485 = keyMap[485]; + KeyMap_486 = keyMap[486]; + KeyMap_487 = keyMap[487]; + KeyMap_488 = keyMap[488]; + KeyMap_489 = keyMap[489]; + KeyMap_490 = keyMap[490]; + KeyMap_491 = keyMap[491]; + KeyMap_492 = keyMap[492]; + KeyMap_493 = keyMap[493]; + KeyMap_494 = keyMap[494]; + KeyMap_495 = keyMap[495]; + KeyMap_496 = keyMap[496]; + KeyMap_497 = keyMap[497]; + KeyMap_498 = keyMap[498]; + KeyMap_499 = keyMap[499]; + KeyMap_500 = keyMap[500]; + KeyMap_501 = keyMap[501]; + KeyMap_502 = keyMap[502]; + KeyMap_503 = keyMap[503]; + KeyMap_504 = keyMap[504]; + KeyMap_505 = keyMap[505]; + KeyMap_506 = keyMap[506]; + KeyMap_507 = keyMap[507]; + KeyMap_508 = keyMap[508]; + KeyMap_509 = keyMap[509]; + KeyMap_510 = keyMap[510]; + KeyMap_511 = keyMap[511]; + KeyMap_512 = keyMap[512]; + KeyMap_513 = keyMap[513]; + KeyMap_514 = keyMap[514]; + KeyMap_515 = keyMap[515]; + KeyMap_516 = keyMap[516]; + KeyMap_517 = keyMap[517]; + KeyMap_518 = keyMap[518]; + KeyMap_519 = keyMap[519]; + KeyMap_520 = keyMap[520]; + KeyMap_521 = keyMap[521]; + KeyMap_522 = keyMap[522]; + KeyMap_523 = keyMap[523]; + KeyMap_524 = keyMap[524]; + KeyMap_525 = keyMap[525]; + KeyMap_526 = keyMap[526]; + KeyMap_527 = keyMap[527]; + KeyMap_528 = keyMap[528]; + KeyMap_529 = keyMap[529]; + KeyMap_530 = keyMap[530]; + KeyMap_531 = keyMap[531]; + KeyMap_532 = keyMap[532]; + KeyMap_533 = keyMap[533]; + KeyMap_534 = keyMap[534]; + KeyMap_535 = keyMap[535]; + KeyMap_536 = keyMap[536]; + KeyMap_537 = keyMap[537]; + KeyMap_538 = keyMap[538]; + KeyMap_539 = keyMap[539]; + KeyMap_540 = keyMap[540]; + KeyMap_541 = keyMap[541]; + KeyMap_542 = keyMap[542]; + KeyMap_543 = keyMap[543]; + KeyMap_544 = keyMap[544]; + KeyMap_545 = keyMap[545]; + KeyMap_546 = keyMap[546]; + KeyMap_547 = keyMap[547]; + KeyMap_548 = keyMap[548]; + KeyMap_549 = keyMap[549]; + KeyMap_550 = keyMap[550]; + KeyMap_551 = keyMap[551]; + KeyMap_552 = keyMap[552]; + KeyMap_553 = keyMap[553]; + KeyMap_554 = keyMap[554]; + KeyMap_555 = keyMap[555]; + KeyMap_556 = keyMap[556]; + KeyMap_557 = keyMap[557]; + KeyMap_558 = keyMap[558]; + KeyMap_559 = keyMap[559]; + KeyMap_560 = keyMap[560]; + KeyMap_561 = keyMap[561]; + KeyMap_562 = keyMap[562]; + KeyMap_563 = keyMap[563]; + KeyMap_564 = keyMap[564]; + KeyMap_565 = keyMap[565]; + KeyMap_566 = keyMap[566]; + KeyMap_567 = keyMap[567]; + KeyMap_568 = keyMap[568]; + KeyMap_569 = keyMap[569]; + KeyMap_570 = keyMap[570]; + KeyMap_571 = keyMap[571]; + KeyMap_572 = keyMap[572]; + KeyMap_573 = keyMap[573]; + KeyMap_574 = keyMap[574]; + KeyMap_575 = keyMap[575]; + KeyMap_576 = keyMap[576]; + KeyMap_577 = keyMap[577]; + KeyMap_578 = keyMap[578]; + KeyMap_579 = keyMap[579]; + KeyMap_580 = keyMap[580]; + KeyMap_581 = keyMap[581]; + KeyMap_582 = keyMap[582]; + KeyMap_583 = keyMap[583]; + KeyMap_584 = keyMap[584]; + KeyMap_585 = keyMap[585]; + KeyMap_586 = keyMap[586]; + KeyMap_587 = keyMap[587]; + KeyMap_588 = keyMap[588]; + KeyMap_589 = keyMap[589]; + KeyMap_590 = keyMap[590]; + KeyMap_591 = keyMap[591]; + KeyMap_592 = keyMap[592]; + KeyMap_593 = keyMap[593]; + KeyMap_594 = keyMap[594]; + KeyMap_595 = keyMap[595]; + KeyMap_596 = keyMap[596]; + KeyMap_597 = keyMap[597]; + KeyMap_598 = keyMap[598]; + KeyMap_599 = keyMap[599]; + KeyMap_600 = keyMap[600]; + KeyMap_601 = keyMap[601]; + KeyMap_602 = keyMap[602]; + KeyMap_603 = keyMap[603]; + KeyMap_604 = keyMap[604]; + KeyMap_605 = keyMap[605]; + KeyMap_606 = keyMap[606]; + KeyMap_607 = keyMap[607]; + KeyMap_608 = keyMap[608]; + KeyMap_609 = keyMap[609]; + KeyMap_610 = keyMap[610]; + KeyMap_611 = keyMap[611]; + KeyMap_612 = keyMap[612]; + KeyMap_613 = keyMap[613]; + KeyMap_614 = keyMap[614]; + KeyMap_615 = keyMap[615]; + KeyMap_616 = keyMap[616]; + KeyMap_617 = keyMap[617]; + KeyMap_618 = keyMap[618]; + KeyMap_619 = keyMap[619]; + KeyMap_620 = keyMap[620]; + KeyMap_621 = keyMap[621]; + KeyMap_622 = keyMap[622]; + KeyMap_623 = keyMap[623]; + KeyMap_624 = keyMap[624]; + KeyMap_625 = keyMap[625]; + KeyMap_626 = keyMap[626]; + KeyMap_627 = keyMap[627]; + KeyMap_628 = keyMap[628]; + KeyMap_629 = keyMap[629]; + KeyMap_630 = keyMap[630]; + KeyMap_631 = keyMap[631]; + KeyMap_632 = keyMap[632]; + KeyMap_633 = keyMap[633]; + KeyMap_634 = keyMap[634]; + KeyMap_635 = keyMap[635]; + KeyMap_636 = keyMap[636]; + KeyMap_637 = keyMap[637]; + KeyMap_638 = keyMap[638]; + KeyMap_639 = keyMap[639]; + KeyMap_640 = keyMap[640]; + KeyMap_641 = keyMap[641]; + KeyMap_642 = keyMap[642]; + KeyMap_643 = keyMap[643]; + KeyMap_644 = keyMap[644]; + } + if (keysDown != default(Span)) + { + KeysDown_0 = keysDown[0]; + KeysDown_1 = keysDown[1]; + KeysDown_2 = keysDown[2]; + KeysDown_3 = keysDown[3]; + KeysDown_4 = keysDown[4]; + KeysDown_5 = keysDown[5]; + KeysDown_6 = keysDown[6]; + KeysDown_7 = keysDown[7]; + KeysDown_8 = keysDown[8]; + KeysDown_9 = keysDown[9]; + KeysDown_10 = keysDown[10]; + KeysDown_11 = keysDown[11]; + KeysDown_12 = keysDown[12]; + KeysDown_13 = keysDown[13]; + KeysDown_14 = keysDown[14]; + KeysDown_15 = keysDown[15]; + KeysDown_16 = keysDown[16]; + KeysDown_17 = keysDown[17]; + KeysDown_18 = keysDown[18]; + KeysDown_19 = keysDown[19]; + KeysDown_20 = keysDown[20]; + KeysDown_21 = keysDown[21]; + KeysDown_22 = keysDown[22]; + KeysDown_23 = keysDown[23]; + KeysDown_24 = keysDown[24]; + KeysDown_25 = keysDown[25]; + KeysDown_26 = keysDown[26]; + KeysDown_27 = keysDown[27]; + KeysDown_28 = keysDown[28]; + KeysDown_29 = keysDown[29]; + KeysDown_30 = keysDown[30]; + KeysDown_31 = keysDown[31]; + KeysDown_32 = keysDown[32]; + KeysDown_33 = keysDown[33]; + KeysDown_34 = keysDown[34]; + KeysDown_35 = keysDown[35]; + KeysDown_36 = keysDown[36]; + KeysDown_37 = keysDown[37]; + KeysDown_38 = keysDown[38]; + KeysDown_39 = keysDown[39]; + KeysDown_40 = keysDown[40]; + KeysDown_41 = keysDown[41]; + KeysDown_42 = keysDown[42]; + KeysDown_43 = keysDown[43]; + KeysDown_44 = keysDown[44]; + KeysDown_45 = keysDown[45]; + KeysDown_46 = keysDown[46]; + KeysDown_47 = keysDown[47]; + KeysDown_48 = keysDown[48]; + KeysDown_49 = keysDown[49]; + KeysDown_50 = keysDown[50]; + KeysDown_51 = keysDown[51]; + KeysDown_52 = keysDown[52]; + KeysDown_53 = keysDown[53]; + KeysDown_54 = keysDown[54]; + KeysDown_55 = keysDown[55]; + KeysDown_56 = keysDown[56]; + KeysDown_57 = keysDown[57]; + KeysDown_58 = keysDown[58]; + KeysDown_59 = keysDown[59]; + KeysDown_60 = keysDown[60]; + KeysDown_61 = keysDown[61]; + KeysDown_62 = keysDown[62]; + KeysDown_63 = keysDown[63]; + KeysDown_64 = keysDown[64]; + KeysDown_65 = keysDown[65]; + KeysDown_66 = keysDown[66]; + KeysDown_67 = keysDown[67]; + KeysDown_68 = keysDown[68]; + KeysDown_69 = keysDown[69]; + KeysDown_70 = keysDown[70]; + KeysDown_71 = keysDown[71]; + KeysDown_72 = keysDown[72]; + KeysDown_73 = keysDown[73]; + KeysDown_74 = keysDown[74]; + KeysDown_75 = keysDown[75]; + KeysDown_76 = keysDown[76]; + KeysDown_77 = keysDown[77]; + KeysDown_78 = keysDown[78]; + KeysDown_79 = keysDown[79]; + KeysDown_80 = keysDown[80]; + KeysDown_81 = keysDown[81]; + KeysDown_82 = keysDown[82]; + KeysDown_83 = keysDown[83]; + KeysDown_84 = keysDown[84]; + KeysDown_85 = keysDown[85]; + KeysDown_86 = keysDown[86]; + KeysDown_87 = keysDown[87]; + KeysDown_88 = keysDown[88]; + KeysDown_89 = keysDown[89]; + KeysDown_90 = keysDown[90]; + KeysDown_91 = keysDown[91]; + KeysDown_92 = keysDown[92]; + KeysDown_93 = keysDown[93]; + KeysDown_94 = keysDown[94]; + KeysDown_95 = keysDown[95]; + KeysDown_96 = keysDown[96]; + KeysDown_97 = keysDown[97]; + KeysDown_98 = keysDown[98]; + KeysDown_99 = keysDown[99]; + KeysDown_100 = keysDown[100]; + KeysDown_101 = keysDown[101]; + KeysDown_102 = keysDown[102]; + KeysDown_103 = keysDown[103]; + KeysDown_104 = keysDown[104]; + KeysDown_105 = keysDown[105]; + KeysDown_106 = keysDown[106]; + KeysDown_107 = keysDown[107]; + KeysDown_108 = keysDown[108]; + KeysDown_109 = keysDown[109]; + KeysDown_110 = keysDown[110]; + KeysDown_111 = keysDown[111]; + KeysDown_112 = keysDown[112]; + KeysDown_113 = keysDown[113]; + KeysDown_114 = keysDown[114]; + KeysDown_115 = keysDown[115]; + KeysDown_116 = keysDown[116]; + KeysDown_117 = keysDown[117]; + KeysDown_118 = keysDown[118]; + KeysDown_119 = keysDown[119]; + KeysDown_120 = keysDown[120]; + KeysDown_121 = keysDown[121]; + KeysDown_122 = keysDown[122]; + KeysDown_123 = keysDown[123]; + KeysDown_124 = keysDown[124]; + KeysDown_125 = keysDown[125]; + KeysDown_126 = keysDown[126]; + KeysDown_127 = keysDown[127]; + KeysDown_128 = keysDown[128]; + KeysDown_129 = keysDown[129]; + KeysDown_130 = keysDown[130]; + KeysDown_131 = keysDown[131]; + KeysDown_132 = keysDown[132]; + KeysDown_133 = keysDown[133]; + KeysDown_134 = keysDown[134]; + KeysDown_135 = keysDown[135]; + KeysDown_136 = keysDown[136]; + KeysDown_137 = keysDown[137]; + KeysDown_138 = keysDown[138]; + KeysDown_139 = keysDown[139]; + KeysDown_140 = keysDown[140]; + KeysDown_141 = keysDown[141]; + KeysDown_142 = keysDown[142]; + KeysDown_143 = keysDown[143]; + KeysDown_144 = keysDown[144]; + KeysDown_145 = keysDown[145]; + KeysDown_146 = keysDown[146]; + KeysDown_147 = keysDown[147]; + KeysDown_148 = keysDown[148]; + KeysDown_149 = keysDown[149]; + KeysDown_150 = keysDown[150]; + KeysDown_151 = keysDown[151]; + KeysDown_152 = keysDown[152]; + KeysDown_153 = keysDown[153]; + KeysDown_154 = keysDown[154]; + KeysDown_155 = keysDown[155]; + KeysDown_156 = keysDown[156]; + KeysDown_157 = keysDown[157]; + KeysDown_158 = keysDown[158]; + KeysDown_159 = keysDown[159]; + KeysDown_160 = keysDown[160]; + KeysDown_161 = keysDown[161]; + KeysDown_162 = keysDown[162]; + KeysDown_163 = keysDown[163]; + KeysDown_164 = keysDown[164]; + KeysDown_165 = keysDown[165]; + KeysDown_166 = keysDown[166]; + KeysDown_167 = keysDown[167]; + KeysDown_168 = keysDown[168]; + KeysDown_169 = keysDown[169]; + KeysDown_170 = keysDown[170]; + KeysDown_171 = keysDown[171]; + KeysDown_172 = keysDown[172]; + KeysDown_173 = keysDown[173]; + KeysDown_174 = keysDown[174]; + KeysDown_175 = keysDown[175]; + KeysDown_176 = keysDown[176]; + KeysDown_177 = keysDown[177]; + KeysDown_178 = keysDown[178]; + KeysDown_179 = keysDown[179]; + KeysDown_180 = keysDown[180]; + KeysDown_181 = keysDown[181]; + KeysDown_182 = keysDown[182]; + KeysDown_183 = keysDown[183]; + KeysDown_184 = keysDown[184]; + KeysDown_185 = keysDown[185]; + KeysDown_186 = keysDown[186]; + KeysDown_187 = keysDown[187]; + KeysDown_188 = keysDown[188]; + KeysDown_189 = keysDown[189]; + KeysDown_190 = keysDown[190]; + KeysDown_191 = keysDown[191]; + KeysDown_192 = keysDown[192]; + KeysDown_193 = keysDown[193]; + KeysDown_194 = keysDown[194]; + KeysDown_195 = keysDown[195]; + KeysDown_196 = keysDown[196]; + KeysDown_197 = keysDown[197]; + KeysDown_198 = keysDown[198]; + KeysDown_199 = keysDown[199]; + KeysDown_200 = keysDown[200]; + KeysDown_201 = keysDown[201]; + KeysDown_202 = keysDown[202]; + KeysDown_203 = keysDown[203]; + KeysDown_204 = keysDown[204]; + KeysDown_205 = keysDown[205]; + KeysDown_206 = keysDown[206]; + KeysDown_207 = keysDown[207]; + KeysDown_208 = keysDown[208]; + KeysDown_209 = keysDown[209]; + KeysDown_210 = keysDown[210]; + KeysDown_211 = keysDown[211]; + KeysDown_212 = keysDown[212]; + KeysDown_213 = keysDown[213]; + KeysDown_214 = keysDown[214]; + KeysDown_215 = keysDown[215]; + KeysDown_216 = keysDown[216]; + KeysDown_217 = keysDown[217]; + KeysDown_218 = keysDown[218]; + KeysDown_219 = keysDown[219]; + KeysDown_220 = keysDown[220]; + KeysDown_221 = keysDown[221]; + KeysDown_222 = keysDown[222]; + KeysDown_223 = keysDown[223]; + KeysDown_224 = keysDown[224]; + KeysDown_225 = keysDown[225]; + KeysDown_226 = keysDown[226]; + KeysDown_227 = keysDown[227]; + KeysDown_228 = keysDown[228]; + KeysDown_229 = keysDown[229]; + KeysDown_230 = keysDown[230]; + KeysDown_231 = keysDown[231]; + KeysDown_232 = keysDown[232]; + KeysDown_233 = keysDown[233]; + KeysDown_234 = keysDown[234]; + KeysDown_235 = keysDown[235]; + KeysDown_236 = keysDown[236]; + KeysDown_237 = keysDown[237]; + KeysDown_238 = keysDown[238]; + KeysDown_239 = keysDown[239]; + KeysDown_240 = keysDown[240]; + KeysDown_241 = keysDown[241]; + KeysDown_242 = keysDown[242]; + KeysDown_243 = keysDown[243]; + KeysDown_244 = keysDown[244]; + KeysDown_245 = keysDown[245]; + KeysDown_246 = keysDown[246]; + KeysDown_247 = keysDown[247]; + KeysDown_248 = keysDown[248]; + KeysDown_249 = keysDown[249]; + KeysDown_250 = keysDown[250]; + KeysDown_251 = keysDown[251]; + KeysDown_252 = keysDown[252]; + KeysDown_253 = keysDown[253]; + KeysDown_254 = keysDown[254]; + KeysDown_255 = keysDown[255]; + KeysDown_256 = keysDown[256]; + KeysDown_257 = keysDown[257]; + KeysDown_258 = keysDown[258]; + KeysDown_259 = keysDown[259]; + KeysDown_260 = keysDown[260]; + KeysDown_261 = keysDown[261]; + KeysDown_262 = keysDown[262]; + KeysDown_263 = keysDown[263]; + KeysDown_264 = keysDown[264]; + KeysDown_265 = keysDown[265]; + KeysDown_266 = keysDown[266]; + KeysDown_267 = keysDown[267]; + KeysDown_268 = keysDown[268]; + KeysDown_269 = keysDown[269]; + KeysDown_270 = keysDown[270]; + KeysDown_271 = keysDown[271]; + KeysDown_272 = keysDown[272]; + KeysDown_273 = keysDown[273]; + KeysDown_274 = keysDown[274]; + KeysDown_275 = keysDown[275]; + KeysDown_276 = keysDown[276]; + KeysDown_277 = keysDown[277]; + KeysDown_278 = keysDown[278]; + KeysDown_279 = keysDown[279]; + KeysDown_280 = keysDown[280]; + KeysDown_281 = keysDown[281]; + KeysDown_282 = keysDown[282]; + KeysDown_283 = keysDown[283]; + KeysDown_284 = keysDown[284]; + KeysDown_285 = keysDown[285]; + KeysDown_286 = keysDown[286]; + KeysDown_287 = keysDown[287]; + KeysDown_288 = keysDown[288]; + KeysDown_289 = keysDown[289]; + KeysDown_290 = keysDown[290]; + KeysDown_291 = keysDown[291]; + KeysDown_292 = keysDown[292]; + KeysDown_293 = keysDown[293]; + KeysDown_294 = keysDown[294]; + KeysDown_295 = keysDown[295]; + KeysDown_296 = keysDown[296]; + KeysDown_297 = keysDown[297]; + KeysDown_298 = keysDown[298]; + KeysDown_299 = keysDown[299]; + KeysDown_300 = keysDown[300]; + KeysDown_301 = keysDown[301]; + KeysDown_302 = keysDown[302]; + KeysDown_303 = keysDown[303]; + KeysDown_304 = keysDown[304]; + KeysDown_305 = keysDown[305]; + KeysDown_306 = keysDown[306]; + KeysDown_307 = keysDown[307]; + KeysDown_308 = keysDown[308]; + KeysDown_309 = keysDown[309]; + KeysDown_310 = keysDown[310]; + KeysDown_311 = keysDown[311]; + KeysDown_312 = keysDown[312]; + KeysDown_313 = keysDown[313]; + KeysDown_314 = keysDown[314]; + KeysDown_315 = keysDown[315]; + KeysDown_316 = keysDown[316]; + KeysDown_317 = keysDown[317]; + KeysDown_318 = keysDown[318]; + KeysDown_319 = keysDown[319]; + KeysDown_320 = keysDown[320]; + KeysDown_321 = keysDown[321]; + KeysDown_322 = keysDown[322]; + KeysDown_323 = keysDown[323]; + KeysDown_324 = keysDown[324]; + KeysDown_325 = keysDown[325]; + KeysDown_326 = keysDown[326]; + KeysDown_327 = keysDown[327]; + KeysDown_328 = keysDown[328]; + KeysDown_329 = keysDown[329]; + KeysDown_330 = keysDown[330]; + KeysDown_331 = keysDown[331]; + KeysDown_332 = keysDown[332]; + KeysDown_333 = keysDown[333]; + KeysDown_334 = keysDown[334]; + KeysDown_335 = keysDown[335]; + KeysDown_336 = keysDown[336]; + KeysDown_337 = keysDown[337]; + KeysDown_338 = keysDown[338]; + KeysDown_339 = keysDown[339]; + KeysDown_340 = keysDown[340]; + KeysDown_341 = keysDown[341]; + KeysDown_342 = keysDown[342]; + KeysDown_343 = keysDown[343]; + KeysDown_344 = keysDown[344]; + KeysDown_345 = keysDown[345]; + KeysDown_346 = keysDown[346]; + KeysDown_347 = keysDown[347]; + KeysDown_348 = keysDown[348]; + KeysDown_349 = keysDown[349]; + KeysDown_350 = keysDown[350]; + KeysDown_351 = keysDown[351]; + KeysDown_352 = keysDown[352]; + KeysDown_353 = keysDown[353]; + KeysDown_354 = keysDown[354]; + KeysDown_355 = keysDown[355]; + KeysDown_356 = keysDown[356]; + KeysDown_357 = keysDown[357]; + KeysDown_358 = keysDown[358]; + KeysDown_359 = keysDown[359]; + KeysDown_360 = keysDown[360]; + KeysDown_361 = keysDown[361]; + KeysDown_362 = keysDown[362]; + KeysDown_363 = keysDown[363]; + KeysDown_364 = keysDown[364]; + KeysDown_365 = keysDown[365]; + KeysDown_366 = keysDown[366]; + KeysDown_367 = keysDown[367]; + KeysDown_368 = keysDown[368]; + KeysDown_369 = keysDown[369]; + KeysDown_370 = keysDown[370]; + KeysDown_371 = keysDown[371]; + KeysDown_372 = keysDown[372]; + KeysDown_373 = keysDown[373]; + KeysDown_374 = keysDown[374]; + KeysDown_375 = keysDown[375]; + KeysDown_376 = keysDown[376]; + KeysDown_377 = keysDown[377]; + KeysDown_378 = keysDown[378]; + KeysDown_379 = keysDown[379]; + KeysDown_380 = keysDown[380]; + KeysDown_381 = keysDown[381]; + KeysDown_382 = keysDown[382]; + KeysDown_383 = keysDown[383]; + KeysDown_384 = keysDown[384]; + KeysDown_385 = keysDown[385]; + KeysDown_386 = keysDown[386]; + KeysDown_387 = keysDown[387]; + KeysDown_388 = keysDown[388]; + KeysDown_389 = keysDown[389]; + KeysDown_390 = keysDown[390]; + KeysDown_391 = keysDown[391]; + KeysDown_392 = keysDown[392]; + KeysDown_393 = keysDown[393]; + KeysDown_394 = keysDown[394]; + KeysDown_395 = keysDown[395]; + KeysDown_396 = keysDown[396]; + KeysDown_397 = keysDown[397]; + KeysDown_398 = keysDown[398]; + KeysDown_399 = keysDown[399]; + KeysDown_400 = keysDown[400]; + KeysDown_401 = keysDown[401]; + KeysDown_402 = keysDown[402]; + KeysDown_403 = keysDown[403]; + KeysDown_404 = keysDown[404]; + KeysDown_405 = keysDown[405]; + KeysDown_406 = keysDown[406]; + KeysDown_407 = keysDown[407]; + KeysDown_408 = keysDown[408]; + KeysDown_409 = keysDown[409]; + KeysDown_410 = keysDown[410]; + KeysDown_411 = keysDown[411]; + KeysDown_412 = keysDown[412]; + KeysDown_413 = keysDown[413]; + KeysDown_414 = keysDown[414]; + KeysDown_415 = keysDown[415]; + KeysDown_416 = keysDown[416]; + KeysDown_417 = keysDown[417]; + KeysDown_418 = keysDown[418]; + KeysDown_419 = keysDown[419]; + KeysDown_420 = keysDown[420]; + KeysDown_421 = keysDown[421]; + KeysDown_422 = keysDown[422]; + KeysDown_423 = keysDown[423]; + KeysDown_424 = keysDown[424]; + KeysDown_425 = keysDown[425]; + KeysDown_426 = keysDown[426]; + KeysDown_427 = keysDown[427]; + KeysDown_428 = keysDown[428]; + KeysDown_429 = keysDown[429]; + KeysDown_430 = keysDown[430]; + KeysDown_431 = keysDown[431]; + KeysDown_432 = keysDown[432]; + KeysDown_433 = keysDown[433]; + KeysDown_434 = keysDown[434]; + KeysDown_435 = keysDown[435]; + KeysDown_436 = keysDown[436]; + KeysDown_437 = keysDown[437]; + KeysDown_438 = keysDown[438]; + KeysDown_439 = keysDown[439]; + KeysDown_440 = keysDown[440]; + KeysDown_441 = keysDown[441]; + KeysDown_442 = keysDown[442]; + KeysDown_443 = keysDown[443]; + KeysDown_444 = keysDown[444]; + KeysDown_445 = keysDown[445]; + KeysDown_446 = keysDown[446]; + KeysDown_447 = keysDown[447]; + KeysDown_448 = keysDown[448]; + KeysDown_449 = keysDown[449]; + KeysDown_450 = keysDown[450]; + KeysDown_451 = keysDown[451]; + KeysDown_452 = keysDown[452]; + KeysDown_453 = keysDown[453]; + KeysDown_454 = keysDown[454]; + KeysDown_455 = keysDown[455]; + KeysDown_456 = keysDown[456]; + KeysDown_457 = keysDown[457]; + KeysDown_458 = keysDown[458]; + KeysDown_459 = keysDown[459]; + KeysDown_460 = keysDown[460]; + KeysDown_461 = keysDown[461]; + KeysDown_462 = keysDown[462]; + KeysDown_463 = keysDown[463]; + KeysDown_464 = keysDown[464]; + KeysDown_465 = keysDown[465]; + KeysDown_466 = keysDown[466]; + KeysDown_467 = keysDown[467]; + KeysDown_468 = keysDown[468]; + KeysDown_469 = keysDown[469]; + KeysDown_470 = keysDown[470]; + KeysDown_471 = keysDown[471]; + KeysDown_472 = keysDown[472]; + KeysDown_473 = keysDown[473]; + KeysDown_474 = keysDown[474]; + KeysDown_475 = keysDown[475]; + KeysDown_476 = keysDown[476]; + KeysDown_477 = keysDown[477]; + KeysDown_478 = keysDown[478]; + KeysDown_479 = keysDown[479]; + KeysDown_480 = keysDown[480]; + KeysDown_481 = keysDown[481]; + KeysDown_482 = keysDown[482]; + KeysDown_483 = keysDown[483]; + KeysDown_484 = keysDown[484]; + KeysDown_485 = keysDown[485]; + KeysDown_486 = keysDown[486]; + KeysDown_487 = keysDown[487]; + KeysDown_488 = keysDown[488]; + KeysDown_489 = keysDown[489]; + KeysDown_490 = keysDown[490]; + KeysDown_491 = keysDown[491]; + KeysDown_492 = keysDown[492]; + KeysDown_493 = keysDown[493]; + KeysDown_494 = keysDown[494]; + KeysDown_495 = keysDown[495]; + KeysDown_496 = keysDown[496]; + KeysDown_497 = keysDown[497]; + KeysDown_498 = keysDown[498]; + KeysDown_499 = keysDown[499]; + KeysDown_500 = keysDown[500]; + KeysDown_501 = keysDown[501]; + KeysDown_502 = keysDown[502]; + KeysDown_503 = keysDown[503]; + KeysDown_504 = keysDown[504]; + KeysDown_505 = keysDown[505]; + KeysDown_506 = keysDown[506]; + KeysDown_507 = keysDown[507]; + KeysDown_508 = keysDown[508]; + KeysDown_509 = keysDown[509]; + KeysDown_510 = keysDown[510]; + KeysDown_511 = keysDown[511]; + KeysDown_512 = keysDown[512]; + KeysDown_513 = keysDown[513]; + KeysDown_514 = keysDown[514]; + KeysDown_515 = keysDown[515]; + KeysDown_516 = keysDown[516]; + KeysDown_517 = keysDown[517]; + KeysDown_518 = keysDown[518]; + KeysDown_519 = keysDown[519]; + KeysDown_520 = keysDown[520]; + KeysDown_521 = keysDown[521]; + KeysDown_522 = keysDown[522]; + KeysDown_523 = keysDown[523]; + KeysDown_524 = keysDown[524]; + KeysDown_525 = keysDown[525]; + KeysDown_526 = keysDown[526]; + KeysDown_527 = keysDown[527]; + KeysDown_528 = keysDown[528]; + KeysDown_529 = keysDown[529]; + KeysDown_530 = keysDown[530]; + KeysDown_531 = keysDown[531]; + KeysDown_532 = keysDown[532]; + KeysDown_533 = keysDown[533]; + KeysDown_534 = keysDown[534]; + KeysDown_535 = keysDown[535]; + KeysDown_536 = keysDown[536]; + KeysDown_537 = keysDown[537]; + KeysDown_538 = keysDown[538]; + KeysDown_539 = keysDown[539]; + KeysDown_540 = keysDown[540]; + KeysDown_541 = keysDown[541]; + KeysDown_542 = keysDown[542]; + KeysDown_543 = keysDown[543]; + KeysDown_544 = keysDown[544]; + KeysDown_545 = keysDown[545]; + KeysDown_546 = keysDown[546]; + KeysDown_547 = keysDown[547]; + KeysDown_548 = keysDown[548]; + KeysDown_549 = keysDown[549]; + KeysDown_550 = keysDown[550]; + KeysDown_551 = keysDown[551]; + KeysDown_552 = keysDown[552]; + KeysDown_553 = keysDown[553]; + KeysDown_554 = keysDown[554]; + KeysDown_555 = keysDown[555]; + KeysDown_556 = keysDown[556]; + KeysDown_557 = keysDown[557]; + KeysDown_558 = keysDown[558]; + KeysDown_559 = keysDown[559]; + KeysDown_560 = keysDown[560]; + KeysDown_561 = keysDown[561]; + KeysDown_562 = keysDown[562]; + KeysDown_563 = keysDown[563]; + KeysDown_564 = keysDown[564]; + KeysDown_565 = keysDown[565]; + KeysDown_566 = keysDown[566]; + KeysDown_567 = keysDown[567]; + KeysDown_568 = keysDown[568]; + KeysDown_569 = keysDown[569]; + KeysDown_570 = keysDown[570]; + KeysDown_571 = keysDown[571]; + KeysDown_572 = keysDown[572]; + KeysDown_573 = keysDown[573]; + KeysDown_574 = keysDown[574]; + KeysDown_575 = keysDown[575]; + KeysDown_576 = keysDown[576]; + KeysDown_577 = keysDown[577]; + KeysDown_578 = keysDown[578]; + KeysDown_579 = keysDown[579]; + KeysDown_580 = keysDown[580]; + KeysDown_581 = keysDown[581]; + KeysDown_582 = keysDown[582]; + KeysDown_583 = keysDown[583]; + KeysDown_584 = keysDown[584]; + KeysDown_585 = keysDown[585]; + KeysDown_586 = keysDown[586]; + KeysDown_587 = keysDown[587]; + KeysDown_588 = keysDown[588]; + KeysDown_589 = keysDown[589]; + KeysDown_590 = keysDown[590]; + KeysDown_591 = keysDown[591]; + KeysDown_592 = keysDown[592]; + KeysDown_593 = keysDown[593]; + KeysDown_594 = keysDown[594]; + KeysDown_595 = keysDown[595]; + KeysDown_596 = keysDown[596]; + KeysDown_597 = keysDown[597]; + KeysDown_598 = keysDown[598]; + KeysDown_599 = keysDown[599]; + KeysDown_600 = keysDown[600]; + KeysDown_601 = keysDown[601]; + KeysDown_602 = keysDown[602]; + KeysDown_603 = keysDown[603]; + KeysDown_604 = keysDown[604]; + KeysDown_605 = keysDown[605]; + KeysDown_606 = keysDown[606]; + KeysDown_607 = keysDown[607]; + KeysDown_608 = keysDown[608]; + KeysDown_609 = keysDown[609]; + KeysDown_610 = keysDown[610]; + KeysDown_611 = keysDown[611]; + KeysDown_612 = keysDown[612]; + KeysDown_613 = keysDown[613]; + KeysDown_614 = keysDown[614]; + KeysDown_615 = keysDown[615]; + KeysDown_616 = keysDown[616]; + KeysDown_617 = keysDown[617]; + KeysDown_618 = keysDown[618]; + KeysDown_619 = keysDown[619]; + KeysDown_620 = keysDown[620]; + KeysDown_621 = keysDown[621]; + KeysDown_622 = keysDown[622]; + KeysDown_623 = keysDown[623]; + KeysDown_624 = keysDown[624]; + KeysDown_625 = keysDown[625]; + KeysDown_626 = keysDown[626]; + KeysDown_627 = keysDown[627]; + KeysDown_628 = keysDown[628]; + KeysDown_629 = keysDown[629]; + KeysDown_630 = keysDown[630]; + KeysDown_631 = keysDown[631]; + KeysDown_632 = keysDown[632]; + KeysDown_633 = keysDown[633]; + KeysDown_634 = keysDown[634]; + KeysDown_635 = keysDown[635]; + KeysDown_636 = keysDown[636]; + KeysDown_637 = keysDown[637]; + KeysDown_638 = keysDown[638]; + KeysDown_639 = keysDown[639]; + KeysDown_640 = keysDown[640]; + KeysDown_641 = keysDown[641]; + KeysDown_642 = keysDown[642]; + KeysDown_643 = keysDown[643]; + KeysDown_644 = keysDown[644]; + } + MousePos = mousePos; + if (mouseDown != default(Span)) + { + MouseDown_0 = mouseDown[0]; + MouseDown_1 = mouseDown[1]; + MouseDown_2 = mouseDown[2]; + MouseDown_3 = mouseDown[3]; + MouseDown_4 = mouseDown[4]; + } + MouseWheel = mouseWheel; + MouseWheelH = mouseWheelH; + MouseHoveredViewport = mouseHoveredViewport; + KeyCtrl = keyCtrl ? (byte)1 : (byte)0; + KeyShift = keyShift ? (byte)1 : (byte)0; + KeyAlt = keyAlt ? (byte)1 : (byte)0; + KeySuper = keySuper ? (byte)1 : (byte)0; + if (navInputs != default(Span)) + { + NavInputs_0 = navInputs[0]; + NavInputs_1 = navInputs[1]; + NavInputs_2 = navInputs[2]; + NavInputs_3 = navInputs[3]; + NavInputs_4 = navInputs[4]; + NavInputs_5 = navInputs[5]; + NavInputs_6 = navInputs[6]; + NavInputs_7 = navInputs[7]; + NavInputs_8 = navInputs[8]; + NavInputs_9 = navInputs[9]; + NavInputs_10 = navInputs[10]; + NavInputs_11 = navInputs[11]; + NavInputs_12 = navInputs[12]; + NavInputs_13 = navInputs[13]; + NavInputs_14 = navInputs[14]; + NavInputs_15 = navInputs[15]; + NavInputs_16 = navInputs[16]; + NavInputs_17 = navInputs[17]; + NavInputs_18 = navInputs[18]; + NavInputs_19 = navInputs[19]; + NavInputs_20 = navInputs[20]; + } + KeyMods = keyMods; + if (keysData != default(Span)) + { + KeysData_0 = keysData[0]; + KeysData_1 = keysData[1]; + KeysData_2 = keysData[2]; + KeysData_3 = keysData[3]; + KeysData_4 = keysData[4]; + KeysData_5 = keysData[5]; + KeysData_6 = keysData[6]; + KeysData_7 = keysData[7]; + KeysData_8 = keysData[8]; + KeysData_9 = keysData[9]; + KeysData_10 = keysData[10]; + KeysData_11 = keysData[11]; + KeysData_12 = keysData[12]; + KeysData_13 = keysData[13]; + KeysData_14 = keysData[14]; + KeysData_15 = keysData[15]; + KeysData_16 = keysData[16]; + KeysData_17 = keysData[17]; + KeysData_18 = keysData[18]; + KeysData_19 = keysData[19]; + KeysData_20 = keysData[20]; + KeysData_21 = keysData[21]; + KeysData_22 = keysData[22]; + KeysData_23 = keysData[23]; + KeysData_24 = keysData[24]; + KeysData_25 = keysData[25]; + KeysData_26 = keysData[26]; + KeysData_27 = keysData[27]; + KeysData_28 = keysData[28]; + KeysData_29 = keysData[29]; + KeysData_30 = keysData[30]; + KeysData_31 = keysData[31]; + KeysData_32 = keysData[32]; + KeysData_33 = keysData[33]; + KeysData_34 = keysData[34]; + KeysData_35 = keysData[35]; + KeysData_36 = keysData[36]; + KeysData_37 = keysData[37]; + KeysData_38 = keysData[38]; + KeysData_39 = keysData[39]; + KeysData_40 = keysData[40]; + KeysData_41 = keysData[41]; + KeysData_42 = keysData[42]; + KeysData_43 = keysData[43]; + KeysData_44 = keysData[44]; + KeysData_45 = keysData[45]; + KeysData_46 = keysData[46]; + KeysData_47 = keysData[47]; + KeysData_48 = keysData[48]; + KeysData_49 = keysData[49]; + KeysData_50 = keysData[50]; + KeysData_51 = keysData[51]; + KeysData_52 = keysData[52]; + KeysData_53 = keysData[53]; + KeysData_54 = keysData[54]; + KeysData_55 = keysData[55]; + KeysData_56 = keysData[56]; + KeysData_57 = keysData[57]; + KeysData_58 = keysData[58]; + KeysData_59 = keysData[59]; + KeysData_60 = keysData[60]; + KeysData_61 = keysData[61]; + KeysData_62 = keysData[62]; + KeysData_63 = keysData[63]; + KeysData_64 = keysData[64]; + KeysData_65 = keysData[65]; + KeysData_66 = keysData[66]; + KeysData_67 = keysData[67]; + KeysData_68 = keysData[68]; + KeysData_69 = keysData[69]; + KeysData_70 = keysData[70]; + KeysData_71 = keysData[71]; + KeysData_72 = keysData[72]; + KeysData_73 = keysData[73]; + KeysData_74 = keysData[74]; + KeysData_75 = keysData[75]; + KeysData_76 = keysData[76]; + KeysData_77 = keysData[77]; + KeysData_78 = keysData[78]; + KeysData_79 = keysData[79]; + KeysData_80 = keysData[80]; + KeysData_81 = keysData[81]; + KeysData_82 = keysData[82]; + KeysData_83 = keysData[83]; + KeysData_84 = keysData[84]; + KeysData_85 = keysData[85]; + KeysData_86 = keysData[86]; + KeysData_87 = keysData[87]; + KeysData_88 = keysData[88]; + KeysData_89 = keysData[89]; + KeysData_90 = keysData[90]; + KeysData_91 = keysData[91]; + KeysData_92 = keysData[92]; + KeysData_93 = keysData[93]; + KeysData_94 = keysData[94]; + KeysData_95 = keysData[95]; + KeysData_96 = keysData[96]; + KeysData_97 = keysData[97]; + KeysData_98 = keysData[98]; + KeysData_99 = keysData[99]; + KeysData_100 = keysData[100]; + KeysData_101 = keysData[101]; + KeysData_102 = keysData[102]; + KeysData_103 = keysData[103]; + KeysData_104 = keysData[104]; + KeysData_105 = keysData[105]; + KeysData_106 = keysData[106]; + KeysData_107 = keysData[107]; + KeysData_108 = keysData[108]; + KeysData_109 = keysData[109]; + KeysData_110 = keysData[110]; + KeysData_111 = keysData[111]; + KeysData_112 = keysData[112]; + KeysData_113 = keysData[113]; + KeysData_114 = keysData[114]; + KeysData_115 = keysData[115]; + KeysData_116 = keysData[116]; + KeysData_117 = keysData[117]; + KeysData_118 = keysData[118]; + KeysData_119 = keysData[119]; + KeysData_120 = keysData[120]; + KeysData_121 = keysData[121]; + KeysData_122 = keysData[122]; + KeysData_123 = keysData[123]; + KeysData_124 = keysData[124]; + KeysData_125 = keysData[125]; + KeysData_126 = keysData[126]; + KeysData_127 = keysData[127]; + KeysData_128 = keysData[128]; + KeysData_129 = keysData[129]; + KeysData_130 = keysData[130]; + KeysData_131 = keysData[131]; + KeysData_132 = keysData[132]; + KeysData_133 = keysData[133]; + KeysData_134 = keysData[134]; + KeysData_135 = keysData[135]; + KeysData_136 = keysData[136]; + KeysData_137 = keysData[137]; + KeysData_138 = keysData[138]; + KeysData_139 = keysData[139]; + KeysData_140 = keysData[140]; + KeysData_141 = keysData[141]; + KeysData_142 = keysData[142]; + KeysData_143 = keysData[143]; + KeysData_144 = keysData[144]; + KeysData_145 = keysData[145]; + KeysData_146 = keysData[146]; + KeysData_147 = keysData[147]; + KeysData_148 = keysData[148]; + KeysData_149 = keysData[149]; + KeysData_150 = keysData[150]; + KeysData_151 = keysData[151]; + KeysData_152 = keysData[152]; + KeysData_153 = keysData[153]; + KeysData_154 = keysData[154]; + KeysData_155 = keysData[155]; + KeysData_156 = keysData[156]; + KeysData_157 = keysData[157]; + KeysData_158 = keysData[158]; + KeysData_159 = keysData[159]; + KeysData_160 = keysData[160]; + KeysData_161 = keysData[161]; + KeysData_162 = keysData[162]; + KeysData_163 = keysData[163]; + KeysData_164 = keysData[164]; + KeysData_165 = keysData[165]; + KeysData_166 = keysData[166]; + KeysData_167 = keysData[167]; + KeysData_168 = keysData[168]; + KeysData_169 = keysData[169]; + KeysData_170 = keysData[170]; + KeysData_171 = keysData[171]; + KeysData_172 = keysData[172]; + KeysData_173 = keysData[173]; + KeysData_174 = keysData[174]; + KeysData_175 = keysData[175]; + KeysData_176 = keysData[176]; + KeysData_177 = keysData[177]; + KeysData_178 = keysData[178]; + KeysData_179 = keysData[179]; + KeysData_180 = keysData[180]; + KeysData_181 = keysData[181]; + KeysData_182 = keysData[182]; + KeysData_183 = keysData[183]; + KeysData_184 = keysData[184]; + KeysData_185 = keysData[185]; + KeysData_186 = keysData[186]; + KeysData_187 = keysData[187]; + KeysData_188 = keysData[188]; + KeysData_189 = keysData[189]; + KeysData_190 = keysData[190]; + KeysData_191 = keysData[191]; + KeysData_192 = keysData[192]; + KeysData_193 = keysData[193]; + KeysData_194 = keysData[194]; + KeysData_195 = keysData[195]; + KeysData_196 = keysData[196]; + KeysData_197 = keysData[197]; + KeysData_198 = keysData[198]; + KeysData_199 = keysData[199]; + KeysData_200 = keysData[200]; + KeysData_201 = keysData[201]; + KeysData_202 = keysData[202]; + KeysData_203 = keysData[203]; + KeysData_204 = keysData[204]; + KeysData_205 = keysData[205]; + KeysData_206 = keysData[206]; + KeysData_207 = keysData[207]; + KeysData_208 = keysData[208]; + KeysData_209 = keysData[209]; + KeysData_210 = keysData[210]; + KeysData_211 = keysData[211]; + KeysData_212 = keysData[212]; + KeysData_213 = keysData[213]; + KeysData_214 = keysData[214]; + KeysData_215 = keysData[215]; + KeysData_216 = keysData[216]; + KeysData_217 = keysData[217]; + KeysData_218 = keysData[218]; + KeysData_219 = keysData[219]; + KeysData_220 = keysData[220]; + KeysData_221 = keysData[221]; + KeysData_222 = keysData[222]; + KeysData_223 = keysData[223]; + KeysData_224 = keysData[224]; + KeysData_225 = keysData[225]; + KeysData_226 = keysData[226]; + KeysData_227 = keysData[227]; + KeysData_228 = keysData[228]; + KeysData_229 = keysData[229]; + KeysData_230 = keysData[230]; + KeysData_231 = keysData[231]; + KeysData_232 = keysData[232]; + KeysData_233 = keysData[233]; + KeysData_234 = keysData[234]; + KeysData_235 = keysData[235]; + KeysData_236 = keysData[236]; + KeysData_237 = keysData[237]; + KeysData_238 = keysData[238]; + KeysData_239 = keysData[239]; + KeysData_240 = keysData[240]; + KeysData_241 = keysData[241]; + KeysData_242 = keysData[242]; + KeysData_243 = keysData[243]; + KeysData_244 = keysData[244]; + KeysData_245 = keysData[245]; + KeysData_246 = keysData[246]; + KeysData_247 = keysData[247]; + KeysData_248 = keysData[248]; + KeysData_249 = keysData[249]; + KeysData_250 = keysData[250]; + KeysData_251 = keysData[251]; + KeysData_252 = keysData[252]; + KeysData_253 = keysData[253]; + KeysData_254 = keysData[254]; + KeysData_255 = keysData[255]; + KeysData_256 = keysData[256]; + KeysData_257 = keysData[257]; + KeysData_258 = keysData[258]; + KeysData_259 = keysData[259]; + KeysData_260 = keysData[260]; + KeysData_261 = keysData[261]; + KeysData_262 = keysData[262]; + KeysData_263 = keysData[263]; + KeysData_264 = keysData[264]; + KeysData_265 = keysData[265]; + KeysData_266 = keysData[266]; + KeysData_267 = keysData[267]; + KeysData_268 = keysData[268]; + KeysData_269 = keysData[269]; + KeysData_270 = keysData[270]; + KeysData_271 = keysData[271]; + KeysData_272 = keysData[272]; + KeysData_273 = keysData[273]; + KeysData_274 = keysData[274]; + KeysData_275 = keysData[275]; + KeysData_276 = keysData[276]; + KeysData_277 = keysData[277]; + KeysData_278 = keysData[278]; + KeysData_279 = keysData[279]; + KeysData_280 = keysData[280]; + KeysData_281 = keysData[281]; + KeysData_282 = keysData[282]; + KeysData_283 = keysData[283]; + KeysData_284 = keysData[284]; + KeysData_285 = keysData[285]; + KeysData_286 = keysData[286]; + KeysData_287 = keysData[287]; + KeysData_288 = keysData[288]; + KeysData_289 = keysData[289]; + KeysData_290 = keysData[290]; + KeysData_291 = keysData[291]; + KeysData_292 = keysData[292]; + KeysData_293 = keysData[293]; + KeysData_294 = keysData[294]; + KeysData_295 = keysData[295]; + KeysData_296 = keysData[296]; + KeysData_297 = keysData[297]; + KeysData_298 = keysData[298]; + KeysData_299 = keysData[299]; + KeysData_300 = keysData[300]; + KeysData_301 = keysData[301]; + KeysData_302 = keysData[302]; + KeysData_303 = keysData[303]; + KeysData_304 = keysData[304]; + KeysData_305 = keysData[305]; + KeysData_306 = keysData[306]; + KeysData_307 = keysData[307]; + KeysData_308 = keysData[308]; + KeysData_309 = keysData[309]; + KeysData_310 = keysData[310]; + KeysData_311 = keysData[311]; + KeysData_312 = keysData[312]; + KeysData_313 = keysData[313]; + KeysData_314 = keysData[314]; + KeysData_315 = keysData[315]; + KeysData_316 = keysData[316]; + KeysData_317 = keysData[317]; + KeysData_318 = keysData[318]; + KeysData_319 = keysData[319]; + KeysData_320 = keysData[320]; + KeysData_321 = keysData[321]; + KeysData_322 = keysData[322]; + KeysData_323 = keysData[323]; + KeysData_324 = keysData[324]; + KeysData_325 = keysData[325]; + KeysData_326 = keysData[326]; + KeysData_327 = keysData[327]; + KeysData_328 = keysData[328]; + KeysData_329 = keysData[329]; + KeysData_330 = keysData[330]; + KeysData_331 = keysData[331]; + KeysData_332 = keysData[332]; + KeysData_333 = keysData[333]; + KeysData_334 = keysData[334]; + KeysData_335 = keysData[335]; + KeysData_336 = keysData[336]; + KeysData_337 = keysData[337]; + KeysData_338 = keysData[338]; + KeysData_339 = keysData[339]; + KeysData_340 = keysData[340]; + KeysData_341 = keysData[341]; + KeysData_342 = keysData[342]; + KeysData_343 = keysData[343]; + KeysData_344 = keysData[344]; + KeysData_345 = keysData[345]; + KeysData_346 = keysData[346]; + KeysData_347 = keysData[347]; + KeysData_348 = keysData[348]; + KeysData_349 = keysData[349]; + KeysData_350 = keysData[350]; + KeysData_351 = keysData[351]; + KeysData_352 = keysData[352]; + KeysData_353 = keysData[353]; + KeysData_354 = keysData[354]; + KeysData_355 = keysData[355]; + KeysData_356 = keysData[356]; + KeysData_357 = keysData[357]; + KeysData_358 = keysData[358]; + KeysData_359 = keysData[359]; + KeysData_360 = keysData[360]; + KeysData_361 = keysData[361]; + KeysData_362 = keysData[362]; + KeysData_363 = keysData[363]; + KeysData_364 = keysData[364]; + KeysData_365 = keysData[365]; + KeysData_366 = keysData[366]; + KeysData_367 = keysData[367]; + KeysData_368 = keysData[368]; + KeysData_369 = keysData[369]; + KeysData_370 = keysData[370]; + KeysData_371 = keysData[371]; + KeysData_372 = keysData[372]; + KeysData_373 = keysData[373]; + KeysData_374 = keysData[374]; + KeysData_375 = keysData[375]; + KeysData_376 = keysData[376]; + KeysData_377 = keysData[377]; + KeysData_378 = keysData[378]; + KeysData_379 = keysData[379]; + KeysData_380 = keysData[380]; + KeysData_381 = keysData[381]; + KeysData_382 = keysData[382]; + KeysData_383 = keysData[383]; + KeysData_384 = keysData[384]; + KeysData_385 = keysData[385]; + KeysData_386 = keysData[386]; + KeysData_387 = keysData[387]; + KeysData_388 = keysData[388]; + KeysData_389 = keysData[389]; + KeysData_390 = keysData[390]; + KeysData_391 = keysData[391]; + KeysData_392 = keysData[392]; + KeysData_393 = keysData[393]; + KeysData_394 = keysData[394]; + KeysData_395 = keysData[395]; + KeysData_396 = keysData[396]; + KeysData_397 = keysData[397]; + KeysData_398 = keysData[398]; + KeysData_399 = keysData[399]; + KeysData_400 = keysData[400]; + KeysData_401 = keysData[401]; + KeysData_402 = keysData[402]; + KeysData_403 = keysData[403]; + KeysData_404 = keysData[404]; + KeysData_405 = keysData[405]; + KeysData_406 = keysData[406]; + KeysData_407 = keysData[407]; + KeysData_408 = keysData[408]; + KeysData_409 = keysData[409]; + KeysData_410 = keysData[410]; + KeysData_411 = keysData[411]; + KeysData_412 = keysData[412]; + KeysData_413 = keysData[413]; + KeysData_414 = keysData[414]; + KeysData_415 = keysData[415]; + KeysData_416 = keysData[416]; + KeysData_417 = keysData[417]; + KeysData_418 = keysData[418]; + KeysData_419 = keysData[419]; + KeysData_420 = keysData[420]; + KeysData_421 = keysData[421]; + KeysData_422 = keysData[422]; + KeysData_423 = keysData[423]; + KeysData_424 = keysData[424]; + KeysData_425 = keysData[425]; + KeysData_426 = keysData[426]; + KeysData_427 = keysData[427]; + KeysData_428 = keysData[428]; + KeysData_429 = keysData[429]; + KeysData_430 = keysData[430]; + KeysData_431 = keysData[431]; + KeysData_432 = keysData[432]; + KeysData_433 = keysData[433]; + KeysData_434 = keysData[434]; + KeysData_435 = keysData[435]; + KeysData_436 = keysData[436]; + KeysData_437 = keysData[437]; + KeysData_438 = keysData[438]; + KeysData_439 = keysData[439]; + KeysData_440 = keysData[440]; + KeysData_441 = keysData[441]; + KeysData_442 = keysData[442]; + KeysData_443 = keysData[443]; + KeysData_444 = keysData[444]; + KeysData_445 = keysData[445]; + KeysData_446 = keysData[446]; + KeysData_447 = keysData[447]; + KeysData_448 = keysData[448]; + KeysData_449 = keysData[449]; + KeysData_450 = keysData[450]; + KeysData_451 = keysData[451]; + KeysData_452 = keysData[452]; + KeysData_453 = keysData[453]; + KeysData_454 = keysData[454]; + KeysData_455 = keysData[455]; + KeysData_456 = keysData[456]; + KeysData_457 = keysData[457]; + KeysData_458 = keysData[458]; + KeysData_459 = keysData[459]; + KeysData_460 = keysData[460]; + KeysData_461 = keysData[461]; + KeysData_462 = keysData[462]; + KeysData_463 = keysData[463]; + KeysData_464 = keysData[464]; + KeysData_465 = keysData[465]; + KeysData_466 = keysData[466]; + KeysData_467 = keysData[467]; + KeysData_468 = keysData[468]; + KeysData_469 = keysData[469]; + KeysData_470 = keysData[470]; + KeysData_471 = keysData[471]; + KeysData_472 = keysData[472]; + KeysData_473 = keysData[473]; + KeysData_474 = keysData[474]; + KeysData_475 = keysData[475]; + KeysData_476 = keysData[476]; + KeysData_477 = keysData[477]; + KeysData_478 = keysData[478]; + KeysData_479 = keysData[479]; + KeysData_480 = keysData[480]; + KeysData_481 = keysData[481]; + KeysData_482 = keysData[482]; + KeysData_483 = keysData[483]; + KeysData_484 = keysData[484]; + KeysData_485 = keysData[485]; + KeysData_486 = keysData[486]; + KeysData_487 = keysData[487]; + KeysData_488 = keysData[488]; + KeysData_489 = keysData[489]; + KeysData_490 = keysData[490]; + KeysData_491 = keysData[491]; + KeysData_492 = keysData[492]; + KeysData_493 = keysData[493]; + KeysData_494 = keysData[494]; + KeysData_495 = keysData[495]; + KeysData_496 = keysData[496]; + KeysData_497 = keysData[497]; + KeysData_498 = keysData[498]; + KeysData_499 = keysData[499]; + KeysData_500 = keysData[500]; + KeysData_501 = keysData[501]; + KeysData_502 = keysData[502]; + KeysData_503 = keysData[503]; + KeysData_504 = keysData[504]; + KeysData_505 = keysData[505]; + KeysData_506 = keysData[506]; + KeysData_507 = keysData[507]; + KeysData_508 = keysData[508]; + KeysData_509 = keysData[509]; + KeysData_510 = keysData[510]; + KeysData_511 = keysData[511]; + KeysData_512 = keysData[512]; + KeysData_513 = keysData[513]; + KeysData_514 = keysData[514]; + KeysData_515 = keysData[515]; + KeysData_516 = keysData[516]; + KeysData_517 = keysData[517]; + KeysData_518 = keysData[518]; + KeysData_519 = keysData[519]; + KeysData_520 = keysData[520]; + KeysData_521 = keysData[521]; + KeysData_522 = keysData[522]; + KeysData_523 = keysData[523]; + KeysData_524 = keysData[524]; + KeysData_525 = keysData[525]; + KeysData_526 = keysData[526]; + KeysData_527 = keysData[527]; + KeysData_528 = keysData[528]; + KeysData_529 = keysData[529]; + KeysData_530 = keysData[530]; + KeysData_531 = keysData[531]; + KeysData_532 = keysData[532]; + KeysData_533 = keysData[533]; + KeysData_534 = keysData[534]; + KeysData_535 = keysData[535]; + KeysData_536 = keysData[536]; + KeysData_537 = keysData[537]; + KeysData_538 = keysData[538]; + KeysData_539 = keysData[539]; + KeysData_540 = keysData[540]; + KeysData_541 = keysData[541]; + KeysData_542 = keysData[542]; + KeysData_543 = keysData[543]; + KeysData_544 = keysData[544]; + KeysData_545 = keysData[545]; + KeysData_546 = keysData[546]; + KeysData_547 = keysData[547]; + KeysData_548 = keysData[548]; + KeysData_549 = keysData[549]; + KeysData_550 = keysData[550]; + KeysData_551 = keysData[551]; + KeysData_552 = keysData[552]; + KeysData_553 = keysData[553]; + KeysData_554 = keysData[554]; + KeysData_555 = keysData[555]; + KeysData_556 = keysData[556]; + KeysData_557 = keysData[557]; + KeysData_558 = keysData[558]; + KeysData_559 = keysData[559]; + KeysData_560 = keysData[560]; + KeysData_561 = keysData[561]; + KeysData_562 = keysData[562]; + KeysData_563 = keysData[563]; + KeysData_564 = keysData[564]; + KeysData_565 = keysData[565]; + KeysData_566 = keysData[566]; + KeysData_567 = keysData[567]; + KeysData_568 = keysData[568]; + KeysData_569 = keysData[569]; + KeysData_570 = keysData[570]; + KeysData_571 = keysData[571]; + KeysData_572 = keysData[572]; + KeysData_573 = keysData[573]; + KeysData_574 = keysData[574]; + KeysData_575 = keysData[575]; + KeysData_576 = keysData[576]; + KeysData_577 = keysData[577]; + KeysData_578 = keysData[578]; + KeysData_579 = keysData[579]; + KeysData_580 = keysData[580]; + KeysData_581 = keysData[581]; + KeysData_582 = keysData[582]; + KeysData_583 = keysData[583]; + KeysData_584 = keysData[584]; + KeysData_585 = keysData[585]; + KeysData_586 = keysData[586]; + KeysData_587 = keysData[587]; + KeysData_588 = keysData[588]; + KeysData_589 = keysData[589]; + KeysData_590 = keysData[590]; + KeysData_591 = keysData[591]; + KeysData_592 = keysData[592]; + KeysData_593 = keysData[593]; + KeysData_594 = keysData[594]; + KeysData_595 = keysData[595]; + KeysData_596 = keysData[596]; + KeysData_597 = keysData[597]; + KeysData_598 = keysData[598]; + KeysData_599 = keysData[599]; + KeysData_600 = keysData[600]; + KeysData_601 = keysData[601]; + KeysData_602 = keysData[602]; + KeysData_603 = keysData[603]; + KeysData_604 = keysData[604]; + KeysData_605 = keysData[605]; + KeysData_606 = keysData[606]; + KeysData_607 = keysData[607]; + KeysData_608 = keysData[608]; + KeysData_609 = keysData[609]; + KeysData_610 = keysData[610]; + KeysData_611 = keysData[611]; + KeysData_612 = keysData[612]; + KeysData_613 = keysData[613]; + KeysData_614 = keysData[614]; + KeysData_615 = keysData[615]; + KeysData_616 = keysData[616]; + KeysData_617 = keysData[617]; + KeysData_618 = keysData[618]; + KeysData_619 = keysData[619]; + KeysData_620 = keysData[620]; + KeysData_621 = keysData[621]; + KeysData_622 = keysData[622]; + KeysData_623 = keysData[623]; + KeysData_624 = keysData[624]; + KeysData_625 = keysData[625]; + KeysData_626 = keysData[626]; + KeysData_627 = keysData[627]; + KeysData_628 = keysData[628]; + KeysData_629 = keysData[629]; + KeysData_630 = keysData[630]; + KeysData_631 = keysData[631]; + KeysData_632 = keysData[632]; + KeysData_633 = keysData[633]; + KeysData_634 = keysData[634]; + KeysData_635 = keysData[635]; + KeysData_636 = keysData[636]; + KeysData_637 = keysData[637]; + KeysData_638 = keysData[638]; + KeysData_639 = keysData[639]; + KeysData_640 = keysData[640]; + KeysData_641 = keysData[641]; + KeysData_642 = keysData[642]; + KeysData_643 = keysData[643]; + KeysData_644 = keysData[644]; + } + WantCaptureMouseUnlessPopupClose = wantCaptureMouseUnlessPopupClose ? (byte)1 : (byte)0; + MousePosPrev = mousePosPrev; + if (mouseClickedPos != default(Span)) + { + MouseClickedPos_0 = mouseClickedPos[0]; + MouseClickedPos_1 = mouseClickedPos[1]; + MouseClickedPos_2 = mouseClickedPos[2]; + MouseClickedPos_3 = mouseClickedPos[3]; + MouseClickedPos_4 = mouseClickedPos[4]; + } + if (mouseClickedTime != default(Span)) + { + MouseClickedTime_0 = mouseClickedTime[0]; + MouseClickedTime_1 = mouseClickedTime[1]; + MouseClickedTime_2 = mouseClickedTime[2]; + MouseClickedTime_3 = mouseClickedTime[3]; + MouseClickedTime_4 = mouseClickedTime[4]; + } + if (mouseClicked != default(Span)) + { + MouseClicked_0 = mouseClicked[0]; + MouseClicked_1 = mouseClicked[1]; + MouseClicked_2 = mouseClicked[2]; + MouseClicked_3 = mouseClicked[3]; + MouseClicked_4 = mouseClicked[4]; + } + if (mouseDoubleClicked != default(Span)) + { + MouseDoubleClicked_0 = mouseDoubleClicked[0]; + MouseDoubleClicked_1 = mouseDoubleClicked[1]; + MouseDoubleClicked_2 = mouseDoubleClicked[2]; + MouseDoubleClicked_3 = mouseDoubleClicked[3]; + MouseDoubleClicked_4 = mouseDoubleClicked[4]; + } + if (mouseClickedCount != default(Span)) + { + MouseClickedCount_0 = mouseClickedCount[0]; + MouseClickedCount_1 = mouseClickedCount[1]; + MouseClickedCount_2 = mouseClickedCount[2]; + MouseClickedCount_3 = mouseClickedCount[3]; + MouseClickedCount_4 = mouseClickedCount[4]; + } + if (mouseClickedLastCount != default(Span)) + { + MouseClickedLastCount_0 = mouseClickedLastCount[0]; + MouseClickedLastCount_1 = mouseClickedLastCount[1]; + MouseClickedLastCount_2 = mouseClickedLastCount[2]; + MouseClickedLastCount_3 = mouseClickedLastCount[3]; + MouseClickedLastCount_4 = mouseClickedLastCount[4]; + } + if (mouseReleased != default(Span)) + { + MouseReleased_0 = mouseReleased[0]; + MouseReleased_1 = mouseReleased[1]; + MouseReleased_2 = mouseReleased[2]; + MouseReleased_3 = mouseReleased[3]; + MouseReleased_4 = mouseReleased[4]; + } + if (mouseDownOwned != default(Span)) + { + MouseDownOwned_0 = mouseDownOwned[0]; + MouseDownOwned_1 = mouseDownOwned[1]; + MouseDownOwned_2 = mouseDownOwned[2]; + MouseDownOwned_3 = mouseDownOwned[3]; + MouseDownOwned_4 = mouseDownOwned[4]; + } + if (mouseDownOwnedUnlessPopupClose != default(Span)) + { + MouseDownOwnedUnlessPopupClose_0 = mouseDownOwnedUnlessPopupClose[0]; + MouseDownOwnedUnlessPopupClose_1 = mouseDownOwnedUnlessPopupClose[1]; + MouseDownOwnedUnlessPopupClose_2 = mouseDownOwnedUnlessPopupClose[2]; + MouseDownOwnedUnlessPopupClose_3 = mouseDownOwnedUnlessPopupClose[3]; + MouseDownOwnedUnlessPopupClose_4 = mouseDownOwnedUnlessPopupClose[4]; + } + if (mouseDownDuration != default(Span)) + { + MouseDownDuration_0 = mouseDownDuration[0]; + MouseDownDuration_1 = mouseDownDuration[1]; + MouseDownDuration_2 = mouseDownDuration[2]; + MouseDownDuration_3 = mouseDownDuration[3]; + MouseDownDuration_4 = mouseDownDuration[4]; + } + if (mouseDownDurationPrev != default(Span)) + { + MouseDownDurationPrev_0 = mouseDownDurationPrev[0]; + MouseDownDurationPrev_1 = mouseDownDurationPrev[1]; + MouseDownDurationPrev_2 = mouseDownDurationPrev[2]; + MouseDownDurationPrev_3 = mouseDownDurationPrev[3]; + MouseDownDurationPrev_4 = mouseDownDurationPrev[4]; + } + if (mouseDragMaxDistanceAbs != default(Span)) + { + MouseDragMaxDistanceAbs_0 = mouseDragMaxDistanceAbs[0]; + MouseDragMaxDistanceAbs_1 = mouseDragMaxDistanceAbs[1]; + MouseDragMaxDistanceAbs_2 = mouseDragMaxDistanceAbs[2]; + MouseDragMaxDistanceAbs_3 = mouseDragMaxDistanceAbs[3]; + MouseDragMaxDistanceAbs_4 = mouseDragMaxDistanceAbs[4]; + } + if (mouseDragMaxDistanceSqr != default(Span)) + { + MouseDragMaxDistanceSqr_0 = mouseDragMaxDistanceSqr[0]; + MouseDragMaxDistanceSqr_1 = mouseDragMaxDistanceSqr[1]; + MouseDragMaxDistanceSqr_2 = mouseDragMaxDistanceSqr[2]; + MouseDragMaxDistanceSqr_3 = mouseDragMaxDistanceSqr[3]; + MouseDragMaxDistanceSqr_4 = mouseDragMaxDistanceSqr[4]; + } + if (navInputsDownDuration != default(Span)) + { + NavInputsDownDuration_0 = navInputsDownDuration[0]; + NavInputsDownDuration_1 = navInputsDownDuration[1]; + NavInputsDownDuration_2 = navInputsDownDuration[2]; + NavInputsDownDuration_3 = navInputsDownDuration[3]; + NavInputsDownDuration_4 = navInputsDownDuration[4]; + NavInputsDownDuration_5 = navInputsDownDuration[5]; + NavInputsDownDuration_6 = navInputsDownDuration[6]; + NavInputsDownDuration_7 = navInputsDownDuration[7]; + NavInputsDownDuration_8 = navInputsDownDuration[8]; + NavInputsDownDuration_9 = navInputsDownDuration[9]; + NavInputsDownDuration_10 = navInputsDownDuration[10]; + NavInputsDownDuration_11 = navInputsDownDuration[11]; + NavInputsDownDuration_12 = navInputsDownDuration[12]; + NavInputsDownDuration_13 = navInputsDownDuration[13]; + NavInputsDownDuration_14 = navInputsDownDuration[14]; + NavInputsDownDuration_15 = navInputsDownDuration[15]; + NavInputsDownDuration_16 = navInputsDownDuration[16]; + NavInputsDownDuration_17 = navInputsDownDuration[17]; + NavInputsDownDuration_18 = navInputsDownDuration[18]; + NavInputsDownDuration_19 = navInputsDownDuration[19]; + NavInputsDownDuration_20 = navInputsDownDuration[20]; + } + if (navInputsDownDurationPrev != default(Span)) + { + NavInputsDownDurationPrev_0 = navInputsDownDurationPrev[0]; + NavInputsDownDurationPrev_1 = navInputsDownDurationPrev[1]; + NavInputsDownDurationPrev_2 = navInputsDownDurationPrev[2]; + NavInputsDownDurationPrev_3 = navInputsDownDurationPrev[3]; + NavInputsDownDurationPrev_4 = navInputsDownDurationPrev[4]; + NavInputsDownDurationPrev_5 = navInputsDownDurationPrev[5]; + NavInputsDownDurationPrev_6 = navInputsDownDurationPrev[6]; + NavInputsDownDurationPrev_7 = navInputsDownDurationPrev[7]; + NavInputsDownDurationPrev_8 = navInputsDownDurationPrev[8]; + NavInputsDownDurationPrev_9 = navInputsDownDurationPrev[9]; + NavInputsDownDurationPrev_10 = navInputsDownDurationPrev[10]; + NavInputsDownDurationPrev_11 = navInputsDownDurationPrev[11]; + NavInputsDownDurationPrev_12 = navInputsDownDurationPrev[12]; + NavInputsDownDurationPrev_13 = navInputsDownDurationPrev[13]; + NavInputsDownDurationPrev_14 = navInputsDownDurationPrev[14]; + NavInputsDownDurationPrev_15 = navInputsDownDurationPrev[15]; + NavInputsDownDurationPrev_16 = navInputsDownDurationPrev[16]; + NavInputsDownDurationPrev_17 = navInputsDownDurationPrev[17]; + NavInputsDownDurationPrev_18 = navInputsDownDurationPrev[18]; + NavInputsDownDurationPrev_19 = navInputsDownDurationPrev[19]; + NavInputsDownDurationPrev_20 = navInputsDownDurationPrev[20]; + } + PenPressure = penPressure; + AppFocusLost = appFocusLost ? (byte)1 : (byte)0; + AppAcceptingEvents = appAcceptingEvents ? (byte)1 : (byte)0; + BackendUsingLegacyKeyArrays = backendUsingLegacyKeyArrays; + BackendUsingLegacyNavInputArray = backendUsingLegacyNavInputArray ? (byte)1 : (byte)0; + InputQueueSurrogate = inputQueueSurrogate; + InputQueueCharacters = inputQueueCharacters; + } + public unsafe Span KeysData + { + get + { + fixed (ImGuiKeyData* p = &this.KeysData_0) + { + return new Span(p, 645); + } + } + } + public unsafe Span MouseClickedPos + { + get + { + fixed (Vector2* p = &this.MouseClickedPos_0) + { + return new Span(p, 5); + } + } + } + public unsafe Span MouseDragMaxDistanceAbs + { + get + { + fixed (Vector2* p = &this.MouseDragMaxDistanceAbs_0) + { + return new Span(p, 5); + } + } + } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImGuiIOPtr : IEquatable + { + public ImGuiIOPtr(ImGuiIO* handle) { Handle = handle; } + public ImGuiIO* Handle; + public bool IsNull => Handle == null; + public static ImGuiIOPtr Null => new ImGuiIOPtr(null); + public ImGuiIO this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImGuiIOPtr(ImGuiIO* handle) => new ImGuiIOPtr(handle); + public static implicit operator ImGuiIO*(ImGuiIOPtr handle) => handle.Handle; + public static bool operator ==(ImGuiIOPtr left, ImGuiIOPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImGuiIOPtr left, ImGuiIOPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImGuiIOPtr left, ImGuiIO* right) => left.Handle == right; + public static bool operator !=(ImGuiIOPtr left, ImGuiIO* right) => left.Handle != right; + public bool Equals(ImGuiIOPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImGuiIOPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImGuiIOPtr [0x{0}]", ((nuint)Handle).ToString("X")); + public ref ImGuiConfigFlags ConfigFlags => ref Unsafe.AsRef(&Handle->ConfigFlags); + public ref ImGuiBackendFlags BackendFlags => ref Unsafe.AsRef(&Handle->BackendFlags); + public ref Vector2 DisplaySize => ref Unsafe.AsRef(&Handle->DisplaySize); + public ref float DeltaTime => ref Unsafe.AsRef(&Handle->DeltaTime); + public ref float IniSavingRate => ref Unsafe.AsRef(&Handle->IniSavingRate); + public byte* IniFilename { get => Handle->IniFilename; set => Handle->IniFilename = value; } + public byte* LogFilename { get => Handle->LogFilename; set => Handle->LogFilename = value; } + public ref float MouseDoubleClickTime => ref Unsafe.AsRef(&Handle->MouseDoubleClickTime); + public ref float MouseDoubleClickMaxDist => ref Unsafe.AsRef(&Handle->MouseDoubleClickMaxDist); + public ref float MouseDragThreshold => ref Unsafe.AsRef(&Handle->MouseDragThreshold); + public ref float KeyRepeatDelay => ref Unsafe.AsRef(&Handle->KeyRepeatDelay); + public ref float KeyRepeatRate => ref Unsafe.AsRef(&Handle->KeyRepeatRate); + public void* UserData { get => Handle->UserData; set => Handle->UserData = value; } + public ref ImFontAtlasPtr Fonts => ref Unsafe.AsRef(&Handle->Fonts); + public ref float FontGlobalScale => ref Unsafe.AsRef(&Handle->FontGlobalScale); + public ref bool FontAllowUserScaling => ref Unsafe.AsRef(&Handle->FontAllowUserScaling); + public ref ImFontPtr FontDefault => ref Unsafe.AsRef(&Handle->FontDefault); + public ref Vector2 DisplayFramebufferScale => ref Unsafe.AsRef(&Handle->DisplayFramebufferScale); + public ref bool ConfigDockingNoSplit => ref Unsafe.AsRef(&Handle->ConfigDockingNoSplit); + public ref bool ConfigDockingWithShift => ref Unsafe.AsRef(&Handle->ConfigDockingWithShift); + public ref bool ConfigDockingAlwaysTabBar => ref Unsafe.AsRef(&Handle->ConfigDockingAlwaysTabBar); + public ref bool ConfigDockingTransparentPayload => ref Unsafe.AsRef(&Handle->ConfigDockingTransparentPayload); + public ref bool ConfigViewportsNoAutoMerge => ref Unsafe.AsRef(&Handle->ConfigViewportsNoAutoMerge); + public ref bool ConfigViewportsNoTaskBarIcon => ref Unsafe.AsRef(&Handle->ConfigViewportsNoTaskBarIcon); + public ref bool ConfigViewportsNoDecoration => ref Unsafe.AsRef(&Handle->ConfigViewportsNoDecoration); + public ref bool ConfigViewportsNoDefaultParent => ref Unsafe.AsRef(&Handle->ConfigViewportsNoDefaultParent); + public ref bool MouseDrawCursor => ref Unsafe.AsRef(&Handle->MouseDrawCursor); + public ref bool ConfigMacOSXBehaviors => ref Unsafe.AsRef(&Handle->ConfigMacOSXBehaviors); + public ref bool ConfigInputTrickleEventQueue => ref Unsafe.AsRef(&Handle->ConfigInputTrickleEventQueue); + public ref bool ConfigInputTextCursorBlink => ref Unsafe.AsRef(&Handle->ConfigInputTextCursorBlink); + public ref bool ConfigDragClickToInputText => ref Unsafe.AsRef(&Handle->ConfigDragClickToInputText); + public ref bool ConfigWindowsResizeFromEdges => ref Unsafe.AsRef(&Handle->ConfigWindowsResizeFromEdges); + public ref bool ConfigWindowsMoveFromTitleBarOnly => ref Unsafe.AsRef(&Handle->ConfigWindowsMoveFromTitleBarOnly); + public ref float ConfigMemoryCompactTimer => ref Unsafe.AsRef(&Handle->ConfigMemoryCompactTimer); + public byte* BackendPlatformName { get => Handle->BackendPlatformName; set => Handle->BackendPlatformName = value; } + public byte* BackendRendererName { get => Handle->BackendRendererName; set => Handle->BackendRendererName = value; } + public void* BackendPlatformUserData { get => Handle->BackendPlatformUserData; set => Handle->BackendPlatformUserData = value; } + public void* BackendRendererUserData { get => Handle->BackendRendererUserData; set => Handle->BackendRendererUserData = value; } + public void* BackendLanguageUserData { get => Handle->BackendLanguageUserData; set => Handle->BackendLanguageUserData = value; } + public void* GetClipboardTextFn { get => Handle->GetClipboardTextFn; set => Handle->GetClipboardTextFn = value; } + public void* SetClipboardTextFn { get => Handle->SetClipboardTextFn; set => Handle->SetClipboardTextFn = value; } + public void* ClipboardUserData { get => Handle->ClipboardUserData; set => Handle->ClipboardUserData = value; } + public void* SetPlatformImeDataFn { get => Handle->SetPlatformImeDataFn; set => Handle->SetPlatformImeDataFn = value; } + public void* UnusedPadding { get => Handle->UnusedPadding; set => Handle->UnusedPadding = value; } + public ref bool WantCaptureMouse => ref Unsafe.AsRef(&Handle->WantCaptureMouse); + public ref bool WantCaptureKeyboard => ref Unsafe.AsRef(&Handle->WantCaptureKeyboard); + public ref bool WantTextInput => ref Unsafe.AsRef(&Handle->WantTextInput); + public ref bool WantSetMousePos => ref Unsafe.AsRef(&Handle->WantSetMousePos); + public ref bool WantSaveIniSettings => ref Unsafe.AsRef(&Handle->WantSaveIniSettings); + public ref bool NavActive => ref Unsafe.AsRef(&Handle->NavActive); + public ref bool NavVisible => ref Unsafe.AsRef(&Handle->NavVisible); + public ref float Framerate => ref Unsafe.AsRef(&Handle->Framerate); + public ref int MetricsRenderVertices => ref Unsafe.AsRef(&Handle->MetricsRenderVertices); + public ref int MetricsRenderIndices => ref Unsafe.AsRef(&Handle->MetricsRenderIndices); + public ref int MetricsRenderWindows => ref Unsafe.AsRef(&Handle->MetricsRenderWindows); + public ref int MetricsActiveWindows => ref Unsafe.AsRef(&Handle->MetricsActiveWindows); + public ref int MetricsActiveAllocations => ref Unsafe.AsRef(&Handle->MetricsActiveAllocations); + public ref Vector2 MouseDelta => ref Unsafe.AsRef(&Handle->MouseDelta); + public unsafe Span KeyMap + { + get + { + return new Span(&Handle->KeyMap_0, 645); + } + } + public unsafe Span KeysDown + { + get + { + return new Span(&Handle->KeysDown_0, 645); + } + } + public ref Vector2 MousePos => ref Unsafe.AsRef(&Handle->MousePos); + public unsafe Span MouseDown + { + get + { + return new Span(&Handle->MouseDown_0, 5); + } + } + public ref float MouseWheel => ref Unsafe.AsRef(&Handle->MouseWheel); + public ref float MouseWheelH => ref Unsafe.AsRef(&Handle->MouseWheelH); + public ref uint MouseHoveredViewport => ref Unsafe.AsRef(&Handle->MouseHoveredViewport); + public ref bool KeyCtrl => ref Unsafe.AsRef(&Handle->KeyCtrl); + public ref bool KeyShift => ref Unsafe.AsRef(&Handle->KeyShift); + public ref bool KeyAlt => ref Unsafe.AsRef(&Handle->KeyAlt); + public ref bool KeySuper => ref Unsafe.AsRef(&Handle->KeySuper); + public unsafe Span NavInputs + { + get + { + return new Span(&Handle->NavInputs_0, 21); + } + } + public ref ImGuiModFlags KeyMods => ref Unsafe.AsRef(&Handle->KeyMods); + public unsafe Span KeysData + { + get + { + return new Span(&Handle->KeysData_0, 645); + } + } + public ref bool WantCaptureMouseUnlessPopupClose => ref Unsafe.AsRef(&Handle->WantCaptureMouseUnlessPopupClose); + public ref Vector2 MousePosPrev => ref Unsafe.AsRef(&Handle->MousePosPrev); + public unsafe Span MouseClickedPos + { + get + { + return new Span(&Handle->MouseClickedPos_0, 5); + } + } + public unsafe Span MouseClickedTime + { + get + { + return new Span(&Handle->MouseClickedTime_0, 5); + } + } + public unsafe Span MouseClicked + { + get + { + return new Span(&Handle->MouseClicked_0, 5); + } + } + public unsafe Span MouseDoubleClicked + { + get + { + return new Span(&Handle->MouseDoubleClicked_0, 5); + } + } + public unsafe Span MouseClickedCount + { + get + { + return new Span(&Handle->MouseClickedCount_0, 5); + } + } + public unsafe Span MouseClickedLastCount + { + get + { + return new Span(&Handle->MouseClickedLastCount_0, 5); + } + } + public unsafe Span MouseReleased + { + get + { + return new Span(&Handle->MouseReleased_0, 5); + } + } + public unsafe Span MouseDownOwned + { + get + { + return new Span(&Handle->MouseDownOwned_0, 5); + } + } + public unsafe Span MouseDownOwnedUnlessPopupClose + { + get + { + return new Span(&Handle->MouseDownOwnedUnlessPopupClose_0, 5); + } + } + public unsafe Span MouseDownDuration + { + get + { + return new Span(&Handle->MouseDownDuration_0, 5); + } + } + public unsafe Span MouseDownDurationPrev + { + get + { + return new Span(&Handle->MouseDownDurationPrev_0, 5); + } + } + public unsafe Span MouseDragMaxDistanceAbs + { + get + { + return new Span(&Handle->MouseDragMaxDistanceAbs_0, 5); + } + } + public unsafe Span MouseDragMaxDistanceSqr + { + get + { + return new Span(&Handle->MouseDragMaxDistanceSqr_0, 5); + } + } + public unsafe Span NavInputsDownDuration + { + get + { + return new Span(&Handle->NavInputsDownDuration_0, 21); + } + } + public unsafe Span NavInputsDownDurationPrev + { + get + { + return new Span(&Handle->NavInputsDownDurationPrev_0, 21); + } + } + public ref float PenPressure => ref Unsafe.AsRef(&Handle->PenPressure); + public ref bool AppFocusLost => ref Unsafe.AsRef(&Handle->AppFocusLost); + public ref bool AppAcceptingEvents => ref Unsafe.AsRef(&Handle->AppAcceptingEvents); + public ref sbyte BackendUsingLegacyKeyArrays => ref Unsafe.AsRef(&Handle->BackendUsingLegacyKeyArrays); + public ref bool BackendUsingLegacyNavInputArray => ref Unsafe.AsRef(&Handle->BackendUsingLegacyNavInputArray); + public ref ushort InputQueueSurrogate => ref Unsafe.AsRef(&Handle->InputQueueSurrogate); + public ref ImVector InputQueueCharacters => ref Unsafe.AsRef>(&Handle->InputQueueCharacters); + } +} +/* ImGuiKeyData.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiKeyData + { + public byte Down; + public float DownDuration; + public float DownDurationPrev; + public float AnalogValue; + public unsafe ImGuiKeyData(bool down = default, float downDuration = default, float downDurationPrev = default, float analogValue = default) + { + Down = down ? (byte)1 : (byte)0; + DownDuration = downDuration; + DownDurationPrev = downDurationPrev; + AnalogValue = analogValue; + } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImGuiKeyDataPtr : IEquatable + { + public ImGuiKeyDataPtr(ImGuiKeyData* handle) { Handle = handle; } + public ImGuiKeyData* Handle; + public bool IsNull => Handle == null; + public static ImGuiKeyDataPtr Null => new ImGuiKeyDataPtr(null); + public ImGuiKeyData this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImGuiKeyDataPtr(ImGuiKeyData* handle) => new ImGuiKeyDataPtr(handle); + public static implicit operator ImGuiKeyData*(ImGuiKeyDataPtr handle) => handle.Handle; + public static bool operator ==(ImGuiKeyDataPtr left, ImGuiKeyDataPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImGuiKeyDataPtr left, ImGuiKeyDataPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImGuiKeyDataPtr left, ImGuiKeyData* right) => left.Handle == right; + public static bool operator !=(ImGuiKeyDataPtr left, ImGuiKeyData* right) => left.Handle != right; + public bool Equals(ImGuiKeyDataPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImGuiKeyDataPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImGuiKeyDataPtr [0x{0}]", ((nuint)Handle).ToString("X")); + public ref bool Down => ref Unsafe.AsRef(&Handle->Down); + public ref float DownDuration => ref Unsafe.AsRef(&Handle->DownDuration); + public ref float DownDurationPrev => ref Unsafe.AsRef(&Handle->DownDurationPrev); + public ref float AnalogValue => ref Unsafe.AsRef(&Handle->AnalogValue); + } +} +/* ImGuiLastItemData.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiLastItemData + { + public uint ID; + public ImGuiItemFlags InFlags; + public ImGuiItemStatusFlags StatusFlags; + public ImRect Rect; + public ImRect NavRect; + public ImRect DisplayRect; + public unsafe ImGuiLastItemData(uint id = default, ImGuiItemFlags inFlags = default, ImGuiItemStatusFlags statusFlags = default, ImRect rect = default, ImRect navRect = default, ImRect displayRect = default) + { + ID = id; + InFlags = inFlags; + StatusFlags = statusFlags; + Rect = rect; + NavRect = navRect; + DisplayRect = displayRect; + } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImGuiLastItemDataPtr : IEquatable + { + public ImGuiLastItemDataPtr(ImGuiLastItemData* handle) { Handle = handle; } + public ImGuiLastItemData* Handle; + public bool IsNull => Handle == null; + public static ImGuiLastItemDataPtr Null => new ImGuiLastItemDataPtr(null); + public ImGuiLastItemData this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImGuiLastItemDataPtr(ImGuiLastItemData* handle) => new ImGuiLastItemDataPtr(handle); + public static implicit operator ImGuiLastItemData*(ImGuiLastItemDataPtr handle) => handle.Handle; + public static bool operator ==(ImGuiLastItemDataPtr left, ImGuiLastItemDataPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImGuiLastItemDataPtr left, ImGuiLastItemDataPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImGuiLastItemDataPtr left, ImGuiLastItemData* right) => left.Handle == right; + public static bool operator !=(ImGuiLastItemDataPtr left, ImGuiLastItemData* right) => left.Handle != right; + public bool Equals(ImGuiLastItemDataPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImGuiLastItemDataPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImGuiLastItemDataPtr [0x{0}]", ((nuint)Handle).ToString("X")); + public ref uint ID => ref Unsafe.AsRef(&Handle->ID); + public ref ImGuiItemFlags InFlags => ref Unsafe.AsRef(&Handle->InFlags); + public ref ImGuiItemStatusFlags StatusFlags => ref Unsafe.AsRef(&Handle->StatusFlags); + public ref ImRect Rect => ref Unsafe.AsRef(&Handle->Rect); + public ref ImRect NavRect => ref Unsafe.AsRef(&Handle->NavRect); + public ref ImRect DisplayRect => ref Unsafe.AsRef(&Handle->DisplayRect); + } +} +/* ImGuiListClipper.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiListClipper + { + public int DisplayStart; + public int DisplayEnd; + public int ItemsCount; + public float ItemsHeight; + public float StartPosY; + public unsafe void* TempData; + public unsafe ImGuiListClipper(int displayStart = default, int displayEnd = default, int itemsCount = default, float itemsHeight = default, float startPosY = default, void* tempData = default) + { + DisplayStart = displayStart; + DisplayEnd = displayEnd; + ItemsCount = itemsCount; + ItemsHeight = itemsHeight; + StartPosY = startPosY; + TempData = tempData; + } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImGuiListClipperPtr : IEquatable + { + public ImGuiListClipperPtr(ImGuiListClipper* handle) { Handle = handle; } + public ImGuiListClipper* Handle; + public bool IsNull => Handle == null; + public static ImGuiListClipperPtr Null => new ImGuiListClipperPtr(null); + public ImGuiListClipper this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImGuiListClipperPtr(ImGuiListClipper* handle) => new ImGuiListClipperPtr(handle); + public static implicit operator ImGuiListClipper*(ImGuiListClipperPtr handle) => handle.Handle; + public static bool operator ==(ImGuiListClipperPtr left, ImGuiListClipperPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImGuiListClipperPtr left, ImGuiListClipperPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImGuiListClipperPtr left, ImGuiListClipper* right) => left.Handle == right; + public static bool operator !=(ImGuiListClipperPtr left, ImGuiListClipper* right) => left.Handle != right; + public bool Equals(ImGuiListClipperPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImGuiListClipperPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImGuiListClipperPtr [0x{0}]", ((nuint)Handle).ToString("X")); + public ref int DisplayStart => ref Unsafe.AsRef(&Handle->DisplayStart); + public ref int DisplayEnd => ref Unsafe.AsRef(&Handle->DisplayEnd); + public ref int ItemsCount => ref Unsafe.AsRef(&Handle->ItemsCount); + public ref float ItemsHeight => ref Unsafe.AsRef(&Handle->ItemsHeight); + public ref float StartPosY => ref Unsafe.AsRef(&Handle->StartPosY); + public void* TempData { get => Handle->TempData; set => Handle->TempData = value; } + } +} +/* ImGuiListClipperData.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiListClipperData + { + public unsafe ImGuiListClipper* ListClipper; + public float LossynessOffset; + public int StepNo; + public int ItemsFrozen; + public ImVector Ranges; + public unsafe ImGuiListClipperData(ImGuiListClipper* listClipper = default, float lossynessOffset = default, int stepNo = default, int itemsFrozen = default, ImVector ranges = default) + { + ListClipper = listClipper; + LossynessOffset = lossynessOffset; + StepNo = stepNo; + ItemsFrozen = itemsFrozen; + Ranges = ranges; + } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImGuiListClipperDataPtr : IEquatable + { + public ImGuiListClipperDataPtr(ImGuiListClipperData* handle) { Handle = handle; } + public ImGuiListClipperData* Handle; + public bool IsNull => Handle == null; + public static ImGuiListClipperDataPtr Null => new ImGuiListClipperDataPtr(null); + public ImGuiListClipperData this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImGuiListClipperDataPtr(ImGuiListClipperData* handle) => new ImGuiListClipperDataPtr(handle); + public static implicit operator ImGuiListClipperData*(ImGuiListClipperDataPtr handle) => handle.Handle; + public static bool operator ==(ImGuiListClipperDataPtr left, ImGuiListClipperDataPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImGuiListClipperDataPtr left, ImGuiListClipperDataPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImGuiListClipperDataPtr left, ImGuiListClipperData* right) => left.Handle == right; + public static bool operator !=(ImGuiListClipperDataPtr left, ImGuiListClipperData* right) => left.Handle != right; + public bool Equals(ImGuiListClipperDataPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImGuiListClipperDataPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImGuiListClipperDataPtr [0x{0}]", ((nuint)Handle).ToString("X")); + public ref ImGuiListClipperPtr ListClipper => ref Unsafe.AsRef(&Handle->ListClipper); + public ref float LossynessOffset => ref Unsafe.AsRef(&Handle->LossynessOffset); + public ref int StepNo => ref Unsafe.AsRef(&Handle->StepNo); + public ref int ItemsFrozen => ref Unsafe.AsRef(&Handle->ItemsFrozen); + public ref ImVector Ranges => ref Unsafe.AsRef>(&Handle->Ranges); + } +} +/* ImGuiListClipperRange.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiListClipperRange + { + public int Min; + public int Max; + public byte PosToIndexConvert; + public sbyte PosToIndexOffsetMin; + public sbyte PosToIndexOffsetMax; + public unsafe ImGuiListClipperRange(int min = default, int max = default, bool posToIndexConvert = default, sbyte posToIndexOffsetMin = default, sbyte posToIndexOffsetMax = default) + { + Min = min; + Max = max; + PosToIndexConvert = posToIndexConvert ? (byte)1 : (byte)0; + PosToIndexOffsetMin = posToIndexOffsetMin; + PosToIndexOffsetMax = posToIndexOffsetMax; + } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImGuiListClipperRangePtr : IEquatable + { + public ImGuiListClipperRangePtr(ImGuiListClipperRange* handle) { Handle = handle; } + public ImGuiListClipperRange* Handle; + public bool IsNull => Handle == null; + public static ImGuiListClipperRangePtr Null => new ImGuiListClipperRangePtr(null); + public ImGuiListClipperRange this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImGuiListClipperRangePtr(ImGuiListClipperRange* handle) => new ImGuiListClipperRangePtr(handle); + public static implicit operator ImGuiListClipperRange*(ImGuiListClipperRangePtr handle) => handle.Handle; + public static bool operator ==(ImGuiListClipperRangePtr left, ImGuiListClipperRangePtr right) => left.Handle == right.Handle; + public static bool operator !=(ImGuiListClipperRangePtr left, ImGuiListClipperRangePtr right) => left.Handle != right.Handle; + public static bool operator ==(ImGuiListClipperRangePtr left, ImGuiListClipperRange* right) => left.Handle == right; + public static bool operator !=(ImGuiListClipperRangePtr left, ImGuiListClipperRange* right) => left.Handle != right; + public bool Equals(ImGuiListClipperRangePtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImGuiListClipperRangePtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImGuiListClipperRangePtr [0x{0}]", ((nuint)Handle).ToString("X")); + public ref int Min => ref Unsafe.AsRef(&Handle->Min); + public ref int Max => ref Unsafe.AsRef(&Handle->Max); + public ref bool PosToIndexConvert => ref Unsafe.AsRef(&Handle->PosToIndexConvert); + public ref sbyte PosToIndexOffsetMin => ref Unsafe.AsRef(&Handle->PosToIndexOffsetMin); + public ref sbyte PosToIndexOffsetMax => ref Unsafe.AsRef(&Handle->PosToIndexOffsetMax); + } +} +/* ImGuiMenuColumns.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiMenuColumns + { + public uint TotalWidth; + public uint NextTotalWidth; + public ushort Spacing; + public ushort OffsetIcon; + public ushort OffsetLabel; + public ushort OffsetShortcut; + public ushort OffsetMark; + public ushort Widths_0; + public ushort Widths_1; + public ushort Widths_2; + public ushort Widths_3; + public unsafe ImGuiMenuColumns(uint totalWidth = default, uint nextTotalWidth = default, ushort spacing = default, ushort offsetIcon = default, ushort offsetLabel = default, ushort offsetShortcut = default, ushort offsetMark = default, ushort* widths = default) + { + TotalWidth = totalWidth; + NextTotalWidth = nextTotalWidth; + Spacing = spacing; + OffsetIcon = offsetIcon; + OffsetLabel = offsetLabel; + OffsetShortcut = offsetShortcut; + OffsetMark = offsetMark; + if (widths != default(ushort*)) + { + Widths_0 = widths[0]; + Widths_1 = widths[1]; + Widths_2 = widths[2]; + Widths_3 = widths[3]; + } + } + public unsafe ImGuiMenuColumns(uint totalWidth = default, uint nextTotalWidth = default, ushort spacing = default, ushort offsetIcon = default, ushort offsetLabel = default, ushort offsetShortcut = default, ushort offsetMark = default, Span widths = default) + { + TotalWidth = totalWidth; + NextTotalWidth = nextTotalWidth; + Spacing = spacing; + OffsetIcon = offsetIcon; + OffsetLabel = offsetLabel; + OffsetShortcut = offsetShortcut; + OffsetMark = offsetMark; + if (widths != default(Span)) + { + Widths_0 = widths[0]; + Widths_1 = widths[1]; + Widths_2 = widths[2]; + Widths_3 = widths[3]; + } + } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImGuiMenuColumnsPtr : IEquatable + { + public ImGuiMenuColumnsPtr(ImGuiMenuColumns* handle) { Handle = handle; } + public ImGuiMenuColumns* Handle; + public bool IsNull => Handle == null; + public static ImGuiMenuColumnsPtr Null => new ImGuiMenuColumnsPtr(null); + public ImGuiMenuColumns this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImGuiMenuColumnsPtr(ImGuiMenuColumns* handle) => new ImGuiMenuColumnsPtr(handle); + public static implicit operator ImGuiMenuColumns*(ImGuiMenuColumnsPtr handle) => handle.Handle; + public static bool operator ==(ImGuiMenuColumnsPtr left, ImGuiMenuColumnsPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImGuiMenuColumnsPtr left, ImGuiMenuColumnsPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImGuiMenuColumnsPtr left, ImGuiMenuColumns* right) => left.Handle == right; + public static bool operator !=(ImGuiMenuColumnsPtr left, ImGuiMenuColumns* right) => left.Handle != right; + public bool Equals(ImGuiMenuColumnsPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImGuiMenuColumnsPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImGuiMenuColumnsPtr [0x{0}]", ((nuint)Handle).ToString("X")); + public ref uint TotalWidth => ref Unsafe.AsRef(&Handle->TotalWidth); + public ref uint NextTotalWidth => ref Unsafe.AsRef(&Handle->NextTotalWidth); + public ref ushort Spacing => ref Unsafe.AsRef(&Handle->Spacing); + public ref ushort OffsetIcon => ref Unsafe.AsRef(&Handle->OffsetIcon); + public ref ushort OffsetLabel => ref Unsafe.AsRef(&Handle->OffsetLabel); + public ref ushort OffsetShortcut => ref Unsafe.AsRef(&Handle->OffsetShortcut); + public ref ushort OffsetMark => ref Unsafe.AsRef(&Handle->OffsetMark); + public unsafe Span Widths + { + get + { + return new Span(&Handle->Widths_0, 4); + } + } + } +} +/* ImGuiMetricsConfig.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiMetricsConfig + { + public byte ShowDebugLog; + public byte ShowStackTool; + public byte ShowWindowsRects; + public byte ShowWindowsBeginOrder; + public byte ShowTablesRects; + public byte ShowDrawCmdMesh; + public byte ShowDrawCmdBoundingBoxes; + public byte ShowDockingNodes; + public int ShowWindowsRectsType; + public int ShowTablesRectsType; + public unsafe ImGuiMetricsConfig(bool showDebugLog = default, bool showStackTool = default, bool showWindowsRects = default, bool showWindowsBeginOrder = default, bool showTablesRects = default, bool showDrawCmdMesh = default, bool showDrawCmdBoundingBoxes = default, bool showDockingNodes = default, int showWindowsRectsType = default, int showTablesRectsType = default) + { + ShowDebugLog = showDebugLog ? (byte)1 : (byte)0; + ShowStackTool = showStackTool ? (byte)1 : (byte)0; + ShowWindowsRects = showWindowsRects ? (byte)1 : (byte)0; + ShowWindowsBeginOrder = showWindowsBeginOrder ? (byte)1 : (byte)0; + ShowTablesRects = showTablesRects ? (byte)1 : (byte)0; + ShowDrawCmdMesh = showDrawCmdMesh ? (byte)1 : (byte)0; + ShowDrawCmdBoundingBoxes = showDrawCmdBoundingBoxes ? (byte)1 : (byte)0; + ShowDockingNodes = showDockingNodes ? (byte)1 : (byte)0; + ShowWindowsRectsType = showWindowsRectsType; + ShowTablesRectsType = showTablesRectsType; + } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImGuiMetricsConfigPtr : IEquatable + { + public ImGuiMetricsConfigPtr(ImGuiMetricsConfig* handle) { Handle = handle; } + public ImGuiMetricsConfig* Handle; + public bool IsNull => Handle == null; + public static ImGuiMetricsConfigPtr Null => new ImGuiMetricsConfigPtr(null); + public ImGuiMetricsConfig this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImGuiMetricsConfigPtr(ImGuiMetricsConfig* handle) => new ImGuiMetricsConfigPtr(handle); + public static implicit operator ImGuiMetricsConfig*(ImGuiMetricsConfigPtr handle) => handle.Handle; + public static bool operator ==(ImGuiMetricsConfigPtr left, ImGuiMetricsConfigPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImGuiMetricsConfigPtr left, ImGuiMetricsConfigPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImGuiMetricsConfigPtr left, ImGuiMetricsConfig* right) => left.Handle == right; + public static bool operator !=(ImGuiMetricsConfigPtr left, ImGuiMetricsConfig* right) => left.Handle != right; + public bool Equals(ImGuiMetricsConfigPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImGuiMetricsConfigPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImGuiMetricsConfigPtr [0x{0}]", ((nuint)Handle).ToString("X")); + public ref bool ShowDebugLog => ref Unsafe.AsRef(&Handle->ShowDebugLog); + public ref bool ShowStackTool => ref Unsafe.AsRef(&Handle->ShowStackTool); + public ref bool ShowWindowsRects => ref Unsafe.AsRef(&Handle->ShowWindowsRects); + public ref bool ShowWindowsBeginOrder => ref Unsafe.AsRef(&Handle->ShowWindowsBeginOrder); + public ref bool ShowTablesRects => ref Unsafe.AsRef(&Handle->ShowTablesRects); + public ref bool ShowDrawCmdMesh => ref Unsafe.AsRef(&Handle->ShowDrawCmdMesh); + public ref bool ShowDrawCmdBoundingBoxes => ref Unsafe.AsRef(&Handle->ShowDrawCmdBoundingBoxes); + public ref bool ShowDockingNodes => ref Unsafe.AsRef(&Handle->ShowDockingNodes); + public ref int ShowWindowsRectsType => ref Unsafe.AsRef(&Handle->ShowWindowsRectsType); + public ref int ShowTablesRectsType => ref Unsafe.AsRef(&Handle->ShowTablesRectsType); + } +} +/* ImGuiNavItemData.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiNavItemData + { + public unsafe ImGuiWindow* Window; + public uint ID; + public uint FocusScopeId; + public ImRect RectRel; + public ImGuiItemFlags InFlags; + public float DistBox; + public float DistCenter; + public float DistAxial; + public unsafe ImGuiNavItemData(ImGuiWindowPtr window = default, uint id = default, uint focusScopeId = default, ImRect rectRel = default, ImGuiItemFlags inFlags = default, float distBox = default, float distCenter = default, float distAxial = default) + { + Window = window; + ID = id; + FocusScopeId = focusScopeId; + RectRel = rectRel; + InFlags = inFlags; + DistBox = distBox; + DistCenter = distCenter; + DistAxial = distAxial; + } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImGuiNavItemDataPtr : IEquatable + { + public ImGuiNavItemDataPtr(ImGuiNavItemData* handle) { Handle = handle; } + public ImGuiNavItemData* Handle; + public bool IsNull => Handle == null; + public static ImGuiNavItemDataPtr Null => new ImGuiNavItemDataPtr(null); + public ImGuiNavItemData this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImGuiNavItemDataPtr(ImGuiNavItemData* handle) => new ImGuiNavItemDataPtr(handle); + public static implicit operator ImGuiNavItemData*(ImGuiNavItemDataPtr handle) => handle.Handle; + public static bool operator ==(ImGuiNavItemDataPtr left, ImGuiNavItemDataPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImGuiNavItemDataPtr left, ImGuiNavItemDataPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImGuiNavItemDataPtr left, ImGuiNavItemData* right) => left.Handle == right; + public static bool operator !=(ImGuiNavItemDataPtr left, ImGuiNavItemData* right) => left.Handle != right; + public bool Equals(ImGuiNavItemDataPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImGuiNavItemDataPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImGuiNavItemDataPtr [0x{0}]", ((nuint)Handle).ToString("X")); + public ref ImGuiWindowPtr Window => ref Unsafe.AsRef(&Handle->Window); + public ref uint ID => ref Unsafe.AsRef(&Handle->ID); + public ref uint FocusScopeId => ref Unsafe.AsRef(&Handle->FocusScopeId); + public ref ImRect RectRel => ref Unsafe.AsRef(&Handle->RectRel); + public ref ImGuiItemFlags InFlags => ref Unsafe.AsRef(&Handle->InFlags); + public ref float DistBox => ref Unsafe.AsRef(&Handle->DistBox); + public ref float DistCenter => ref Unsafe.AsRef(&Handle->DistCenter); + public ref float DistAxial => ref Unsafe.AsRef(&Handle->DistAxial); + } +} +/* ImGuiNextItemData.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiNextItemData + { + public ImGuiNextItemDataFlags Flags; + public float Width; + public uint FocusScopeId; + public ImGuiCond OpenCond; + public byte OpenVal; + public unsafe ImGuiNextItemData(ImGuiNextItemDataFlags flags = default, float width = default, uint focusScopeId = default, ImGuiCond openCond = default, bool openVal = default) + { + Flags = flags; + Width = width; + FocusScopeId = focusScopeId; + OpenCond = openCond; + OpenVal = openVal ? (byte)1 : (byte)0; + } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImGuiNextItemDataPtr : IEquatable + { + public ImGuiNextItemDataPtr(ImGuiNextItemData* handle) { Handle = handle; } + public ImGuiNextItemData* Handle; + public bool IsNull => Handle == null; + public static ImGuiNextItemDataPtr Null => new ImGuiNextItemDataPtr(null); + public ImGuiNextItemData this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImGuiNextItemDataPtr(ImGuiNextItemData* handle) => new ImGuiNextItemDataPtr(handle); + public static implicit operator ImGuiNextItemData*(ImGuiNextItemDataPtr handle) => handle.Handle; + public static bool operator ==(ImGuiNextItemDataPtr left, ImGuiNextItemDataPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImGuiNextItemDataPtr left, ImGuiNextItemDataPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImGuiNextItemDataPtr left, ImGuiNextItemData* right) => left.Handle == right; + public static bool operator !=(ImGuiNextItemDataPtr left, ImGuiNextItemData* right) => left.Handle != right; + public bool Equals(ImGuiNextItemDataPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImGuiNextItemDataPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImGuiNextItemDataPtr [0x{0}]", ((nuint)Handle).ToString("X")); + public ref ImGuiNextItemDataFlags Flags => ref Unsafe.AsRef(&Handle->Flags); + public ref float Width => ref Unsafe.AsRef(&Handle->Width); + public ref uint FocusScopeId => ref Unsafe.AsRef(&Handle->FocusScopeId); + public ref ImGuiCond OpenCond => ref Unsafe.AsRef(&Handle->OpenCond); + public ref bool OpenVal => ref Unsafe.AsRef(&Handle->OpenVal); + } +} +/* ImGuiNextWindowData.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiNextWindowData + { + public ImGuiNextWindowDataFlags Flags; + public ImGuiCond PosCond; + public ImGuiCond SizeCond; + public ImGuiCond CollapsedCond; + public ImGuiCond DockCond; + public Vector2 PosVal; + public Vector2 PosPivotVal; + public Vector2 SizeVal; + public Vector2 ContentSizeVal; + public Vector2 ScrollVal; + public byte PosUndock; + public byte CollapsedVal; + public ImRect SizeConstraintRect; + public unsafe void* SizeCallback; + public unsafe void* SizeCallbackUserData; + public float BgAlphaVal; + public uint ViewportId; + public uint DockId; + public ImGuiWindowClass WindowClass; + public Vector2 MenuBarOffsetMinVal; + public unsafe ImGuiNextWindowData(ImGuiNextWindowDataFlags flags = default, ImGuiCond posCond = default, ImGuiCond sizeCond = default, ImGuiCond collapsedCond = default, ImGuiCond dockCond = default, Vector2 posVal = default, Vector2 posPivotVal = default, Vector2 sizeVal = default, Vector2 contentSizeVal = default, Vector2 scrollVal = default, bool posUndock = default, bool collapsedVal = default, ImRect sizeConstraintRect = default, ImGuiSizeCallback sizeCallback = default, void* sizeCallbackUserData = default, float bgAlphaVal = default, uint viewportId = default, uint dockId = default, ImGuiWindowClass windowClass = default, Vector2 menuBarOffsetMinVal = default) + { + Flags = flags; + PosCond = posCond; + SizeCond = sizeCond; + CollapsedCond = collapsedCond; + DockCond = dockCond; + PosVal = posVal; + PosPivotVal = posPivotVal; + SizeVal = sizeVal; + ContentSizeVal = contentSizeVal; + ScrollVal = scrollVal; + PosUndock = posUndock ? (byte)1 : (byte)0; + CollapsedVal = collapsedVal ? (byte)1 : (byte)0; + SizeConstraintRect = sizeConstraintRect; + SizeCallback = (void*)Marshal.GetFunctionPointerForDelegate(sizeCallback); + SizeCallbackUserData = sizeCallbackUserData; + BgAlphaVal = bgAlphaVal; + ViewportId = viewportId; + DockId = dockId; + WindowClass = windowClass; + MenuBarOffsetMinVal = menuBarOffsetMinVal; + } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImGuiNextWindowDataPtr : IEquatable + { + public ImGuiNextWindowDataPtr(ImGuiNextWindowData* handle) { Handle = handle; } + public ImGuiNextWindowData* Handle; + public bool IsNull => Handle == null; + public static ImGuiNextWindowDataPtr Null => new ImGuiNextWindowDataPtr(null); + public ImGuiNextWindowData this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImGuiNextWindowDataPtr(ImGuiNextWindowData* handle) => new ImGuiNextWindowDataPtr(handle); + public static implicit operator ImGuiNextWindowData*(ImGuiNextWindowDataPtr handle) => handle.Handle; + public static bool operator ==(ImGuiNextWindowDataPtr left, ImGuiNextWindowDataPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImGuiNextWindowDataPtr left, ImGuiNextWindowDataPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImGuiNextWindowDataPtr left, ImGuiNextWindowData* right) => left.Handle == right; + public static bool operator !=(ImGuiNextWindowDataPtr left, ImGuiNextWindowData* right) => left.Handle != right; + public bool Equals(ImGuiNextWindowDataPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImGuiNextWindowDataPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImGuiNextWindowDataPtr [0x{0}]", ((nuint)Handle).ToString("X")); + public ref ImGuiNextWindowDataFlags Flags => ref Unsafe.AsRef(&Handle->Flags); + public ref ImGuiCond PosCond => ref Unsafe.AsRef(&Handle->PosCond); + public ref ImGuiCond SizeCond => ref Unsafe.AsRef(&Handle->SizeCond); + public ref ImGuiCond CollapsedCond => ref Unsafe.AsRef(&Handle->CollapsedCond); + public ref ImGuiCond DockCond => ref Unsafe.AsRef(&Handle->DockCond); + public ref Vector2 PosVal => ref Unsafe.AsRef(&Handle->PosVal); + public ref Vector2 PosPivotVal => ref Unsafe.AsRef(&Handle->PosPivotVal); + public ref Vector2 SizeVal => ref Unsafe.AsRef(&Handle->SizeVal); + public ref Vector2 ContentSizeVal => ref Unsafe.AsRef(&Handle->ContentSizeVal); + public ref Vector2 ScrollVal => ref Unsafe.AsRef(&Handle->ScrollVal); + public ref bool PosUndock => ref Unsafe.AsRef(&Handle->PosUndock); + public ref bool CollapsedVal => ref Unsafe.AsRef(&Handle->CollapsedVal); + public ref ImRect SizeConstraintRect => ref Unsafe.AsRef(&Handle->SizeConstraintRect); + public void* SizeCallback { get => Handle->SizeCallback; set => Handle->SizeCallback = value; } + public void* SizeCallbackUserData { get => Handle->SizeCallbackUserData; set => Handle->SizeCallbackUserData = value; } + public ref float BgAlphaVal => ref Unsafe.AsRef(&Handle->BgAlphaVal); + public ref uint ViewportId => ref Unsafe.AsRef(&Handle->ViewportId); + public ref uint DockId => ref Unsafe.AsRef(&Handle->DockId); + public ref ImGuiWindowClass WindowClass => ref Unsafe.AsRef(&Handle->WindowClass); + public ref Vector2 MenuBarOffsetMinVal => ref Unsafe.AsRef(&Handle->MenuBarOffsetMinVal); + } +} +/* ImGuiOldColumnData.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiOldColumnData + { + public float OffsetNorm; + public float OffsetNormBeforeResize; + public ImGuiOldColumnFlags Flags; + public ImRect ClipRect; + public unsafe ImGuiOldColumnData(float offsetNorm = default, float offsetNormBeforeResize = default, ImGuiOldColumnFlags flags = default, ImRect clipRect = default) + { + OffsetNorm = offsetNorm; + OffsetNormBeforeResize = offsetNormBeforeResize; + Flags = flags; + ClipRect = clipRect; + } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImGuiOldColumnDataPtr : IEquatable + { + public ImGuiOldColumnDataPtr(ImGuiOldColumnData* handle) { Handle = handle; } + public ImGuiOldColumnData* Handle; + public bool IsNull => Handle == null; + public static ImGuiOldColumnDataPtr Null => new ImGuiOldColumnDataPtr(null); + public ImGuiOldColumnData this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImGuiOldColumnDataPtr(ImGuiOldColumnData* handle) => new ImGuiOldColumnDataPtr(handle); + public static implicit operator ImGuiOldColumnData*(ImGuiOldColumnDataPtr handle) => handle.Handle; + public static bool operator ==(ImGuiOldColumnDataPtr left, ImGuiOldColumnDataPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImGuiOldColumnDataPtr left, ImGuiOldColumnDataPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImGuiOldColumnDataPtr left, ImGuiOldColumnData* right) => left.Handle == right; + public static bool operator !=(ImGuiOldColumnDataPtr left, ImGuiOldColumnData* right) => left.Handle != right; + public bool Equals(ImGuiOldColumnDataPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImGuiOldColumnDataPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImGuiOldColumnDataPtr [0x{0}]", ((nuint)Handle).ToString("X")); + public ref float OffsetNorm => ref Unsafe.AsRef(&Handle->OffsetNorm); + public ref float OffsetNormBeforeResize => ref Unsafe.AsRef(&Handle->OffsetNormBeforeResize); + public ref ImGuiOldColumnFlags Flags => ref Unsafe.AsRef(&Handle->Flags); + public ref ImRect ClipRect => ref Unsafe.AsRef(&Handle->ClipRect); + } +} +/* ImGuiOldColumns.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiOldColumns + { + public uint ID; + public ImGuiOldColumnFlags Flags; + public byte IsFirstFrame; + public byte IsBeingResized; + public int Current; + public int Count; + public float OffMinX; + public float OffMaxX; + public float LineMinY; + public float LineMaxY; + public float HostCursorPosY; + public float HostCursorMaxPosX; + public ImRect HostInitialClipRect; + public ImRect HostBackupClipRect; + public ImRect HostBackupParentWorkRect; + public ImVector Columns; + public ImDrawListSplitter Splitter; + public unsafe ImGuiOldColumns(uint id = default, ImGuiOldColumnFlags flags = default, bool isFirstFrame = default, bool isBeingResized = default, int current = default, int count = default, float offMinX = default, float offMaxX = default, float lineMinY = default, float lineMaxY = default, float hostCursorPosY = default, float hostCursorMaxPosX = default, ImRect hostInitialClipRect = default, ImRect hostBackupClipRect = default, ImRect hostBackupParentWorkRect = default, ImVector columns = default, ImDrawListSplitter splitter = default) + { + ID = id; + Flags = flags; + IsFirstFrame = isFirstFrame ? (byte)1 : (byte)0; + IsBeingResized = isBeingResized ? (byte)1 : (byte)0; + Current = current; + Count = count; + OffMinX = offMinX; + OffMaxX = offMaxX; + LineMinY = lineMinY; + LineMaxY = lineMaxY; + HostCursorPosY = hostCursorPosY; + HostCursorMaxPosX = hostCursorMaxPosX; + HostInitialClipRect = hostInitialClipRect; + HostBackupClipRect = hostBackupClipRect; + HostBackupParentWorkRect = hostBackupParentWorkRect; + Columns = columns; + Splitter = splitter; + } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImGuiOldColumnsPtr : IEquatable + { + public ImGuiOldColumnsPtr(ImGuiOldColumns* handle) { Handle = handle; } + public ImGuiOldColumns* Handle; + public bool IsNull => Handle == null; + public static ImGuiOldColumnsPtr Null => new ImGuiOldColumnsPtr(null); + public ImGuiOldColumns this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImGuiOldColumnsPtr(ImGuiOldColumns* handle) => new ImGuiOldColumnsPtr(handle); + public static implicit operator ImGuiOldColumns*(ImGuiOldColumnsPtr handle) => handle.Handle; + public static bool operator ==(ImGuiOldColumnsPtr left, ImGuiOldColumnsPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImGuiOldColumnsPtr left, ImGuiOldColumnsPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImGuiOldColumnsPtr left, ImGuiOldColumns* right) => left.Handle == right; + public static bool operator !=(ImGuiOldColumnsPtr left, ImGuiOldColumns* right) => left.Handle != right; + public bool Equals(ImGuiOldColumnsPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImGuiOldColumnsPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImGuiOldColumnsPtr [0x{0}]", ((nuint)Handle).ToString("X")); + public ref uint ID => ref Unsafe.AsRef(&Handle->ID); + public ref ImGuiOldColumnFlags Flags => ref Unsafe.AsRef(&Handle->Flags); + public ref bool IsFirstFrame => ref Unsafe.AsRef(&Handle->IsFirstFrame); + public ref bool IsBeingResized => ref Unsafe.AsRef(&Handle->IsBeingResized); + public ref int Current => ref Unsafe.AsRef(&Handle->Current); + public ref int Count => ref Unsafe.AsRef(&Handle->Count); + public ref float OffMinX => ref Unsafe.AsRef(&Handle->OffMinX); + public ref float OffMaxX => ref Unsafe.AsRef(&Handle->OffMaxX); + public ref float LineMinY => ref Unsafe.AsRef(&Handle->LineMinY); + public ref float LineMaxY => ref Unsafe.AsRef(&Handle->LineMaxY); + public ref float HostCursorPosY => ref Unsafe.AsRef(&Handle->HostCursorPosY); + public ref float HostCursorMaxPosX => ref Unsafe.AsRef(&Handle->HostCursorMaxPosX); + public ref ImRect HostInitialClipRect => ref Unsafe.AsRef(&Handle->HostInitialClipRect); + public ref ImRect HostBackupClipRect => ref Unsafe.AsRef(&Handle->HostBackupClipRect); + public ref ImRect HostBackupParentWorkRect => ref Unsafe.AsRef(&Handle->HostBackupParentWorkRect); + public ref ImVector Columns => ref Unsafe.AsRef>(&Handle->Columns); + public ref ImDrawListSplitter Splitter => ref Unsafe.AsRef(&Handle->Splitter); + } +} +/* ImGuiOnceUponAFrame.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiOnceUponAFrame + { + public int RefFrame; + public unsafe ImGuiOnceUponAFrame(int refFrame = default) + { + RefFrame = refFrame; + } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImGuiOnceUponAFramePtr : IEquatable + { + public ImGuiOnceUponAFramePtr(ImGuiOnceUponAFrame* handle) { Handle = handle; } + public ImGuiOnceUponAFrame* Handle; + public bool IsNull => Handle == null; + public static ImGuiOnceUponAFramePtr Null => new ImGuiOnceUponAFramePtr(null); + public ImGuiOnceUponAFrame this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImGuiOnceUponAFramePtr(ImGuiOnceUponAFrame* handle) => new ImGuiOnceUponAFramePtr(handle); + public static implicit operator ImGuiOnceUponAFrame*(ImGuiOnceUponAFramePtr handle) => handle.Handle; + public static bool operator ==(ImGuiOnceUponAFramePtr left, ImGuiOnceUponAFramePtr right) => left.Handle == right.Handle; + public static bool operator !=(ImGuiOnceUponAFramePtr left, ImGuiOnceUponAFramePtr right) => left.Handle != right.Handle; + public static bool operator ==(ImGuiOnceUponAFramePtr left, ImGuiOnceUponAFrame* right) => left.Handle == right; + public static bool operator !=(ImGuiOnceUponAFramePtr left, ImGuiOnceUponAFrame* right) => left.Handle != right; + public bool Equals(ImGuiOnceUponAFramePtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImGuiOnceUponAFramePtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImGuiOnceUponAFramePtr [0x{0}]", ((nuint)Handle).ToString("X")); + public ref int RefFrame => ref Unsafe.AsRef(&Handle->RefFrame); + } +} +/* ImGuiPayload.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiPayload + { + public unsafe void* Data; + public int DataSize; + public uint SourceId; + public uint SourceParentId; + public int DataFrameCount; + public byte DataType_0; + public byte DataType_1; + public byte DataType_2; + public byte DataType_3; + public byte DataType_4; + public byte DataType_5; + public byte DataType_6; + public byte DataType_7; + public byte DataType_8; + public byte DataType_9; + public byte DataType_10; + public byte DataType_11; + public byte DataType_12; + public byte DataType_13; + public byte DataType_14; + public byte DataType_15; + public byte DataType_16; + public byte DataType_17; + public byte DataType_18; + public byte DataType_19; + public byte DataType_20; + public byte DataType_21; + public byte DataType_22; + public byte DataType_23; + public byte DataType_24; + public byte DataType_25; + public byte DataType_26; + public byte DataType_27; + public byte DataType_28; + public byte DataType_29; + public byte DataType_30; + public byte DataType_31; + public byte DataType_32; + public byte Preview; + public byte Delivery; + public unsafe ImGuiPayload(void* data = default, int dataSize = default, uint sourceId = default, uint sourceParentId = default, int dataFrameCount = default, byte* dataType = default, bool preview = default, bool delivery = default) + { + Data = data; + DataSize = dataSize; + SourceId = sourceId; + SourceParentId = sourceParentId; + DataFrameCount = dataFrameCount; + if (dataType != default(byte*)) + { + DataType_0 = dataType[0]; + DataType_1 = dataType[1]; + DataType_2 = dataType[2]; + DataType_3 = dataType[3]; + DataType_4 = dataType[4]; + DataType_5 = dataType[5]; + DataType_6 = dataType[6]; + DataType_7 = dataType[7]; + DataType_8 = dataType[8]; + DataType_9 = dataType[9]; + DataType_10 = dataType[10]; + DataType_11 = dataType[11]; + DataType_12 = dataType[12]; + DataType_13 = dataType[13]; + DataType_14 = dataType[14]; + DataType_15 = dataType[15]; + DataType_16 = dataType[16]; + DataType_17 = dataType[17]; + DataType_18 = dataType[18]; + DataType_19 = dataType[19]; + DataType_20 = dataType[20]; + DataType_21 = dataType[21]; + DataType_22 = dataType[22]; + DataType_23 = dataType[23]; + DataType_24 = dataType[24]; + DataType_25 = dataType[25]; + DataType_26 = dataType[26]; + DataType_27 = dataType[27]; + DataType_28 = dataType[28]; + DataType_29 = dataType[29]; + DataType_30 = dataType[30]; + DataType_31 = dataType[31]; + DataType_32 = dataType[32]; + } + Preview = preview ? (byte)1 : (byte)0; + Delivery = delivery ? (byte)1 : (byte)0; + } + public unsafe ImGuiPayload(void* data = default, int dataSize = default, uint sourceId = default, uint sourceParentId = default, int dataFrameCount = default, Span dataType = default, bool preview = default, bool delivery = default) + { + Data = data; + DataSize = dataSize; + SourceId = sourceId; + SourceParentId = sourceParentId; + DataFrameCount = dataFrameCount; + if (dataType != default(Span)) + { + DataType_0 = dataType[0]; + DataType_1 = dataType[1]; + DataType_2 = dataType[2]; + DataType_3 = dataType[3]; + DataType_4 = dataType[4]; + DataType_5 = dataType[5]; + DataType_6 = dataType[6]; + DataType_7 = dataType[7]; + DataType_8 = dataType[8]; + DataType_9 = dataType[9]; + DataType_10 = dataType[10]; + DataType_11 = dataType[11]; + DataType_12 = dataType[12]; + DataType_13 = dataType[13]; + DataType_14 = dataType[14]; + DataType_15 = dataType[15]; + DataType_16 = dataType[16]; + DataType_17 = dataType[17]; + DataType_18 = dataType[18]; + DataType_19 = dataType[19]; + DataType_20 = dataType[20]; + DataType_21 = dataType[21]; + DataType_22 = dataType[22]; + DataType_23 = dataType[23]; + DataType_24 = dataType[24]; + DataType_25 = dataType[25]; + DataType_26 = dataType[26]; + DataType_27 = dataType[27]; + DataType_28 = dataType[28]; + DataType_29 = dataType[29]; + DataType_30 = dataType[30]; + DataType_31 = dataType[31]; + DataType_32 = dataType[32]; + } + Preview = preview ? (byte)1 : (byte)0; + Delivery = delivery ? (byte)1 : (byte)0; + } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImGuiPayloadPtr : IEquatable + { + public ImGuiPayloadPtr(ImGuiPayload* handle) { Handle = handle; } + public ImGuiPayload* Handle; + public bool IsNull => Handle == null; + public static ImGuiPayloadPtr Null => new ImGuiPayloadPtr(null); + public ImGuiPayload this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImGuiPayloadPtr(ImGuiPayload* handle) => new ImGuiPayloadPtr(handle); + public static implicit operator ImGuiPayload*(ImGuiPayloadPtr handle) => handle.Handle; + public static bool operator ==(ImGuiPayloadPtr left, ImGuiPayloadPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImGuiPayloadPtr left, ImGuiPayloadPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImGuiPayloadPtr left, ImGuiPayload* right) => left.Handle == right; + public static bool operator !=(ImGuiPayloadPtr left, ImGuiPayload* right) => left.Handle != right; + public bool Equals(ImGuiPayloadPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImGuiPayloadPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImGuiPayloadPtr [0x{0}]", ((nuint)Handle).ToString("X")); + public void* Data { get => Handle->Data; set => Handle->Data = value; } + public ref int DataSize => ref Unsafe.AsRef(&Handle->DataSize); + public ref uint SourceId => ref Unsafe.AsRef(&Handle->SourceId); + public ref uint SourceParentId => ref Unsafe.AsRef(&Handle->SourceParentId); + public ref int DataFrameCount => ref Unsafe.AsRef(&Handle->DataFrameCount); + public unsafe Span DataType + { + get + { + return new Span(&Handle->DataType_0, 33); + } + } + public ref bool Preview => ref Unsafe.AsRef(&Handle->Preview); + public ref bool Delivery => ref Unsafe.AsRef(&Handle->Delivery); + } +} +/* ImGuiPlatformImeData.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiPlatformImeData + { + public byte WantVisible; + public Vector2 InputPos; + public float InputLineHeight; + public unsafe ImGuiPlatformImeData(bool wantVisible = default, Vector2 inputPos = default, float inputLineHeight = default) + { + WantVisible = wantVisible ? (byte)1 : (byte)0; + InputPos = inputPos; + InputLineHeight = inputLineHeight; + } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImGuiPlatformImeDataPtr : IEquatable + { + public ImGuiPlatformImeDataPtr(ImGuiPlatformImeData* handle) { Handle = handle; } + public ImGuiPlatformImeData* Handle; + public bool IsNull => Handle == null; + public static ImGuiPlatformImeDataPtr Null => new ImGuiPlatformImeDataPtr(null); + public ImGuiPlatformImeData this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImGuiPlatformImeDataPtr(ImGuiPlatformImeData* handle) => new ImGuiPlatformImeDataPtr(handle); + public static implicit operator ImGuiPlatformImeData*(ImGuiPlatformImeDataPtr handle) => handle.Handle; + public static bool operator ==(ImGuiPlatformImeDataPtr left, ImGuiPlatformImeDataPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImGuiPlatformImeDataPtr left, ImGuiPlatformImeDataPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImGuiPlatformImeDataPtr left, ImGuiPlatformImeData* right) => left.Handle == right; + public static bool operator !=(ImGuiPlatformImeDataPtr left, ImGuiPlatformImeData* right) => left.Handle != right; + public bool Equals(ImGuiPlatformImeDataPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImGuiPlatformImeDataPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImGuiPlatformImeDataPtr [0x{0}]", ((nuint)Handle).ToString("X")); + public ref bool WantVisible => ref Unsafe.AsRef(&Handle->WantVisible); + public ref Vector2 InputPos => ref Unsafe.AsRef(&Handle->InputPos); + public ref float InputLineHeight => ref Unsafe.AsRef(&Handle->InputLineHeight); + } +} +/* ImGuiPlatformIO.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiPlatformIO + { + public unsafe void* PlatformCreateWindow; + public unsafe void* PlatformDestroyWindow; + public unsafe void* PlatformShowWindow; + public unsafe void* PlatformSetWindowPos; + public unsafe void* PlatformGetWindowPos; + public unsafe void* PlatformSetWindowSize; + public unsafe void* PlatformGetWindowSize; + public unsafe void* PlatformSetWindowFocus; + public unsafe void* PlatformGetWindowFocus; + public unsafe void* PlatformGetWindowMinimized; + public unsafe void* PlatformSetWindowTitle; + public unsafe void* PlatformSetWindowAlpha; + public unsafe void* PlatformUpdateWindow; + public unsafe void* PlatformRenderWindow; + public unsafe void* PlatformSwapBuffers; + public unsafe void* PlatformGetWindowDpiScale; + public unsafe void* PlatformOnChangedViewport; + public unsafe void* PlatformCreateVkSurface; + public unsafe void* RendererCreateWindow; + public unsafe void* RendererDestroyWindow; + public unsafe void* RendererSetWindowSize; + public unsafe void* RendererRenderWindow; + public unsafe void* RendererSwapBuffers; + public ImVector Monitors; + public ImVector Viewports; + public unsafe ImGuiPlatformIO(delegate* platformCreatewindow = default, delegate* platformDestroywindow = default, delegate* platformShowwindow = default, delegate* platformSetwindowpos = default, delegate* platformGetwindowpos = default, delegate* platformSetwindowsize = default, delegate* platformGetwindowsize = default, delegate* platformSetwindowfocus = default, delegate* platformGetwindowfocus = default, delegate* platformGetwindowminimized = default, delegate* platformSetwindowtitle = default, delegate* platformSetwindowalpha = default, delegate* platformUpdatewindow = default, delegate* platformRenderwindow = default, delegate* platformSwapbuffers = default, delegate* platformGetwindowdpiscale = default, delegate* platformOnchangedviewport = default, delegate* platformCreatevksurface = default, delegate* rendererCreatewindow = default, delegate* rendererDestroywindow = default, delegate* rendererSetwindowsize = default, delegate* rendererRenderwindow = default, delegate* rendererSwapbuffers = default, ImVector monitors = default, ImVector viewports = default) + { + PlatformCreateWindow = (void*)platformCreatewindow; + PlatformDestroyWindow = (void*)platformDestroywindow; + PlatformShowWindow = (void*)platformShowwindow; + PlatformSetWindowPos = (void*)platformSetwindowpos; + PlatformGetWindowPos = (void*)platformGetwindowpos; + PlatformSetWindowSize = (void*)platformSetwindowsize; + PlatformGetWindowSize = (void*)platformGetwindowsize; + PlatformSetWindowFocus = (void*)platformSetwindowfocus; + PlatformGetWindowFocus = (void*)platformGetwindowfocus; + PlatformGetWindowMinimized = (void*)platformGetwindowminimized; + PlatformSetWindowTitle = (void*)platformSetwindowtitle; + PlatformSetWindowAlpha = (void*)platformSetwindowalpha; + PlatformUpdateWindow = (void*)platformUpdatewindow; + PlatformRenderWindow = (void*)platformRenderwindow; + PlatformSwapBuffers = (void*)platformSwapbuffers; + PlatformGetWindowDpiScale = (void*)platformGetwindowdpiscale; + PlatformOnChangedViewport = (void*)platformOnchangedviewport; + PlatformCreateVkSurface = (void*)platformCreatevksurface; + RendererCreateWindow = (void*)rendererCreatewindow; + RendererDestroyWindow = (void*)rendererDestroywindow; + RendererSetWindowSize = (void*)rendererSetwindowsize; + RendererRenderWindow = (void*)rendererRenderwindow; + RendererSwapBuffers = (void*)rendererSwapbuffers; + Monitors = monitors; + Viewports = viewports; + } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImGuiPlatformIOPtr : IEquatable + { + public ImGuiPlatformIOPtr(ImGuiPlatformIO* handle) { Handle = handle; } + public ImGuiPlatformIO* Handle; + public bool IsNull => Handle == null; + public static ImGuiPlatformIOPtr Null => new ImGuiPlatformIOPtr(null); + public ImGuiPlatformIO this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImGuiPlatformIOPtr(ImGuiPlatformIO* handle) => new ImGuiPlatformIOPtr(handle); + public static implicit operator ImGuiPlatformIO*(ImGuiPlatformIOPtr handle) => handle.Handle; + public static bool operator ==(ImGuiPlatformIOPtr left, ImGuiPlatformIOPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImGuiPlatformIOPtr left, ImGuiPlatformIOPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImGuiPlatformIOPtr left, ImGuiPlatformIO* right) => left.Handle == right; + public static bool operator !=(ImGuiPlatformIOPtr left, ImGuiPlatformIO* right) => left.Handle != right; + public bool Equals(ImGuiPlatformIOPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImGuiPlatformIOPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImGuiPlatformIOPtr [0x{0}]", ((nuint)Handle).ToString("X")); + public void* PlatformCreateWindow { get => Handle->PlatformCreateWindow; set => Handle->PlatformCreateWindow = value; } + public void* PlatformDestroyWindow { get => Handle->PlatformDestroyWindow; set => Handle->PlatformDestroyWindow = value; } + public void* PlatformShowWindow { get => Handle->PlatformShowWindow; set => Handle->PlatformShowWindow = value; } + public void* PlatformSetWindowPos { get => Handle->PlatformSetWindowPos; set => Handle->PlatformSetWindowPos = value; } + public void* PlatformGetWindowPos { get => Handle->PlatformGetWindowPos; set => Handle->PlatformGetWindowPos = value; } + public void* PlatformSetWindowSize { get => Handle->PlatformSetWindowSize; set => Handle->PlatformSetWindowSize = value; } + public void* PlatformGetWindowSize { get => Handle->PlatformGetWindowSize; set => Handle->PlatformGetWindowSize = value; } + public void* PlatformSetWindowFocus { get => Handle->PlatformSetWindowFocus; set => Handle->PlatformSetWindowFocus = value; } + public void* PlatformGetWindowFocus { get => Handle->PlatformGetWindowFocus; set => Handle->PlatformGetWindowFocus = value; } + public void* PlatformGetWindowMinimized { get => Handle->PlatformGetWindowMinimized; set => Handle->PlatformGetWindowMinimized = value; } + public void* PlatformSetWindowTitle { get => Handle->PlatformSetWindowTitle; set => Handle->PlatformSetWindowTitle = value; } + public void* PlatformSetWindowAlpha { get => Handle->PlatformSetWindowAlpha; set => Handle->PlatformSetWindowAlpha = value; } + public void* PlatformUpdateWindow { get => Handle->PlatformUpdateWindow; set => Handle->PlatformUpdateWindow = value; } + public void* PlatformRenderWindow { get => Handle->PlatformRenderWindow; set => Handle->PlatformRenderWindow = value; } + public void* PlatformSwapBuffers { get => Handle->PlatformSwapBuffers; set => Handle->PlatformSwapBuffers = value; } + public void* PlatformGetWindowDpiScale { get => Handle->PlatformGetWindowDpiScale; set => Handle->PlatformGetWindowDpiScale = value; } + public void* PlatformOnChangedViewport { get => Handle->PlatformOnChangedViewport; set => Handle->PlatformOnChangedViewport = value; } + public void* PlatformCreateVkSurface { get => Handle->PlatformCreateVkSurface; set => Handle->PlatformCreateVkSurface = value; } + public void* RendererCreateWindow { get => Handle->RendererCreateWindow; set => Handle->RendererCreateWindow = value; } + public void* RendererDestroyWindow { get => Handle->RendererDestroyWindow; set => Handle->RendererDestroyWindow = value; } + public void* RendererSetWindowSize { get => Handle->RendererSetWindowSize; set => Handle->RendererSetWindowSize = value; } + public void* RendererRenderWindow { get => Handle->RendererRenderWindow; set => Handle->RendererRenderWindow = value; } + public void* RendererSwapBuffers { get => Handle->RendererSwapBuffers; set => Handle->RendererSwapBuffers = value; } + public ref ImVector Monitors => ref Unsafe.AsRef>(&Handle->Monitors); + public ref ImVector Viewports => ref Unsafe.AsRef>(&Handle->Viewports); + } +} +/* ImGuiPlatformMonitor.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiPlatformMonitor + { + public Vector2 MainPos; + public Vector2 MainSize; + public Vector2 WorkPos; + public Vector2 WorkSize; + public float DpiScale; + public unsafe ImGuiPlatformMonitor(Vector2 mainPos = default, Vector2 mainSize = default, Vector2 workPos = default, Vector2 workSize = default, float dpiScale = default) + { + MainPos = mainPos; + MainSize = mainSize; + WorkPos = workPos; + WorkSize = workSize; + DpiScale = dpiScale; + } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImGuiPlatformMonitorPtr : IEquatable + { + public ImGuiPlatformMonitorPtr(ImGuiPlatformMonitor* handle) { Handle = handle; } + public ImGuiPlatformMonitor* Handle; + public bool IsNull => Handle == null; + public static ImGuiPlatformMonitorPtr Null => new ImGuiPlatformMonitorPtr(null); + public ImGuiPlatformMonitor this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImGuiPlatformMonitorPtr(ImGuiPlatformMonitor* handle) => new ImGuiPlatformMonitorPtr(handle); + public static implicit operator ImGuiPlatformMonitor*(ImGuiPlatformMonitorPtr handle) => handle.Handle; + public static bool operator ==(ImGuiPlatformMonitorPtr left, ImGuiPlatformMonitorPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImGuiPlatformMonitorPtr left, ImGuiPlatformMonitorPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImGuiPlatformMonitorPtr left, ImGuiPlatformMonitor* right) => left.Handle == right; + public static bool operator !=(ImGuiPlatformMonitorPtr left, ImGuiPlatformMonitor* right) => left.Handle != right; + public bool Equals(ImGuiPlatformMonitorPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImGuiPlatformMonitorPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImGuiPlatformMonitorPtr [0x{0}]", ((nuint)Handle).ToString("X")); + public ref Vector2 MainPos => ref Unsafe.AsRef(&Handle->MainPos); + public ref Vector2 MainSize => ref Unsafe.AsRef(&Handle->MainSize); + public ref Vector2 WorkPos => ref Unsafe.AsRef(&Handle->WorkPos); + public ref Vector2 WorkSize => ref Unsafe.AsRef(&Handle->WorkSize); + public ref float DpiScale => ref Unsafe.AsRef(&Handle->DpiScale); + } +} +/* ImGuiPopupData.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiPopupData + { + public uint PopupId; + public unsafe ImGuiWindow* Window; + public unsafe ImGuiWindow* SourceWindow; + public int ParentNavLayer; + public int OpenFrameCount; + public uint OpenParentId; + public Vector2 OpenPopupPos; + public Vector2 OpenMousePos; + public unsafe ImGuiPopupData(uint popupId = default, ImGuiWindowPtr window = default, ImGuiWindowPtr sourceWindow = default, int parentNavLayer = default, int openFrameCount = default, uint openParentId = default, Vector2 openPopupPos = default, Vector2 openMousePos = default) + { + PopupId = popupId; + Window = window; + SourceWindow = sourceWindow; + ParentNavLayer = parentNavLayer; + OpenFrameCount = openFrameCount; + OpenParentId = openParentId; + OpenPopupPos = openPopupPos; + OpenMousePos = openMousePos; + } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImGuiPopupDataPtr : IEquatable + { + public ImGuiPopupDataPtr(ImGuiPopupData* handle) { Handle = handle; } + public ImGuiPopupData* Handle; + public bool IsNull => Handle == null; + public static ImGuiPopupDataPtr Null => new ImGuiPopupDataPtr(null); + public ImGuiPopupData this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImGuiPopupDataPtr(ImGuiPopupData* handle) => new ImGuiPopupDataPtr(handle); + public static implicit operator ImGuiPopupData*(ImGuiPopupDataPtr handle) => handle.Handle; + public static bool operator ==(ImGuiPopupDataPtr left, ImGuiPopupDataPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImGuiPopupDataPtr left, ImGuiPopupDataPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImGuiPopupDataPtr left, ImGuiPopupData* right) => left.Handle == right; + public static bool operator !=(ImGuiPopupDataPtr left, ImGuiPopupData* right) => left.Handle != right; + public bool Equals(ImGuiPopupDataPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImGuiPopupDataPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImGuiPopupDataPtr [0x{0}]", ((nuint)Handle).ToString("X")); + public ref uint PopupId => ref Unsafe.AsRef(&Handle->PopupId); + public ref ImGuiWindowPtr Window => ref Unsafe.AsRef(&Handle->Window); + public ref ImGuiWindowPtr SourceWindow => ref Unsafe.AsRef(&Handle->SourceWindow); + public ref int ParentNavLayer => ref Unsafe.AsRef(&Handle->ParentNavLayer); + public ref int OpenFrameCount => ref Unsafe.AsRef(&Handle->OpenFrameCount); + public ref uint OpenParentId => ref Unsafe.AsRef(&Handle->OpenParentId); + public ref Vector2 OpenPopupPos => ref Unsafe.AsRef(&Handle->OpenPopupPos); + public ref Vector2 OpenMousePos => ref Unsafe.AsRef(&Handle->OpenMousePos); + } +} +/* ImGuiPtrOrIndex.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiPtrOrIndex + { + public unsafe void* Ptr; + public int Index; + public unsafe ImGuiPtrOrIndex(void* ptr = default, int index = default) + { + Ptr = ptr; + Index = index; + } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImGuiPtrOrIndexPtr : IEquatable + { + public ImGuiPtrOrIndexPtr(ImGuiPtrOrIndex* handle) { Handle = handle; } + public ImGuiPtrOrIndex* Handle; + public bool IsNull => Handle == null; + public static ImGuiPtrOrIndexPtr Null => new ImGuiPtrOrIndexPtr(null); + public ImGuiPtrOrIndex this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImGuiPtrOrIndexPtr(ImGuiPtrOrIndex* handle) => new ImGuiPtrOrIndexPtr(handle); + public static implicit operator ImGuiPtrOrIndex*(ImGuiPtrOrIndexPtr handle) => handle.Handle; + public static bool operator ==(ImGuiPtrOrIndexPtr left, ImGuiPtrOrIndexPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImGuiPtrOrIndexPtr left, ImGuiPtrOrIndexPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImGuiPtrOrIndexPtr left, ImGuiPtrOrIndex* right) => left.Handle == right; + public static bool operator !=(ImGuiPtrOrIndexPtr left, ImGuiPtrOrIndex* right) => left.Handle != right; + public bool Equals(ImGuiPtrOrIndexPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImGuiPtrOrIndexPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImGuiPtrOrIndexPtr [0x{0}]", ((nuint)Handle).ToString("X")); + public void* Ptr { get => Handle->Ptr; set => Handle->Ptr = value; } + public ref int Index => ref Unsafe.AsRef(&Handle->Index); + } +} +/* ImGuiSettingsHandler.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiSettingsHandler + { + public unsafe byte* TypeName; + public uint TypeHash; + public unsafe void* ClearAllFn; + public unsafe void* ReadInitFn; + public unsafe void* ReadOpenFn; + public unsafe void* ReadLineFn; + public unsafe void* ApplyAllFn; + public unsafe void* WriteAllFn; + public unsafe void* UserData; + public unsafe ImGuiSettingsHandler(byte* typeName = default, uint typeHash = default, delegate* clearAllFn = default, delegate* readInitFn = default, delegate* readOpenFn = default, delegate* readLineFn = default, delegate* applyAllFn = default, delegate* writeAllFn = default, void* userData = default) + { + TypeName = typeName; + TypeHash = typeHash; + ClearAllFn = (void*)clearAllFn; + ReadInitFn = (void*)readInitFn; + ReadOpenFn = (void*)readOpenFn; + ReadLineFn = (void*)readLineFn; + ApplyAllFn = (void*)applyAllFn; + WriteAllFn = (void*)writeAllFn; + UserData = userData; + } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImGuiSettingsHandlerPtr : IEquatable + { + public ImGuiSettingsHandlerPtr(ImGuiSettingsHandler* handle) { Handle = handle; } + public ImGuiSettingsHandler* Handle; + public bool IsNull => Handle == null; + public static ImGuiSettingsHandlerPtr Null => new ImGuiSettingsHandlerPtr(null); + public ImGuiSettingsHandler this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImGuiSettingsHandlerPtr(ImGuiSettingsHandler* handle) => new ImGuiSettingsHandlerPtr(handle); + public static implicit operator ImGuiSettingsHandler*(ImGuiSettingsHandlerPtr handle) => handle.Handle; + public static bool operator ==(ImGuiSettingsHandlerPtr left, ImGuiSettingsHandlerPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImGuiSettingsHandlerPtr left, ImGuiSettingsHandlerPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImGuiSettingsHandlerPtr left, ImGuiSettingsHandler* right) => left.Handle == right; + public static bool operator !=(ImGuiSettingsHandlerPtr left, ImGuiSettingsHandler* right) => left.Handle != right; + public bool Equals(ImGuiSettingsHandlerPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImGuiSettingsHandlerPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImGuiSettingsHandlerPtr [0x{0}]", ((nuint)Handle).ToString("X")); + public byte* TypeName { get => Handle->TypeName; set => Handle->TypeName = value; } + public ref uint TypeHash => ref Unsafe.AsRef(&Handle->TypeHash); + public void* ClearAllFn { get => Handle->ClearAllFn; set => Handle->ClearAllFn = value; } + public void* ReadInitFn { get => Handle->ReadInitFn; set => Handle->ReadInitFn = value; } + public void* ReadOpenFn { get => Handle->ReadOpenFn; set => Handle->ReadOpenFn = value; } + public void* ReadLineFn { get => Handle->ReadLineFn; set => Handle->ReadLineFn = value; } + public void* ApplyAllFn { get => Handle->ApplyAllFn; set => Handle->ApplyAllFn = value; } + public void* WriteAllFn { get => Handle->WriteAllFn; set => Handle->WriteAllFn = value; } + public void* UserData { get => Handle->UserData; set => Handle->UserData = value; } + } +} +/* ImGuiShrinkWidthItem.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiShrinkWidthItem + { + public int Index; + public float Width; + public float InitialWidth; + public unsafe ImGuiShrinkWidthItem(int index = default, float width = default, float initialWidth = default) + { + Index = index; + Width = width; + InitialWidth = initialWidth; + } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImGuiShrinkWidthItemPtr : IEquatable + { + public ImGuiShrinkWidthItemPtr(ImGuiShrinkWidthItem* handle) { Handle = handle; } + public ImGuiShrinkWidthItem* Handle; + public bool IsNull => Handle == null; + public static ImGuiShrinkWidthItemPtr Null => new ImGuiShrinkWidthItemPtr(null); + public ImGuiShrinkWidthItem this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImGuiShrinkWidthItemPtr(ImGuiShrinkWidthItem* handle) => new ImGuiShrinkWidthItemPtr(handle); + public static implicit operator ImGuiShrinkWidthItem*(ImGuiShrinkWidthItemPtr handle) => handle.Handle; + public static bool operator ==(ImGuiShrinkWidthItemPtr left, ImGuiShrinkWidthItemPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImGuiShrinkWidthItemPtr left, ImGuiShrinkWidthItemPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImGuiShrinkWidthItemPtr left, ImGuiShrinkWidthItem* right) => left.Handle == right; + public static bool operator !=(ImGuiShrinkWidthItemPtr left, ImGuiShrinkWidthItem* right) => left.Handle != right; + public bool Equals(ImGuiShrinkWidthItemPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImGuiShrinkWidthItemPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImGuiShrinkWidthItemPtr [0x{0}]", ((nuint)Handle).ToString("X")); + public ref int Index => ref Unsafe.AsRef(&Handle->Index); + public ref float Width => ref Unsafe.AsRef(&Handle->Width); + public ref float InitialWidth => ref Unsafe.AsRef(&Handle->InitialWidth); + } +} +/* ImGuiSizeCallbackData.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiSizeCallbackData + { + public unsafe void* UserData; + public Vector2 Pos; + public Vector2 CurrentSize; + public Vector2 DesiredSize; + public unsafe ImGuiSizeCallbackData(void* userData = default, Vector2 pos = default, Vector2 currentSize = default, Vector2 desiredSize = default) + { + UserData = userData; + Pos = pos; + CurrentSize = currentSize; + DesiredSize = desiredSize; + } + } +} +/* ImGuiStackLevelInfo.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiStackLevelInfo + { + public uint ID; + public sbyte QueryFrameCount; + public byte QuerySuccess; + public ImGuiDataType RawBits0; + public byte Desc_0; + public byte Desc_1; + public byte Desc_2; + public byte Desc_3; + public byte Desc_4; + public byte Desc_5; + public byte Desc_6; + public byte Desc_7; + public byte Desc_8; + public byte Desc_9; + public byte Desc_10; + public byte Desc_11; + public byte Desc_12; + public byte Desc_13; + public byte Desc_14; + public byte Desc_15; + public byte Desc_16; + public byte Desc_17; + public byte Desc_18; + public byte Desc_19; + public byte Desc_20; + public byte Desc_21; + public byte Desc_22; + public byte Desc_23; + public byte Desc_24; + public byte Desc_25; + public byte Desc_26; + public byte Desc_27; + public byte Desc_28; + public byte Desc_29; + public byte Desc_30; + public byte Desc_31; + public byte Desc_32; + public byte Desc_33; + public byte Desc_34; + public byte Desc_35; + public byte Desc_36; + public byte Desc_37; + public byte Desc_38; + public byte Desc_39; + public byte Desc_40; + public byte Desc_41; + public byte Desc_42; + public byte Desc_43; + public byte Desc_44; + public byte Desc_45; + public byte Desc_46; + public byte Desc_47; + public byte Desc_48; + public byte Desc_49; + public byte Desc_50; + public byte Desc_51; + public byte Desc_52; + public byte Desc_53; + public byte Desc_54; + public byte Desc_55; + public byte Desc_56; + public unsafe ImGuiStackLevelInfo(uint id = default, sbyte queryFrameCount = default, bool querySuccess = default, ImGuiDataType dataType = default, byte* desc = default) + { + ID = id; + QueryFrameCount = queryFrameCount; + QuerySuccess = querySuccess ? (byte)1 : (byte)0; + DataType = dataType; + if (desc != default(byte*)) + { + Desc_0 = desc[0]; + Desc_1 = desc[1]; + Desc_2 = desc[2]; + Desc_3 = desc[3]; + Desc_4 = desc[4]; + Desc_5 = desc[5]; + Desc_6 = desc[6]; + Desc_7 = desc[7]; + Desc_8 = desc[8]; + Desc_9 = desc[9]; + Desc_10 = desc[10]; + Desc_11 = desc[11]; + Desc_12 = desc[12]; + Desc_13 = desc[13]; + Desc_14 = desc[14]; + Desc_15 = desc[15]; + Desc_16 = desc[16]; + Desc_17 = desc[17]; + Desc_18 = desc[18]; + Desc_19 = desc[19]; + Desc_20 = desc[20]; + Desc_21 = desc[21]; + Desc_22 = desc[22]; + Desc_23 = desc[23]; + Desc_24 = desc[24]; + Desc_25 = desc[25]; + Desc_26 = desc[26]; + Desc_27 = desc[27]; + Desc_28 = desc[28]; + Desc_29 = desc[29]; + Desc_30 = desc[30]; + Desc_31 = desc[31]; + Desc_32 = desc[32]; + Desc_33 = desc[33]; + Desc_34 = desc[34]; + Desc_35 = desc[35]; + Desc_36 = desc[36]; + Desc_37 = desc[37]; + Desc_38 = desc[38]; + Desc_39 = desc[39]; + Desc_40 = desc[40]; + Desc_41 = desc[41]; + Desc_42 = desc[42]; + Desc_43 = desc[43]; + Desc_44 = desc[44]; + Desc_45 = desc[45]; + Desc_46 = desc[46]; + Desc_47 = desc[47]; + Desc_48 = desc[48]; + Desc_49 = desc[49]; + Desc_50 = desc[50]; + Desc_51 = desc[51]; + Desc_52 = desc[52]; + Desc_53 = desc[53]; + Desc_54 = desc[54]; + Desc_55 = desc[55]; + Desc_56 = desc[56]; + } + } + public unsafe ImGuiStackLevelInfo(uint id = default, sbyte queryFrameCount = default, bool querySuccess = default, ImGuiDataType dataType = default, Span desc = default) + { + ID = id; + QueryFrameCount = queryFrameCount; + QuerySuccess = querySuccess ? (byte)1 : (byte)0; + DataType = dataType; + if (desc != default(Span)) + { + Desc_0 = desc[0]; + Desc_1 = desc[1]; + Desc_2 = desc[2]; + Desc_3 = desc[3]; + Desc_4 = desc[4]; + Desc_5 = desc[5]; + Desc_6 = desc[6]; + Desc_7 = desc[7]; + Desc_8 = desc[8]; + Desc_9 = desc[9]; + Desc_10 = desc[10]; + Desc_11 = desc[11]; + Desc_12 = desc[12]; + Desc_13 = desc[13]; + Desc_14 = desc[14]; + Desc_15 = desc[15]; + Desc_16 = desc[16]; + Desc_17 = desc[17]; + Desc_18 = desc[18]; + Desc_19 = desc[19]; + Desc_20 = desc[20]; + Desc_21 = desc[21]; + Desc_22 = desc[22]; + Desc_23 = desc[23]; + Desc_24 = desc[24]; + Desc_25 = desc[25]; + Desc_26 = desc[26]; + Desc_27 = desc[27]; + Desc_28 = desc[28]; + Desc_29 = desc[29]; + Desc_30 = desc[30]; + Desc_31 = desc[31]; + Desc_32 = desc[32]; + Desc_33 = desc[33]; + Desc_34 = desc[34]; + Desc_35 = desc[35]; + Desc_36 = desc[36]; + Desc_37 = desc[37]; + Desc_38 = desc[38]; + Desc_39 = desc[39]; + Desc_40 = desc[40]; + Desc_41 = desc[41]; + Desc_42 = desc[42]; + Desc_43 = desc[43]; + Desc_44 = desc[44]; + Desc_45 = desc[45]; + Desc_46 = desc[46]; + Desc_47 = desc[47]; + Desc_48 = desc[48]; + Desc_49 = desc[49]; + Desc_50 = desc[50]; + Desc_51 = desc[51]; + Desc_52 = desc[52]; + Desc_53 = desc[53]; + Desc_54 = desc[54]; + Desc_55 = desc[55]; + Desc_56 = desc[56]; + } + } + public ImGuiDataType DataType { get => Bitfield.Get(RawBits0, 0, 8); set => Bitfield.Set(ref RawBits0, value, 0, 8); } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImGuiStackLevelInfoPtr : IEquatable + { + public ImGuiStackLevelInfoPtr(ImGuiStackLevelInfo* handle) { Handle = handle; } + public ImGuiStackLevelInfo* Handle; + public bool IsNull => Handle == null; + public static ImGuiStackLevelInfoPtr Null => new ImGuiStackLevelInfoPtr(null); + public ImGuiStackLevelInfo this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImGuiStackLevelInfoPtr(ImGuiStackLevelInfo* handle) => new ImGuiStackLevelInfoPtr(handle); + public static implicit operator ImGuiStackLevelInfo*(ImGuiStackLevelInfoPtr handle) => handle.Handle; + public static bool operator ==(ImGuiStackLevelInfoPtr left, ImGuiStackLevelInfoPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImGuiStackLevelInfoPtr left, ImGuiStackLevelInfoPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImGuiStackLevelInfoPtr left, ImGuiStackLevelInfo* right) => left.Handle == right; + public static bool operator !=(ImGuiStackLevelInfoPtr left, ImGuiStackLevelInfo* right) => left.Handle != right; + public bool Equals(ImGuiStackLevelInfoPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImGuiStackLevelInfoPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImGuiStackLevelInfoPtr [0x{0}]", ((nuint)Handle).ToString("X")); + public ref uint ID => ref Unsafe.AsRef(&Handle->ID); + public ref sbyte QueryFrameCount => ref Unsafe.AsRef(&Handle->QueryFrameCount); + public ref bool QuerySuccess => ref Unsafe.AsRef(&Handle->QuerySuccess); + public ImGuiDataType DataType { get => Handle->DataType; set => Handle->DataType = value; } + public unsafe Span Desc + { + get + { + return new Span(&Handle->Desc_0, 57); + } + } + } +} +/* ImGuiStackSizes.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiStackSizes + { + public short SizeOfIDStack; + public short SizeOfColorStack; + public short SizeOfStyleVarStack; + public short SizeOfFontStack; + public short SizeOfFocusScopeStack; + public short SizeOfGroupStack; + public short SizeOfItemFlagsStack; + public short SizeOfBeginPopupStack; + public short SizeOfDisabledStack; + public unsafe ImGuiStackSizes(short sizeOfIdStack = default, short sizeOfColorStack = default, short sizeOfStyleVarStack = default, short sizeOfFontStack = default, short sizeOfFocusScopeStack = default, short sizeOfGroupStack = default, short sizeOfItemFlagsStack = default, short sizeOfBeginPopupStack = default, short sizeOfDisabledStack = default) + { + SizeOfIDStack = sizeOfIdStack; + SizeOfColorStack = sizeOfColorStack; + SizeOfStyleVarStack = sizeOfStyleVarStack; + SizeOfFontStack = sizeOfFontStack; + SizeOfFocusScopeStack = sizeOfFocusScopeStack; + SizeOfGroupStack = sizeOfGroupStack; + SizeOfItemFlagsStack = sizeOfItemFlagsStack; + SizeOfBeginPopupStack = sizeOfBeginPopupStack; + SizeOfDisabledStack = sizeOfDisabledStack; + } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImGuiStackSizesPtr : IEquatable + { + public ImGuiStackSizesPtr(ImGuiStackSizes* handle) { Handle = handle; } + public ImGuiStackSizes* Handle; + public bool IsNull => Handle == null; + public static ImGuiStackSizesPtr Null => new ImGuiStackSizesPtr(null); + public ImGuiStackSizes this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImGuiStackSizesPtr(ImGuiStackSizes* handle) => new ImGuiStackSizesPtr(handle); + public static implicit operator ImGuiStackSizes*(ImGuiStackSizesPtr handle) => handle.Handle; + public static bool operator ==(ImGuiStackSizesPtr left, ImGuiStackSizesPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImGuiStackSizesPtr left, ImGuiStackSizesPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImGuiStackSizesPtr left, ImGuiStackSizes* right) => left.Handle == right; + public static bool operator !=(ImGuiStackSizesPtr left, ImGuiStackSizes* right) => left.Handle != right; + public bool Equals(ImGuiStackSizesPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImGuiStackSizesPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImGuiStackSizesPtr [0x{0}]", ((nuint)Handle).ToString("X")); + public ref short SizeOfIDStack => ref Unsafe.AsRef(&Handle->SizeOfIDStack); + public ref short SizeOfColorStack => ref Unsafe.AsRef(&Handle->SizeOfColorStack); + public ref short SizeOfStyleVarStack => ref Unsafe.AsRef(&Handle->SizeOfStyleVarStack); + public ref short SizeOfFontStack => ref Unsafe.AsRef(&Handle->SizeOfFontStack); + public ref short SizeOfFocusScopeStack => ref Unsafe.AsRef(&Handle->SizeOfFocusScopeStack); + public ref short SizeOfGroupStack => ref Unsafe.AsRef(&Handle->SizeOfGroupStack); + public ref short SizeOfItemFlagsStack => ref Unsafe.AsRef(&Handle->SizeOfItemFlagsStack); + public ref short SizeOfBeginPopupStack => ref Unsafe.AsRef(&Handle->SizeOfBeginPopupStack); + public ref short SizeOfDisabledStack => ref Unsafe.AsRef(&Handle->SizeOfDisabledStack); + } +} +/* ImGuiStackTool.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiStackTool + { + public int LastActiveFrame; + public int StackLevel; + public uint QueryId; + public ImVector Results; + public byte CopyToClipboardOnCtrlC; + public float CopyToClipboardLastTime; + public unsafe ImGuiStackTool(int lastActiveFrame = default, int stackLevel = default, uint queryId = default, ImVector results = default, bool copyToClipboardOnCtrlC = default, float copyToClipboardLastTime = default) + { + LastActiveFrame = lastActiveFrame; + StackLevel = stackLevel; + QueryId = queryId; + Results = results; + CopyToClipboardOnCtrlC = copyToClipboardOnCtrlC ? (byte)1 : (byte)0; + CopyToClipboardLastTime = copyToClipboardLastTime; + } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImGuiStackToolPtr : IEquatable + { + public ImGuiStackToolPtr(ImGuiStackTool* handle) { Handle = handle; } + public ImGuiStackTool* Handle; + public bool IsNull => Handle == null; + public static ImGuiStackToolPtr Null => new ImGuiStackToolPtr(null); + public ImGuiStackTool this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImGuiStackToolPtr(ImGuiStackTool* handle) => new ImGuiStackToolPtr(handle); + public static implicit operator ImGuiStackTool*(ImGuiStackToolPtr handle) => handle.Handle; + public static bool operator ==(ImGuiStackToolPtr left, ImGuiStackToolPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImGuiStackToolPtr left, ImGuiStackToolPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImGuiStackToolPtr left, ImGuiStackTool* right) => left.Handle == right; + public static bool operator !=(ImGuiStackToolPtr left, ImGuiStackTool* right) => left.Handle != right; + public bool Equals(ImGuiStackToolPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImGuiStackToolPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImGuiStackToolPtr [0x{0}]", ((nuint)Handle).ToString("X")); + public ref int LastActiveFrame => ref Unsafe.AsRef(&Handle->LastActiveFrame); + public ref int StackLevel => ref Unsafe.AsRef(&Handle->StackLevel); + public ref uint QueryId => ref Unsafe.AsRef(&Handle->QueryId); + public ref ImVector Results => ref Unsafe.AsRef>(&Handle->Results); + public ref bool CopyToClipboardOnCtrlC => ref Unsafe.AsRef(&Handle->CopyToClipboardOnCtrlC); + public ref float CopyToClipboardLastTime => ref Unsafe.AsRef(&Handle->CopyToClipboardLastTime); + } +} +/* ImGuiStorage.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiStorage + { + public ImVector Data; + public unsafe ImGuiStorage(ImVector data = default) + { + Data = data; + } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImGuiStoragePtr : IEquatable + { + public ImGuiStoragePtr(ImGuiStorage* handle) { Handle = handle; } + public ImGuiStorage* Handle; + public bool IsNull => Handle == null; + public static ImGuiStoragePtr Null => new ImGuiStoragePtr(null); + public ImGuiStorage this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImGuiStoragePtr(ImGuiStorage* handle) => new ImGuiStoragePtr(handle); + public static implicit operator ImGuiStorage*(ImGuiStoragePtr handle) => handle.Handle; + public static bool operator ==(ImGuiStoragePtr left, ImGuiStoragePtr right) => left.Handle == right.Handle; + public static bool operator !=(ImGuiStoragePtr left, ImGuiStoragePtr right) => left.Handle != right.Handle; + public static bool operator ==(ImGuiStoragePtr left, ImGuiStorage* right) => left.Handle == right; + public static bool operator !=(ImGuiStoragePtr left, ImGuiStorage* right) => left.Handle != right; + public bool Equals(ImGuiStoragePtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImGuiStoragePtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImGuiStoragePtr [0x{0}]", ((nuint)Handle).ToString("X")); + public ref ImVector Data => ref Unsafe.AsRef>(&Handle->Data); + } +} +/* ImGuiStoragePair.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiStoragePair + { + [StructLayout(LayoutKind.Explicit)] + public partial struct ImGuiStoragePairUnion + { + [FieldOffset(0)] + public int ValI; + [FieldOffset(0)] + public float ValF; + [FieldOffset(0)] + public unsafe void* ValP; + public unsafe ImGuiStoragePairUnion(int valI = default, float valF = default, void* valP = default) + { + ValI = valI; + ValF = valF; + ValP = valP; + } + } + public uint Key; + public ImGuiStoragePairUnion Union; + public unsafe ImGuiStoragePair(uint key = default, ImGuiStoragePairUnion union = default) + { + Key = key; + Union = union; + } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImGuiStoragePairPtr : IEquatable + { + public ImGuiStoragePairPtr(ImGuiStoragePair* handle) { Handle = handle; } + public ImGuiStoragePair* Handle; + public bool IsNull => Handle == null; + public static ImGuiStoragePairPtr Null => new ImGuiStoragePairPtr(null); + public ImGuiStoragePair this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImGuiStoragePairPtr(ImGuiStoragePair* handle) => new ImGuiStoragePairPtr(handle); + public static implicit operator ImGuiStoragePair*(ImGuiStoragePairPtr handle) => handle.Handle; + public static bool operator ==(ImGuiStoragePairPtr left, ImGuiStoragePairPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImGuiStoragePairPtr left, ImGuiStoragePairPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImGuiStoragePairPtr left, ImGuiStoragePair* right) => left.Handle == right; + public static bool operator !=(ImGuiStoragePairPtr left, ImGuiStoragePair* right) => left.Handle != right; + public bool Equals(ImGuiStoragePairPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImGuiStoragePairPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImGuiStoragePairPtr [0x{0}]", ((nuint)Handle).ToString("X")); + public ref uint Key => ref Unsafe.AsRef(&Handle->Key); + public ref ImGuiStoragePair.ImGuiStoragePairUnion Union => ref Unsafe.AsRef(&Handle->Union); + } +} +/* ImGuiStyle.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiStyle + { + public float Alpha; + public float DisabledAlpha; + public Vector2 WindowPadding; + public float WindowRounding; + public float WindowBorderSize; + public Vector2 WindowMinSize; + public Vector2 WindowTitleAlign; + public ImGuiDir WindowMenuButtonPosition; + public float ChildRounding; + public float ChildBorderSize; + public float PopupRounding; + public float PopupBorderSize; + public Vector2 FramePadding; + public float FrameRounding; + public float FrameBorderSize; + public Vector2 ItemSpacing; + public Vector2 ItemInnerSpacing; + public Vector2 CellPadding; + public Vector2 TouchExtraPadding; + public float IndentSpacing; + public float ColumnsMinSpacing; + public float ScrollbarSize; + public float ScrollbarRounding; + public float GrabMinSize; + public float GrabRounding; + public float LogSliderDeadzone; + public float TabRounding; + public float TabBorderSize; + public float TabMinWidthForCloseButton; + public ImGuiDir ColorButtonPosition; + public Vector2 ButtonTextAlign; + public Vector2 SelectableTextAlign; + public Vector2 DisplayWindowPadding; + public Vector2 DisplaySafeAreaPadding; + public float MouseCursorScale; + public byte AntiAliasedLines; + public byte AntiAliasedLinesUseTex; + public byte AntiAliasedFill; + public float CurveTessellationTol; + public float CircleTessellationMaxError; + public Vector4 Colors_0; + public Vector4 Colors_1; + public Vector4 Colors_2; + public Vector4 Colors_3; + public Vector4 Colors_4; + public Vector4 Colors_5; + public Vector4 Colors_6; + public Vector4 Colors_7; + public Vector4 Colors_8; + public Vector4 Colors_9; + public Vector4 Colors_10; + public Vector4 Colors_11; + public Vector4 Colors_12; + public Vector4 Colors_13; + public Vector4 Colors_14; + public Vector4 Colors_15; + public Vector4 Colors_16; + public Vector4 Colors_17; + public Vector4 Colors_18; + public Vector4 Colors_19; + public Vector4 Colors_20; + public Vector4 Colors_21; + public Vector4 Colors_22; + public Vector4 Colors_23; + public Vector4 Colors_24; + public Vector4 Colors_25; + public Vector4 Colors_26; + public Vector4 Colors_27; + public Vector4 Colors_28; + public Vector4 Colors_29; + public Vector4 Colors_30; + public Vector4 Colors_31; + public Vector4 Colors_32; + public Vector4 Colors_33; + public Vector4 Colors_34; + public Vector4 Colors_35; + public Vector4 Colors_36; + public Vector4 Colors_37; + public Vector4 Colors_38; + public Vector4 Colors_39; + public Vector4 Colors_40; + public Vector4 Colors_41; + public Vector4 Colors_42; + public Vector4 Colors_43; + public Vector4 Colors_44; + public Vector4 Colors_45; + public Vector4 Colors_46; + public Vector4 Colors_47; + public Vector4 Colors_48; + public Vector4 Colors_49; + public Vector4 Colors_50; + public Vector4 Colors_51; + public Vector4 Colors_52; + public Vector4 Colors_53; + public Vector4 Colors_54; + public unsafe ImGuiStyle(float alpha = default, float disabledAlpha = default, Vector2 windowPadding = default, float windowRounding = default, float windowBorderSize = default, Vector2 windowMinSize = default, Vector2 windowTitleAlign = default, ImGuiDir windowMenuButtonPosition = default, float childRounding = default, float childBorderSize = default, float popupRounding = default, float popupBorderSize = default, Vector2 framePadding = default, float frameRounding = default, float frameBorderSize = default, Vector2 itemSpacing = default, Vector2 itemInnerSpacing = default, Vector2 cellPadding = default, Vector2 touchExtraPadding = default, float indentSpacing = default, float columnsMinSpacing = default, float scrollbarSize = default, float scrollbarRounding = default, float grabMinSize = default, float grabRounding = default, float logSliderDeadzone = default, float tabRounding = default, float tabBorderSize = default, float tabMinWidthForCloseButton = default, ImGuiDir colorButtonPosition = default, Vector2 buttonTextAlign = default, Vector2 selectableTextAlign = default, Vector2 displayWindowPadding = default, Vector2 displaySafeAreaPadding = default, float mouseCursorScale = default, bool antiAliasedLines = default, bool antiAliasedLinesUseTex = default, bool antiAliasedFill = default, float curveTessellationTol = default, float circleTessellationMaxError = default, Vector4* colors = default) + { + Alpha = alpha; + DisabledAlpha = disabledAlpha; + WindowPadding = windowPadding; + WindowRounding = windowRounding; + WindowBorderSize = windowBorderSize; + WindowMinSize = windowMinSize; + WindowTitleAlign = windowTitleAlign; + WindowMenuButtonPosition = windowMenuButtonPosition; + ChildRounding = childRounding; + ChildBorderSize = childBorderSize; + PopupRounding = popupRounding; + PopupBorderSize = popupBorderSize; + FramePadding = framePadding; + FrameRounding = frameRounding; + FrameBorderSize = frameBorderSize; + ItemSpacing = itemSpacing; + ItemInnerSpacing = itemInnerSpacing; + CellPadding = cellPadding; + TouchExtraPadding = touchExtraPadding; + IndentSpacing = indentSpacing; + ColumnsMinSpacing = columnsMinSpacing; + ScrollbarSize = scrollbarSize; + ScrollbarRounding = scrollbarRounding; + GrabMinSize = grabMinSize; + GrabRounding = grabRounding; + LogSliderDeadzone = logSliderDeadzone; + TabRounding = tabRounding; + TabBorderSize = tabBorderSize; + TabMinWidthForCloseButton = tabMinWidthForCloseButton; + ColorButtonPosition = colorButtonPosition; + ButtonTextAlign = buttonTextAlign; + SelectableTextAlign = selectableTextAlign; + DisplayWindowPadding = displayWindowPadding; + DisplaySafeAreaPadding = displaySafeAreaPadding; + MouseCursorScale = mouseCursorScale; + AntiAliasedLines = antiAliasedLines ? (byte)1 : (byte)0; + AntiAliasedLinesUseTex = antiAliasedLinesUseTex ? (byte)1 : (byte)0; + AntiAliasedFill = antiAliasedFill ? (byte)1 : (byte)0; + CurveTessellationTol = curveTessellationTol; + CircleTessellationMaxError = circleTessellationMaxError; + if (colors != default(Vector4*)) + { + Colors_0 = colors[0]; + Colors_1 = colors[1]; + Colors_2 = colors[2]; + Colors_3 = colors[3]; + Colors_4 = colors[4]; + Colors_5 = colors[5]; + Colors_6 = colors[6]; + Colors_7 = colors[7]; + Colors_8 = colors[8]; + Colors_9 = colors[9]; + Colors_10 = colors[10]; + Colors_11 = colors[11]; + Colors_12 = colors[12]; + Colors_13 = colors[13]; + Colors_14 = colors[14]; + Colors_15 = colors[15]; + Colors_16 = colors[16]; + Colors_17 = colors[17]; + Colors_18 = colors[18]; + Colors_19 = colors[19]; + Colors_20 = colors[20]; + Colors_21 = colors[21]; + Colors_22 = colors[22]; + Colors_23 = colors[23]; + Colors_24 = colors[24]; + Colors_25 = colors[25]; + Colors_26 = colors[26]; + Colors_27 = colors[27]; + Colors_28 = colors[28]; + Colors_29 = colors[29]; + Colors_30 = colors[30]; + Colors_31 = colors[31]; + Colors_32 = colors[32]; + Colors_33 = colors[33]; + Colors_34 = colors[34]; + Colors_35 = colors[35]; + Colors_36 = colors[36]; + Colors_37 = colors[37]; + Colors_38 = colors[38]; + Colors_39 = colors[39]; + Colors_40 = colors[40]; + Colors_41 = colors[41]; + Colors_42 = colors[42]; + Colors_43 = colors[43]; + Colors_44 = colors[44]; + Colors_45 = colors[45]; + Colors_46 = colors[46]; + Colors_47 = colors[47]; + Colors_48 = colors[48]; + Colors_49 = colors[49]; + Colors_50 = colors[50]; + Colors_51 = colors[51]; + Colors_52 = colors[52]; + Colors_53 = colors[53]; + Colors_54 = colors[54]; + } + } + public unsafe ImGuiStyle(float alpha = default, float disabledAlpha = default, Vector2 windowPadding = default, float windowRounding = default, float windowBorderSize = default, Vector2 windowMinSize = default, Vector2 windowTitleAlign = default, ImGuiDir windowMenuButtonPosition = default, float childRounding = default, float childBorderSize = default, float popupRounding = default, float popupBorderSize = default, Vector2 framePadding = default, float frameRounding = default, float frameBorderSize = default, Vector2 itemSpacing = default, Vector2 itemInnerSpacing = default, Vector2 cellPadding = default, Vector2 touchExtraPadding = default, float indentSpacing = default, float columnsMinSpacing = default, float scrollbarSize = default, float scrollbarRounding = default, float grabMinSize = default, float grabRounding = default, float logSliderDeadzone = default, float tabRounding = default, float tabBorderSize = default, float tabMinWidthForCloseButton = default, ImGuiDir colorButtonPosition = default, Vector2 buttonTextAlign = default, Vector2 selectableTextAlign = default, Vector2 displayWindowPadding = default, Vector2 displaySafeAreaPadding = default, float mouseCursorScale = default, bool antiAliasedLines = default, bool antiAliasedLinesUseTex = default, bool antiAliasedFill = default, float curveTessellationTol = default, float circleTessellationMaxError = default, Span colors = default) + { + Alpha = alpha; + DisabledAlpha = disabledAlpha; + WindowPadding = windowPadding; + WindowRounding = windowRounding; + WindowBorderSize = windowBorderSize; + WindowMinSize = windowMinSize; + WindowTitleAlign = windowTitleAlign; + WindowMenuButtonPosition = windowMenuButtonPosition; + ChildRounding = childRounding; + ChildBorderSize = childBorderSize; + PopupRounding = popupRounding; + PopupBorderSize = popupBorderSize; + FramePadding = framePadding; + FrameRounding = frameRounding; + FrameBorderSize = frameBorderSize; + ItemSpacing = itemSpacing; + ItemInnerSpacing = itemInnerSpacing; + CellPadding = cellPadding; + TouchExtraPadding = touchExtraPadding; + IndentSpacing = indentSpacing; + ColumnsMinSpacing = columnsMinSpacing; + ScrollbarSize = scrollbarSize; + ScrollbarRounding = scrollbarRounding; + GrabMinSize = grabMinSize; + GrabRounding = grabRounding; + LogSliderDeadzone = logSliderDeadzone; + TabRounding = tabRounding; + TabBorderSize = tabBorderSize; + TabMinWidthForCloseButton = tabMinWidthForCloseButton; + ColorButtonPosition = colorButtonPosition; + ButtonTextAlign = buttonTextAlign; + SelectableTextAlign = selectableTextAlign; + DisplayWindowPadding = displayWindowPadding; + DisplaySafeAreaPadding = displaySafeAreaPadding; + MouseCursorScale = mouseCursorScale; + AntiAliasedLines = antiAliasedLines ? (byte)1 : (byte)0; + AntiAliasedLinesUseTex = antiAliasedLinesUseTex ? (byte)1 : (byte)0; + AntiAliasedFill = antiAliasedFill ? (byte)1 : (byte)0; + CurveTessellationTol = curveTessellationTol; + CircleTessellationMaxError = circleTessellationMaxError; + if (colors != default(Span)) + { + Colors_0 = colors[0]; + Colors_1 = colors[1]; + Colors_2 = colors[2]; + Colors_3 = colors[3]; + Colors_4 = colors[4]; + Colors_5 = colors[5]; + Colors_6 = colors[6]; + Colors_7 = colors[7]; + Colors_8 = colors[8]; + Colors_9 = colors[9]; + Colors_10 = colors[10]; + Colors_11 = colors[11]; + Colors_12 = colors[12]; + Colors_13 = colors[13]; + Colors_14 = colors[14]; + Colors_15 = colors[15]; + Colors_16 = colors[16]; + Colors_17 = colors[17]; + Colors_18 = colors[18]; + Colors_19 = colors[19]; + Colors_20 = colors[20]; + Colors_21 = colors[21]; + Colors_22 = colors[22]; + Colors_23 = colors[23]; + Colors_24 = colors[24]; + Colors_25 = colors[25]; + Colors_26 = colors[26]; + Colors_27 = colors[27]; + Colors_28 = colors[28]; + Colors_29 = colors[29]; + Colors_30 = colors[30]; + Colors_31 = colors[31]; + Colors_32 = colors[32]; + Colors_33 = colors[33]; + Colors_34 = colors[34]; + Colors_35 = colors[35]; + Colors_36 = colors[36]; + Colors_37 = colors[37]; + Colors_38 = colors[38]; + Colors_39 = colors[39]; + Colors_40 = colors[40]; + Colors_41 = colors[41]; + Colors_42 = colors[42]; + Colors_43 = colors[43]; + Colors_44 = colors[44]; + Colors_45 = colors[45]; + Colors_46 = colors[46]; + Colors_47 = colors[47]; + Colors_48 = colors[48]; + Colors_49 = colors[49]; + Colors_50 = colors[50]; + Colors_51 = colors[51]; + Colors_52 = colors[52]; + Colors_53 = colors[53]; + Colors_54 = colors[54]; + } + } + public unsafe Span Colors + { + get + { + fixed (Vector4* p = &this.Colors_0) + { + return new Span(p, 55); + } + } + } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImGuiStylePtr : IEquatable + { + public ImGuiStylePtr(ImGuiStyle* handle) { Handle = handle; } + public ImGuiStyle* Handle; + public bool IsNull => Handle == null; + public static ImGuiStylePtr Null => new ImGuiStylePtr(null); + public ImGuiStyle this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImGuiStylePtr(ImGuiStyle* handle) => new ImGuiStylePtr(handle); + public static implicit operator ImGuiStyle*(ImGuiStylePtr handle) => handle.Handle; + public static bool operator ==(ImGuiStylePtr left, ImGuiStylePtr right) => left.Handle == right.Handle; + public static bool operator !=(ImGuiStylePtr left, ImGuiStylePtr right) => left.Handle != right.Handle; + public static bool operator ==(ImGuiStylePtr left, ImGuiStyle* right) => left.Handle == right; + public static bool operator !=(ImGuiStylePtr left, ImGuiStyle* right) => left.Handle != right; + public bool Equals(ImGuiStylePtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImGuiStylePtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImGuiStylePtr [0x{0}]", ((nuint)Handle).ToString("X")); + public ref float Alpha => ref Unsafe.AsRef(&Handle->Alpha); + public ref float DisabledAlpha => ref Unsafe.AsRef(&Handle->DisabledAlpha); + public ref Vector2 WindowPadding => ref Unsafe.AsRef(&Handle->WindowPadding); + public ref float WindowRounding => ref Unsafe.AsRef(&Handle->WindowRounding); + public ref float WindowBorderSize => ref Unsafe.AsRef(&Handle->WindowBorderSize); + public ref Vector2 WindowMinSize => ref Unsafe.AsRef(&Handle->WindowMinSize); + public ref Vector2 WindowTitleAlign => ref Unsafe.AsRef(&Handle->WindowTitleAlign); + public ref ImGuiDir WindowMenuButtonPosition => ref Unsafe.AsRef(&Handle->WindowMenuButtonPosition); + public ref float ChildRounding => ref Unsafe.AsRef(&Handle->ChildRounding); + public ref float ChildBorderSize => ref Unsafe.AsRef(&Handle->ChildBorderSize); + public ref float PopupRounding => ref Unsafe.AsRef(&Handle->PopupRounding); + public ref float PopupBorderSize => ref Unsafe.AsRef(&Handle->PopupBorderSize); + public ref Vector2 FramePadding => ref Unsafe.AsRef(&Handle->FramePadding); + public ref float FrameRounding => ref Unsafe.AsRef(&Handle->FrameRounding); + public ref float FrameBorderSize => ref Unsafe.AsRef(&Handle->FrameBorderSize); + public ref Vector2 ItemSpacing => ref Unsafe.AsRef(&Handle->ItemSpacing); + public ref Vector2 ItemInnerSpacing => ref Unsafe.AsRef(&Handle->ItemInnerSpacing); + public ref Vector2 CellPadding => ref Unsafe.AsRef(&Handle->CellPadding); + public ref Vector2 TouchExtraPadding => ref Unsafe.AsRef(&Handle->TouchExtraPadding); + public ref float IndentSpacing => ref Unsafe.AsRef(&Handle->IndentSpacing); + public ref float ColumnsMinSpacing => ref Unsafe.AsRef(&Handle->ColumnsMinSpacing); + public ref float ScrollbarSize => ref Unsafe.AsRef(&Handle->ScrollbarSize); + public ref float ScrollbarRounding => ref Unsafe.AsRef(&Handle->ScrollbarRounding); + public ref float GrabMinSize => ref Unsafe.AsRef(&Handle->GrabMinSize); + public ref float GrabRounding => ref Unsafe.AsRef(&Handle->GrabRounding); + public ref float LogSliderDeadzone => ref Unsafe.AsRef(&Handle->LogSliderDeadzone); + public ref float TabRounding => ref Unsafe.AsRef(&Handle->TabRounding); + public ref float TabBorderSize => ref Unsafe.AsRef(&Handle->TabBorderSize); + public ref float TabMinWidthForCloseButton => ref Unsafe.AsRef(&Handle->TabMinWidthForCloseButton); + public ref ImGuiDir ColorButtonPosition => ref Unsafe.AsRef(&Handle->ColorButtonPosition); + public ref Vector2 ButtonTextAlign => ref Unsafe.AsRef(&Handle->ButtonTextAlign); + public ref Vector2 SelectableTextAlign => ref Unsafe.AsRef(&Handle->SelectableTextAlign); + public ref Vector2 DisplayWindowPadding => ref Unsafe.AsRef(&Handle->DisplayWindowPadding); + public ref Vector2 DisplaySafeAreaPadding => ref Unsafe.AsRef(&Handle->DisplaySafeAreaPadding); + public ref float MouseCursorScale => ref Unsafe.AsRef(&Handle->MouseCursorScale); + public ref bool AntiAliasedLines => ref Unsafe.AsRef(&Handle->AntiAliasedLines); + public ref bool AntiAliasedLinesUseTex => ref Unsafe.AsRef(&Handle->AntiAliasedLinesUseTex); + public ref bool AntiAliasedFill => ref Unsafe.AsRef(&Handle->AntiAliasedFill); + public ref float CurveTessellationTol => ref Unsafe.AsRef(&Handle->CurveTessellationTol); + public ref float CircleTessellationMaxError => ref Unsafe.AsRef(&Handle->CircleTessellationMaxError); + public unsafe Span Colors + { + get + { + return new Span(&Handle->Colors_0, 55); + } + } + } +} +/* ImGuiStyleMod.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiStyleMod + { + [StructLayout(LayoutKind.Explicit)] + public partial struct ImGuiStyleModUnion + { + [FieldOffset(0)] + public int BackupInt_0; + [FieldOffset(8)] + public int BackupInt_1; + [FieldOffset(0)] + public float BackupFloat_0; + [FieldOffset(8)] + public float BackupFloat_1; + public unsafe ImGuiStyleModUnion(int* backupInt = default, float* backupFloat = default) + { + if (backupInt != default(int*)) + { + BackupInt_0 = backupInt[0]; + BackupInt_1 = backupInt[1]; + } + if (backupFloat != default(float*)) + { + BackupFloat_0 = backupFloat[0]; + BackupFloat_1 = backupFloat[1]; + } + } + public unsafe ImGuiStyleModUnion(Span backupInt = default, Span backupFloat = default) + { + if (backupInt != default(Span)) + { + BackupInt_0 = backupInt[0]; + BackupInt_1 = backupInt[1]; + } + if (backupFloat != default(Span)) + { + BackupFloat_0 = backupFloat[0]; + BackupFloat_1 = backupFloat[1]; + } + } + } + public ImGuiStyleVar VarIdx; + public ImGuiStyleModUnion Union; + public unsafe ImGuiStyleMod(ImGuiStyleVar varIdx = default, ImGuiStyleModUnion union = default) + { + VarIdx = varIdx; + Union = union; + } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImGuiStyleModPtr : IEquatable + { + public ImGuiStyleModPtr(ImGuiStyleMod* handle) { Handle = handle; } + public ImGuiStyleMod* Handle; + public bool IsNull => Handle == null; + public static ImGuiStyleModPtr Null => new ImGuiStyleModPtr(null); + public ImGuiStyleMod this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImGuiStyleModPtr(ImGuiStyleMod* handle) => new ImGuiStyleModPtr(handle); + public static implicit operator ImGuiStyleMod*(ImGuiStyleModPtr handle) => handle.Handle; + public static bool operator ==(ImGuiStyleModPtr left, ImGuiStyleModPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImGuiStyleModPtr left, ImGuiStyleModPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImGuiStyleModPtr left, ImGuiStyleMod* right) => left.Handle == right; + public static bool operator !=(ImGuiStyleModPtr left, ImGuiStyleMod* right) => left.Handle != right; + public bool Equals(ImGuiStyleModPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImGuiStyleModPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImGuiStyleModPtr [0x{0}]", ((nuint)Handle).ToString("X")); + public ref ImGuiStyleVar VarIdx => ref Unsafe.AsRef(&Handle->VarIdx); + public ref ImGuiStyleMod.ImGuiStyleModUnion Union => ref Unsafe.AsRef(&Handle->Union); + } +} +/* ImGuiTabBar.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiTabBar + { + public ImVector Tabs; + public ImGuiTabBarFlags Flags; + public uint ID; + public uint SelectedTabId; + public uint NextSelectedTabId; + public uint VisibleTabId; + public int CurrFrameVisible; + public int PrevFrameVisible; + public ImRect BarRect; + public float CurrTabsContentsHeight; + public float PrevTabsContentsHeight; + public float WidthAllTabs; + public float WidthAllTabsIdeal; + public float ScrollingAnim; + public float ScrollingTarget; + public float ScrollingTargetDistToVisibility; + public float ScrollingSpeed; + public float ScrollingRectMinX; + public float ScrollingRectMaxX; + public uint ReorderRequestTabId; + public short ReorderRequestOffset; + public sbyte BeginCount; + public byte WantLayout; + public byte VisibleTabWasSubmitted; + public byte TabsAddedNew; + public short TabsActiveCount; + public short LastTabItemIdx; + public float ItemSpacingY; + public Vector2 FramePadding; + public Vector2 BackupCursorPos; + public ImGuiTextBuffer TabsNames; + public unsafe ImGuiTabBar(ImVector tabs = default, ImGuiTabBarFlags flags = default, uint id = default, uint selectedTabId = default, uint nextSelectedTabId = default, uint visibleTabId = default, int currFrameVisible = default, int prevFrameVisible = default, ImRect barRect = default, float currTabsContentsHeight = default, float prevTabsContentsHeight = default, float widthAllTabs = default, float widthAllTabsIdeal = default, float scrollingAnim = default, float scrollingTarget = default, float scrollingTargetDistToVisibility = default, float scrollingSpeed = default, float scrollingRectMinX = default, float scrollingRectMaxX = default, uint reorderRequestTabId = default, short reorderRequestOffset = default, sbyte beginCount = default, bool wantLayout = default, bool visibleTabWasSubmitted = default, bool tabsAddedNew = default, short tabsActiveCount = default, short lastTabItemIdx = default, float itemSpacingY = default, Vector2 framePadding = default, Vector2 backupCursorPos = default, ImGuiTextBuffer tabsNames = default) + { + Tabs = tabs; + Flags = flags; + ID = id; + SelectedTabId = selectedTabId; + NextSelectedTabId = nextSelectedTabId; + VisibleTabId = visibleTabId; + CurrFrameVisible = currFrameVisible; + PrevFrameVisible = prevFrameVisible; + BarRect = barRect; + CurrTabsContentsHeight = currTabsContentsHeight; + PrevTabsContentsHeight = prevTabsContentsHeight; + WidthAllTabs = widthAllTabs; + WidthAllTabsIdeal = widthAllTabsIdeal; + ScrollingAnim = scrollingAnim; + ScrollingTarget = scrollingTarget; + ScrollingTargetDistToVisibility = scrollingTargetDistToVisibility; + ScrollingSpeed = scrollingSpeed; + ScrollingRectMinX = scrollingRectMinX; + ScrollingRectMaxX = scrollingRectMaxX; + ReorderRequestTabId = reorderRequestTabId; + ReorderRequestOffset = reorderRequestOffset; + BeginCount = beginCount; + WantLayout = wantLayout ? (byte)1 : (byte)0; + VisibleTabWasSubmitted = visibleTabWasSubmitted ? (byte)1 : (byte)0; + TabsAddedNew = tabsAddedNew ? (byte)1 : (byte)0; + TabsActiveCount = tabsActiveCount; + LastTabItemIdx = lastTabItemIdx; + ItemSpacingY = itemSpacingY; + FramePadding = framePadding; + BackupCursorPos = backupCursorPos; + TabsNames = tabsNames; + } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImGuiTabBarPtr : IEquatable + { + public ImGuiTabBarPtr(ImGuiTabBar* handle) { Handle = handle; } + public ImGuiTabBar* Handle; + public bool IsNull => Handle == null; + public static ImGuiTabBarPtr Null => new ImGuiTabBarPtr(null); + public ImGuiTabBar this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImGuiTabBarPtr(ImGuiTabBar* handle) => new ImGuiTabBarPtr(handle); + public static implicit operator ImGuiTabBar*(ImGuiTabBarPtr handle) => handle.Handle; + public static bool operator ==(ImGuiTabBarPtr left, ImGuiTabBarPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImGuiTabBarPtr left, ImGuiTabBarPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImGuiTabBarPtr left, ImGuiTabBar* right) => left.Handle == right; + public static bool operator !=(ImGuiTabBarPtr left, ImGuiTabBar* right) => left.Handle != right; + public bool Equals(ImGuiTabBarPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImGuiTabBarPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImGuiTabBarPtr [0x{0}]", ((nuint)Handle).ToString("X")); + public ref ImVector Tabs => ref Unsafe.AsRef>(&Handle->Tabs); + public ref ImGuiTabBarFlags Flags => ref Unsafe.AsRef(&Handle->Flags); + public ref uint ID => ref Unsafe.AsRef(&Handle->ID); + public ref uint SelectedTabId => ref Unsafe.AsRef(&Handle->SelectedTabId); + public ref uint NextSelectedTabId => ref Unsafe.AsRef(&Handle->NextSelectedTabId); + public ref uint VisibleTabId => ref Unsafe.AsRef(&Handle->VisibleTabId); + public ref int CurrFrameVisible => ref Unsafe.AsRef(&Handle->CurrFrameVisible); + public ref int PrevFrameVisible => ref Unsafe.AsRef(&Handle->PrevFrameVisible); + public ref ImRect BarRect => ref Unsafe.AsRef(&Handle->BarRect); + public ref float CurrTabsContentsHeight => ref Unsafe.AsRef(&Handle->CurrTabsContentsHeight); + public ref float PrevTabsContentsHeight => ref Unsafe.AsRef(&Handle->PrevTabsContentsHeight); + public ref float WidthAllTabs => ref Unsafe.AsRef(&Handle->WidthAllTabs); + public ref float WidthAllTabsIdeal => ref Unsafe.AsRef(&Handle->WidthAllTabsIdeal); + public ref float ScrollingAnim => ref Unsafe.AsRef(&Handle->ScrollingAnim); + public ref float ScrollingTarget => ref Unsafe.AsRef(&Handle->ScrollingTarget); + public ref float ScrollingTargetDistToVisibility => ref Unsafe.AsRef(&Handle->ScrollingTargetDistToVisibility); + public ref float ScrollingSpeed => ref Unsafe.AsRef(&Handle->ScrollingSpeed); + public ref float ScrollingRectMinX => ref Unsafe.AsRef(&Handle->ScrollingRectMinX); + public ref float ScrollingRectMaxX => ref Unsafe.AsRef(&Handle->ScrollingRectMaxX); + public ref uint ReorderRequestTabId => ref Unsafe.AsRef(&Handle->ReorderRequestTabId); + public ref short ReorderRequestOffset => ref Unsafe.AsRef(&Handle->ReorderRequestOffset); + public ref sbyte BeginCount => ref Unsafe.AsRef(&Handle->BeginCount); + public ref bool WantLayout => ref Unsafe.AsRef(&Handle->WantLayout); + public ref bool VisibleTabWasSubmitted => ref Unsafe.AsRef(&Handle->VisibleTabWasSubmitted); + public ref bool TabsAddedNew => ref Unsafe.AsRef(&Handle->TabsAddedNew); + public ref short TabsActiveCount => ref Unsafe.AsRef(&Handle->TabsActiveCount); + public ref short LastTabItemIdx => ref Unsafe.AsRef(&Handle->LastTabItemIdx); + public ref float ItemSpacingY => ref Unsafe.AsRef(&Handle->ItemSpacingY); + public ref Vector2 FramePadding => ref Unsafe.AsRef(&Handle->FramePadding); + public ref Vector2 BackupCursorPos => ref Unsafe.AsRef(&Handle->BackupCursorPos); + public ref ImGuiTextBuffer TabsNames => ref Unsafe.AsRef(&Handle->TabsNames); + } +} +/* ImGuiTabItem.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiTabItem + { + public uint ID; + public ImGuiTabItemFlags Flags; + public unsafe ImGuiWindow* Window; + public int LastFrameVisible; + public int LastFrameSelected; + public float Offset; + public float Width; + public float ContentWidth; + public float RequestedWidth; + public int NameOffset; + public short BeginOrder; + public short IndexDuringLayout; + public byte WantClose; + public unsafe ImGuiTabItem(uint id = default, ImGuiTabItemFlags flags = default, ImGuiWindowPtr window = default, int lastFrameVisible = default, int lastFrameSelected = default, float offset = default, float width = default, float contentWidth = default, float requestedWidth = default, int nameOffset = default, short beginOrder = default, short indexDuringLayout = default, bool wantClose = default) + { + ID = id; + Flags = flags; + Window = window; + LastFrameVisible = lastFrameVisible; + LastFrameSelected = lastFrameSelected; + Offset = offset; + Width = width; + ContentWidth = contentWidth; + RequestedWidth = requestedWidth; + NameOffset = nameOffset; + BeginOrder = beginOrder; + IndexDuringLayout = indexDuringLayout; + WantClose = wantClose ? (byte)1 : (byte)0; + } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImGuiTabItemPtr : IEquatable + { + public ImGuiTabItemPtr(ImGuiTabItem* handle) { Handle = handle; } + public ImGuiTabItem* Handle; + public bool IsNull => Handle == null; + public static ImGuiTabItemPtr Null => new ImGuiTabItemPtr(null); + public ImGuiTabItem this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImGuiTabItemPtr(ImGuiTabItem* handle) => new ImGuiTabItemPtr(handle); + public static implicit operator ImGuiTabItem*(ImGuiTabItemPtr handle) => handle.Handle; + public static bool operator ==(ImGuiTabItemPtr left, ImGuiTabItemPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImGuiTabItemPtr left, ImGuiTabItemPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImGuiTabItemPtr left, ImGuiTabItem* right) => left.Handle == right; + public static bool operator !=(ImGuiTabItemPtr left, ImGuiTabItem* right) => left.Handle != right; + public bool Equals(ImGuiTabItemPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImGuiTabItemPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImGuiTabItemPtr [0x{0}]", ((nuint)Handle).ToString("X")); + public ref uint ID => ref Unsafe.AsRef(&Handle->ID); + public ref ImGuiTabItemFlags Flags => ref Unsafe.AsRef(&Handle->Flags); + public ref ImGuiWindowPtr Window => ref Unsafe.AsRef(&Handle->Window); + public ref int LastFrameVisible => ref Unsafe.AsRef(&Handle->LastFrameVisible); + public ref int LastFrameSelected => ref Unsafe.AsRef(&Handle->LastFrameSelected); + public ref float Offset => ref Unsafe.AsRef(&Handle->Offset); + public ref float Width => ref Unsafe.AsRef(&Handle->Width); + public ref float ContentWidth => ref Unsafe.AsRef(&Handle->ContentWidth); + public ref float RequestedWidth => ref Unsafe.AsRef(&Handle->RequestedWidth); + public ref int NameOffset => ref Unsafe.AsRef(&Handle->NameOffset); + public ref short BeginOrder => ref Unsafe.AsRef(&Handle->BeginOrder); + public ref short IndexDuringLayout => ref Unsafe.AsRef(&Handle->IndexDuringLayout); + public ref bool WantClose => ref Unsafe.AsRef(&Handle->WantClose); + } +} +/* ImGuiTable.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiTable + { + public uint ID; + public ImGuiTableFlags Flags; + public unsafe void* RawData; + public unsafe ImGuiTableTempData* TempData; + public ImSpanImGuiTableColumn Columns; + public ImSpanImGuiTableColumnIdx DisplayOrderToIndex; + public ImSpanImGuiTableCellData RowCellData; + public ulong EnabledMaskByDisplayOrder; + public ulong EnabledMaskByIndex; + public ulong VisibleMaskByIndex; + public ulong RequestOutputMaskByIndex; + public ImGuiTableFlags SettingsLoadedFlags; + public int SettingsOffset; + public int LastFrameActive; + public int ColumnsCount; + public int CurrentRow; + public int CurrentColumn; + public short InstanceCurrent; + public short InstanceInteracted; + public float RowPosY1; + public float RowPosY2; + public float RowMinHeight; + public float RowTextBaseline; + public float RowIndentOffsetX; + public ImGuiTableRowFlags RawBits0; + public int RowBgColorCounter; + public uint RowBgColor_0; + public uint RowBgColor_1; + public uint BorderColorStrong; + public uint BorderColorLight; + public float BorderX1; + public float BorderX2; + public float HostIndentX; + public float MinColumnWidth; + public float OuterPaddingX; + public float CellPaddingX; + public float CellPaddingY; + public float CellSpacingX1; + public float CellSpacingX2; + public float InnerWidth; + public float ColumnsGivenWidth; + public float ColumnsAutoFitWidth; + public float ColumnsStretchSumWeights; + public float ResizedColumnNextWidth; + public float ResizeLockMinContentsX2; + public float RefScale; + public ImRect OuterRect; + public ImRect InnerRect; + public ImRect WorkRect; + public ImRect InnerClipRect; + public ImRect BgClipRect; + public ImRect Bg0ClipRectForDrawCmd; + public ImRect Bg2ClipRectForDrawCmd; + public ImRect HostClipRect; + public ImRect HostBackupInnerClipRect; + public unsafe ImGuiWindow* OuterWindow; + public unsafe ImGuiWindow* InnerWindow; + public ImGuiTextBuffer ColumnsNames; + public unsafe ImDrawListSplitter* DrawSplitter; + public ImGuiTableInstanceData InstanceDataFirst; + public ImVector InstanceDataExtra; + public ImGuiTableColumnSortSpecs SortSpecsSingle; + public ImVector SortSpecsMulti; + public ImGuiTableSortSpecs SortSpecs; + public sbyte SortSpecsCount; + public sbyte ColumnsEnabledCount; + public sbyte ColumnsEnabledFixedCount; + public sbyte DeclColumnsCount; + public sbyte HoveredColumnBody; + public sbyte HoveredColumnBorder; + public sbyte AutoFitSingleColumn; + public sbyte ResizedColumn; + public sbyte LastResizedColumn; + public sbyte HeldHeaderColumn; + public sbyte ReorderColumn; + public sbyte ReorderColumnDir; + public sbyte LeftMostEnabledColumn; + public sbyte RightMostEnabledColumn; + public sbyte LeftMostStretchedColumn; + public sbyte RightMostStretchedColumn; + public sbyte ContextPopupColumn; + public sbyte FreezeRowsRequest; + public sbyte FreezeRowsCount; + public sbyte FreezeColumnsRequest; + public sbyte FreezeColumnsCount; + public sbyte RowCellDataCurrent; + public byte DummyDrawChannel; + public byte Bg2DrawChannelCurrent; + public byte Bg2DrawChannelUnfrozen; + public byte IsLayoutLocked; + public byte IsInsideRow; + public byte IsInitializing; + public byte IsSortSpecsDirty; + public byte IsUsingHeaders; + public byte IsContextPopupOpen; + public byte IsSettingsRequestLoad; + public byte IsSettingsDirty; + public byte IsDefaultDisplayOrder; + public byte IsResetAllRequest; + public byte IsResetDisplayOrderRequest; + public byte IsUnfrozenRows; + public byte IsDefaultSizingPolicy; + public byte MemoryCompacted; + public byte HostSkipItems; + public unsafe ImGuiTable(uint id = default, ImGuiTableFlags flags = default, void* rawData = default, ImGuiTableTempData* tempData = default, ImSpanImGuiTableColumn columns = default, ImSpanImGuiTableColumnIdx displayOrderToIndex = default, ImSpanImGuiTableCellData rowCellData = default, ulong enabledMaskByDisplayOrder = default, ulong enabledMaskByIndex = default, ulong visibleMaskByIndex = default, ulong requestOutputMaskByIndex = default, ImGuiTableFlags settingsLoadedFlags = default, int settingsOffset = default, int lastFrameActive = default, int columnsCount = default, int currentRow = default, int currentColumn = default, short instanceCurrent = default, short instanceInteracted = default, float rowPosY1 = default, float rowPosY2 = default, float rowMinHeight = default, float rowTextBaseline = default, float rowIndentOffsetX = default, ImGuiTableRowFlags rowFlags = default, ImGuiTableRowFlags lastRowFlags = default, int rowBgColorCounter = default, uint* rowBgColor = default, uint borderColorStrong = default, uint borderColorLight = default, float borderX1 = default, float borderX2 = default, float hostIndentX = default, float minColumnWidth = default, float outerPaddingX = default, float cellPaddingX = default, float cellPaddingY = default, float cellSpacingX1 = default, float cellSpacingX2 = default, float innerWidth = default, float columnsGivenWidth = default, float columnsAutoFitWidth = default, float columnsStretchSumWeights = default, float resizedColumnNextWidth = default, float resizeLockMinContentsX2 = default, float refScale = default, ImRect outerRect = default, ImRect innerRect = default, ImRect workRect = default, ImRect innerClipRect = default, ImRect bgClipRect = default, ImRect bg0ClipRectForDrawCmd = default, ImRect bg2ClipRectForDrawCmd = default, ImRect hostClipRect = default, ImRect hostBackupInnerClipRect = default, ImGuiWindowPtr outerWindow = default, ImGuiWindowPtr innerWindow = default, ImGuiTextBuffer columnsNames = default, ImDrawListSplitterPtr drawSplitter = default, ImGuiTableInstanceData instanceDataFirst = default, ImVector instanceDataExtra = default, ImGuiTableColumnSortSpecs sortSpecsSingle = default, ImVector sortSpecsMulti = default, ImGuiTableSortSpecs sortSpecs = default, sbyte sortSpecsCount = default, sbyte columnsEnabledCount = default, sbyte columnsEnabledFixedCount = default, sbyte declColumnsCount = default, sbyte hoveredColumnBody = default, sbyte hoveredColumnBorder = default, sbyte autoFitSingleColumn = default, sbyte resizedColumn = default, sbyte lastResizedColumn = default, sbyte heldHeaderColumn = default, sbyte reorderColumn = default, sbyte reorderColumnDir = default, sbyte leftMostEnabledColumn = default, sbyte rightMostEnabledColumn = default, sbyte leftMostStretchedColumn = default, sbyte rightMostStretchedColumn = default, sbyte contextPopupColumn = default, sbyte freezeRowsRequest = default, sbyte freezeRowsCount = default, sbyte freezeColumnsRequest = default, sbyte freezeColumnsCount = default, sbyte rowCellDataCurrent = default, byte dummyDrawChannel = default, byte bg2DrawChannelCurrent = default, byte bg2DrawChannelUnfrozen = default, bool isLayoutLocked = default, bool isInsideRow = default, bool isInitializing = default, bool isSortSpecsDirty = default, bool isUsingHeaders = default, bool isContextPopupOpen = default, bool isSettingsRequestLoad = default, bool isSettingsDirty = default, bool isDefaultDisplayOrder = default, bool isResetAllRequest = default, bool isResetDisplayOrderRequest = default, bool isUnfrozenRows = default, bool isDefaultSizingPolicy = default, bool memoryCompacted = default, bool hostSkipItems = default) + { + ID = id; + Flags = flags; + RawData = rawData; + TempData = tempData; + Columns = columns; + DisplayOrderToIndex = displayOrderToIndex; + RowCellData = rowCellData; + EnabledMaskByDisplayOrder = enabledMaskByDisplayOrder; + EnabledMaskByIndex = enabledMaskByIndex; + VisibleMaskByIndex = visibleMaskByIndex; + RequestOutputMaskByIndex = requestOutputMaskByIndex; + SettingsLoadedFlags = settingsLoadedFlags; + SettingsOffset = settingsOffset; + LastFrameActive = lastFrameActive; + ColumnsCount = columnsCount; + CurrentRow = currentRow; + CurrentColumn = currentColumn; + InstanceCurrent = instanceCurrent; + InstanceInteracted = instanceInteracted; + RowPosY1 = rowPosY1; + RowPosY2 = rowPosY2; + RowMinHeight = rowMinHeight; + RowTextBaseline = rowTextBaseline; + RowIndentOffsetX = rowIndentOffsetX; + RowFlags = rowFlags; + LastRowFlags = lastRowFlags; + RowBgColorCounter = rowBgColorCounter; + if (rowBgColor != default(uint*)) + { + RowBgColor_0 = rowBgColor[0]; + RowBgColor_1 = rowBgColor[1]; + } + BorderColorStrong = borderColorStrong; + BorderColorLight = borderColorLight; + BorderX1 = borderX1; + BorderX2 = borderX2; + HostIndentX = hostIndentX; + MinColumnWidth = minColumnWidth; + OuterPaddingX = outerPaddingX; + CellPaddingX = cellPaddingX; + CellPaddingY = cellPaddingY; + CellSpacingX1 = cellSpacingX1; + CellSpacingX2 = cellSpacingX2; + InnerWidth = innerWidth; + ColumnsGivenWidth = columnsGivenWidth; + ColumnsAutoFitWidth = columnsAutoFitWidth; + ColumnsStretchSumWeights = columnsStretchSumWeights; + ResizedColumnNextWidth = resizedColumnNextWidth; + ResizeLockMinContentsX2 = resizeLockMinContentsX2; + RefScale = refScale; + OuterRect = outerRect; + InnerRect = innerRect; + WorkRect = workRect; + InnerClipRect = innerClipRect; + BgClipRect = bgClipRect; + Bg0ClipRectForDrawCmd = bg0ClipRectForDrawCmd; + Bg2ClipRectForDrawCmd = bg2ClipRectForDrawCmd; + HostClipRect = hostClipRect; + HostBackupInnerClipRect = hostBackupInnerClipRect; + OuterWindow = outerWindow; + InnerWindow = innerWindow; + ColumnsNames = columnsNames; + DrawSplitter = drawSplitter; + InstanceDataFirst = instanceDataFirst; + InstanceDataExtra = instanceDataExtra; + SortSpecsSingle = sortSpecsSingle; + SortSpecsMulti = sortSpecsMulti; + SortSpecs = sortSpecs; + SortSpecsCount = sortSpecsCount; + ColumnsEnabledCount = columnsEnabledCount; + ColumnsEnabledFixedCount = columnsEnabledFixedCount; + DeclColumnsCount = declColumnsCount; + HoveredColumnBody = hoveredColumnBody; + HoveredColumnBorder = hoveredColumnBorder; + AutoFitSingleColumn = autoFitSingleColumn; + ResizedColumn = resizedColumn; + LastResizedColumn = lastResizedColumn; + HeldHeaderColumn = heldHeaderColumn; + ReorderColumn = reorderColumn; + ReorderColumnDir = reorderColumnDir; + LeftMostEnabledColumn = leftMostEnabledColumn; + RightMostEnabledColumn = rightMostEnabledColumn; + LeftMostStretchedColumn = leftMostStretchedColumn; + RightMostStretchedColumn = rightMostStretchedColumn; + ContextPopupColumn = contextPopupColumn; + FreezeRowsRequest = freezeRowsRequest; + FreezeRowsCount = freezeRowsCount; + FreezeColumnsRequest = freezeColumnsRequest; + FreezeColumnsCount = freezeColumnsCount; + RowCellDataCurrent = rowCellDataCurrent; + DummyDrawChannel = dummyDrawChannel; + Bg2DrawChannelCurrent = bg2DrawChannelCurrent; + Bg2DrawChannelUnfrozen = bg2DrawChannelUnfrozen; + IsLayoutLocked = isLayoutLocked ? (byte)1 : (byte)0; + IsInsideRow = isInsideRow ? (byte)1 : (byte)0; + IsInitializing = isInitializing ? (byte)1 : (byte)0; + IsSortSpecsDirty = isSortSpecsDirty ? (byte)1 : (byte)0; + IsUsingHeaders = isUsingHeaders ? (byte)1 : (byte)0; + IsContextPopupOpen = isContextPopupOpen ? (byte)1 : (byte)0; + IsSettingsRequestLoad = isSettingsRequestLoad ? (byte)1 : (byte)0; + IsSettingsDirty = isSettingsDirty ? (byte)1 : (byte)0; + IsDefaultDisplayOrder = isDefaultDisplayOrder ? (byte)1 : (byte)0; + IsResetAllRequest = isResetAllRequest ? (byte)1 : (byte)0; + IsResetDisplayOrderRequest = isResetDisplayOrderRequest ? (byte)1 : (byte)0; + IsUnfrozenRows = isUnfrozenRows ? (byte)1 : (byte)0; + IsDefaultSizingPolicy = isDefaultSizingPolicy ? (byte)1 : (byte)0; + MemoryCompacted = memoryCompacted ? (byte)1 : (byte)0; + HostSkipItems = hostSkipItems ? (byte)1 : (byte)0; + } + public unsafe ImGuiTable(uint id = default, ImGuiTableFlags flags = default, void* rawData = default, ImGuiTableTempData* tempData = default, ImSpanImGuiTableColumn columns = default, ImSpanImGuiTableColumnIdx displayOrderToIndex = default, ImSpanImGuiTableCellData rowCellData = default, ulong enabledMaskByDisplayOrder = default, ulong enabledMaskByIndex = default, ulong visibleMaskByIndex = default, ulong requestOutputMaskByIndex = default, ImGuiTableFlags settingsLoadedFlags = default, int settingsOffset = default, int lastFrameActive = default, int columnsCount = default, int currentRow = default, int currentColumn = default, short instanceCurrent = default, short instanceInteracted = default, float rowPosY1 = default, float rowPosY2 = default, float rowMinHeight = default, float rowTextBaseline = default, float rowIndentOffsetX = default, ImGuiTableRowFlags rowFlags = default, ImGuiTableRowFlags lastRowFlags = default, int rowBgColorCounter = default, Span rowBgColor = default, uint borderColorStrong = default, uint borderColorLight = default, float borderX1 = default, float borderX2 = default, float hostIndentX = default, float minColumnWidth = default, float outerPaddingX = default, float cellPaddingX = default, float cellPaddingY = default, float cellSpacingX1 = default, float cellSpacingX2 = default, float innerWidth = default, float columnsGivenWidth = default, float columnsAutoFitWidth = default, float columnsStretchSumWeights = default, float resizedColumnNextWidth = default, float resizeLockMinContentsX2 = default, float refScale = default, ImRect outerRect = default, ImRect innerRect = default, ImRect workRect = default, ImRect innerClipRect = default, ImRect bgClipRect = default, ImRect bg0ClipRectForDrawCmd = default, ImRect bg2ClipRectForDrawCmd = default, ImRect hostClipRect = default, ImRect hostBackupInnerClipRect = default, ImGuiWindowPtr outerWindow = default, ImGuiWindowPtr innerWindow = default, ImGuiTextBuffer columnsNames = default, ImDrawListSplitterPtr drawSplitter = default, ImGuiTableInstanceData instanceDataFirst = default, ImVector instanceDataExtra = default, ImGuiTableColumnSortSpecs sortSpecsSingle = default, ImVector sortSpecsMulti = default, ImGuiTableSortSpecs sortSpecs = default, sbyte sortSpecsCount = default, sbyte columnsEnabledCount = default, sbyte columnsEnabledFixedCount = default, sbyte declColumnsCount = default, sbyte hoveredColumnBody = default, sbyte hoveredColumnBorder = default, sbyte autoFitSingleColumn = default, sbyte resizedColumn = default, sbyte lastResizedColumn = default, sbyte heldHeaderColumn = default, sbyte reorderColumn = default, sbyte reorderColumnDir = default, sbyte leftMostEnabledColumn = default, sbyte rightMostEnabledColumn = default, sbyte leftMostStretchedColumn = default, sbyte rightMostStretchedColumn = default, sbyte contextPopupColumn = default, sbyte freezeRowsRequest = default, sbyte freezeRowsCount = default, sbyte freezeColumnsRequest = default, sbyte freezeColumnsCount = default, sbyte rowCellDataCurrent = default, byte dummyDrawChannel = default, byte bg2DrawChannelCurrent = default, byte bg2DrawChannelUnfrozen = default, bool isLayoutLocked = default, bool isInsideRow = default, bool isInitializing = default, bool isSortSpecsDirty = default, bool isUsingHeaders = default, bool isContextPopupOpen = default, bool isSettingsRequestLoad = default, bool isSettingsDirty = default, bool isDefaultDisplayOrder = default, bool isResetAllRequest = default, bool isResetDisplayOrderRequest = default, bool isUnfrozenRows = default, bool isDefaultSizingPolicy = default, bool memoryCompacted = default, bool hostSkipItems = default) + { + ID = id; + Flags = flags; + RawData = rawData; + TempData = tempData; + Columns = columns; + DisplayOrderToIndex = displayOrderToIndex; + RowCellData = rowCellData; + EnabledMaskByDisplayOrder = enabledMaskByDisplayOrder; + EnabledMaskByIndex = enabledMaskByIndex; + VisibleMaskByIndex = visibleMaskByIndex; + RequestOutputMaskByIndex = requestOutputMaskByIndex; + SettingsLoadedFlags = settingsLoadedFlags; + SettingsOffset = settingsOffset; + LastFrameActive = lastFrameActive; + ColumnsCount = columnsCount; + CurrentRow = currentRow; + CurrentColumn = currentColumn; + InstanceCurrent = instanceCurrent; + InstanceInteracted = instanceInteracted; + RowPosY1 = rowPosY1; + RowPosY2 = rowPosY2; + RowMinHeight = rowMinHeight; + RowTextBaseline = rowTextBaseline; + RowIndentOffsetX = rowIndentOffsetX; + RowFlags = rowFlags; + LastRowFlags = lastRowFlags; + RowBgColorCounter = rowBgColorCounter; + if (rowBgColor != default(Span)) + { + RowBgColor_0 = rowBgColor[0]; + RowBgColor_1 = rowBgColor[1]; + } + BorderColorStrong = borderColorStrong; + BorderColorLight = borderColorLight; + BorderX1 = borderX1; + BorderX2 = borderX2; + HostIndentX = hostIndentX; + MinColumnWidth = minColumnWidth; + OuterPaddingX = outerPaddingX; + CellPaddingX = cellPaddingX; + CellPaddingY = cellPaddingY; + CellSpacingX1 = cellSpacingX1; + CellSpacingX2 = cellSpacingX2; + InnerWidth = innerWidth; + ColumnsGivenWidth = columnsGivenWidth; + ColumnsAutoFitWidth = columnsAutoFitWidth; + ColumnsStretchSumWeights = columnsStretchSumWeights; + ResizedColumnNextWidth = resizedColumnNextWidth; + ResizeLockMinContentsX2 = resizeLockMinContentsX2; + RefScale = refScale; + OuterRect = outerRect; + InnerRect = innerRect; + WorkRect = workRect; + InnerClipRect = innerClipRect; + BgClipRect = bgClipRect; + Bg0ClipRectForDrawCmd = bg0ClipRectForDrawCmd; + Bg2ClipRectForDrawCmd = bg2ClipRectForDrawCmd; + HostClipRect = hostClipRect; + HostBackupInnerClipRect = hostBackupInnerClipRect; + OuterWindow = outerWindow; + InnerWindow = innerWindow; + ColumnsNames = columnsNames; + DrawSplitter = drawSplitter; + InstanceDataFirst = instanceDataFirst; + InstanceDataExtra = instanceDataExtra; + SortSpecsSingle = sortSpecsSingle; + SortSpecsMulti = sortSpecsMulti; + SortSpecs = sortSpecs; + SortSpecsCount = sortSpecsCount; + ColumnsEnabledCount = columnsEnabledCount; + ColumnsEnabledFixedCount = columnsEnabledFixedCount; + DeclColumnsCount = declColumnsCount; + HoveredColumnBody = hoveredColumnBody; + HoveredColumnBorder = hoveredColumnBorder; + AutoFitSingleColumn = autoFitSingleColumn; + ResizedColumn = resizedColumn; + LastResizedColumn = lastResizedColumn; + HeldHeaderColumn = heldHeaderColumn; + ReorderColumn = reorderColumn; + ReorderColumnDir = reorderColumnDir; + LeftMostEnabledColumn = leftMostEnabledColumn; + RightMostEnabledColumn = rightMostEnabledColumn; + LeftMostStretchedColumn = leftMostStretchedColumn; + RightMostStretchedColumn = rightMostStretchedColumn; + ContextPopupColumn = contextPopupColumn; + FreezeRowsRequest = freezeRowsRequest; + FreezeRowsCount = freezeRowsCount; + FreezeColumnsRequest = freezeColumnsRequest; + FreezeColumnsCount = freezeColumnsCount; + RowCellDataCurrent = rowCellDataCurrent; + DummyDrawChannel = dummyDrawChannel; + Bg2DrawChannelCurrent = bg2DrawChannelCurrent; + Bg2DrawChannelUnfrozen = bg2DrawChannelUnfrozen; + IsLayoutLocked = isLayoutLocked ? (byte)1 : (byte)0; + IsInsideRow = isInsideRow ? (byte)1 : (byte)0; + IsInitializing = isInitializing ? (byte)1 : (byte)0; + IsSortSpecsDirty = isSortSpecsDirty ? (byte)1 : (byte)0; + IsUsingHeaders = isUsingHeaders ? (byte)1 : (byte)0; + IsContextPopupOpen = isContextPopupOpen ? (byte)1 : (byte)0; + IsSettingsRequestLoad = isSettingsRequestLoad ? (byte)1 : (byte)0; + IsSettingsDirty = isSettingsDirty ? (byte)1 : (byte)0; + IsDefaultDisplayOrder = isDefaultDisplayOrder ? (byte)1 : (byte)0; + IsResetAllRequest = isResetAllRequest ? (byte)1 : (byte)0; + IsResetDisplayOrderRequest = isResetDisplayOrderRequest ? (byte)1 : (byte)0; + IsUnfrozenRows = isUnfrozenRows ? (byte)1 : (byte)0; + IsDefaultSizingPolicy = isDefaultSizingPolicy ? (byte)1 : (byte)0; + MemoryCompacted = memoryCompacted ? (byte)1 : (byte)0; + HostSkipItems = hostSkipItems ? (byte)1 : (byte)0; + } + public ImGuiTableRowFlags RowFlags { get => Bitfield.Get(RawBits0, 0, 16); set => Bitfield.Set(ref RawBits0, value, 0, 16); } + public ImGuiTableRowFlags LastRowFlags { get => Bitfield.Get(RawBits0, 16, 16); set => Bitfield.Set(ref RawBits0, value, 16, 16); } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImGuiTablePtr : IEquatable + { + public ImGuiTablePtr(ImGuiTable* handle) { Handle = handle; } + public ImGuiTable* Handle; + public bool IsNull => Handle == null; + public static ImGuiTablePtr Null => new ImGuiTablePtr(null); + public ImGuiTable this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImGuiTablePtr(ImGuiTable* handle) => new ImGuiTablePtr(handle); + public static implicit operator ImGuiTable*(ImGuiTablePtr handle) => handle.Handle; + public static bool operator ==(ImGuiTablePtr left, ImGuiTablePtr right) => left.Handle == right.Handle; + public static bool operator !=(ImGuiTablePtr left, ImGuiTablePtr right) => left.Handle != right.Handle; + public static bool operator ==(ImGuiTablePtr left, ImGuiTable* right) => left.Handle == right; + public static bool operator !=(ImGuiTablePtr left, ImGuiTable* right) => left.Handle != right; + public bool Equals(ImGuiTablePtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImGuiTablePtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImGuiTablePtr [0x{0}]", ((nuint)Handle).ToString("X")); + public ref uint ID => ref Unsafe.AsRef(&Handle->ID); + public ref ImGuiTableFlags Flags => ref Unsafe.AsRef(&Handle->Flags); + public void* RawData { get => Handle->RawData; set => Handle->RawData = value; } + public ref ImGuiTableTempDataPtr TempData => ref Unsafe.AsRef(&Handle->TempData); + public ref ImSpanImGuiTableColumn Columns => ref Unsafe.AsRef(&Handle->Columns); + public ref ImSpanImGuiTableColumnIdx DisplayOrderToIndex => ref Unsafe.AsRef(&Handle->DisplayOrderToIndex); + public ref ImSpanImGuiTableCellData RowCellData => ref Unsafe.AsRef(&Handle->RowCellData); + public ref ulong EnabledMaskByDisplayOrder => ref Unsafe.AsRef(&Handle->EnabledMaskByDisplayOrder); + public ref ulong EnabledMaskByIndex => ref Unsafe.AsRef(&Handle->EnabledMaskByIndex); + public ref ulong VisibleMaskByIndex => ref Unsafe.AsRef(&Handle->VisibleMaskByIndex); + public ref ulong RequestOutputMaskByIndex => ref Unsafe.AsRef(&Handle->RequestOutputMaskByIndex); + public ref ImGuiTableFlags SettingsLoadedFlags => ref Unsafe.AsRef(&Handle->SettingsLoadedFlags); + public ref int SettingsOffset => ref Unsafe.AsRef(&Handle->SettingsOffset); + public ref int LastFrameActive => ref Unsafe.AsRef(&Handle->LastFrameActive); + public ref int ColumnsCount => ref Unsafe.AsRef(&Handle->ColumnsCount); + public ref int CurrentRow => ref Unsafe.AsRef(&Handle->CurrentRow); + public ref int CurrentColumn => ref Unsafe.AsRef(&Handle->CurrentColumn); + public ref short InstanceCurrent => ref Unsafe.AsRef(&Handle->InstanceCurrent); + public ref short InstanceInteracted => ref Unsafe.AsRef(&Handle->InstanceInteracted); + public ref float RowPosY1 => ref Unsafe.AsRef(&Handle->RowPosY1); + public ref float RowPosY2 => ref Unsafe.AsRef(&Handle->RowPosY2); + public ref float RowMinHeight => ref Unsafe.AsRef(&Handle->RowMinHeight); + public ref float RowTextBaseline => ref Unsafe.AsRef(&Handle->RowTextBaseline); + public ref float RowIndentOffsetX => ref Unsafe.AsRef(&Handle->RowIndentOffsetX); + public ImGuiTableRowFlags RowFlags { get => Handle->RowFlags; set => Handle->RowFlags = value; } + public ImGuiTableRowFlags LastRowFlags { get => Handle->LastRowFlags; set => Handle->LastRowFlags = value; } + public ref int RowBgColorCounter => ref Unsafe.AsRef(&Handle->RowBgColorCounter); + public unsafe Span RowBgColor + { + get + { + return new Span(&Handle->RowBgColor_0, 2); + } + } + public ref uint BorderColorStrong => ref Unsafe.AsRef(&Handle->BorderColorStrong); + public ref uint BorderColorLight => ref Unsafe.AsRef(&Handle->BorderColorLight); + public ref float BorderX1 => ref Unsafe.AsRef(&Handle->BorderX1); + public ref float BorderX2 => ref Unsafe.AsRef(&Handle->BorderX2); + public ref float HostIndentX => ref Unsafe.AsRef(&Handle->HostIndentX); + public ref float MinColumnWidth => ref Unsafe.AsRef(&Handle->MinColumnWidth); + public ref float OuterPaddingX => ref Unsafe.AsRef(&Handle->OuterPaddingX); + public ref float CellPaddingX => ref Unsafe.AsRef(&Handle->CellPaddingX); + public ref float CellPaddingY => ref Unsafe.AsRef(&Handle->CellPaddingY); + public ref float CellSpacingX1 => ref Unsafe.AsRef(&Handle->CellSpacingX1); + public ref float CellSpacingX2 => ref Unsafe.AsRef(&Handle->CellSpacingX2); + public ref float InnerWidth => ref Unsafe.AsRef(&Handle->InnerWidth); + public ref float ColumnsGivenWidth => ref Unsafe.AsRef(&Handle->ColumnsGivenWidth); + public ref float ColumnsAutoFitWidth => ref Unsafe.AsRef(&Handle->ColumnsAutoFitWidth); + public ref float ColumnsStretchSumWeights => ref Unsafe.AsRef(&Handle->ColumnsStretchSumWeights); + public ref float ResizedColumnNextWidth => ref Unsafe.AsRef(&Handle->ResizedColumnNextWidth); + public ref float ResizeLockMinContentsX2 => ref Unsafe.AsRef(&Handle->ResizeLockMinContentsX2); + public ref float RefScale => ref Unsafe.AsRef(&Handle->RefScale); + public ref ImRect OuterRect => ref Unsafe.AsRef(&Handle->OuterRect); + public ref ImRect InnerRect => ref Unsafe.AsRef(&Handle->InnerRect); + public ref ImRect WorkRect => ref Unsafe.AsRef(&Handle->WorkRect); + public ref ImRect InnerClipRect => ref Unsafe.AsRef(&Handle->InnerClipRect); + public ref ImRect BgClipRect => ref Unsafe.AsRef(&Handle->BgClipRect); + public ref ImRect Bg0ClipRectForDrawCmd => ref Unsafe.AsRef(&Handle->Bg0ClipRectForDrawCmd); + public ref ImRect Bg2ClipRectForDrawCmd => ref Unsafe.AsRef(&Handle->Bg2ClipRectForDrawCmd); + public ref ImRect HostClipRect => ref Unsafe.AsRef(&Handle->HostClipRect); + public ref ImRect HostBackupInnerClipRect => ref Unsafe.AsRef(&Handle->HostBackupInnerClipRect); + public ref ImGuiWindowPtr OuterWindow => ref Unsafe.AsRef(&Handle->OuterWindow); + public ref ImGuiWindowPtr InnerWindow => ref Unsafe.AsRef(&Handle->InnerWindow); + public ref ImGuiTextBuffer ColumnsNames => ref Unsafe.AsRef(&Handle->ColumnsNames); + public ref ImDrawListSplitterPtr DrawSplitter => ref Unsafe.AsRef(&Handle->DrawSplitter); + public ref ImGuiTableInstanceData InstanceDataFirst => ref Unsafe.AsRef(&Handle->InstanceDataFirst); + public ref ImVector InstanceDataExtra => ref Unsafe.AsRef>(&Handle->InstanceDataExtra); + public ref ImGuiTableColumnSortSpecs SortSpecsSingle => ref Unsafe.AsRef(&Handle->SortSpecsSingle); + public ref ImVector SortSpecsMulti => ref Unsafe.AsRef>(&Handle->SortSpecsMulti); + public ref ImGuiTableSortSpecs SortSpecs => ref Unsafe.AsRef(&Handle->SortSpecs); + public ref sbyte SortSpecsCount => ref Unsafe.AsRef(&Handle->SortSpecsCount); + public ref sbyte ColumnsEnabledCount => ref Unsafe.AsRef(&Handle->ColumnsEnabledCount); + public ref sbyte ColumnsEnabledFixedCount => ref Unsafe.AsRef(&Handle->ColumnsEnabledFixedCount); + public ref sbyte DeclColumnsCount => ref Unsafe.AsRef(&Handle->DeclColumnsCount); + public ref sbyte HoveredColumnBody => ref Unsafe.AsRef(&Handle->HoveredColumnBody); + public ref sbyte HoveredColumnBorder => ref Unsafe.AsRef(&Handle->HoveredColumnBorder); + public ref sbyte AutoFitSingleColumn => ref Unsafe.AsRef(&Handle->AutoFitSingleColumn); + public ref sbyte ResizedColumn => ref Unsafe.AsRef(&Handle->ResizedColumn); + public ref sbyte LastResizedColumn => ref Unsafe.AsRef(&Handle->LastResizedColumn); + public ref sbyte HeldHeaderColumn => ref Unsafe.AsRef(&Handle->HeldHeaderColumn); + public ref sbyte ReorderColumn => ref Unsafe.AsRef(&Handle->ReorderColumn); + public ref sbyte ReorderColumnDir => ref Unsafe.AsRef(&Handle->ReorderColumnDir); + public ref sbyte LeftMostEnabledColumn => ref Unsafe.AsRef(&Handle->LeftMostEnabledColumn); + public ref sbyte RightMostEnabledColumn => ref Unsafe.AsRef(&Handle->RightMostEnabledColumn); + public ref sbyte LeftMostStretchedColumn => ref Unsafe.AsRef(&Handle->LeftMostStretchedColumn); + public ref sbyte RightMostStretchedColumn => ref Unsafe.AsRef(&Handle->RightMostStretchedColumn); + public ref sbyte ContextPopupColumn => ref Unsafe.AsRef(&Handle->ContextPopupColumn); + public ref sbyte FreezeRowsRequest => ref Unsafe.AsRef(&Handle->FreezeRowsRequest); + public ref sbyte FreezeRowsCount => ref Unsafe.AsRef(&Handle->FreezeRowsCount); + public ref sbyte FreezeColumnsRequest => ref Unsafe.AsRef(&Handle->FreezeColumnsRequest); + public ref sbyte FreezeColumnsCount => ref Unsafe.AsRef(&Handle->FreezeColumnsCount); + public ref sbyte RowCellDataCurrent => ref Unsafe.AsRef(&Handle->RowCellDataCurrent); + public ref byte DummyDrawChannel => ref Unsafe.AsRef(&Handle->DummyDrawChannel); + public ref byte Bg2DrawChannelCurrent => ref Unsafe.AsRef(&Handle->Bg2DrawChannelCurrent); + public ref byte Bg2DrawChannelUnfrozen => ref Unsafe.AsRef(&Handle->Bg2DrawChannelUnfrozen); + public ref bool IsLayoutLocked => ref Unsafe.AsRef(&Handle->IsLayoutLocked); + public ref bool IsInsideRow => ref Unsafe.AsRef(&Handle->IsInsideRow); + public ref bool IsInitializing => ref Unsafe.AsRef(&Handle->IsInitializing); + public ref bool IsSortSpecsDirty => ref Unsafe.AsRef(&Handle->IsSortSpecsDirty); + public ref bool IsUsingHeaders => ref Unsafe.AsRef(&Handle->IsUsingHeaders); + public ref bool IsContextPopupOpen => ref Unsafe.AsRef(&Handle->IsContextPopupOpen); + public ref bool IsSettingsRequestLoad => ref Unsafe.AsRef(&Handle->IsSettingsRequestLoad); + public ref bool IsSettingsDirty => ref Unsafe.AsRef(&Handle->IsSettingsDirty); + public ref bool IsDefaultDisplayOrder => ref Unsafe.AsRef(&Handle->IsDefaultDisplayOrder); + public ref bool IsResetAllRequest => ref Unsafe.AsRef(&Handle->IsResetAllRequest); + public ref bool IsResetDisplayOrderRequest => ref Unsafe.AsRef(&Handle->IsResetDisplayOrderRequest); + public ref bool IsUnfrozenRows => ref Unsafe.AsRef(&Handle->IsUnfrozenRows); + public ref bool IsDefaultSizingPolicy => ref Unsafe.AsRef(&Handle->IsDefaultSizingPolicy); + public ref bool MemoryCompacted => ref Unsafe.AsRef(&Handle->MemoryCompacted); + public ref bool HostSkipItems => ref Unsafe.AsRef(&Handle->HostSkipItems); + } +} +/* ImGuiTableCellData.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiTableCellData + { + public uint BgColor; + public sbyte Column; + public unsafe ImGuiTableCellData(uint bgColor = default, sbyte column = default) + { + BgColor = bgColor; + Column = column; + } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImGuiTableCellDataPtr : IEquatable + { + public ImGuiTableCellDataPtr(ImGuiTableCellData* handle) { Handle = handle; } + public ImGuiTableCellData* Handle; + public bool IsNull => Handle == null; + public static ImGuiTableCellDataPtr Null => new ImGuiTableCellDataPtr(null); + public ImGuiTableCellData this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImGuiTableCellDataPtr(ImGuiTableCellData* handle) => new ImGuiTableCellDataPtr(handle); + public static implicit operator ImGuiTableCellData*(ImGuiTableCellDataPtr handle) => handle.Handle; + public static bool operator ==(ImGuiTableCellDataPtr left, ImGuiTableCellDataPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImGuiTableCellDataPtr left, ImGuiTableCellDataPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImGuiTableCellDataPtr left, ImGuiTableCellData* right) => left.Handle == right; + public static bool operator !=(ImGuiTableCellDataPtr left, ImGuiTableCellData* right) => left.Handle != right; + public bool Equals(ImGuiTableCellDataPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImGuiTableCellDataPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImGuiTableCellDataPtr [0x{0}]", ((nuint)Handle).ToString("X")); + public ref uint BgColor => ref Unsafe.AsRef(&Handle->BgColor); + public ref sbyte Column => ref Unsafe.AsRef(&Handle->Column); + } +} +/* ImGuiTableColumn.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiTableColumn + { + public ImGuiTableColumnFlags Flags; + public float WidthGiven; + public float MinX; + public float MaxX; + public float WidthRequest; + public float WidthAuto; + public float StretchWeight; + public float InitStretchWeightOrWidth; + public ImRect ClipRect; + public uint UserID; + public float WorkMinX; + public float WorkMaxX; + public float ItemWidth; + public float ContentMaxXFrozen; + public float ContentMaxXUnfrozen; + public float ContentMaxXHeadersUsed; + public float ContentMaxXHeadersIdeal; + public short NameOffset; + public sbyte DisplayOrder; + public sbyte IndexWithinEnabledSet; + public sbyte PrevEnabledColumn; + public sbyte NextEnabledColumn; + public sbyte SortOrder; + public byte DrawChannelCurrent; + public byte DrawChannelFrozen; + public byte DrawChannelUnfrozen; + public byte IsEnabled; + public byte IsUserEnabled; + public byte IsUserEnabledNextFrame; + public byte IsVisibleX; + public byte IsVisibleY; + public byte IsRequestOutput; + public byte IsSkipItems; + public byte IsPreserveWidthAuto; + public sbyte NavLayerCurrent; + public byte AutoFitQueue; + public byte CannotSkipItemsQueue; + public byte RawBits0; + public byte SortDirectionsAvailList; + public unsafe ImGuiTableColumn(ImGuiTableColumnFlags flags = default, float widthGiven = default, float minX = default, float maxX = default, float widthRequest = default, float widthAuto = default, float stretchWeight = default, float initStretchWeightOrWidth = default, ImRect clipRect = default, uint userId = default, float workMinX = default, float workMaxX = default, float itemWidth = default, float contentMaxXFrozen = default, float contentMaxXUnfrozen = default, float contentMaxXHeadersUsed = default, float contentMaxXHeadersIdeal = default, short nameOffset = default, sbyte displayOrder = default, sbyte indexWithinEnabledSet = default, sbyte prevEnabledColumn = default, sbyte nextEnabledColumn = default, sbyte sortOrder = default, byte drawChannelCurrent = default, byte drawChannelFrozen = default, byte drawChannelUnfrozen = default, bool isEnabled = default, bool isUserEnabled = default, bool isUserEnabledNextFrame = default, bool isVisibleX = default, bool isVisibleY = default, bool isRequestOutput = default, bool isSkipItems = default, bool isPreserveWidthAuto = default, sbyte navLayerCurrent = default, byte autoFitQueue = default, byte cannotSkipItemsQueue = default, byte sortDirection = default, byte sortDirectionsAvailCount = default, byte sortDirectionsAvailMask = default, byte sortDirectionsAvailList = default) + { + Flags = flags; + WidthGiven = widthGiven; + MinX = minX; + MaxX = maxX; + WidthRequest = widthRequest; + WidthAuto = widthAuto; + StretchWeight = stretchWeight; + InitStretchWeightOrWidth = initStretchWeightOrWidth; + ClipRect = clipRect; + UserID = userId; + WorkMinX = workMinX; + WorkMaxX = workMaxX; + ItemWidth = itemWidth; + ContentMaxXFrozen = contentMaxXFrozen; + ContentMaxXUnfrozen = contentMaxXUnfrozen; + ContentMaxXHeadersUsed = contentMaxXHeadersUsed; + ContentMaxXHeadersIdeal = contentMaxXHeadersIdeal; + NameOffset = nameOffset; + DisplayOrder = displayOrder; + IndexWithinEnabledSet = indexWithinEnabledSet; + PrevEnabledColumn = prevEnabledColumn; + NextEnabledColumn = nextEnabledColumn; + SortOrder = sortOrder; + DrawChannelCurrent = drawChannelCurrent; + DrawChannelFrozen = drawChannelFrozen; + DrawChannelUnfrozen = drawChannelUnfrozen; + IsEnabled = isEnabled ? (byte)1 : (byte)0; + IsUserEnabled = isUserEnabled ? (byte)1 : (byte)0; + IsUserEnabledNextFrame = isUserEnabledNextFrame ? (byte)1 : (byte)0; + IsVisibleX = isVisibleX ? (byte)1 : (byte)0; + IsVisibleY = isVisibleY ? (byte)1 : (byte)0; + IsRequestOutput = isRequestOutput ? (byte)1 : (byte)0; + IsSkipItems = isSkipItems ? (byte)1 : (byte)0; + IsPreserveWidthAuto = isPreserveWidthAuto ? (byte)1 : (byte)0; + NavLayerCurrent = navLayerCurrent; + AutoFitQueue = autoFitQueue; + CannotSkipItemsQueue = cannotSkipItemsQueue; + SortDirection = sortDirection; + SortDirectionsAvailCount = sortDirectionsAvailCount; + SortDirectionsAvailMask = sortDirectionsAvailMask; + SortDirectionsAvailList = sortDirectionsAvailList; + } + public byte SortDirection { get => Bitfield.Get(RawBits0, 0, 2); set => Bitfield.Set(ref RawBits0, value, 0, 2); } + public byte SortDirectionsAvailCount { get => Bitfield.Get(RawBits0, 2, 2); set => Bitfield.Set(ref RawBits0, value, 2, 2); } + public byte SortDirectionsAvailMask { get => Bitfield.Get(RawBits0, 4, 4); set => Bitfield.Set(ref RawBits0, value, 4, 4); } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImGuiTableColumnPtr : IEquatable + { + public ImGuiTableColumnPtr(ImGuiTableColumn* handle) { Handle = handle; } + public ImGuiTableColumn* Handle; + public bool IsNull => Handle == null; + public static ImGuiTableColumnPtr Null => new ImGuiTableColumnPtr(null); + public ImGuiTableColumn this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImGuiTableColumnPtr(ImGuiTableColumn* handle) => new ImGuiTableColumnPtr(handle); + public static implicit operator ImGuiTableColumn*(ImGuiTableColumnPtr handle) => handle.Handle; + public static bool operator ==(ImGuiTableColumnPtr left, ImGuiTableColumnPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImGuiTableColumnPtr left, ImGuiTableColumnPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImGuiTableColumnPtr left, ImGuiTableColumn* right) => left.Handle == right; + public static bool operator !=(ImGuiTableColumnPtr left, ImGuiTableColumn* right) => left.Handle != right; + public bool Equals(ImGuiTableColumnPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImGuiTableColumnPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImGuiTableColumnPtr [0x{0}]", ((nuint)Handle).ToString("X")); + public ref ImGuiTableColumnFlags Flags => ref Unsafe.AsRef(&Handle->Flags); + public ref float WidthGiven => ref Unsafe.AsRef(&Handle->WidthGiven); + public ref float MinX => ref Unsafe.AsRef(&Handle->MinX); + public ref float MaxX => ref Unsafe.AsRef(&Handle->MaxX); + public ref float WidthRequest => ref Unsafe.AsRef(&Handle->WidthRequest); + public ref float WidthAuto => ref Unsafe.AsRef(&Handle->WidthAuto); + public ref float StretchWeight => ref Unsafe.AsRef(&Handle->StretchWeight); + public ref float InitStretchWeightOrWidth => ref Unsafe.AsRef(&Handle->InitStretchWeightOrWidth); + public ref ImRect ClipRect => ref Unsafe.AsRef(&Handle->ClipRect); + public ref uint UserID => ref Unsafe.AsRef(&Handle->UserID); + public ref float WorkMinX => ref Unsafe.AsRef(&Handle->WorkMinX); + public ref float WorkMaxX => ref Unsafe.AsRef(&Handle->WorkMaxX); + public ref float ItemWidth => ref Unsafe.AsRef(&Handle->ItemWidth); + public ref float ContentMaxXFrozen => ref Unsafe.AsRef(&Handle->ContentMaxXFrozen); + public ref float ContentMaxXUnfrozen => ref Unsafe.AsRef(&Handle->ContentMaxXUnfrozen); + public ref float ContentMaxXHeadersUsed => ref Unsafe.AsRef(&Handle->ContentMaxXHeadersUsed); + public ref float ContentMaxXHeadersIdeal => ref Unsafe.AsRef(&Handle->ContentMaxXHeadersIdeal); + public ref short NameOffset => ref Unsafe.AsRef(&Handle->NameOffset); + public ref sbyte DisplayOrder => ref Unsafe.AsRef(&Handle->DisplayOrder); + public ref sbyte IndexWithinEnabledSet => ref Unsafe.AsRef(&Handle->IndexWithinEnabledSet); + public ref sbyte PrevEnabledColumn => ref Unsafe.AsRef(&Handle->PrevEnabledColumn); + public ref sbyte NextEnabledColumn => ref Unsafe.AsRef(&Handle->NextEnabledColumn); + public ref sbyte SortOrder => ref Unsafe.AsRef(&Handle->SortOrder); + public ref byte DrawChannelCurrent => ref Unsafe.AsRef(&Handle->DrawChannelCurrent); + public ref byte DrawChannelFrozen => ref Unsafe.AsRef(&Handle->DrawChannelFrozen); + public ref byte DrawChannelUnfrozen => ref Unsafe.AsRef(&Handle->DrawChannelUnfrozen); + public ref bool IsEnabled => ref Unsafe.AsRef(&Handle->IsEnabled); + public ref bool IsUserEnabled => ref Unsafe.AsRef(&Handle->IsUserEnabled); + public ref bool IsUserEnabledNextFrame => ref Unsafe.AsRef(&Handle->IsUserEnabledNextFrame); + public ref bool IsVisibleX => ref Unsafe.AsRef(&Handle->IsVisibleX); + public ref bool IsVisibleY => ref Unsafe.AsRef(&Handle->IsVisibleY); + public ref bool IsRequestOutput => ref Unsafe.AsRef(&Handle->IsRequestOutput); + public ref bool IsSkipItems => ref Unsafe.AsRef(&Handle->IsSkipItems); + public ref bool IsPreserveWidthAuto => ref Unsafe.AsRef(&Handle->IsPreserveWidthAuto); + public ref sbyte NavLayerCurrent => ref Unsafe.AsRef(&Handle->NavLayerCurrent); + public ref byte AutoFitQueue => ref Unsafe.AsRef(&Handle->AutoFitQueue); + public ref byte CannotSkipItemsQueue => ref Unsafe.AsRef(&Handle->CannotSkipItemsQueue); + public byte SortDirection { get => Handle->SortDirection; set => Handle->SortDirection = value; } + public byte SortDirectionsAvailCount { get => Handle->SortDirectionsAvailCount; set => Handle->SortDirectionsAvailCount = value; } + public byte SortDirectionsAvailMask { get => Handle->SortDirectionsAvailMask; set => Handle->SortDirectionsAvailMask = value; } + public ref byte SortDirectionsAvailList => ref Unsafe.AsRef(&Handle->SortDirectionsAvailList); + } +} +/* ImGuiTableColumnSettings.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiTableColumnSettings + { + public float WidthOrWeight; + public uint UserID; + public sbyte Index; + public sbyte DisplayOrder; + public sbyte SortOrder; + public byte RawBits0; + public unsafe ImGuiTableColumnSettings(float widthOrWeight = default, uint userId = default, sbyte index = default, sbyte displayOrder = default, sbyte sortOrder = default, byte sortDirection = default, byte isEnabled = default, byte isStretch = default) + { + WidthOrWeight = widthOrWeight; + UserID = userId; + Index = index; + DisplayOrder = displayOrder; + SortOrder = sortOrder; + SortDirection = sortDirection; + IsEnabled = isEnabled; + IsStretch = isStretch; + } + public byte SortDirection { get => Bitfield.Get(RawBits0, 0, 2); set => Bitfield.Set(ref RawBits0, value, 0, 2); } + public byte IsEnabled { get => Bitfield.Get(RawBits0, 2, 1); set => Bitfield.Set(ref RawBits0, value, 2, 1); } + public byte IsStretch { get => Bitfield.Get(RawBits0, 3, 1); set => Bitfield.Set(ref RawBits0, value, 3, 1); } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImGuiTableColumnSettingsPtr : IEquatable + { + public ImGuiTableColumnSettingsPtr(ImGuiTableColumnSettings* handle) { Handle = handle; } + public ImGuiTableColumnSettings* Handle; + public bool IsNull => Handle == null; + public static ImGuiTableColumnSettingsPtr Null => new ImGuiTableColumnSettingsPtr(null); + public ImGuiTableColumnSettings this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImGuiTableColumnSettingsPtr(ImGuiTableColumnSettings* handle) => new ImGuiTableColumnSettingsPtr(handle); + public static implicit operator ImGuiTableColumnSettings*(ImGuiTableColumnSettingsPtr handle) => handle.Handle; + public static bool operator ==(ImGuiTableColumnSettingsPtr left, ImGuiTableColumnSettingsPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImGuiTableColumnSettingsPtr left, ImGuiTableColumnSettingsPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImGuiTableColumnSettingsPtr left, ImGuiTableColumnSettings* right) => left.Handle == right; + public static bool operator !=(ImGuiTableColumnSettingsPtr left, ImGuiTableColumnSettings* right) => left.Handle != right; + public bool Equals(ImGuiTableColumnSettingsPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImGuiTableColumnSettingsPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImGuiTableColumnSettingsPtr [0x{0}]", ((nuint)Handle).ToString("X")); + public ref float WidthOrWeight => ref Unsafe.AsRef(&Handle->WidthOrWeight); + public ref uint UserID => ref Unsafe.AsRef(&Handle->UserID); + public ref sbyte Index => ref Unsafe.AsRef(&Handle->Index); + public ref sbyte DisplayOrder => ref Unsafe.AsRef(&Handle->DisplayOrder); + public ref sbyte SortOrder => ref Unsafe.AsRef(&Handle->SortOrder); + public byte SortDirection { get => Handle->SortDirection; set => Handle->SortDirection = value; } + public byte IsEnabled { get => Handle->IsEnabled; set => Handle->IsEnabled = value; } + public byte IsStretch { get => Handle->IsStretch; set => Handle->IsStretch = value; } + } +} +/* ImGuiTableColumnSortSpecs.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiTableColumnSortSpecs + { + public uint ColumnUserID; + public short ColumnIndex; + public short SortOrder; + public ImGuiSortDirection RawBits0; + public unsafe ImGuiTableColumnSortSpecs(uint columnUserId = default, short columnIndex = default, short sortOrder = default, ImGuiSortDirection sortDirection = default) + { + ColumnUserID = columnUserId; + ColumnIndex = columnIndex; + SortOrder = sortOrder; + SortDirection = sortDirection; + } + public ImGuiSortDirection SortDirection { get => Bitfield.Get(RawBits0, 0, 8); set => Bitfield.Set(ref RawBits0, value, 0, 8); } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImGuiTableColumnSortSpecsPtr : IEquatable + { + public ImGuiTableColumnSortSpecsPtr(ImGuiTableColumnSortSpecs* handle) { Handle = handle; } + public ImGuiTableColumnSortSpecs* Handle; + public bool IsNull => Handle == null; + public static ImGuiTableColumnSortSpecsPtr Null => new ImGuiTableColumnSortSpecsPtr(null); + public ImGuiTableColumnSortSpecs this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImGuiTableColumnSortSpecsPtr(ImGuiTableColumnSortSpecs* handle) => new ImGuiTableColumnSortSpecsPtr(handle); + public static implicit operator ImGuiTableColumnSortSpecs*(ImGuiTableColumnSortSpecsPtr handle) => handle.Handle; + public static bool operator ==(ImGuiTableColumnSortSpecsPtr left, ImGuiTableColumnSortSpecsPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImGuiTableColumnSortSpecsPtr left, ImGuiTableColumnSortSpecsPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImGuiTableColumnSortSpecsPtr left, ImGuiTableColumnSortSpecs* right) => left.Handle == right; + public static bool operator !=(ImGuiTableColumnSortSpecsPtr left, ImGuiTableColumnSortSpecs* right) => left.Handle != right; + public bool Equals(ImGuiTableColumnSortSpecsPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImGuiTableColumnSortSpecsPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImGuiTableColumnSortSpecsPtr [0x{0}]", ((nuint)Handle).ToString("X")); + public ref uint ColumnUserID => ref Unsafe.AsRef(&Handle->ColumnUserID); + public ref short ColumnIndex => ref Unsafe.AsRef(&Handle->ColumnIndex); + public ref short SortOrder => ref Unsafe.AsRef(&Handle->SortOrder); + public ImGuiSortDirection SortDirection { get => Handle->SortDirection; set => Handle->SortDirection = value; } + } +} +/* ImGuiTableColumnsSettings.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiTableColumnsSettings + { + } +} +/* ImGuiTableInstanceData.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiTableInstanceData + { + public float LastOuterHeight; + public float LastFirstRowHeight; + public unsafe ImGuiTableInstanceData(float lastOuterHeight = default, float lastFirstRowHeight = default) + { + LastOuterHeight = lastOuterHeight; + LastFirstRowHeight = lastFirstRowHeight; + } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImGuiTableInstanceDataPtr : IEquatable + { + public ImGuiTableInstanceDataPtr(ImGuiTableInstanceData* handle) { Handle = handle; } + public ImGuiTableInstanceData* Handle; + public bool IsNull => Handle == null; + public static ImGuiTableInstanceDataPtr Null => new ImGuiTableInstanceDataPtr(null); + public ImGuiTableInstanceData this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImGuiTableInstanceDataPtr(ImGuiTableInstanceData* handle) => new ImGuiTableInstanceDataPtr(handle); + public static implicit operator ImGuiTableInstanceData*(ImGuiTableInstanceDataPtr handle) => handle.Handle; + public static bool operator ==(ImGuiTableInstanceDataPtr left, ImGuiTableInstanceDataPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImGuiTableInstanceDataPtr left, ImGuiTableInstanceDataPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImGuiTableInstanceDataPtr left, ImGuiTableInstanceData* right) => left.Handle == right; + public static bool operator !=(ImGuiTableInstanceDataPtr left, ImGuiTableInstanceData* right) => left.Handle != right; + public bool Equals(ImGuiTableInstanceDataPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImGuiTableInstanceDataPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImGuiTableInstanceDataPtr [0x{0}]", ((nuint)Handle).ToString("X")); + public ref float LastOuterHeight => ref Unsafe.AsRef(&Handle->LastOuterHeight); + public ref float LastFirstRowHeight => ref Unsafe.AsRef(&Handle->LastFirstRowHeight); + } +} +/* ImGuiTableSettings.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiTableSettings + { + public uint ID; + public ImGuiTableFlags SaveFlags; + public float RefScale; + public sbyte ColumnsCount; + public sbyte ColumnsCountMax; + public byte WantApply; + public unsafe ImGuiTableSettings(uint id = default, ImGuiTableFlags saveFlags = default, float refScale = default, sbyte columnsCount = default, sbyte columnsCountMax = default, bool wantApply = default) + { + ID = id; + SaveFlags = saveFlags; + RefScale = refScale; + ColumnsCount = columnsCount; + ColumnsCountMax = columnsCountMax; + WantApply = wantApply ? (byte)1 : (byte)0; + } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImGuiTableSettingsPtr : IEquatable + { + public ImGuiTableSettingsPtr(ImGuiTableSettings* handle) { Handle = handle; } + public ImGuiTableSettings* Handle; + public bool IsNull => Handle == null; + public static ImGuiTableSettingsPtr Null => new ImGuiTableSettingsPtr(null); + public ImGuiTableSettings this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImGuiTableSettingsPtr(ImGuiTableSettings* handle) => new ImGuiTableSettingsPtr(handle); + public static implicit operator ImGuiTableSettings*(ImGuiTableSettingsPtr handle) => handle.Handle; + public static bool operator ==(ImGuiTableSettingsPtr left, ImGuiTableSettingsPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImGuiTableSettingsPtr left, ImGuiTableSettingsPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImGuiTableSettingsPtr left, ImGuiTableSettings* right) => left.Handle == right; + public static bool operator !=(ImGuiTableSettingsPtr left, ImGuiTableSettings* right) => left.Handle != right; + public bool Equals(ImGuiTableSettingsPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImGuiTableSettingsPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImGuiTableSettingsPtr [0x{0}]", ((nuint)Handle).ToString("X")); + public ref uint ID => ref Unsafe.AsRef(&Handle->ID); + public ref ImGuiTableFlags SaveFlags => ref Unsafe.AsRef(&Handle->SaveFlags); + public ref float RefScale => ref Unsafe.AsRef(&Handle->RefScale); + public ref sbyte ColumnsCount => ref Unsafe.AsRef(&Handle->ColumnsCount); + public ref sbyte ColumnsCountMax => ref Unsafe.AsRef(&Handle->ColumnsCountMax); + public ref bool WantApply => ref Unsafe.AsRef(&Handle->WantApply); + } +} +/* ImGuiTableSortSpecs.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiTableSortSpecs + { + public unsafe ImGuiTableColumnSortSpecs* Specs; + public int SpecsCount; + public byte SpecsDirty; + public unsafe ImGuiTableSortSpecs(ImGuiTableColumnSortSpecsPtr specs = default, int specsCount = default, bool specsDirty = default) + { + Specs = specs; + SpecsCount = specsCount; + SpecsDirty = specsDirty ? (byte)1 : (byte)0; + } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImGuiTableSortSpecsPtr : IEquatable + { + public ImGuiTableSortSpecsPtr(ImGuiTableSortSpecs* handle) { Handle = handle; } + public ImGuiTableSortSpecs* Handle; + public bool IsNull => Handle == null; + public static ImGuiTableSortSpecsPtr Null => new ImGuiTableSortSpecsPtr(null); + public ImGuiTableSortSpecs this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImGuiTableSortSpecsPtr(ImGuiTableSortSpecs* handle) => new ImGuiTableSortSpecsPtr(handle); + public static implicit operator ImGuiTableSortSpecs*(ImGuiTableSortSpecsPtr handle) => handle.Handle; + public static bool operator ==(ImGuiTableSortSpecsPtr left, ImGuiTableSortSpecsPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImGuiTableSortSpecsPtr left, ImGuiTableSortSpecsPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImGuiTableSortSpecsPtr left, ImGuiTableSortSpecs* right) => left.Handle == right; + public static bool operator !=(ImGuiTableSortSpecsPtr left, ImGuiTableSortSpecs* right) => left.Handle != right; + public bool Equals(ImGuiTableSortSpecsPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImGuiTableSortSpecsPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImGuiTableSortSpecsPtr [0x{0}]", ((nuint)Handle).ToString("X")); + public ref ImGuiTableColumnSortSpecsPtr Specs => ref Unsafe.AsRef(&Handle->Specs); + public ref int SpecsCount => ref Unsafe.AsRef(&Handle->SpecsCount); + public ref bool SpecsDirty => ref Unsafe.AsRef(&Handle->SpecsDirty); + } +} +/* ImGuiTableTempData.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiTableTempData + { + public int TableIndex; + public float LastTimeActive; + public Vector2 UserOuterSize; + public ImDrawListSplitter DrawSplitter; + public ImRect HostBackupWorkRect; + public ImRect HostBackupParentWorkRect; + public Vector2 HostBackupPrevLineSize; + public Vector2 HostBackupCurrLineSize; + public Vector2 HostBackupCursorMaxPos; + public ImVec1 HostBackupColumnsOffset; + public float HostBackupItemWidth; + public int HostBackupItemWidthStackSize; + public unsafe ImGuiTableTempData(int tableIndex = default, float lastTimeActive = default, Vector2 userOuterSize = default, ImDrawListSplitter drawSplitter = default, ImRect hostBackupWorkRect = default, ImRect hostBackupParentWorkRect = default, Vector2 hostBackupPrevLineSize = default, Vector2 hostBackupCurrLineSize = default, Vector2 hostBackupCursorMaxPos = default, ImVec1 hostBackupColumnsOffset = default, float hostBackupItemWidth = default, int hostBackupItemWidthStackSize = default) + { + TableIndex = tableIndex; + LastTimeActive = lastTimeActive; + UserOuterSize = userOuterSize; + DrawSplitter = drawSplitter; + HostBackupWorkRect = hostBackupWorkRect; + HostBackupParentWorkRect = hostBackupParentWorkRect; + HostBackupPrevLineSize = hostBackupPrevLineSize; + HostBackupCurrLineSize = hostBackupCurrLineSize; + HostBackupCursorMaxPos = hostBackupCursorMaxPos; + HostBackupColumnsOffset = hostBackupColumnsOffset; + HostBackupItemWidth = hostBackupItemWidth; + HostBackupItemWidthStackSize = hostBackupItemWidthStackSize; + } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImGuiTableTempDataPtr : IEquatable + { + public ImGuiTableTempDataPtr(ImGuiTableTempData* handle) { Handle = handle; } + public ImGuiTableTempData* Handle; + public bool IsNull => Handle == null; + public static ImGuiTableTempDataPtr Null => new ImGuiTableTempDataPtr(null); + public ImGuiTableTempData this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImGuiTableTempDataPtr(ImGuiTableTempData* handle) => new ImGuiTableTempDataPtr(handle); + public static implicit operator ImGuiTableTempData*(ImGuiTableTempDataPtr handle) => handle.Handle; + public static bool operator ==(ImGuiTableTempDataPtr left, ImGuiTableTempDataPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImGuiTableTempDataPtr left, ImGuiTableTempDataPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImGuiTableTempDataPtr left, ImGuiTableTempData* right) => left.Handle == right; + public static bool operator !=(ImGuiTableTempDataPtr left, ImGuiTableTempData* right) => left.Handle != right; + public bool Equals(ImGuiTableTempDataPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImGuiTableTempDataPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImGuiTableTempDataPtr [0x{0}]", ((nuint)Handle).ToString("X")); + public ref int TableIndex => ref Unsafe.AsRef(&Handle->TableIndex); + public ref float LastTimeActive => ref Unsafe.AsRef(&Handle->LastTimeActive); + public ref Vector2 UserOuterSize => ref Unsafe.AsRef(&Handle->UserOuterSize); + public ref ImDrawListSplitter DrawSplitter => ref Unsafe.AsRef(&Handle->DrawSplitter); + public ref ImRect HostBackupWorkRect => ref Unsafe.AsRef(&Handle->HostBackupWorkRect); + public ref ImRect HostBackupParentWorkRect => ref Unsafe.AsRef(&Handle->HostBackupParentWorkRect); + public ref Vector2 HostBackupPrevLineSize => ref Unsafe.AsRef(&Handle->HostBackupPrevLineSize); + public ref Vector2 HostBackupCurrLineSize => ref Unsafe.AsRef(&Handle->HostBackupCurrLineSize); + public ref Vector2 HostBackupCursorMaxPos => ref Unsafe.AsRef(&Handle->HostBackupCursorMaxPos); + public ref ImVec1 HostBackupColumnsOffset => ref Unsafe.AsRef(&Handle->HostBackupColumnsOffset); + public ref float HostBackupItemWidth => ref Unsafe.AsRef(&Handle->HostBackupItemWidth); + public ref int HostBackupItemWidthStackSize => ref Unsafe.AsRef(&Handle->HostBackupItemWidthStackSize); + } +} +/* ImGuiTextBuffer.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiTextBuffer + { + public ImVector Buf; + public unsafe ImGuiTextBuffer(ImVector buf = default) + { + Buf = buf; + } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImGuiTextBufferPtr : IEquatable + { + public ImGuiTextBufferPtr(ImGuiTextBuffer* handle) { Handle = handle; } + public ImGuiTextBuffer* Handle; + public bool IsNull => Handle == null; + public static ImGuiTextBufferPtr Null => new ImGuiTextBufferPtr(null); + public ImGuiTextBuffer this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImGuiTextBufferPtr(ImGuiTextBuffer* handle) => new ImGuiTextBufferPtr(handle); + public static implicit operator ImGuiTextBuffer*(ImGuiTextBufferPtr handle) => handle.Handle; + public static bool operator ==(ImGuiTextBufferPtr left, ImGuiTextBufferPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImGuiTextBufferPtr left, ImGuiTextBufferPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImGuiTextBufferPtr left, ImGuiTextBuffer* right) => left.Handle == right; + public static bool operator !=(ImGuiTextBufferPtr left, ImGuiTextBuffer* right) => left.Handle != right; + public bool Equals(ImGuiTextBufferPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImGuiTextBufferPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImGuiTextBufferPtr [0x{0}]", ((nuint)Handle).ToString("X")); + public ref ImVector Buf => ref Unsafe.AsRef>(&Handle->Buf); + } +} +/* ImGuiTextFilter.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiTextFilter + { + public byte InputBuf_0; + public byte InputBuf_1; + public byte InputBuf_2; + public byte InputBuf_3; + public byte InputBuf_4; + public byte InputBuf_5; + public byte InputBuf_6; + public byte InputBuf_7; + public byte InputBuf_8; + public byte InputBuf_9; + public byte InputBuf_10; + public byte InputBuf_11; + public byte InputBuf_12; + public byte InputBuf_13; + public byte InputBuf_14; + public byte InputBuf_15; + public byte InputBuf_16; + public byte InputBuf_17; + public byte InputBuf_18; + public byte InputBuf_19; + public byte InputBuf_20; + public byte InputBuf_21; + public byte InputBuf_22; + public byte InputBuf_23; + public byte InputBuf_24; + public byte InputBuf_25; + public byte InputBuf_26; + public byte InputBuf_27; + public byte InputBuf_28; + public byte InputBuf_29; + public byte InputBuf_30; + public byte InputBuf_31; + public byte InputBuf_32; + public byte InputBuf_33; + public byte InputBuf_34; + public byte InputBuf_35; + public byte InputBuf_36; + public byte InputBuf_37; + public byte InputBuf_38; + public byte InputBuf_39; + public byte InputBuf_40; + public byte InputBuf_41; + public byte InputBuf_42; + public byte InputBuf_43; + public byte InputBuf_44; + public byte InputBuf_45; + public byte InputBuf_46; + public byte InputBuf_47; + public byte InputBuf_48; + public byte InputBuf_49; + public byte InputBuf_50; + public byte InputBuf_51; + public byte InputBuf_52; + public byte InputBuf_53; + public byte InputBuf_54; + public byte InputBuf_55; + public byte InputBuf_56; + public byte InputBuf_57; + public byte InputBuf_58; + public byte InputBuf_59; + public byte InputBuf_60; + public byte InputBuf_61; + public byte InputBuf_62; + public byte InputBuf_63; + public byte InputBuf_64; + public byte InputBuf_65; + public byte InputBuf_66; + public byte InputBuf_67; + public byte InputBuf_68; + public byte InputBuf_69; + public byte InputBuf_70; + public byte InputBuf_71; + public byte InputBuf_72; + public byte InputBuf_73; + public byte InputBuf_74; + public byte InputBuf_75; + public byte InputBuf_76; + public byte InputBuf_77; + public byte InputBuf_78; + public byte InputBuf_79; + public byte InputBuf_80; + public byte InputBuf_81; + public byte InputBuf_82; + public byte InputBuf_83; + public byte InputBuf_84; + public byte InputBuf_85; + public byte InputBuf_86; + public byte InputBuf_87; + public byte InputBuf_88; + public byte InputBuf_89; + public byte InputBuf_90; + public byte InputBuf_91; + public byte InputBuf_92; + public byte InputBuf_93; + public byte InputBuf_94; + public byte InputBuf_95; + public byte InputBuf_96; + public byte InputBuf_97; + public byte InputBuf_98; + public byte InputBuf_99; + public byte InputBuf_100; + public byte InputBuf_101; + public byte InputBuf_102; + public byte InputBuf_103; + public byte InputBuf_104; + public byte InputBuf_105; + public byte InputBuf_106; + public byte InputBuf_107; + public byte InputBuf_108; + public byte InputBuf_109; + public byte InputBuf_110; + public byte InputBuf_111; + public byte InputBuf_112; + public byte InputBuf_113; + public byte InputBuf_114; + public byte InputBuf_115; + public byte InputBuf_116; + public byte InputBuf_117; + public byte InputBuf_118; + public byte InputBuf_119; + public byte InputBuf_120; + public byte InputBuf_121; + public byte InputBuf_122; + public byte InputBuf_123; + public byte InputBuf_124; + public byte InputBuf_125; + public byte InputBuf_126; + public byte InputBuf_127; + public byte InputBuf_128; + public byte InputBuf_129; + public byte InputBuf_130; + public byte InputBuf_131; + public byte InputBuf_132; + public byte InputBuf_133; + public byte InputBuf_134; + public byte InputBuf_135; + public byte InputBuf_136; + public byte InputBuf_137; + public byte InputBuf_138; + public byte InputBuf_139; + public byte InputBuf_140; + public byte InputBuf_141; + public byte InputBuf_142; + public byte InputBuf_143; + public byte InputBuf_144; + public byte InputBuf_145; + public byte InputBuf_146; + public byte InputBuf_147; + public byte InputBuf_148; + public byte InputBuf_149; + public byte InputBuf_150; + public byte InputBuf_151; + public byte InputBuf_152; + public byte InputBuf_153; + public byte InputBuf_154; + public byte InputBuf_155; + public byte InputBuf_156; + public byte InputBuf_157; + public byte InputBuf_158; + public byte InputBuf_159; + public byte InputBuf_160; + public byte InputBuf_161; + public byte InputBuf_162; + public byte InputBuf_163; + public byte InputBuf_164; + public byte InputBuf_165; + public byte InputBuf_166; + public byte InputBuf_167; + public byte InputBuf_168; + public byte InputBuf_169; + public byte InputBuf_170; + public byte InputBuf_171; + public byte InputBuf_172; + public byte InputBuf_173; + public byte InputBuf_174; + public byte InputBuf_175; + public byte InputBuf_176; + public byte InputBuf_177; + public byte InputBuf_178; + public byte InputBuf_179; + public byte InputBuf_180; + public byte InputBuf_181; + public byte InputBuf_182; + public byte InputBuf_183; + public byte InputBuf_184; + public byte InputBuf_185; + public byte InputBuf_186; + public byte InputBuf_187; + public byte InputBuf_188; + public byte InputBuf_189; + public byte InputBuf_190; + public byte InputBuf_191; + public byte InputBuf_192; + public byte InputBuf_193; + public byte InputBuf_194; + public byte InputBuf_195; + public byte InputBuf_196; + public byte InputBuf_197; + public byte InputBuf_198; + public byte InputBuf_199; + public byte InputBuf_200; + public byte InputBuf_201; + public byte InputBuf_202; + public byte InputBuf_203; + public byte InputBuf_204; + public byte InputBuf_205; + public byte InputBuf_206; + public byte InputBuf_207; + public byte InputBuf_208; + public byte InputBuf_209; + public byte InputBuf_210; + public byte InputBuf_211; + public byte InputBuf_212; + public byte InputBuf_213; + public byte InputBuf_214; + public byte InputBuf_215; + public byte InputBuf_216; + public byte InputBuf_217; + public byte InputBuf_218; + public byte InputBuf_219; + public byte InputBuf_220; + public byte InputBuf_221; + public byte InputBuf_222; + public byte InputBuf_223; + public byte InputBuf_224; + public byte InputBuf_225; + public byte InputBuf_226; + public byte InputBuf_227; + public byte InputBuf_228; + public byte InputBuf_229; + public byte InputBuf_230; + public byte InputBuf_231; + public byte InputBuf_232; + public byte InputBuf_233; + public byte InputBuf_234; + public byte InputBuf_235; + public byte InputBuf_236; + public byte InputBuf_237; + public byte InputBuf_238; + public byte InputBuf_239; + public byte InputBuf_240; + public byte InputBuf_241; + public byte InputBuf_242; + public byte InputBuf_243; + public byte InputBuf_244; + public byte InputBuf_245; + public byte InputBuf_246; + public byte InputBuf_247; + public byte InputBuf_248; + public byte InputBuf_249; + public byte InputBuf_250; + public byte InputBuf_251; + public byte InputBuf_252; + public byte InputBuf_253; + public byte InputBuf_254; + public byte InputBuf_255; + public ImVector Filters; + public int CountGrep; + public unsafe ImGuiTextFilter(byte* inputBuf = default, ImVector filters = default, int countGrep = default) + { + if (inputBuf != default(byte*)) + { + InputBuf_0 = inputBuf[0]; + InputBuf_1 = inputBuf[1]; + InputBuf_2 = inputBuf[2]; + InputBuf_3 = inputBuf[3]; + InputBuf_4 = inputBuf[4]; + InputBuf_5 = inputBuf[5]; + InputBuf_6 = inputBuf[6]; + InputBuf_7 = inputBuf[7]; + InputBuf_8 = inputBuf[8]; + InputBuf_9 = inputBuf[9]; + InputBuf_10 = inputBuf[10]; + InputBuf_11 = inputBuf[11]; + InputBuf_12 = inputBuf[12]; + InputBuf_13 = inputBuf[13]; + InputBuf_14 = inputBuf[14]; + InputBuf_15 = inputBuf[15]; + InputBuf_16 = inputBuf[16]; + InputBuf_17 = inputBuf[17]; + InputBuf_18 = inputBuf[18]; + InputBuf_19 = inputBuf[19]; + InputBuf_20 = inputBuf[20]; + InputBuf_21 = inputBuf[21]; + InputBuf_22 = inputBuf[22]; + InputBuf_23 = inputBuf[23]; + InputBuf_24 = inputBuf[24]; + InputBuf_25 = inputBuf[25]; + InputBuf_26 = inputBuf[26]; + InputBuf_27 = inputBuf[27]; + InputBuf_28 = inputBuf[28]; + InputBuf_29 = inputBuf[29]; + InputBuf_30 = inputBuf[30]; + InputBuf_31 = inputBuf[31]; + InputBuf_32 = inputBuf[32]; + InputBuf_33 = inputBuf[33]; + InputBuf_34 = inputBuf[34]; + InputBuf_35 = inputBuf[35]; + InputBuf_36 = inputBuf[36]; + InputBuf_37 = inputBuf[37]; + InputBuf_38 = inputBuf[38]; + InputBuf_39 = inputBuf[39]; + InputBuf_40 = inputBuf[40]; + InputBuf_41 = inputBuf[41]; + InputBuf_42 = inputBuf[42]; + InputBuf_43 = inputBuf[43]; + InputBuf_44 = inputBuf[44]; + InputBuf_45 = inputBuf[45]; + InputBuf_46 = inputBuf[46]; + InputBuf_47 = inputBuf[47]; + InputBuf_48 = inputBuf[48]; + InputBuf_49 = inputBuf[49]; + InputBuf_50 = inputBuf[50]; + InputBuf_51 = inputBuf[51]; + InputBuf_52 = inputBuf[52]; + InputBuf_53 = inputBuf[53]; + InputBuf_54 = inputBuf[54]; + InputBuf_55 = inputBuf[55]; + InputBuf_56 = inputBuf[56]; + InputBuf_57 = inputBuf[57]; + InputBuf_58 = inputBuf[58]; + InputBuf_59 = inputBuf[59]; + InputBuf_60 = inputBuf[60]; + InputBuf_61 = inputBuf[61]; + InputBuf_62 = inputBuf[62]; + InputBuf_63 = inputBuf[63]; + InputBuf_64 = inputBuf[64]; + InputBuf_65 = inputBuf[65]; + InputBuf_66 = inputBuf[66]; + InputBuf_67 = inputBuf[67]; + InputBuf_68 = inputBuf[68]; + InputBuf_69 = inputBuf[69]; + InputBuf_70 = inputBuf[70]; + InputBuf_71 = inputBuf[71]; + InputBuf_72 = inputBuf[72]; + InputBuf_73 = inputBuf[73]; + InputBuf_74 = inputBuf[74]; + InputBuf_75 = inputBuf[75]; + InputBuf_76 = inputBuf[76]; + InputBuf_77 = inputBuf[77]; + InputBuf_78 = inputBuf[78]; + InputBuf_79 = inputBuf[79]; + InputBuf_80 = inputBuf[80]; + InputBuf_81 = inputBuf[81]; + InputBuf_82 = inputBuf[82]; + InputBuf_83 = inputBuf[83]; + InputBuf_84 = inputBuf[84]; + InputBuf_85 = inputBuf[85]; + InputBuf_86 = inputBuf[86]; + InputBuf_87 = inputBuf[87]; + InputBuf_88 = inputBuf[88]; + InputBuf_89 = inputBuf[89]; + InputBuf_90 = inputBuf[90]; + InputBuf_91 = inputBuf[91]; + InputBuf_92 = inputBuf[92]; + InputBuf_93 = inputBuf[93]; + InputBuf_94 = inputBuf[94]; + InputBuf_95 = inputBuf[95]; + InputBuf_96 = inputBuf[96]; + InputBuf_97 = inputBuf[97]; + InputBuf_98 = inputBuf[98]; + InputBuf_99 = inputBuf[99]; + InputBuf_100 = inputBuf[100]; + InputBuf_101 = inputBuf[101]; + InputBuf_102 = inputBuf[102]; + InputBuf_103 = inputBuf[103]; + InputBuf_104 = inputBuf[104]; + InputBuf_105 = inputBuf[105]; + InputBuf_106 = inputBuf[106]; + InputBuf_107 = inputBuf[107]; + InputBuf_108 = inputBuf[108]; + InputBuf_109 = inputBuf[109]; + InputBuf_110 = inputBuf[110]; + InputBuf_111 = inputBuf[111]; + InputBuf_112 = inputBuf[112]; + InputBuf_113 = inputBuf[113]; + InputBuf_114 = inputBuf[114]; + InputBuf_115 = inputBuf[115]; + InputBuf_116 = inputBuf[116]; + InputBuf_117 = inputBuf[117]; + InputBuf_118 = inputBuf[118]; + InputBuf_119 = inputBuf[119]; + InputBuf_120 = inputBuf[120]; + InputBuf_121 = inputBuf[121]; + InputBuf_122 = inputBuf[122]; + InputBuf_123 = inputBuf[123]; + InputBuf_124 = inputBuf[124]; + InputBuf_125 = inputBuf[125]; + InputBuf_126 = inputBuf[126]; + InputBuf_127 = inputBuf[127]; + InputBuf_128 = inputBuf[128]; + InputBuf_129 = inputBuf[129]; + InputBuf_130 = inputBuf[130]; + InputBuf_131 = inputBuf[131]; + InputBuf_132 = inputBuf[132]; + InputBuf_133 = inputBuf[133]; + InputBuf_134 = inputBuf[134]; + InputBuf_135 = inputBuf[135]; + InputBuf_136 = inputBuf[136]; + InputBuf_137 = inputBuf[137]; + InputBuf_138 = inputBuf[138]; + InputBuf_139 = inputBuf[139]; + InputBuf_140 = inputBuf[140]; + InputBuf_141 = inputBuf[141]; + InputBuf_142 = inputBuf[142]; + InputBuf_143 = inputBuf[143]; + InputBuf_144 = inputBuf[144]; + InputBuf_145 = inputBuf[145]; + InputBuf_146 = inputBuf[146]; + InputBuf_147 = inputBuf[147]; + InputBuf_148 = inputBuf[148]; + InputBuf_149 = inputBuf[149]; + InputBuf_150 = inputBuf[150]; + InputBuf_151 = inputBuf[151]; + InputBuf_152 = inputBuf[152]; + InputBuf_153 = inputBuf[153]; + InputBuf_154 = inputBuf[154]; + InputBuf_155 = inputBuf[155]; + InputBuf_156 = inputBuf[156]; + InputBuf_157 = inputBuf[157]; + InputBuf_158 = inputBuf[158]; + InputBuf_159 = inputBuf[159]; + InputBuf_160 = inputBuf[160]; + InputBuf_161 = inputBuf[161]; + InputBuf_162 = inputBuf[162]; + InputBuf_163 = inputBuf[163]; + InputBuf_164 = inputBuf[164]; + InputBuf_165 = inputBuf[165]; + InputBuf_166 = inputBuf[166]; + InputBuf_167 = inputBuf[167]; + InputBuf_168 = inputBuf[168]; + InputBuf_169 = inputBuf[169]; + InputBuf_170 = inputBuf[170]; + InputBuf_171 = inputBuf[171]; + InputBuf_172 = inputBuf[172]; + InputBuf_173 = inputBuf[173]; + InputBuf_174 = inputBuf[174]; + InputBuf_175 = inputBuf[175]; + InputBuf_176 = inputBuf[176]; + InputBuf_177 = inputBuf[177]; + InputBuf_178 = inputBuf[178]; + InputBuf_179 = inputBuf[179]; + InputBuf_180 = inputBuf[180]; + InputBuf_181 = inputBuf[181]; + InputBuf_182 = inputBuf[182]; + InputBuf_183 = inputBuf[183]; + InputBuf_184 = inputBuf[184]; + InputBuf_185 = inputBuf[185]; + InputBuf_186 = inputBuf[186]; + InputBuf_187 = inputBuf[187]; + InputBuf_188 = inputBuf[188]; + InputBuf_189 = inputBuf[189]; + InputBuf_190 = inputBuf[190]; + InputBuf_191 = inputBuf[191]; + InputBuf_192 = inputBuf[192]; + InputBuf_193 = inputBuf[193]; + InputBuf_194 = inputBuf[194]; + InputBuf_195 = inputBuf[195]; + InputBuf_196 = inputBuf[196]; + InputBuf_197 = inputBuf[197]; + InputBuf_198 = inputBuf[198]; + InputBuf_199 = inputBuf[199]; + InputBuf_200 = inputBuf[200]; + InputBuf_201 = inputBuf[201]; + InputBuf_202 = inputBuf[202]; + InputBuf_203 = inputBuf[203]; + InputBuf_204 = inputBuf[204]; + InputBuf_205 = inputBuf[205]; + InputBuf_206 = inputBuf[206]; + InputBuf_207 = inputBuf[207]; + InputBuf_208 = inputBuf[208]; + InputBuf_209 = inputBuf[209]; + InputBuf_210 = inputBuf[210]; + InputBuf_211 = inputBuf[211]; + InputBuf_212 = inputBuf[212]; + InputBuf_213 = inputBuf[213]; + InputBuf_214 = inputBuf[214]; + InputBuf_215 = inputBuf[215]; + InputBuf_216 = inputBuf[216]; + InputBuf_217 = inputBuf[217]; + InputBuf_218 = inputBuf[218]; + InputBuf_219 = inputBuf[219]; + InputBuf_220 = inputBuf[220]; + InputBuf_221 = inputBuf[221]; + InputBuf_222 = inputBuf[222]; + InputBuf_223 = inputBuf[223]; + InputBuf_224 = inputBuf[224]; + InputBuf_225 = inputBuf[225]; + InputBuf_226 = inputBuf[226]; + InputBuf_227 = inputBuf[227]; + InputBuf_228 = inputBuf[228]; + InputBuf_229 = inputBuf[229]; + InputBuf_230 = inputBuf[230]; + InputBuf_231 = inputBuf[231]; + InputBuf_232 = inputBuf[232]; + InputBuf_233 = inputBuf[233]; + InputBuf_234 = inputBuf[234]; + InputBuf_235 = inputBuf[235]; + InputBuf_236 = inputBuf[236]; + InputBuf_237 = inputBuf[237]; + InputBuf_238 = inputBuf[238]; + InputBuf_239 = inputBuf[239]; + InputBuf_240 = inputBuf[240]; + InputBuf_241 = inputBuf[241]; + InputBuf_242 = inputBuf[242]; + InputBuf_243 = inputBuf[243]; + InputBuf_244 = inputBuf[244]; + InputBuf_245 = inputBuf[245]; + InputBuf_246 = inputBuf[246]; + InputBuf_247 = inputBuf[247]; + InputBuf_248 = inputBuf[248]; + InputBuf_249 = inputBuf[249]; + InputBuf_250 = inputBuf[250]; + InputBuf_251 = inputBuf[251]; + InputBuf_252 = inputBuf[252]; + InputBuf_253 = inputBuf[253]; + InputBuf_254 = inputBuf[254]; + InputBuf_255 = inputBuf[255]; + } + Filters = filters; + CountGrep = countGrep; + } + public unsafe ImGuiTextFilter(Span inputBuf = default, ImVector filters = default, int countGrep = default) + { + if (inputBuf != default(Span)) + { + InputBuf_0 = inputBuf[0]; + InputBuf_1 = inputBuf[1]; + InputBuf_2 = inputBuf[2]; + InputBuf_3 = inputBuf[3]; + InputBuf_4 = inputBuf[4]; + InputBuf_5 = inputBuf[5]; + InputBuf_6 = inputBuf[6]; + InputBuf_7 = inputBuf[7]; + InputBuf_8 = inputBuf[8]; + InputBuf_9 = inputBuf[9]; + InputBuf_10 = inputBuf[10]; + InputBuf_11 = inputBuf[11]; + InputBuf_12 = inputBuf[12]; + InputBuf_13 = inputBuf[13]; + InputBuf_14 = inputBuf[14]; + InputBuf_15 = inputBuf[15]; + InputBuf_16 = inputBuf[16]; + InputBuf_17 = inputBuf[17]; + InputBuf_18 = inputBuf[18]; + InputBuf_19 = inputBuf[19]; + InputBuf_20 = inputBuf[20]; + InputBuf_21 = inputBuf[21]; + InputBuf_22 = inputBuf[22]; + InputBuf_23 = inputBuf[23]; + InputBuf_24 = inputBuf[24]; + InputBuf_25 = inputBuf[25]; + InputBuf_26 = inputBuf[26]; + InputBuf_27 = inputBuf[27]; + InputBuf_28 = inputBuf[28]; + InputBuf_29 = inputBuf[29]; + InputBuf_30 = inputBuf[30]; + InputBuf_31 = inputBuf[31]; + InputBuf_32 = inputBuf[32]; + InputBuf_33 = inputBuf[33]; + InputBuf_34 = inputBuf[34]; + InputBuf_35 = inputBuf[35]; + InputBuf_36 = inputBuf[36]; + InputBuf_37 = inputBuf[37]; + InputBuf_38 = inputBuf[38]; + InputBuf_39 = inputBuf[39]; + InputBuf_40 = inputBuf[40]; + InputBuf_41 = inputBuf[41]; + InputBuf_42 = inputBuf[42]; + InputBuf_43 = inputBuf[43]; + InputBuf_44 = inputBuf[44]; + InputBuf_45 = inputBuf[45]; + InputBuf_46 = inputBuf[46]; + InputBuf_47 = inputBuf[47]; + InputBuf_48 = inputBuf[48]; + InputBuf_49 = inputBuf[49]; + InputBuf_50 = inputBuf[50]; + InputBuf_51 = inputBuf[51]; + InputBuf_52 = inputBuf[52]; + InputBuf_53 = inputBuf[53]; + InputBuf_54 = inputBuf[54]; + InputBuf_55 = inputBuf[55]; + InputBuf_56 = inputBuf[56]; + InputBuf_57 = inputBuf[57]; + InputBuf_58 = inputBuf[58]; + InputBuf_59 = inputBuf[59]; + InputBuf_60 = inputBuf[60]; + InputBuf_61 = inputBuf[61]; + InputBuf_62 = inputBuf[62]; + InputBuf_63 = inputBuf[63]; + InputBuf_64 = inputBuf[64]; + InputBuf_65 = inputBuf[65]; + InputBuf_66 = inputBuf[66]; + InputBuf_67 = inputBuf[67]; + InputBuf_68 = inputBuf[68]; + InputBuf_69 = inputBuf[69]; + InputBuf_70 = inputBuf[70]; + InputBuf_71 = inputBuf[71]; + InputBuf_72 = inputBuf[72]; + InputBuf_73 = inputBuf[73]; + InputBuf_74 = inputBuf[74]; + InputBuf_75 = inputBuf[75]; + InputBuf_76 = inputBuf[76]; + InputBuf_77 = inputBuf[77]; + InputBuf_78 = inputBuf[78]; + InputBuf_79 = inputBuf[79]; + InputBuf_80 = inputBuf[80]; + InputBuf_81 = inputBuf[81]; + InputBuf_82 = inputBuf[82]; + InputBuf_83 = inputBuf[83]; + InputBuf_84 = inputBuf[84]; + InputBuf_85 = inputBuf[85]; + InputBuf_86 = inputBuf[86]; + InputBuf_87 = inputBuf[87]; + InputBuf_88 = inputBuf[88]; + InputBuf_89 = inputBuf[89]; + InputBuf_90 = inputBuf[90]; + InputBuf_91 = inputBuf[91]; + InputBuf_92 = inputBuf[92]; + InputBuf_93 = inputBuf[93]; + InputBuf_94 = inputBuf[94]; + InputBuf_95 = inputBuf[95]; + InputBuf_96 = inputBuf[96]; + InputBuf_97 = inputBuf[97]; + InputBuf_98 = inputBuf[98]; + InputBuf_99 = inputBuf[99]; + InputBuf_100 = inputBuf[100]; + InputBuf_101 = inputBuf[101]; + InputBuf_102 = inputBuf[102]; + InputBuf_103 = inputBuf[103]; + InputBuf_104 = inputBuf[104]; + InputBuf_105 = inputBuf[105]; + InputBuf_106 = inputBuf[106]; + InputBuf_107 = inputBuf[107]; + InputBuf_108 = inputBuf[108]; + InputBuf_109 = inputBuf[109]; + InputBuf_110 = inputBuf[110]; + InputBuf_111 = inputBuf[111]; + InputBuf_112 = inputBuf[112]; + InputBuf_113 = inputBuf[113]; + InputBuf_114 = inputBuf[114]; + InputBuf_115 = inputBuf[115]; + InputBuf_116 = inputBuf[116]; + InputBuf_117 = inputBuf[117]; + InputBuf_118 = inputBuf[118]; + InputBuf_119 = inputBuf[119]; + InputBuf_120 = inputBuf[120]; + InputBuf_121 = inputBuf[121]; + InputBuf_122 = inputBuf[122]; + InputBuf_123 = inputBuf[123]; + InputBuf_124 = inputBuf[124]; + InputBuf_125 = inputBuf[125]; + InputBuf_126 = inputBuf[126]; + InputBuf_127 = inputBuf[127]; + InputBuf_128 = inputBuf[128]; + InputBuf_129 = inputBuf[129]; + InputBuf_130 = inputBuf[130]; + InputBuf_131 = inputBuf[131]; + InputBuf_132 = inputBuf[132]; + InputBuf_133 = inputBuf[133]; + InputBuf_134 = inputBuf[134]; + InputBuf_135 = inputBuf[135]; + InputBuf_136 = inputBuf[136]; + InputBuf_137 = inputBuf[137]; + InputBuf_138 = inputBuf[138]; + InputBuf_139 = inputBuf[139]; + InputBuf_140 = inputBuf[140]; + InputBuf_141 = inputBuf[141]; + InputBuf_142 = inputBuf[142]; + InputBuf_143 = inputBuf[143]; + InputBuf_144 = inputBuf[144]; + InputBuf_145 = inputBuf[145]; + InputBuf_146 = inputBuf[146]; + InputBuf_147 = inputBuf[147]; + InputBuf_148 = inputBuf[148]; + InputBuf_149 = inputBuf[149]; + InputBuf_150 = inputBuf[150]; + InputBuf_151 = inputBuf[151]; + InputBuf_152 = inputBuf[152]; + InputBuf_153 = inputBuf[153]; + InputBuf_154 = inputBuf[154]; + InputBuf_155 = inputBuf[155]; + InputBuf_156 = inputBuf[156]; + InputBuf_157 = inputBuf[157]; + InputBuf_158 = inputBuf[158]; + InputBuf_159 = inputBuf[159]; + InputBuf_160 = inputBuf[160]; + InputBuf_161 = inputBuf[161]; + InputBuf_162 = inputBuf[162]; + InputBuf_163 = inputBuf[163]; + InputBuf_164 = inputBuf[164]; + InputBuf_165 = inputBuf[165]; + InputBuf_166 = inputBuf[166]; + InputBuf_167 = inputBuf[167]; + InputBuf_168 = inputBuf[168]; + InputBuf_169 = inputBuf[169]; + InputBuf_170 = inputBuf[170]; + InputBuf_171 = inputBuf[171]; + InputBuf_172 = inputBuf[172]; + InputBuf_173 = inputBuf[173]; + InputBuf_174 = inputBuf[174]; + InputBuf_175 = inputBuf[175]; + InputBuf_176 = inputBuf[176]; + InputBuf_177 = inputBuf[177]; + InputBuf_178 = inputBuf[178]; + InputBuf_179 = inputBuf[179]; + InputBuf_180 = inputBuf[180]; + InputBuf_181 = inputBuf[181]; + InputBuf_182 = inputBuf[182]; + InputBuf_183 = inputBuf[183]; + InputBuf_184 = inputBuf[184]; + InputBuf_185 = inputBuf[185]; + InputBuf_186 = inputBuf[186]; + InputBuf_187 = inputBuf[187]; + InputBuf_188 = inputBuf[188]; + InputBuf_189 = inputBuf[189]; + InputBuf_190 = inputBuf[190]; + InputBuf_191 = inputBuf[191]; + InputBuf_192 = inputBuf[192]; + InputBuf_193 = inputBuf[193]; + InputBuf_194 = inputBuf[194]; + InputBuf_195 = inputBuf[195]; + InputBuf_196 = inputBuf[196]; + InputBuf_197 = inputBuf[197]; + InputBuf_198 = inputBuf[198]; + InputBuf_199 = inputBuf[199]; + InputBuf_200 = inputBuf[200]; + InputBuf_201 = inputBuf[201]; + InputBuf_202 = inputBuf[202]; + InputBuf_203 = inputBuf[203]; + InputBuf_204 = inputBuf[204]; + InputBuf_205 = inputBuf[205]; + InputBuf_206 = inputBuf[206]; + InputBuf_207 = inputBuf[207]; + InputBuf_208 = inputBuf[208]; + InputBuf_209 = inputBuf[209]; + InputBuf_210 = inputBuf[210]; + InputBuf_211 = inputBuf[211]; + InputBuf_212 = inputBuf[212]; + InputBuf_213 = inputBuf[213]; + InputBuf_214 = inputBuf[214]; + InputBuf_215 = inputBuf[215]; + InputBuf_216 = inputBuf[216]; + InputBuf_217 = inputBuf[217]; + InputBuf_218 = inputBuf[218]; + InputBuf_219 = inputBuf[219]; + InputBuf_220 = inputBuf[220]; + InputBuf_221 = inputBuf[221]; + InputBuf_222 = inputBuf[222]; + InputBuf_223 = inputBuf[223]; + InputBuf_224 = inputBuf[224]; + InputBuf_225 = inputBuf[225]; + InputBuf_226 = inputBuf[226]; + InputBuf_227 = inputBuf[227]; + InputBuf_228 = inputBuf[228]; + InputBuf_229 = inputBuf[229]; + InputBuf_230 = inputBuf[230]; + InputBuf_231 = inputBuf[231]; + InputBuf_232 = inputBuf[232]; + InputBuf_233 = inputBuf[233]; + InputBuf_234 = inputBuf[234]; + InputBuf_235 = inputBuf[235]; + InputBuf_236 = inputBuf[236]; + InputBuf_237 = inputBuf[237]; + InputBuf_238 = inputBuf[238]; + InputBuf_239 = inputBuf[239]; + InputBuf_240 = inputBuf[240]; + InputBuf_241 = inputBuf[241]; + InputBuf_242 = inputBuf[242]; + InputBuf_243 = inputBuf[243]; + InputBuf_244 = inputBuf[244]; + InputBuf_245 = inputBuf[245]; + InputBuf_246 = inputBuf[246]; + InputBuf_247 = inputBuf[247]; + InputBuf_248 = inputBuf[248]; + InputBuf_249 = inputBuf[249]; + InputBuf_250 = inputBuf[250]; + InputBuf_251 = inputBuf[251]; + InputBuf_252 = inputBuf[252]; + InputBuf_253 = inputBuf[253]; + InputBuf_254 = inputBuf[254]; + InputBuf_255 = inputBuf[255]; + } + Filters = filters; + CountGrep = countGrep; + } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImGuiTextFilterPtr : IEquatable + { + public ImGuiTextFilterPtr(ImGuiTextFilter* handle) { Handle = handle; } + public ImGuiTextFilter* Handle; + public bool IsNull => Handle == null; + public static ImGuiTextFilterPtr Null => new ImGuiTextFilterPtr(null); + public ImGuiTextFilter this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImGuiTextFilterPtr(ImGuiTextFilter* handle) => new ImGuiTextFilterPtr(handle); + public static implicit operator ImGuiTextFilter*(ImGuiTextFilterPtr handle) => handle.Handle; + public static bool operator ==(ImGuiTextFilterPtr left, ImGuiTextFilterPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImGuiTextFilterPtr left, ImGuiTextFilterPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImGuiTextFilterPtr left, ImGuiTextFilter* right) => left.Handle == right; + public static bool operator !=(ImGuiTextFilterPtr left, ImGuiTextFilter* right) => left.Handle != right; + public bool Equals(ImGuiTextFilterPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImGuiTextFilterPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImGuiTextFilterPtr [0x{0}]", ((nuint)Handle).ToString("X")); + public unsafe Span InputBuf + { + get + { + return new Span(&Handle->InputBuf_0, 256); + } + } + public ref ImVector Filters => ref Unsafe.AsRef>(&Handle->Filters); + public ref int CountGrep => ref Unsafe.AsRef(&Handle->CountGrep); + } +} +/* ImGuiTextRange.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiTextRange + { + public unsafe byte* B; + public unsafe byte* E; + public unsafe ImGuiTextRange(byte* b = default, byte* e = default) + { + B = b; + E = e; + } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImGuiTextRangePtr : IEquatable + { + public ImGuiTextRangePtr(ImGuiTextRange* handle) { Handle = handle; } + public ImGuiTextRange* Handle; + public bool IsNull => Handle == null; + public static ImGuiTextRangePtr Null => new ImGuiTextRangePtr(null); + public ImGuiTextRange this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImGuiTextRangePtr(ImGuiTextRange* handle) => new ImGuiTextRangePtr(handle); + public static implicit operator ImGuiTextRange*(ImGuiTextRangePtr handle) => handle.Handle; + public static bool operator ==(ImGuiTextRangePtr left, ImGuiTextRangePtr right) => left.Handle == right.Handle; + public static bool operator !=(ImGuiTextRangePtr left, ImGuiTextRangePtr right) => left.Handle != right.Handle; + public static bool operator ==(ImGuiTextRangePtr left, ImGuiTextRange* right) => left.Handle == right; + public static bool operator !=(ImGuiTextRangePtr left, ImGuiTextRange* right) => left.Handle != right; + public bool Equals(ImGuiTextRangePtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImGuiTextRangePtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImGuiTextRangePtr [0x{0}]", ((nuint)Handle).ToString("X")); + public byte* B { get => Handle->B; set => Handle->B = value; } + public byte* E { get => Handle->E; set => Handle->E = value; } + } +} +/* ImGuiViewport.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiViewport + { + public uint ID; + public ImGuiViewportFlags Flags; + public Vector2 Pos; + public Vector2 Size; + public Vector2 WorkPos; + public Vector2 WorkSize; + public float DpiScale; + public uint ParentViewportId; + public unsafe ImDrawData* DrawData; + public unsafe void* RendererUserData; + public unsafe void* PlatformUserData; + public unsafe void* PlatformHandle; + public unsafe void* PlatformHandleRaw; + public byte PlatformRequestMove; + public byte PlatformRequestResize; + public byte PlatformRequestClose; + public unsafe ImGuiViewport(uint id = default, ImGuiViewportFlags flags = default, Vector2 pos = default, Vector2 size = default, Vector2 workPos = default, Vector2 workSize = default, float dpiScale = default, uint parentViewportId = default, ImDrawDataPtr drawData = default, void* rendererUserData = default, void* platformUserData = default, void* platformHandle = default, void* platformHandleRaw = default, bool platformRequestMove = default, bool platformRequestResize = default, bool platformRequestClose = default) + { + ID = id; + Flags = flags; + Pos = pos; + Size = size; + WorkPos = workPos; + WorkSize = workSize; + DpiScale = dpiScale; + ParentViewportId = parentViewportId; + DrawData = drawData; + RendererUserData = rendererUserData; + PlatformUserData = platformUserData; + PlatformHandle = platformHandle; + PlatformHandleRaw = platformHandleRaw; + PlatformRequestMove = platformRequestMove ? (byte)1 : (byte)0; + PlatformRequestResize = platformRequestResize ? (byte)1 : (byte)0; + PlatformRequestClose = platformRequestClose ? (byte)1 : (byte)0; + } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImGuiViewportPtr : IEquatable + { + public ImGuiViewportPtr(ImGuiViewport* handle) { Handle = handle; } + public ImGuiViewport* Handle; + public bool IsNull => Handle == null; + public static ImGuiViewportPtr Null => new ImGuiViewportPtr(null); + public ImGuiViewport this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImGuiViewportPtr(ImGuiViewport* handle) => new ImGuiViewportPtr(handle); + public static implicit operator ImGuiViewport*(ImGuiViewportPtr handle) => handle.Handle; + public static bool operator ==(ImGuiViewportPtr left, ImGuiViewportPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImGuiViewportPtr left, ImGuiViewportPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImGuiViewportPtr left, ImGuiViewport* right) => left.Handle == right; + public static bool operator !=(ImGuiViewportPtr left, ImGuiViewport* right) => left.Handle != right; + public bool Equals(ImGuiViewportPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImGuiViewportPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImGuiViewportPtr [0x{0}]", ((nuint)Handle).ToString("X")); + public ref uint ID => ref Unsafe.AsRef(&Handle->ID); + public ref ImGuiViewportFlags Flags => ref Unsafe.AsRef(&Handle->Flags); + public ref Vector2 Pos => ref Unsafe.AsRef(&Handle->Pos); + public ref Vector2 Size => ref Unsafe.AsRef(&Handle->Size); + public ref Vector2 WorkPos => ref Unsafe.AsRef(&Handle->WorkPos); + public ref Vector2 WorkSize => ref Unsafe.AsRef(&Handle->WorkSize); + public ref float DpiScale => ref Unsafe.AsRef(&Handle->DpiScale); + public ref uint ParentViewportId => ref Unsafe.AsRef(&Handle->ParentViewportId); + public ref ImDrawDataPtr DrawData => ref Unsafe.AsRef(&Handle->DrawData); + public void* RendererUserData { get => Handle->RendererUserData; set => Handle->RendererUserData = value; } + public void* PlatformUserData { get => Handle->PlatformUserData; set => Handle->PlatformUserData = value; } + public void* PlatformHandle { get => Handle->PlatformHandle; set => Handle->PlatformHandle = value; } + public void* PlatformHandleRaw { get => Handle->PlatformHandleRaw; set => Handle->PlatformHandleRaw = value; } + public ref bool PlatformRequestMove => ref Unsafe.AsRef(&Handle->PlatformRequestMove); + public ref bool PlatformRequestResize => ref Unsafe.AsRef(&Handle->PlatformRequestResize); + public ref bool PlatformRequestClose => ref Unsafe.AsRef(&Handle->PlatformRequestClose); + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImGuiViewportPtrPtr : IEquatable + { + public ImGuiViewportPtrPtr(ImGuiViewport** handle) { Handle = handle; } + public ImGuiViewport** Handle; + public bool IsNull => Handle == null; + public static ImGuiViewportPtrPtr Null => new ImGuiViewportPtrPtr(null); + public ImGuiViewport* this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImGuiViewportPtrPtr(ImGuiViewport** handle) => new ImGuiViewportPtrPtr(handle); + public static implicit operator ImGuiViewport**(ImGuiViewportPtrPtr handle) => handle.Handle; + public static bool operator ==(ImGuiViewportPtrPtr left, ImGuiViewportPtrPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImGuiViewportPtrPtr left, ImGuiViewportPtrPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImGuiViewportPtrPtr left, ImGuiViewport** right) => left.Handle == right; + public static bool operator !=(ImGuiViewportPtrPtr left, ImGuiViewport** right) => left.Handle != right; + public bool Equals(ImGuiViewportPtrPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImGuiViewportPtrPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImGuiViewportPtrPtr [0x{0}]", ((nuint)Handle).ToString("X")); + + } +} +/* ImGuiViewportP.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiViewportP + { + public ImGuiViewport ImGuiViewport; + public int Idx; + public int LastFrameActive; + public int LastFrontMostStampCount; + public uint LastNameHash; + public Vector2 LastPos; + public float Alpha; + public float LastAlpha; + public short PlatformMonitor; + public byte PlatformWindowCreated; + public unsafe ImGuiWindow* Window; + public int DrawListsLastFrame_0; + public int DrawListsLastFrame_1; + public unsafe ImDrawList* DrawLists_0; + public unsafe ImDrawList* DrawLists_1; + public ImDrawData DrawDataP; + public ImDrawDataBuilder DrawDataBuilder; + public Vector2 LastPlatformPos; + public Vector2 LastPlatformSize; + public Vector2 LastRendererSize; + public Vector2 WorkOffsetMin; + public Vector2 WorkOffsetMax; + public Vector2 BuildWorkOffsetMin; + public Vector2 BuildWorkOffsetMax; + public unsafe ImGuiViewportP(ImGuiViewport imGuiViewport = default, int idx = default, int lastFrameActive = default, int lastFrontMostStampCount = default, uint lastNameHash = default, Vector2 lastPos = default, float alpha = default, float lastAlpha = default, short platformMonitor = default, bool platformWindowCreated = default, ImGuiWindowPtr window = default, int* drawListsLastFrame = default, ImDrawListPtrPtr drawLists = default, ImDrawData drawDataP = default, ImDrawDataBuilder drawDataBuilder = default, Vector2 lastPlatformPos = default, Vector2 lastPlatformSize = default, Vector2 lastRendererSize = default, Vector2 workOffsetMin = default, Vector2 workOffsetMax = default, Vector2 buildWorkOffsetMin = default, Vector2 buildWorkOffsetMax = default) + { + ImGuiViewport = imGuiViewport; + Idx = idx; + LastFrameActive = lastFrameActive; + LastFrontMostStampCount = lastFrontMostStampCount; + LastNameHash = lastNameHash; + LastPos = lastPos; + Alpha = alpha; + LastAlpha = lastAlpha; + PlatformMonitor = platformMonitor; + PlatformWindowCreated = platformWindowCreated ? (byte)1 : (byte)0; + Window = window; + if (drawListsLastFrame != default(int*)) + { + DrawListsLastFrame_0 = drawListsLastFrame[0]; + DrawListsLastFrame_1 = drawListsLastFrame[1]; + } + if (drawLists != default(ImDrawListPtrPtr)) + { + DrawLists_0 = drawLists[0]; + DrawLists_1 = drawLists[1]; + } + DrawDataP = drawDataP; + DrawDataBuilder = drawDataBuilder; + LastPlatformPos = lastPlatformPos; + LastPlatformSize = lastPlatformSize; + LastRendererSize = lastRendererSize; + WorkOffsetMin = workOffsetMin; + WorkOffsetMax = workOffsetMax; + BuildWorkOffsetMin = buildWorkOffsetMin; + BuildWorkOffsetMax = buildWorkOffsetMax; + } + public unsafe ImGuiViewportP(ImGuiViewport imGuiViewport = default, int idx = default, int lastFrameActive = default, int lastFrontMostStampCount = default, uint lastNameHash = default, Vector2 lastPos = default, float alpha = default, float lastAlpha = default, short platformMonitor = default, bool platformWindowCreated = default, ImGuiWindowPtr window = default, Span drawListsLastFrame = default, Span> drawLists = default, ImDrawData drawDataP = default, ImDrawDataBuilder drawDataBuilder = default, Vector2 lastPlatformPos = default, Vector2 lastPlatformSize = default, Vector2 lastRendererSize = default, Vector2 workOffsetMin = default, Vector2 workOffsetMax = default, Vector2 buildWorkOffsetMin = default, Vector2 buildWorkOffsetMax = default) + { + ImGuiViewport = imGuiViewport; + Idx = idx; + LastFrameActive = lastFrameActive; + LastFrontMostStampCount = lastFrontMostStampCount; + LastNameHash = lastNameHash; + LastPos = lastPos; + Alpha = alpha; + LastAlpha = lastAlpha; + PlatformMonitor = platformMonitor; + PlatformWindowCreated = platformWindowCreated ? (byte)1 : (byte)0; + Window = window; + if (drawListsLastFrame != default(Span)) + { + DrawListsLastFrame_0 = drawListsLastFrame[0]; + DrawListsLastFrame_1 = drawListsLastFrame[1]; + } + if (drawLists != default(Span>)) + { + DrawLists_0 = drawLists[0]; + DrawLists_1 = drawLists[1]; + } + DrawDataP = drawDataP; + DrawDataBuilder = drawDataBuilder; + LastPlatformPos = lastPlatformPos; + LastPlatformSize = lastPlatformSize; + LastRendererSize = lastRendererSize; + WorkOffsetMin = workOffsetMin; + WorkOffsetMax = workOffsetMax; + BuildWorkOffsetMin = buildWorkOffsetMin; + BuildWorkOffsetMax = buildWorkOffsetMax; + } + public unsafe Span> DrawLists + { + get + { + fixed (ImDrawList** p = &this.DrawLists_0) + { + return new Span>(p, 2); + } + } + } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImGuiViewportPPtr : IEquatable + { + public ImGuiViewportPPtr(ImGuiViewportP* handle) { Handle = handle; } + public ImGuiViewportP* Handle; + public bool IsNull => Handle == null; + public static ImGuiViewportPPtr Null => new ImGuiViewportPPtr(null); + public ImGuiViewportP this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImGuiViewportPPtr(ImGuiViewportP* handle) => new ImGuiViewportPPtr(handle); + public static implicit operator ImGuiViewportP*(ImGuiViewportPPtr handle) => handle.Handle; + public static bool operator ==(ImGuiViewportPPtr left, ImGuiViewportPPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImGuiViewportPPtr left, ImGuiViewportPPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImGuiViewportPPtr left, ImGuiViewportP* right) => left.Handle == right; + public static bool operator !=(ImGuiViewportPPtr left, ImGuiViewportP* right) => left.Handle != right; + public bool Equals(ImGuiViewportPPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImGuiViewportPPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImGuiViewportPPtr [0x{0}]", ((nuint)Handle).ToString("X")); + public ref ImGuiViewport ImGuiViewport => ref Unsafe.AsRef(&Handle->ImGuiViewport); + public ref int Idx => ref Unsafe.AsRef(&Handle->Idx); + public ref int LastFrameActive => ref Unsafe.AsRef(&Handle->LastFrameActive); + public ref int LastFrontMostStampCount => ref Unsafe.AsRef(&Handle->LastFrontMostStampCount); + public ref uint LastNameHash => ref Unsafe.AsRef(&Handle->LastNameHash); + public ref Vector2 LastPos => ref Unsafe.AsRef(&Handle->LastPos); + public ref float Alpha => ref Unsafe.AsRef(&Handle->Alpha); + public ref float LastAlpha => ref Unsafe.AsRef(&Handle->LastAlpha); + public ref short PlatformMonitor => ref Unsafe.AsRef(&Handle->PlatformMonitor); + public ref bool PlatformWindowCreated => ref Unsafe.AsRef(&Handle->PlatformWindowCreated); + public ref ImGuiWindowPtr Window => ref Unsafe.AsRef(&Handle->Window); + public unsafe Span DrawListsLastFrame + { + get + { + return new Span(&Handle->DrawListsLastFrame_0, 2); + } + } + public ref ImDrawData DrawDataP => ref Unsafe.AsRef(&Handle->DrawDataP); + public ref ImDrawDataBuilder DrawDataBuilder => ref Unsafe.AsRef(&Handle->DrawDataBuilder); + public ref Vector2 LastPlatformPos => ref Unsafe.AsRef(&Handle->LastPlatformPos); + public ref Vector2 LastPlatformSize => ref Unsafe.AsRef(&Handle->LastPlatformSize); + public ref Vector2 LastRendererSize => ref Unsafe.AsRef(&Handle->LastRendererSize); + public ref Vector2 WorkOffsetMin => ref Unsafe.AsRef(&Handle->WorkOffsetMin); + public ref Vector2 WorkOffsetMax => ref Unsafe.AsRef(&Handle->WorkOffsetMax); + public ref Vector2 BuildWorkOffsetMin => ref Unsafe.AsRef(&Handle->BuildWorkOffsetMin); + public ref Vector2 BuildWorkOffsetMax => ref Unsafe.AsRef(&Handle->BuildWorkOffsetMax); + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImGuiViewportPPtrPtr : IEquatable + { + public ImGuiViewportPPtrPtr(ImGuiViewportP** handle) { Handle = handle; } + public ImGuiViewportP** Handle; + public bool IsNull => Handle == null; + public static ImGuiViewportPPtrPtr Null => new ImGuiViewportPPtrPtr(null); + public ImGuiViewportP* this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImGuiViewportPPtrPtr(ImGuiViewportP** handle) => new ImGuiViewportPPtrPtr(handle); + public static implicit operator ImGuiViewportP**(ImGuiViewportPPtrPtr handle) => handle.Handle; + public static bool operator ==(ImGuiViewportPPtrPtr left, ImGuiViewportPPtrPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImGuiViewportPPtrPtr left, ImGuiViewportPPtrPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImGuiViewportPPtrPtr left, ImGuiViewportP** right) => left.Handle == right; + public static bool operator !=(ImGuiViewportPPtrPtr left, ImGuiViewportP** right) => left.Handle != right; + public bool Equals(ImGuiViewportPPtrPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImGuiViewportPPtrPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImGuiViewportPPtrPtr [0x{0}]", ((nuint)Handle).ToString("X")); + + } +} +/* ImGuiWindow.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiWindow + { + public unsafe byte* Name; + public uint ID; + public ImGuiWindowFlags Flags; + public ImGuiWindowFlags FlagsPreviousFrame; + public ImGuiWindowClass WindowClass; + public unsafe ImGuiViewportP* Viewport; + public uint ViewportId; + public Vector2 ViewportPos; + public int ViewportAllowPlatformMonitorExtend; + public Vector2 Pos; + public Vector2 Size; + public Vector2 SizeFull; + public Vector2 ContentSize; + public Vector2 ContentSizeIdeal; + public Vector2 ContentSizeExplicit; + public Vector2 WindowPadding; + public float WindowRounding; + public float WindowBorderSize; + public int NameBufLen; + public uint MoveId; + public uint TabId; + public uint ChildId; + public Vector2 Scroll; + public Vector2 ScrollMax; + public Vector2 ScrollTarget; + public Vector2 ScrollTargetCenterRatio; + public Vector2 ScrollTargetEdgeSnapDist; + public Vector2 ScrollbarSizes; + public byte ScrollbarX; + public byte ScrollbarY; + public byte ViewportOwned; + public byte Active; + public byte WasActive; + public byte WriteAccessed; + public byte Collapsed; + public byte WantCollapseToggle; + public byte SkipItems; + public byte Appearing; + public byte Hidden; + public byte IsFallbackWindow; + public byte IsExplicitChild; + public byte HasCloseButton; + public byte ResizeBorderHeld; + public short BeginCount; + public short BeginOrderWithinParent; + public short BeginOrderWithinContext; + public short FocusOrder; + public uint PopupId; + public sbyte AutoFitFramesX; + public sbyte AutoFitFramesY; + public sbyte AutoFitChildAxises; + public byte AutoFitOnlyGrows; + public ImGuiDir AutoPosLastDirection; + public sbyte HiddenFramesCanSkipItems; + public sbyte HiddenFramesCannotSkipItems; + public sbyte HiddenFramesForRenderOnly; + public sbyte DisableInputsFrames; + public ImGuiCond RawBits0; + public Vector2 SetWindowPosVal; + public Vector2 SetWindowPosPivot; + public ImVector IDStack; + public ImGuiWindowTempData DC; + public ImRect OuterRectClipped; + public ImRect InnerRect; + public ImRect InnerClipRect; + public ImRect WorkRect; + public ImRect ParentWorkRect; + public ImRect ClipRect; + public ImRect ContentRegionRect; + public ImVec2Ih HitTestHoleSize; + public ImVec2Ih HitTestHoleOffset; + public int LastFrameActive; + public int LastFrameJustFocused; + public float LastTimeActive; + public float ItemWidthDefault; + public ImGuiStorage StateStorage; + public ImVector ColumnsStorage; + public float FontWindowScale; + public float FontDpiScale; + public int SettingsOffset; + public unsafe ImDrawList* DrawList; + public ImDrawList DrawListInst; + public unsafe ImGuiWindow* ParentWindow; + public unsafe ImGuiWindow* ParentWindowInBeginStack; + public unsafe ImGuiWindow* RootWindow; + public unsafe ImGuiWindow* RootWindowPopupTree; + public unsafe ImGuiWindow* RootWindowDockTree; + public unsafe ImGuiWindow* RootWindowForTitleBarHighlight; + public unsafe ImGuiWindow* RootWindowForNav; + public unsafe ImGuiWindow* NavLastChildNavWindow; + public uint NavLastIds_0; + public uint NavLastIds_1; + public ImRect NavRectRel_0; + public ImRect NavRectRel_1; + public int MemoryDrawListIdxCapacity; + public int MemoryDrawListVtxCapacity; + public byte MemoryCompacted; + public bool RawBits1; + public short DockOrder; + public ImGuiWindowDockStyle DockStyle; + public unsafe ImGuiDockNode* DockNode; + public unsafe ImGuiDockNode* DockNodeAsHost; + public uint DockId; + public ImGuiItemStatusFlags DockTabItemStatusFlags; + public ImRect DockTabItemRect; + public byte InheritNoInputs; + public unsafe ImGuiWindow(byte* name = default, uint id = default, ImGuiWindowFlags flags = default, ImGuiWindowFlags flagsPreviousFrame = default, ImGuiWindowClass windowClass = default, ImGuiViewportP* viewport = default, uint viewportId = default, Vector2 viewportPos = default, int viewportAllowPlatformMonitorExtend = default, Vector2 pos = default, Vector2 size = default, Vector2 sizeFull = default, Vector2 contentSize = default, Vector2 contentSizeIdeal = default, Vector2 contentSizeExplicit = default, Vector2 windowPadding = default, float windowRounding = default, float windowBorderSize = default, int nameBufLen = default, uint moveId = default, uint tabId = default, uint childId = default, Vector2 scroll = default, Vector2 scrollMax = default, Vector2 scrollTarget = default, Vector2 scrollTargetCenterRatio = default, Vector2 scrollTargetEdgeSnapDist = default, Vector2 scrollbarSizes = default, bool scrollbarX = default, bool scrollbarY = default, bool viewportOwned = default, bool active = default, bool wasActive = default, bool writeAccessed = default, bool collapsed = default, bool wantCollapseToggle = default, bool skipItems = default, bool appearing = default, bool hidden = default, bool isFallbackWindow = default, bool isExplicitChild = default, bool hasCloseButton = default, byte resizeBorderHeld = default, short beginCount = default, short beginOrderWithinParent = default, short beginOrderWithinContext = default, short focusOrder = default, uint popupId = default, sbyte autoFitFramesX = default, sbyte autoFitFramesY = default, sbyte autoFitChildAxises = default, bool autoFitOnlyGrows = default, ImGuiDir autoPosLastDirection = default, sbyte hiddenFramesCanSkipItems = default, sbyte hiddenFramesCannotSkipItems = default, sbyte hiddenFramesForRenderOnly = default, sbyte disableInputsFrames = default, ImGuiCond setWindowPosAllowFlags = default, ImGuiCond setWindowSizeAllowFlags = default, ImGuiCond setWindowCollapsedAllowFlags = default, ImGuiCond setWindowDockAllowFlags = default, Vector2 setWindowPosVal = default, Vector2 setWindowPosPivot = default, ImVector idStack = default, ImGuiWindowTempData dc = default, ImRect outerRectClipped = default, ImRect innerRect = default, ImRect innerClipRect = default, ImRect workRect = default, ImRect parentWorkRect = default, ImRect clipRect = default, ImRect contentRegionRect = default, ImVec2Ih hitTestHoleSize = default, ImVec2Ih hitTestHoleOffset = default, int lastFrameActive = default, int lastFrameJustFocused = default, float lastTimeActive = default, float itemWidthDefault = default, ImGuiStorage stateStorage = default, ImVector columnsStorage = default, float fontWindowScale = default, float fontDpiScale = default, int settingsOffset = default, ImDrawListPtr drawList = default, ImDrawList drawListInst = default, ImGuiWindow* parentWindow = default, ImGuiWindow* parentWindowInBeginStack = default, ImGuiWindow* rootWindow = default, ImGuiWindow* rootWindowPopupTree = default, ImGuiWindow* rootWindowDockTree = default, ImGuiWindow* rootWindowForTitleBarHighlight = default, ImGuiWindow* rootWindowForNav = default, ImGuiWindow* navLastChildNavWindow = default, uint* navLastIds = default, ImRect* navRectRel = default, int memoryDrawListIdxCapacity = default, int memoryDrawListVtxCapacity = default, bool memoryCompacted = default, bool dockIsActive = default, bool dockNodeIsVisible = default, bool dockTabIsVisible = default, bool dockTabWantClose = default, short dockOrder = default, ImGuiWindowDockStyle dockStyle = default, ImGuiDockNode* dockNode = default, ImGuiDockNode* dockNodeAsHost = default, uint dockId = default, ImGuiItemStatusFlags dockTabItemStatusFlags = default, ImRect dockTabItemRect = default, bool inheritNoInputs = default) + { + Name = name; + ID = id; + Flags = flags; + FlagsPreviousFrame = flagsPreviousFrame; + WindowClass = windowClass; + Viewport = viewport; + ViewportId = viewportId; + ViewportPos = viewportPos; + ViewportAllowPlatformMonitorExtend = viewportAllowPlatformMonitorExtend; + Pos = pos; + Size = size; + SizeFull = sizeFull; + ContentSize = contentSize; + ContentSizeIdeal = contentSizeIdeal; + ContentSizeExplicit = contentSizeExplicit; + WindowPadding = windowPadding; + WindowRounding = windowRounding; + WindowBorderSize = windowBorderSize; + NameBufLen = nameBufLen; + MoveId = moveId; + TabId = tabId; + ChildId = childId; + Scroll = scroll; + ScrollMax = scrollMax; + ScrollTarget = scrollTarget; + ScrollTargetCenterRatio = scrollTargetCenterRatio; + ScrollTargetEdgeSnapDist = scrollTargetEdgeSnapDist; + ScrollbarSizes = scrollbarSizes; + ScrollbarX = scrollbarX ? (byte)1 : (byte)0; + ScrollbarY = scrollbarY ? (byte)1 : (byte)0; + ViewportOwned = viewportOwned ? (byte)1 : (byte)0; + Active = active ? (byte)1 : (byte)0; + WasActive = wasActive ? (byte)1 : (byte)0; + WriteAccessed = writeAccessed ? (byte)1 : (byte)0; + Collapsed = collapsed ? (byte)1 : (byte)0; + WantCollapseToggle = wantCollapseToggle ? (byte)1 : (byte)0; + SkipItems = skipItems ? (byte)1 : (byte)0; + Appearing = appearing ? (byte)1 : (byte)0; + Hidden = hidden ? (byte)1 : (byte)0; + IsFallbackWindow = isFallbackWindow ? (byte)1 : (byte)0; + IsExplicitChild = isExplicitChild ? (byte)1 : (byte)0; + HasCloseButton = hasCloseButton ? (byte)1 : (byte)0; + ResizeBorderHeld = resizeBorderHeld; + BeginCount = beginCount; + BeginOrderWithinParent = beginOrderWithinParent; + BeginOrderWithinContext = beginOrderWithinContext; + FocusOrder = focusOrder; + PopupId = popupId; + AutoFitFramesX = autoFitFramesX; + AutoFitFramesY = autoFitFramesY; + AutoFitChildAxises = autoFitChildAxises; + AutoFitOnlyGrows = autoFitOnlyGrows ? (byte)1 : (byte)0; + AutoPosLastDirection = autoPosLastDirection; + HiddenFramesCanSkipItems = hiddenFramesCanSkipItems; + HiddenFramesCannotSkipItems = hiddenFramesCannotSkipItems; + HiddenFramesForRenderOnly = hiddenFramesForRenderOnly; + DisableInputsFrames = disableInputsFrames; + SetWindowPosAllowFlags = setWindowPosAllowFlags; + SetWindowSizeAllowFlags = setWindowSizeAllowFlags; + SetWindowCollapsedAllowFlags = setWindowCollapsedAllowFlags; + SetWindowDockAllowFlags = setWindowDockAllowFlags; + SetWindowPosVal = setWindowPosVal; + SetWindowPosPivot = setWindowPosPivot; + IDStack = idStack; + DC = dc; + OuterRectClipped = outerRectClipped; + InnerRect = innerRect; + InnerClipRect = innerClipRect; + WorkRect = workRect; + ParentWorkRect = parentWorkRect; + ClipRect = clipRect; + ContentRegionRect = contentRegionRect; + HitTestHoleSize = hitTestHoleSize; + HitTestHoleOffset = hitTestHoleOffset; + LastFrameActive = lastFrameActive; + LastFrameJustFocused = lastFrameJustFocused; + LastTimeActive = lastTimeActive; + ItemWidthDefault = itemWidthDefault; + StateStorage = stateStorage; + ColumnsStorage = columnsStorage; + FontWindowScale = fontWindowScale; + FontDpiScale = fontDpiScale; + SettingsOffset = settingsOffset; + DrawList = drawList; + DrawListInst = drawListInst; + ParentWindow = parentWindow; + ParentWindowInBeginStack = parentWindowInBeginStack; + RootWindow = rootWindow; + RootWindowPopupTree = rootWindowPopupTree; + RootWindowDockTree = rootWindowDockTree; + RootWindowForTitleBarHighlight = rootWindowForTitleBarHighlight; + RootWindowForNav = rootWindowForNav; + NavLastChildNavWindow = navLastChildNavWindow; + if (navLastIds != default(uint*)) + { + NavLastIds_0 = navLastIds[0]; + NavLastIds_1 = navLastIds[1]; + } + if (navRectRel != default(ImRect*)) + { + NavRectRel_0 = navRectRel[0]; + NavRectRel_1 = navRectRel[1]; + } + MemoryDrawListIdxCapacity = memoryDrawListIdxCapacity; + MemoryDrawListVtxCapacity = memoryDrawListVtxCapacity; + MemoryCompacted = memoryCompacted ? (byte)1 : (byte)0; + DockIsActive = dockIsActive; + DockNodeIsVisible = dockNodeIsVisible; + DockTabIsVisible = dockTabIsVisible; + DockTabWantClose = dockTabWantClose; + DockOrder = dockOrder; + DockStyle = dockStyle; + DockNode = dockNode; + DockNodeAsHost = dockNodeAsHost; + DockId = dockId; + DockTabItemStatusFlags = dockTabItemStatusFlags; + DockTabItemRect = dockTabItemRect; + InheritNoInputs = inheritNoInputs ? (byte)1 : (byte)0; + } + public unsafe ImGuiWindow(byte* name = default, uint id = default, ImGuiWindowFlags flags = default, ImGuiWindowFlags flagsPreviousFrame = default, ImGuiWindowClass windowClass = default, ImGuiViewportP* viewport = default, uint viewportId = default, Vector2 viewportPos = default, int viewportAllowPlatformMonitorExtend = default, Vector2 pos = default, Vector2 size = default, Vector2 sizeFull = default, Vector2 contentSize = default, Vector2 contentSizeIdeal = default, Vector2 contentSizeExplicit = default, Vector2 windowPadding = default, float windowRounding = default, float windowBorderSize = default, int nameBufLen = default, uint moveId = default, uint tabId = default, uint childId = default, Vector2 scroll = default, Vector2 scrollMax = default, Vector2 scrollTarget = default, Vector2 scrollTargetCenterRatio = default, Vector2 scrollTargetEdgeSnapDist = default, Vector2 scrollbarSizes = default, bool scrollbarX = default, bool scrollbarY = default, bool viewportOwned = default, bool active = default, bool wasActive = default, bool writeAccessed = default, bool collapsed = default, bool wantCollapseToggle = default, bool skipItems = default, bool appearing = default, bool hidden = default, bool isFallbackWindow = default, bool isExplicitChild = default, bool hasCloseButton = default, byte resizeBorderHeld = default, short beginCount = default, short beginOrderWithinParent = default, short beginOrderWithinContext = default, short focusOrder = default, uint popupId = default, sbyte autoFitFramesX = default, sbyte autoFitFramesY = default, sbyte autoFitChildAxises = default, bool autoFitOnlyGrows = default, ImGuiDir autoPosLastDirection = default, sbyte hiddenFramesCanSkipItems = default, sbyte hiddenFramesCannotSkipItems = default, sbyte hiddenFramesForRenderOnly = default, sbyte disableInputsFrames = default, ImGuiCond setWindowPosAllowFlags = default, ImGuiCond setWindowSizeAllowFlags = default, ImGuiCond setWindowCollapsedAllowFlags = default, ImGuiCond setWindowDockAllowFlags = default, Vector2 setWindowPosVal = default, Vector2 setWindowPosPivot = default, ImVector idStack = default, ImGuiWindowTempData dc = default, ImRect outerRectClipped = default, ImRect innerRect = default, ImRect innerClipRect = default, ImRect workRect = default, ImRect parentWorkRect = default, ImRect clipRect = default, ImRect contentRegionRect = default, ImVec2Ih hitTestHoleSize = default, ImVec2Ih hitTestHoleOffset = default, int lastFrameActive = default, int lastFrameJustFocused = default, float lastTimeActive = default, float itemWidthDefault = default, ImGuiStorage stateStorage = default, ImVector columnsStorage = default, float fontWindowScale = default, float fontDpiScale = default, int settingsOffset = default, ImDrawListPtr drawList = default, ImDrawList drawListInst = default, ImGuiWindow* parentWindow = default, ImGuiWindow* parentWindowInBeginStack = default, ImGuiWindow* rootWindow = default, ImGuiWindow* rootWindowPopupTree = default, ImGuiWindow* rootWindowDockTree = default, ImGuiWindow* rootWindowForTitleBarHighlight = default, ImGuiWindow* rootWindowForNav = default, ImGuiWindow* navLastChildNavWindow = default, Span navLastIds = default, Span navRectRel = default, int memoryDrawListIdxCapacity = default, int memoryDrawListVtxCapacity = default, bool memoryCompacted = default, bool dockIsActive = default, bool dockNodeIsVisible = default, bool dockTabIsVisible = default, bool dockTabWantClose = default, short dockOrder = default, ImGuiWindowDockStyle dockStyle = default, ImGuiDockNode* dockNode = default, ImGuiDockNode* dockNodeAsHost = default, uint dockId = default, ImGuiItemStatusFlags dockTabItemStatusFlags = default, ImRect dockTabItemRect = default, bool inheritNoInputs = default) + { + Name = name; + ID = id; + Flags = flags; + FlagsPreviousFrame = flagsPreviousFrame; + WindowClass = windowClass; + Viewport = viewport; + ViewportId = viewportId; + ViewportPos = viewportPos; + ViewportAllowPlatformMonitorExtend = viewportAllowPlatformMonitorExtend; + Pos = pos; + Size = size; + SizeFull = sizeFull; + ContentSize = contentSize; + ContentSizeIdeal = contentSizeIdeal; + ContentSizeExplicit = contentSizeExplicit; + WindowPadding = windowPadding; + WindowRounding = windowRounding; + WindowBorderSize = windowBorderSize; + NameBufLen = nameBufLen; + MoveId = moveId; + TabId = tabId; + ChildId = childId; + Scroll = scroll; + ScrollMax = scrollMax; + ScrollTarget = scrollTarget; + ScrollTargetCenterRatio = scrollTargetCenterRatio; + ScrollTargetEdgeSnapDist = scrollTargetEdgeSnapDist; + ScrollbarSizes = scrollbarSizes; + ScrollbarX = scrollbarX ? (byte)1 : (byte)0; + ScrollbarY = scrollbarY ? (byte)1 : (byte)0; + ViewportOwned = viewportOwned ? (byte)1 : (byte)0; + Active = active ? (byte)1 : (byte)0; + WasActive = wasActive ? (byte)1 : (byte)0; + WriteAccessed = writeAccessed ? (byte)1 : (byte)0; + Collapsed = collapsed ? (byte)1 : (byte)0; + WantCollapseToggle = wantCollapseToggle ? (byte)1 : (byte)0; + SkipItems = skipItems ? (byte)1 : (byte)0; + Appearing = appearing ? (byte)1 : (byte)0; + Hidden = hidden ? (byte)1 : (byte)0; + IsFallbackWindow = isFallbackWindow ? (byte)1 : (byte)0; + IsExplicitChild = isExplicitChild ? (byte)1 : (byte)0; + HasCloseButton = hasCloseButton ? (byte)1 : (byte)0; + ResizeBorderHeld = resizeBorderHeld; + BeginCount = beginCount; + BeginOrderWithinParent = beginOrderWithinParent; + BeginOrderWithinContext = beginOrderWithinContext; + FocusOrder = focusOrder; + PopupId = popupId; + AutoFitFramesX = autoFitFramesX; + AutoFitFramesY = autoFitFramesY; + AutoFitChildAxises = autoFitChildAxises; + AutoFitOnlyGrows = autoFitOnlyGrows ? (byte)1 : (byte)0; + AutoPosLastDirection = autoPosLastDirection; + HiddenFramesCanSkipItems = hiddenFramesCanSkipItems; + HiddenFramesCannotSkipItems = hiddenFramesCannotSkipItems; + HiddenFramesForRenderOnly = hiddenFramesForRenderOnly; + DisableInputsFrames = disableInputsFrames; + SetWindowPosAllowFlags = setWindowPosAllowFlags; + SetWindowSizeAllowFlags = setWindowSizeAllowFlags; + SetWindowCollapsedAllowFlags = setWindowCollapsedAllowFlags; + SetWindowDockAllowFlags = setWindowDockAllowFlags; + SetWindowPosVal = setWindowPosVal; + SetWindowPosPivot = setWindowPosPivot; + IDStack = idStack; + DC = dc; + OuterRectClipped = outerRectClipped; + InnerRect = innerRect; + InnerClipRect = innerClipRect; + WorkRect = workRect; + ParentWorkRect = parentWorkRect; + ClipRect = clipRect; + ContentRegionRect = contentRegionRect; + HitTestHoleSize = hitTestHoleSize; + HitTestHoleOffset = hitTestHoleOffset; + LastFrameActive = lastFrameActive; + LastFrameJustFocused = lastFrameJustFocused; + LastTimeActive = lastTimeActive; + ItemWidthDefault = itemWidthDefault; + StateStorage = stateStorage; + ColumnsStorage = columnsStorage; + FontWindowScale = fontWindowScale; + FontDpiScale = fontDpiScale; + SettingsOffset = settingsOffset; + DrawList = drawList; + DrawListInst = drawListInst; + ParentWindow = parentWindow; + ParentWindowInBeginStack = parentWindowInBeginStack; + RootWindow = rootWindow; + RootWindowPopupTree = rootWindowPopupTree; + RootWindowDockTree = rootWindowDockTree; + RootWindowForTitleBarHighlight = rootWindowForTitleBarHighlight; + RootWindowForNav = rootWindowForNav; + NavLastChildNavWindow = navLastChildNavWindow; + if (navLastIds != default(Span)) + { + NavLastIds_0 = navLastIds[0]; + NavLastIds_1 = navLastIds[1]; + } + if (navRectRel != default(Span)) + { + NavRectRel_0 = navRectRel[0]; + NavRectRel_1 = navRectRel[1]; + } + MemoryDrawListIdxCapacity = memoryDrawListIdxCapacity; + MemoryDrawListVtxCapacity = memoryDrawListVtxCapacity; + MemoryCompacted = memoryCompacted ? (byte)1 : (byte)0; + DockIsActive = dockIsActive; + DockNodeIsVisible = dockNodeIsVisible; + DockTabIsVisible = dockTabIsVisible; + DockTabWantClose = dockTabWantClose; + DockOrder = dockOrder; + DockStyle = dockStyle; + DockNode = dockNode; + DockNodeAsHost = dockNodeAsHost; + DockId = dockId; + DockTabItemStatusFlags = dockTabItemStatusFlags; + DockTabItemRect = dockTabItemRect; + InheritNoInputs = inheritNoInputs ? (byte)1 : (byte)0; + } + public ImGuiCond SetWindowPosAllowFlags { get => Bitfield.Get(RawBits0, 0, 8); set => Bitfield.Set(ref RawBits0, value, 0, 8); } + public ImGuiCond SetWindowSizeAllowFlags { get => Bitfield.Get(RawBits0, 8, 8); set => Bitfield.Set(ref RawBits0, value, 8, 8); } + public ImGuiCond SetWindowCollapsedAllowFlags { get => Bitfield.Get(RawBits0, 16, 8); set => Bitfield.Set(ref RawBits0, value, 16, 8); } + public ImGuiCond SetWindowDockAllowFlags { get => Bitfield.Get(RawBits0, 24, 8); set => Bitfield.Set(ref RawBits0, value, 24, 8); } + public bool DockIsActive { get => Bitfield.Get(RawBits1, 0, 1); set => Bitfield.Set(ref RawBits1, value, 0, 1); } + public bool DockNodeIsVisible { get => Bitfield.Get(RawBits1, 1, 1); set => Bitfield.Set(ref RawBits1, value, 1, 1); } + public bool DockTabIsVisible { get => Bitfield.Get(RawBits1, 2, 1); set => Bitfield.Set(ref RawBits1, value, 2, 1); } + public bool DockTabWantClose { get => Bitfield.Get(RawBits1, 3, 1); set => Bitfield.Set(ref RawBits1, value, 3, 1); } + public unsafe Span NavRectRel + { + get + { + fixed (ImRect* p = &this.NavRectRel_0) + { + return new Span(p, 2); + } + } + } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImGuiWindowPtr : IEquatable + { + public ImGuiWindowPtr(ImGuiWindow* handle) { Handle = handle; } + public ImGuiWindow* Handle; + public bool IsNull => Handle == null; + public static ImGuiWindowPtr Null => new ImGuiWindowPtr(null); + public ImGuiWindow this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImGuiWindowPtr(ImGuiWindow* handle) => new ImGuiWindowPtr(handle); + public static implicit operator ImGuiWindow*(ImGuiWindowPtr handle) => handle.Handle; + public static bool operator ==(ImGuiWindowPtr left, ImGuiWindowPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImGuiWindowPtr left, ImGuiWindowPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImGuiWindowPtr left, ImGuiWindow* right) => left.Handle == right; + public static bool operator !=(ImGuiWindowPtr left, ImGuiWindow* right) => left.Handle != right; + public bool Equals(ImGuiWindowPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImGuiWindowPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImGuiWindowPtr [0x{0}]", ((nuint)Handle).ToString("X")); + public byte* Name { get => Handle->Name; set => Handle->Name = value; } + public ref uint ID => ref Unsafe.AsRef(&Handle->ID); + public ref ImGuiWindowFlags Flags => ref Unsafe.AsRef(&Handle->Flags); + public ref ImGuiWindowFlags FlagsPreviousFrame => ref Unsafe.AsRef(&Handle->FlagsPreviousFrame); + public ref ImGuiWindowClass WindowClass => ref Unsafe.AsRef(&Handle->WindowClass); + public ref ImGuiViewportPPtr Viewport => ref Unsafe.AsRef(&Handle->Viewport); + public ref uint ViewportId => ref Unsafe.AsRef(&Handle->ViewportId); + public ref Vector2 ViewportPos => ref Unsafe.AsRef(&Handle->ViewportPos); + public ref int ViewportAllowPlatformMonitorExtend => ref Unsafe.AsRef(&Handle->ViewportAllowPlatformMonitorExtend); + public ref Vector2 Pos => ref Unsafe.AsRef(&Handle->Pos); + public ref Vector2 Size => ref Unsafe.AsRef(&Handle->Size); + public ref Vector2 SizeFull => ref Unsafe.AsRef(&Handle->SizeFull); + public ref Vector2 ContentSize => ref Unsafe.AsRef(&Handle->ContentSize); + public ref Vector2 ContentSizeIdeal => ref Unsafe.AsRef(&Handle->ContentSizeIdeal); + public ref Vector2 ContentSizeExplicit => ref Unsafe.AsRef(&Handle->ContentSizeExplicit); + public ref Vector2 WindowPadding => ref Unsafe.AsRef(&Handle->WindowPadding); + public ref float WindowRounding => ref Unsafe.AsRef(&Handle->WindowRounding); + public ref float WindowBorderSize => ref Unsafe.AsRef(&Handle->WindowBorderSize); + public ref int NameBufLen => ref Unsafe.AsRef(&Handle->NameBufLen); + public ref uint MoveId => ref Unsafe.AsRef(&Handle->MoveId); + public ref uint TabId => ref Unsafe.AsRef(&Handle->TabId); + public ref uint ChildId => ref Unsafe.AsRef(&Handle->ChildId); + public ref Vector2 Scroll => ref Unsafe.AsRef(&Handle->Scroll); + public ref Vector2 ScrollMax => ref Unsafe.AsRef(&Handle->ScrollMax); + public ref Vector2 ScrollTarget => ref Unsafe.AsRef(&Handle->ScrollTarget); + public ref Vector2 ScrollTargetCenterRatio => ref Unsafe.AsRef(&Handle->ScrollTargetCenterRatio); + public ref Vector2 ScrollTargetEdgeSnapDist => ref Unsafe.AsRef(&Handle->ScrollTargetEdgeSnapDist); + public ref Vector2 ScrollbarSizes => ref Unsafe.AsRef(&Handle->ScrollbarSizes); + public ref bool ScrollbarX => ref Unsafe.AsRef(&Handle->ScrollbarX); + public ref bool ScrollbarY => ref Unsafe.AsRef(&Handle->ScrollbarY); + public ref bool ViewportOwned => ref Unsafe.AsRef(&Handle->ViewportOwned); + public ref bool Active => ref Unsafe.AsRef(&Handle->Active); + public ref bool WasActive => ref Unsafe.AsRef(&Handle->WasActive); + public ref bool WriteAccessed => ref Unsafe.AsRef(&Handle->WriteAccessed); + public ref bool Collapsed => ref Unsafe.AsRef(&Handle->Collapsed); + public ref bool WantCollapseToggle => ref Unsafe.AsRef(&Handle->WantCollapseToggle); + public ref bool SkipItems => ref Unsafe.AsRef(&Handle->SkipItems); + public ref bool Appearing => ref Unsafe.AsRef(&Handle->Appearing); + public ref bool Hidden => ref Unsafe.AsRef(&Handle->Hidden); + public ref bool IsFallbackWindow => ref Unsafe.AsRef(&Handle->IsFallbackWindow); + public ref bool IsExplicitChild => ref Unsafe.AsRef(&Handle->IsExplicitChild); + public ref bool HasCloseButton => ref Unsafe.AsRef(&Handle->HasCloseButton); + public ref byte ResizeBorderHeld => ref Unsafe.AsRef(&Handle->ResizeBorderHeld); + public ref short BeginCount => ref Unsafe.AsRef(&Handle->BeginCount); + public ref short BeginOrderWithinParent => ref Unsafe.AsRef(&Handle->BeginOrderWithinParent); + public ref short BeginOrderWithinContext => ref Unsafe.AsRef(&Handle->BeginOrderWithinContext); + public ref short FocusOrder => ref Unsafe.AsRef(&Handle->FocusOrder); + public ref uint PopupId => ref Unsafe.AsRef(&Handle->PopupId); + public ref sbyte AutoFitFramesX => ref Unsafe.AsRef(&Handle->AutoFitFramesX); + public ref sbyte AutoFitFramesY => ref Unsafe.AsRef(&Handle->AutoFitFramesY); + public ref sbyte AutoFitChildAxises => ref Unsafe.AsRef(&Handle->AutoFitChildAxises); + public ref bool AutoFitOnlyGrows => ref Unsafe.AsRef(&Handle->AutoFitOnlyGrows); + public ref ImGuiDir AutoPosLastDirection => ref Unsafe.AsRef(&Handle->AutoPosLastDirection); + public ref sbyte HiddenFramesCanSkipItems => ref Unsafe.AsRef(&Handle->HiddenFramesCanSkipItems); + public ref sbyte HiddenFramesCannotSkipItems => ref Unsafe.AsRef(&Handle->HiddenFramesCannotSkipItems); + public ref sbyte HiddenFramesForRenderOnly => ref Unsafe.AsRef(&Handle->HiddenFramesForRenderOnly); + public ref sbyte DisableInputsFrames => ref Unsafe.AsRef(&Handle->DisableInputsFrames); + public ImGuiCond SetWindowPosAllowFlags { get => Handle->SetWindowPosAllowFlags; set => Handle->SetWindowPosAllowFlags = value; } + public ImGuiCond SetWindowSizeAllowFlags { get => Handle->SetWindowSizeAllowFlags; set => Handle->SetWindowSizeAllowFlags = value; } + public ImGuiCond SetWindowCollapsedAllowFlags { get => Handle->SetWindowCollapsedAllowFlags; set => Handle->SetWindowCollapsedAllowFlags = value; } + public ImGuiCond SetWindowDockAllowFlags { get => Handle->SetWindowDockAllowFlags; set => Handle->SetWindowDockAllowFlags = value; } + public ref Vector2 SetWindowPosVal => ref Unsafe.AsRef(&Handle->SetWindowPosVal); + public ref Vector2 SetWindowPosPivot => ref Unsafe.AsRef(&Handle->SetWindowPosPivot); + public ref ImVector IDStack => ref Unsafe.AsRef>(&Handle->IDStack); + public ref ImGuiWindowTempData DC => ref Unsafe.AsRef(&Handle->DC); + public ref ImRect OuterRectClipped => ref Unsafe.AsRef(&Handle->OuterRectClipped); + public ref ImRect InnerRect => ref Unsafe.AsRef(&Handle->InnerRect); + public ref ImRect InnerClipRect => ref Unsafe.AsRef(&Handle->InnerClipRect); + public ref ImRect WorkRect => ref Unsafe.AsRef(&Handle->WorkRect); + public ref ImRect ParentWorkRect => ref Unsafe.AsRef(&Handle->ParentWorkRect); + public ref ImRect ClipRect => ref Unsafe.AsRef(&Handle->ClipRect); + public ref ImRect ContentRegionRect => ref Unsafe.AsRef(&Handle->ContentRegionRect); + public ref ImVec2Ih HitTestHoleSize => ref Unsafe.AsRef(&Handle->HitTestHoleSize); + public ref ImVec2Ih HitTestHoleOffset => ref Unsafe.AsRef(&Handle->HitTestHoleOffset); + public ref int LastFrameActive => ref Unsafe.AsRef(&Handle->LastFrameActive); + public ref int LastFrameJustFocused => ref Unsafe.AsRef(&Handle->LastFrameJustFocused); + public ref float LastTimeActive => ref Unsafe.AsRef(&Handle->LastTimeActive); + public ref float ItemWidthDefault => ref Unsafe.AsRef(&Handle->ItemWidthDefault); + public ref ImGuiStorage StateStorage => ref Unsafe.AsRef(&Handle->StateStorage); + public ref ImVector ColumnsStorage => ref Unsafe.AsRef>(&Handle->ColumnsStorage); + public ref float FontWindowScale => ref Unsafe.AsRef(&Handle->FontWindowScale); + public ref float FontDpiScale => ref Unsafe.AsRef(&Handle->FontDpiScale); + public ref int SettingsOffset => ref Unsafe.AsRef(&Handle->SettingsOffset); + public ref ImDrawListPtr DrawList => ref Unsafe.AsRef(&Handle->DrawList); + public ref ImDrawList DrawListInst => ref Unsafe.AsRef(&Handle->DrawListInst); + public ref ImGuiWindowPtr ParentWindow => ref Unsafe.AsRef(&Handle->ParentWindow); + public ref ImGuiWindowPtr ParentWindowInBeginStack => ref Unsafe.AsRef(&Handle->ParentWindowInBeginStack); + public ref ImGuiWindowPtr RootWindow => ref Unsafe.AsRef(&Handle->RootWindow); + public ref ImGuiWindowPtr RootWindowPopupTree => ref Unsafe.AsRef(&Handle->RootWindowPopupTree); + public ref ImGuiWindowPtr RootWindowDockTree => ref Unsafe.AsRef(&Handle->RootWindowDockTree); + public ref ImGuiWindowPtr RootWindowForTitleBarHighlight => ref Unsafe.AsRef(&Handle->RootWindowForTitleBarHighlight); + public ref ImGuiWindowPtr RootWindowForNav => ref Unsafe.AsRef(&Handle->RootWindowForNav); + public ref ImGuiWindowPtr NavLastChildNavWindow => ref Unsafe.AsRef(&Handle->NavLastChildNavWindow); + public unsafe Span NavLastIds + { + get + { + return new Span(&Handle->NavLastIds_0, 2); + } + } + public unsafe Span NavRectRel + { + get + { + return new Span(&Handle->NavRectRel_0, 2); + } + } + public ref int MemoryDrawListIdxCapacity => ref Unsafe.AsRef(&Handle->MemoryDrawListIdxCapacity); + public ref int MemoryDrawListVtxCapacity => ref Unsafe.AsRef(&Handle->MemoryDrawListVtxCapacity); + public ref bool MemoryCompacted => ref Unsafe.AsRef(&Handle->MemoryCompacted); + public bool DockIsActive { get => Handle->DockIsActive; set => Handle->DockIsActive = value; } + public bool DockNodeIsVisible { get => Handle->DockNodeIsVisible; set => Handle->DockNodeIsVisible = value; } + public bool DockTabIsVisible { get => Handle->DockTabIsVisible; set => Handle->DockTabIsVisible = value; } + public bool DockTabWantClose { get => Handle->DockTabWantClose; set => Handle->DockTabWantClose = value; } + public ref short DockOrder => ref Unsafe.AsRef(&Handle->DockOrder); + public ref ImGuiWindowDockStyle DockStyle => ref Unsafe.AsRef(&Handle->DockStyle); + public ref ImGuiDockNodePtr DockNode => ref Unsafe.AsRef(&Handle->DockNode); + public ref ImGuiDockNodePtr DockNodeAsHost => ref Unsafe.AsRef(&Handle->DockNodeAsHost); + public ref uint DockId => ref Unsafe.AsRef(&Handle->DockId); + public ref ImGuiItemStatusFlags DockTabItemStatusFlags => ref Unsafe.AsRef(&Handle->DockTabItemStatusFlags); + public ref ImRect DockTabItemRect => ref Unsafe.AsRef(&Handle->DockTabItemRect); + public ref bool InheritNoInputs => ref Unsafe.AsRef(&Handle->InheritNoInputs); + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImGuiWindowPtrPtr : IEquatable + { + public ImGuiWindowPtrPtr(ImGuiWindow** handle) { Handle = handle; } + public ImGuiWindow** Handle; + public bool IsNull => Handle == null; + public static ImGuiWindowPtrPtr Null => new ImGuiWindowPtrPtr(null); + public ImGuiWindow* this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImGuiWindowPtrPtr(ImGuiWindow** handle) => new ImGuiWindowPtrPtr(handle); + public static implicit operator ImGuiWindow**(ImGuiWindowPtrPtr handle) => handle.Handle; + public static bool operator ==(ImGuiWindowPtrPtr left, ImGuiWindowPtrPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImGuiWindowPtrPtr left, ImGuiWindowPtrPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImGuiWindowPtrPtr left, ImGuiWindow** right) => left.Handle == right; + public static bool operator !=(ImGuiWindowPtrPtr left, ImGuiWindow** right) => left.Handle != right; + public bool Equals(ImGuiWindowPtrPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImGuiWindowPtrPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImGuiWindowPtrPtr [0x{0}]", ((nuint)Handle).ToString("X")); + + } +} +/* ImGuiWindowClass.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiWindowClass + { + public uint ClassId; + public uint ParentViewportId; + public ImGuiViewportFlags ViewportFlagsOverrideSet; + public ImGuiViewportFlags ViewportFlagsOverrideClear; + public ImGuiTabItemFlags TabItemFlagsOverrideSet; + public ImGuiDockNodeFlags DockNodeFlagsOverrideSet; + public byte DockingAlwaysTabBar; + public byte DockingAllowUnclassed; + public unsafe ImGuiWindowClass(uint classId = default, uint parentViewportId = default, ImGuiViewportFlags viewportFlagsOverrideSet = default, ImGuiViewportFlags viewportFlagsOverrideClear = default, ImGuiTabItemFlags tabItemFlagsOverrideSet = default, ImGuiDockNodeFlags dockNodeFlagsOverrideSet = default, bool dockingAlwaysTabBar = default, bool dockingAllowUnclassed = default) + { + ClassId = classId; + ParentViewportId = parentViewportId; + ViewportFlagsOverrideSet = viewportFlagsOverrideSet; + ViewportFlagsOverrideClear = viewportFlagsOverrideClear; + TabItemFlagsOverrideSet = tabItemFlagsOverrideSet; + DockNodeFlagsOverrideSet = dockNodeFlagsOverrideSet; + DockingAlwaysTabBar = dockingAlwaysTabBar ? (byte)1 : (byte)0; + DockingAllowUnclassed = dockingAllowUnclassed ? (byte)1 : (byte)0; + } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImGuiWindowClassPtr : IEquatable + { + public ImGuiWindowClassPtr(ImGuiWindowClass* handle) { Handle = handle; } + public ImGuiWindowClass* Handle; + public bool IsNull => Handle == null; + public static ImGuiWindowClassPtr Null => new ImGuiWindowClassPtr(null); + public ImGuiWindowClass this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImGuiWindowClassPtr(ImGuiWindowClass* handle) => new ImGuiWindowClassPtr(handle); + public static implicit operator ImGuiWindowClass*(ImGuiWindowClassPtr handle) => handle.Handle; + public static bool operator ==(ImGuiWindowClassPtr left, ImGuiWindowClassPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImGuiWindowClassPtr left, ImGuiWindowClassPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImGuiWindowClassPtr left, ImGuiWindowClass* right) => left.Handle == right; + public static bool operator !=(ImGuiWindowClassPtr left, ImGuiWindowClass* right) => left.Handle != right; + public bool Equals(ImGuiWindowClassPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImGuiWindowClassPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImGuiWindowClassPtr [0x{0}]", ((nuint)Handle).ToString("X")); + public ref uint ClassId => ref Unsafe.AsRef(&Handle->ClassId); + public ref uint ParentViewportId => ref Unsafe.AsRef(&Handle->ParentViewportId); + public ref ImGuiViewportFlags ViewportFlagsOverrideSet => ref Unsafe.AsRef(&Handle->ViewportFlagsOverrideSet); + public ref ImGuiViewportFlags ViewportFlagsOverrideClear => ref Unsafe.AsRef(&Handle->ViewportFlagsOverrideClear); + public ref ImGuiTabItemFlags TabItemFlagsOverrideSet => ref Unsafe.AsRef(&Handle->TabItemFlagsOverrideSet); + public ref ImGuiDockNodeFlags DockNodeFlagsOverrideSet => ref Unsafe.AsRef(&Handle->DockNodeFlagsOverrideSet); + public ref bool DockingAlwaysTabBar => ref Unsafe.AsRef(&Handle->DockingAlwaysTabBar); + public ref bool DockingAllowUnclassed => ref Unsafe.AsRef(&Handle->DockingAllowUnclassed); + } +} +/* ImGuiWindowDockStyle.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiWindowDockStyle + { + public uint Colors_0; + public uint Colors_1; + public uint Colors_2; + public uint Colors_3; + public uint Colors_4; + public uint Colors_5; + public unsafe ImGuiWindowDockStyle(uint* colors = default) + { + if (colors != default(uint*)) + { + Colors_0 = colors[0]; + Colors_1 = colors[1]; + Colors_2 = colors[2]; + Colors_3 = colors[3]; + Colors_4 = colors[4]; + Colors_5 = colors[5]; + } + } + public unsafe ImGuiWindowDockStyle(Span colors = default) + { + if (colors != default(Span)) + { + Colors_0 = colors[0]; + Colors_1 = colors[1]; + Colors_2 = colors[2]; + Colors_3 = colors[3]; + Colors_4 = colors[4]; + Colors_5 = colors[5]; + } + } + } +} +/* ImGuiWindowSettings.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiWindowSettings + { + public uint ID; + public ImVec2Ih Pos; + public ImVec2Ih Size; + public ImVec2Ih ViewportPos; + public uint ViewportId; + public uint DockId; + public uint ClassId; + public short DockOrder; + public byte Collapsed; + public byte WantApply; + public unsafe ImGuiWindowSettings(uint id = default, ImVec2Ih pos = default, ImVec2Ih size = default, ImVec2Ih viewportPos = default, uint viewportId = default, uint dockId = default, uint classId = default, short dockOrder = default, bool collapsed = default, bool wantApply = default) + { + ID = id; + Pos = pos; + Size = size; + ViewportPos = viewportPos; + ViewportId = viewportId; + DockId = dockId; + ClassId = classId; + DockOrder = dockOrder; + Collapsed = collapsed ? (byte)1 : (byte)0; + WantApply = wantApply ? (byte)1 : (byte)0; + } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImGuiWindowSettingsPtr : IEquatable + { + public ImGuiWindowSettingsPtr(ImGuiWindowSettings* handle) { Handle = handle; } + public ImGuiWindowSettings* Handle; + public bool IsNull => Handle == null; + public static ImGuiWindowSettingsPtr Null => new ImGuiWindowSettingsPtr(null); + public ImGuiWindowSettings this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImGuiWindowSettingsPtr(ImGuiWindowSettings* handle) => new ImGuiWindowSettingsPtr(handle); + public static implicit operator ImGuiWindowSettings*(ImGuiWindowSettingsPtr handle) => handle.Handle; + public static bool operator ==(ImGuiWindowSettingsPtr left, ImGuiWindowSettingsPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImGuiWindowSettingsPtr left, ImGuiWindowSettingsPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImGuiWindowSettingsPtr left, ImGuiWindowSettings* right) => left.Handle == right; + public static bool operator !=(ImGuiWindowSettingsPtr left, ImGuiWindowSettings* right) => left.Handle != right; + public bool Equals(ImGuiWindowSettingsPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImGuiWindowSettingsPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImGuiWindowSettingsPtr [0x{0}]", ((nuint)Handle).ToString("X")); + public ref uint ID => ref Unsafe.AsRef(&Handle->ID); + public ref ImVec2Ih Pos => ref Unsafe.AsRef(&Handle->Pos); + public ref ImVec2Ih Size => ref Unsafe.AsRef(&Handle->Size); + public ref ImVec2Ih ViewportPos => ref Unsafe.AsRef(&Handle->ViewportPos); + public ref uint ViewportId => ref Unsafe.AsRef(&Handle->ViewportId); + public ref uint DockId => ref Unsafe.AsRef(&Handle->DockId); + public ref uint ClassId => ref Unsafe.AsRef(&Handle->ClassId); + public ref short DockOrder => ref Unsafe.AsRef(&Handle->DockOrder); + public ref bool Collapsed => ref Unsafe.AsRef(&Handle->Collapsed); + public ref bool WantApply => ref Unsafe.AsRef(&Handle->WantApply); + } +} +/* ImGuiWindowStackData.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiWindowStackData + { + public unsafe ImGuiWindow* Window; + public ImGuiLastItemData ParentLastItemDataBackup; + public ImGuiStackSizes StackSizesOnBegin; + public unsafe ImGuiWindowStackData(ImGuiWindowPtr window = default, ImGuiLastItemData parentLastItemDataBackup = default, ImGuiStackSizes stackSizesOnBegin = default) + { + Window = window; + ParentLastItemDataBackup = parentLastItemDataBackup; + StackSizesOnBegin = stackSizesOnBegin; + } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImGuiWindowStackDataPtr : IEquatable + { + public ImGuiWindowStackDataPtr(ImGuiWindowStackData* handle) { Handle = handle; } + public ImGuiWindowStackData* Handle; + public bool IsNull => Handle == null; + public static ImGuiWindowStackDataPtr Null => new ImGuiWindowStackDataPtr(null); + public ImGuiWindowStackData this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImGuiWindowStackDataPtr(ImGuiWindowStackData* handle) => new ImGuiWindowStackDataPtr(handle); + public static implicit operator ImGuiWindowStackData*(ImGuiWindowStackDataPtr handle) => handle.Handle; + public static bool operator ==(ImGuiWindowStackDataPtr left, ImGuiWindowStackDataPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImGuiWindowStackDataPtr left, ImGuiWindowStackDataPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImGuiWindowStackDataPtr left, ImGuiWindowStackData* right) => left.Handle == right; + public static bool operator !=(ImGuiWindowStackDataPtr left, ImGuiWindowStackData* right) => left.Handle != right; + public bool Equals(ImGuiWindowStackDataPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImGuiWindowStackDataPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImGuiWindowStackDataPtr [0x{0}]", ((nuint)Handle).ToString("X")); + public ref ImGuiWindowPtr Window => ref Unsafe.AsRef(&Handle->Window); + public ref ImGuiLastItemData ParentLastItemDataBackup => ref Unsafe.AsRef(&Handle->ParentLastItemDataBackup); + public ref ImGuiStackSizes StackSizesOnBegin => ref Unsafe.AsRef(&Handle->StackSizesOnBegin); + } +} +/* ImGuiWindowTempData.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImGuiWindowTempData + { + public Vector2 CursorPos; + public Vector2 CursorPosPrevLine; + public Vector2 CursorStartPos; + public Vector2 CursorMaxPos; + public Vector2 IdealMaxPos; + public Vector2 CurrLineSize; + public Vector2 PrevLineSize; + public float CurrLineTextBaseOffset; + public float PrevLineTextBaseOffset; + public byte IsSameLine; + public ImVec1 Indent; + public ImVec1 ColumnsOffset; + public ImVec1 GroupOffset; + public Vector2 CursorStartPosLossyness; + public ImGuiNavLayer NavLayerCurrent; + public short NavLayersActiveMask; + public short NavLayersActiveMaskNext; + public uint NavFocusScopeIdCurrent; + public byte NavHideHighlightOneFrame; + public byte NavHasScroll; + public byte MenuBarAppending; + public Vector2 MenuBarOffset; + public ImGuiMenuColumns MenuColumns; + public int TreeDepth; + public uint TreeJumpToParentOnPopMask; + public ImVector ChildWindows; + public unsafe ImGuiStorage* StateStorage; + public unsafe ImGuiOldColumns* CurrentColumns; + public int CurrentTableIdx; + public ImGuiLayoutType LayoutType; + public ImGuiLayoutType ParentLayoutType; + public float ItemWidth; + public float TextWrapPos; + public ImVector ItemWidthStack; + public ImVector TextWrapPosStack; + public unsafe ImGuiWindowTempData(Vector2 cursorPos = default, Vector2 cursorPosPrevLine = default, Vector2 cursorStartPos = default, Vector2 cursorMaxPos = default, Vector2 idealMaxPos = default, Vector2 currLineSize = default, Vector2 prevLineSize = default, float currLineTextBaseOffset = default, float prevLineTextBaseOffset = default, bool isSameLine = default, ImVec1 indent = default, ImVec1 columnsOffset = default, ImVec1 groupOffset = default, Vector2 cursorStartPosLossyness = default, ImGuiNavLayer navLayerCurrent = default, short navLayersActiveMask = default, short navLayersActiveMaskNext = default, uint navFocusScopeIdCurrent = default, bool navHideHighlightOneFrame = default, bool navHasScroll = default, bool menuBarAppending = default, Vector2 menuBarOffset = default, ImGuiMenuColumns menuColumns = default, int treeDepth = default, uint treeJumpToParentOnPopMask = default, ImVector childWindows = default, ImGuiStorage* stateStorage = default, ImGuiOldColumns* currentColumns = default, int currentTableIdx = default, ImGuiLayoutType layoutType = default, ImGuiLayoutType parentLayoutType = default, float itemWidth = default, float textWrapPos = default, ImVector itemWidthStack = default, ImVector textWrapPosStack = default) + { + CursorPos = cursorPos; + CursorPosPrevLine = cursorPosPrevLine; + CursorStartPos = cursorStartPos; + CursorMaxPos = cursorMaxPos; + IdealMaxPos = idealMaxPos; + CurrLineSize = currLineSize; + PrevLineSize = prevLineSize; + CurrLineTextBaseOffset = currLineTextBaseOffset; + PrevLineTextBaseOffset = prevLineTextBaseOffset; + IsSameLine = isSameLine ? (byte)1 : (byte)0; + Indent = indent; + ColumnsOffset = columnsOffset; + GroupOffset = groupOffset; + CursorStartPosLossyness = cursorStartPosLossyness; + NavLayerCurrent = navLayerCurrent; + NavLayersActiveMask = navLayersActiveMask; + NavLayersActiveMaskNext = navLayersActiveMaskNext; + NavFocusScopeIdCurrent = navFocusScopeIdCurrent; + NavHideHighlightOneFrame = navHideHighlightOneFrame ? (byte)1 : (byte)0; + NavHasScroll = navHasScroll ? (byte)1 : (byte)0; + MenuBarAppending = menuBarAppending ? (byte)1 : (byte)0; + MenuBarOffset = menuBarOffset; + MenuColumns = menuColumns; + TreeDepth = treeDepth; + TreeJumpToParentOnPopMask = treeJumpToParentOnPopMask; + ChildWindows = childWindows; + StateStorage = stateStorage; + CurrentColumns = currentColumns; + CurrentTableIdx = currentTableIdx; + LayoutType = layoutType; + ParentLayoutType = parentLayoutType; + ItemWidth = itemWidth; + TextWrapPos = textWrapPos; + ItemWidthStack = itemWidthStack; + TextWrapPosStack = textWrapPosStack; + } + } +} +/* ImPoolImGuiTabBar.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImPoolImGuiTabBar + { + public ImVector Buf; + public ImGuiStorage Map; + public int FreeIdx; + public int AliveCount; + public unsafe ImPoolImGuiTabBar(ImVector buf = default, ImGuiStorage map = default, int freeIdx = default, int aliveCount = default) + { + Buf = buf; + Map = map; + FreeIdx = freeIdx; + AliveCount = aliveCount; + } + } +} +/* ImPoolImGuiTable.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImPoolImGuiTable + { + public ImVector Buf; + public ImGuiStorage Map; + public int FreeIdx; + public int AliveCount; + public unsafe ImPoolImGuiTable(ImVector buf = default, ImGuiStorage map = default, int freeIdx = default, int aliveCount = default) + { + Buf = buf; + Map = map; + FreeIdx = freeIdx; + AliveCount = aliveCount; + } + } +} +/* ImRect.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImRect + { + public Vector2 Min; + public Vector2 Max; + public unsafe ImRect(Vector2 min = default, Vector2 max = default) + { + Min = min; + Max = max; + } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImRectPtr : IEquatable + { + public ImRectPtr(ImRect* handle) { Handle = handle; } + public ImRect* Handle; + public bool IsNull => Handle == null; + public static ImRectPtr Null => new ImRectPtr(null); + public ImRect this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImRectPtr(ImRect* handle) => new ImRectPtr(handle); + public static implicit operator ImRect*(ImRectPtr handle) => handle.Handle; + public static bool operator ==(ImRectPtr left, ImRectPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImRectPtr left, ImRectPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImRectPtr left, ImRect* right) => left.Handle == right; + public static bool operator !=(ImRectPtr left, ImRect* right) => left.Handle != right; + public bool Equals(ImRectPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImRectPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImRectPtr [0x{0}]", ((nuint)Handle).ToString("X")); + public ref Vector2 Min => ref Unsafe.AsRef(&Handle->Min); + public ref Vector2 Max => ref Unsafe.AsRef(&Handle->Max); + } +} +/* ImSpanImGuiTableCellData.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImSpanImGuiTableCellData + { + public unsafe ImGuiTableCellData* Data; + public unsafe ImGuiTableCellData* DataEnd; + public unsafe ImSpanImGuiTableCellData(ImGuiTableCellData* data = default, ImGuiTableCellData* dataEnd = default) + { + Data = data; + DataEnd = dataEnd; + } + } +} +/* ImSpanImGuiTableColumn.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImSpanImGuiTableColumn + { + public unsafe ImGuiTableColumn* Data; + public unsafe ImGuiTableColumn* DataEnd; + public unsafe ImSpanImGuiTableColumn(ImGuiTableColumn* data = default, ImGuiTableColumn* dataEnd = default) + { + Data = data; + DataEnd = dataEnd; + } + } +} +/* ImSpanImGuiTableColumnIdx.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImSpanImGuiTableColumnIdx + { + public unsafe sbyte* Data; + public unsafe sbyte* DataEnd; + public unsafe ImSpanImGuiTableColumnIdx(sbyte* data = default, sbyte* dataEnd = default) + { + Data = data; + DataEnd = dataEnd; + } + } +} +/* ImVec1.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImVec1 + { + public float X; + public unsafe ImVec1(float x = default) + { + X = x; + } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImVec1Ptr : IEquatable + { + public ImVec1Ptr(ImVec1* handle) { Handle = handle; } + public ImVec1* Handle; + public bool IsNull => Handle == null; + public static ImVec1Ptr Null => new ImVec1Ptr(null); + public ImVec1 this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImVec1Ptr(ImVec1* handle) => new ImVec1Ptr(handle); + public static implicit operator ImVec1*(ImVec1Ptr handle) => handle.Handle; + public static bool operator ==(ImVec1Ptr left, ImVec1Ptr right) => left.Handle == right.Handle; + public static bool operator !=(ImVec1Ptr left, ImVec1Ptr right) => left.Handle != right.Handle; + public static bool operator ==(ImVec1Ptr left, ImVec1* right) => left.Handle == right; + public static bool operator !=(ImVec1Ptr left, ImVec1* right) => left.Handle != right; + public bool Equals(ImVec1Ptr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImVec1Ptr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImVec1Ptr [0x{0}]", ((nuint)Handle).ToString("X")); + public ref float X => ref Unsafe.AsRef(&Handle->X); + } +} +/* ImVec2Ih.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct ImVec2Ih + { + public short X; + public short Y; + public unsafe ImVec2Ih(short x = default, short y = default) + { + X = x; + Y = y; + } + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct ImVec2IhPtr : IEquatable + { + public ImVec2IhPtr(ImVec2Ih* handle) { Handle = handle; } + public ImVec2Ih* Handle; + public bool IsNull => Handle == null; + public static ImVec2IhPtr Null => new ImVec2IhPtr(null); + public ImVec2Ih this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator ImVec2IhPtr(ImVec2Ih* handle) => new ImVec2IhPtr(handle); + public static implicit operator ImVec2Ih*(ImVec2IhPtr handle) => handle.Handle; + public static bool operator ==(ImVec2IhPtr left, ImVec2IhPtr right) => left.Handle == right.Handle; + public static bool operator !=(ImVec2IhPtr left, ImVec2IhPtr right) => left.Handle != right.Handle; + public static bool operator ==(ImVec2IhPtr left, ImVec2Ih* right) => left.Handle == right; + public static bool operator !=(ImVec2IhPtr left, ImVec2Ih* right) => left.Handle != right; + public bool Equals(ImVec2IhPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is ImVec2IhPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("ImVec2IhPtr [0x{0}]", ((nuint)Handle).ToString("X")); + public ref short X => ref Unsafe.AsRef(&Handle->X); + public ref short Y => ref Unsafe.AsRef(&Handle->Y); + } +} +/* StbTexteditRow.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct StbTexteditRow + { + public float X0; + public float X1; + public float BaselineYDelta; + public float Ymin; + public float Ymax; + public int NumChars; + public unsafe StbTexteditRow(float x0 = default, float x1 = default, float baselineYDelta = default, float ymin = default, float ymax = default, int numChars = default) + { + X0 = x0; + X1 = x1; + BaselineYDelta = baselineYDelta; + Ymin = ymin; + Ymax = ymax; + NumChars = numChars; + } + } +} +/* STBTexteditState.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct STBTexteditState + { + public int Cursor; + public int SelectStart; + public int SelectEnd; + public byte InsertMode; + public int RowCountPerPage; + public byte CursorAtEndOfLine; + public byte Initialized; + public byte HasPreferredX; + public byte SingleLine; + public byte Padding1; + public byte Padding2; + public byte Padding3; + public float PreferredX; + public StbUndoState Undostate; + public unsafe STBTexteditState(int cursor = default, int selectStart = default, int selectEnd = default, byte insertMode = default, int rowCountPerPage = default, byte cursorAtEndOfLine = default, byte initialized = default, byte hasPreferredX = default, byte singleLine = default, byte padding1 = default, byte padding2 = default, byte padding3 = default, float preferredX = default, StbUndoState undostate = default) + { + Cursor = cursor; + SelectStart = selectStart; + SelectEnd = selectEnd; + InsertMode = insertMode; + RowCountPerPage = rowCountPerPage; + CursorAtEndOfLine = cursorAtEndOfLine; + Initialized = initialized; + HasPreferredX = hasPreferredX; + SingleLine = singleLine; + Padding1 = padding1; + Padding2 = padding2; + Padding3 = padding3; + PreferredX = preferredX; + Undostate = undostate; + } + } +} +/* StbttPackContext.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct StbttPackContext + { + } + + [DebuggerDisplay("{DebuggerDisplay,nq}")] + + public unsafe partial struct StbttPackContextPtr : IEquatable + { + public StbttPackContextPtr(StbttPackContext* handle) { Handle = handle; } + public StbttPackContext* Handle; + public bool IsNull => Handle == null; + public static StbttPackContextPtr Null => new StbttPackContextPtr(null); + public StbttPackContext this[int index] { get => Handle[index]; set => Handle[index] = value; } + public static implicit operator StbttPackContextPtr(StbttPackContext* handle) => new StbttPackContextPtr(handle); + public static implicit operator StbttPackContext*(StbttPackContextPtr handle) => handle.Handle; + public static bool operator ==(StbttPackContextPtr left, StbttPackContextPtr right) => left.Handle == right.Handle; + public static bool operator !=(StbttPackContextPtr left, StbttPackContextPtr right) => left.Handle != right.Handle; + public static bool operator ==(StbttPackContextPtr left, StbttPackContext* right) => left.Handle == right; + public static bool operator !=(StbttPackContextPtr left, StbttPackContext* right) => left.Handle != right; + public bool Equals(StbttPackContextPtr other) => Handle == other.Handle; + public override bool Equals(object obj) => obj is StbttPackContextPtr handle && Equals(handle); + public override int GetHashCode() => ((nuint)Handle).GetHashCode(); + + private string DebuggerDisplay => string.Format("StbttPackContextPtr [0x{0}]", ((nuint)Handle).ToString("X")); + + } +} +/* StbUndoRecord.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct StbUndoRecord + { + public int Where; + public int InsertLength; + public int DeleteLength; + public int CharStorage; + public unsafe StbUndoRecord(int where = default, int insertLength = default, int deleteLength = default, int charStorage = default) + { + Where = where; + InsertLength = insertLength; + DeleteLength = deleteLength; + CharStorage = charStorage; + } + } +} +/* StbUndoState.cs */ +namespace Dalamud.Bindings.ImGui +{ + [StructLayout(LayoutKind.Sequential)] + public partial struct StbUndoState + { + public StbUndoRecord UndoRec_0; + public StbUndoRecord UndoRec_1; + public StbUndoRecord UndoRec_2; + public StbUndoRecord UndoRec_3; + public StbUndoRecord UndoRec_4; + public StbUndoRecord UndoRec_5; + public StbUndoRecord UndoRec_6; + public StbUndoRecord UndoRec_7; + public StbUndoRecord UndoRec_8; + public StbUndoRecord UndoRec_9; + public StbUndoRecord UndoRec_10; + public StbUndoRecord UndoRec_11; + public StbUndoRecord UndoRec_12; + public StbUndoRecord UndoRec_13; + public StbUndoRecord UndoRec_14; + public StbUndoRecord UndoRec_15; + public StbUndoRecord UndoRec_16; + public StbUndoRecord UndoRec_17; + public StbUndoRecord UndoRec_18; + public StbUndoRecord UndoRec_19; + public StbUndoRecord UndoRec_20; + public StbUndoRecord UndoRec_21; + public StbUndoRecord UndoRec_22; + public StbUndoRecord UndoRec_23; + public StbUndoRecord UndoRec_24; + public StbUndoRecord UndoRec_25; + public StbUndoRecord UndoRec_26; + public StbUndoRecord UndoRec_27; + public StbUndoRecord UndoRec_28; + public StbUndoRecord UndoRec_29; + public StbUndoRecord UndoRec_30; + public StbUndoRecord UndoRec_31; + public StbUndoRecord UndoRec_32; + public StbUndoRecord UndoRec_33; + public StbUndoRecord UndoRec_34; + public StbUndoRecord UndoRec_35; + public StbUndoRecord UndoRec_36; + public StbUndoRecord UndoRec_37; + public StbUndoRecord UndoRec_38; + public StbUndoRecord UndoRec_39; + public StbUndoRecord UndoRec_40; + public StbUndoRecord UndoRec_41; + public StbUndoRecord UndoRec_42; + public StbUndoRecord UndoRec_43; + public StbUndoRecord UndoRec_44; + public StbUndoRecord UndoRec_45; + public StbUndoRecord UndoRec_46; + public StbUndoRecord UndoRec_47; + public StbUndoRecord UndoRec_48; + public StbUndoRecord UndoRec_49; + public StbUndoRecord UndoRec_50; + public StbUndoRecord UndoRec_51; + public StbUndoRecord UndoRec_52; + public StbUndoRecord UndoRec_53; + public StbUndoRecord UndoRec_54; + public StbUndoRecord UndoRec_55; + public StbUndoRecord UndoRec_56; + public StbUndoRecord UndoRec_57; + public StbUndoRecord UndoRec_58; + public StbUndoRecord UndoRec_59; + public StbUndoRecord UndoRec_60; + public StbUndoRecord UndoRec_61; + public StbUndoRecord UndoRec_62; + public StbUndoRecord UndoRec_63; + public StbUndoRecord UndoRec_64; + public StbUndoRecord UndoRec_65; + public StbUndoRecord UndoRec_66; + public StbUndoRecord UndoRec_67; + public StbUndoRecord UndoRec_68; + public StbUndoRecord UndoRec_69; + public StbUndoRecord UndoRec_70; + public StbUndoRecord UndoRec_71; + public StbUndoRecord UndoRec_72; + public StbUndoRecord UndoRec_73; + public StbUndoRecord UndoRec_74; + public StbUndoRecord UndoRec_75; + public StbUndoRecord UndoRec_76; + public StbUndoRecord UndoRec_77; + public StbUndoRecord UndoRec_78; + public StbUndoRecord UndoRec_79; + public StbUndoRecord UndoRec_80; + public StbUndoRecord UndoRec_81; + public StbUndoRecord UndoRec_82; + public StbUndoRecord UndoRec_83; + public StbUndoRecord UndoRec_84; + public StbUndoRecord UndoRec_85; + public StbUndoRecord UndoRec_86; + public StbUndoRecord UndoRec_87; + public StbUndoRecord UndoRec_88; + public StbUndoRecord UndoRec_89; + public StbUndoRecord UndoRec_90; + public StbUndoRecord UndoRec_91; + public StbUndoRecord UndoRec_92; + public StbUndoRecord UndoRec_93; + public StbUndoRecord UndoRec_94; + public StbUndoRecord UndoRec_95; + public StbUndoRecord UndoRec_96; + public StbUndoRecord UndoRec_97; + public StbUndoRecord UndoRec_98; + public ushort UndoChar_0; + public ushort UndoChar_1; + public ushort UndoChar_2; + public ushort UndoChar_3; + public ushort UndoChar_4; + public ushort UndoChar_5; + public ushort UndoChar_6; + public ushort UndoChar_7; + public ushort UndoChar_8; + public ushort UndoChar_9; + public ushort UndoChar_10; + public ushort UndoChar_11; + public ushort UndoChar_12; + public ushort UndoChar_13; + public ushort UndoChar_14; + public ushort UndoChar_15; + public ushort UndoChar_16; + public ushort UndoChar_17; + public ushort UndoChar_18; + public ushort UndoChar_19; + public ushort UndoChar_20; + public ushort UndoChar_21; + public ushort UndoChar_22; + public ushort UndoChar_23; + public ushort UndoChar_24; + public ushort UndoChar_25; + public ushort UndoChar_26; + public ushort UndoChar_27; + public ushort UndoChar_28; + public ushort UndoChar_29; + public ushort UndoChar_30; + public ushort UndoChar_31; + public ushort UndoChar_32; + public ushort UndoChar_33; + public ushort UndoChar_34; + public ushort UndoChar_35; + public ushort UndoChar_36; + public ushort UndoChar_37; + public ushort UndoChar_38; + public ushort UndoChar_39; + public ushort UndoChar_40; + public ushort UndoChar_41; + public ushort UndoChar_42; + public ushort UndoChar_43; + public ushort UndoChar_44; + public ushort UndoChar_45; + public ushort UndoChar_46; + public ushort UndoChar_47; + public ushort UndoChar_48; + public ushort UndoChar_49; + public ushort UndoChar_50; + public ushort UndoChar_51; + public ushort UndoChar_52; + public ushort UndoChar_53; + public ushort UndoChar_54; + public ushort UndoChar_55; + public ushort UndoChar_56; + public ushort UndoChar_57; + public ushort UndoChar_58; + public ushort UndoChar_59; + public ushort UndoChar_60; + public ushort UndoChar_61; + public ushort UndoChar_62; + public ushort UndoChar_63; + public ushort UndoChar_64; + public ushort UndoChar_65; + public ushort UndoChar_66; + public ushort UndoChar_67; + public ushort UndoChar_68; + public ushort UndoChar_69; + public ushort UndoChar_70; + public ushort UndoChar_71; + public ushort UndoChar_72; + public ushort UndoChar_73; + public ushort UndoChar_74; + public ushort UndoChar_75; + public ushort UndoChar_76; + public ushort UndoChar_77; + public ushort UndoChar_78; + public ushort UndoChar_79; + public ushort UndoChar_80; + public ushort UndoChar_81; + public ushort UndoChar_82; + public ushort UndoChar_83; + public ushort UndoChar_84; + public ushort UndoChar_85; + public ushort UndoChar_86; + public ushort UndoChar_87; + public ushort UndoChar_88; + public ushort UndoChar_89; + public ushort UndoChar_90; + public ushort UndoChar_91; + public ushort UndoChar_92; + public ushort UndoChar_93; + public ushort UndoChar_94; + public ushort UndoChar_95; + public ushort UndoChar_96; + public ushort UndoChar_97; + public ushort UndoChar_98; + public ushort UndoChar_99; + public ushort UndoChar_100; + public ushort UndoChar_101; + public ushort UndoChar_102; + public ushort UndoChar_103; + public ushort UndoChar_104; + public ushort UndoChar_105; + public ushort UndoChar_106; + public ushort UndoChar_107; + public ushort UndoChar_108; + public ushort UndoChar_109; + public ushort UndoChar_110; + public ushort UndoChar_111; + public ushort UndoChar_112; + public ushort UndoChar_113; + public ushort UndoChar_114; + public ushort UndoChar_115; + public ushort UndoChar_116; + public ushort UndoChar_117; + public ushort UndoChar_118; + public ushort UndoChar_119; + public ushort UndoChar_120; + public ushort UndoChar_121; + public ushort UndoChar_122; + public ushort UndoChar_123; + public ushort UndoChar_124; + public ushort UndoChar_125; + public ushort UndoChar_126; + public ushort UndoChar_127; + public ushort UndoChar_128; + public ushort UndoChar_129; + public ushort UndoChar_130; + public ushort UndoChar_131; + public ushort UndoChar_132; + public ushort UndoChar_133; + public ushort UndoChar_134; + public ushort UndoChar_135; + public ushort UndoChar_136; + public ushort UndoChar_137; + public ushort UndoChar_138; + public ushort UndoChar_139; + public ushort UndoChar_140; + public ushort UndoChar_141; + public ushort UndoChar_142; + public ushort UndoChar_143; + public ushort UndoChar_144; + public ushort UndoChar_145; + public ushort UndoChar_146; + public ushort UndoChar_147; + public ushort UndoChar_148; + public ushort UndoChar_149; + public ushort UndoChar_150; + public ushort UndoChar_151; + public ushort UndoChar_152; + public ushort UndoChar_153; + public ushort UndoChar_154; + public ushort UndoChar_155; + public ushort UndoChar_156; + public ushort UndoChar_157; + public ushort UndoChar_158; + public ushort UndoChar_159; + public ushort UndoChar_160; + public ushort UndoChar_161; + public ushort UndoChar_162; + public ushort UndoChar_163; + public ushort UndoChar_164; + public ushort UndoChar_165; + public ushort UndoChar_166; + public ushort UndoChar_167; + public ushort UndoChar_168; + public ushort UndoChar_169; + public ushort UndoChar_170; + public ushort UndoChar_171; + public ushort UndoChar_172; + public ushort UndoChar_173; + public ushort UndoChar_174; + public ushort UndoChar_175; + public ushort UndoChar_176; + public ushort UndoChar_177; + public ushort UndoChar_178; + public ushort UndoChar_179; + public ushort UndoChar_180; + public ushort UndoChar_181; + public ushort UndoChar_182; + public ushort UndoChar_183; + public ushort UndoChar_184; + public ushort UndoChar_185; + public ushort UndoChar_186; + public ushort UndoChar_187; + public ushort UndoChar_188; + public ushort UndoChar_189; + public ushort UndoChar_190; + public ushort UndoChar_191; + public ushort UndoChar_192; + public ushort UndoChar_193; + public ushort UndoChar_194; + public ushort UndoChar_195; + public ushort UndoChar_196; + public ushort UndoChar_197; + public ushort UndoChar_198; + public ushort UndoChar_199; + public ushort UndoChar_200; + public ushort UndoChar_201; + public ushort UndoChar_202; + public ushort UndoChar_203; + public ushort UndoChar_204; + public ushort UndoChar_205; + public ushort UndoChar_206; + public ushort UndoChar_207; + public ushort UndoChar_208; + public ushort UndoChar_209; + public ushort UndoChar_210; + public ushort UndoChar_211; + public ushort UndoChar_212; + public ushort UndoChar_213; + public ushort UndoChar_214; + public ushort UndoChar_215; + public ushort UndoChar_216; + public ushort UndoChar_217; + public ushort UndoChar_218; + public ushort UndoChar_219; + public ushort UndoChar_220; + public ushort UndoChar_221; + public ushort UndoChar_222; + public ushort UndoChar_223; + public ushort UndoChar_224; + public ushort UndoChar_225; + public ushort UndoChar_226; + public ushort UndoChar_227; + public ushort UndoChar_228; + public ushort UndoChar_229; + public ushort UndoChar_230; + public ushort UndoChar_231; + public ushort UndoChar_232; + public ushort UndoChar_233; + public ushort UndoChar_234; + public ushort UndoChar_235; + public ushort UndoChar_236; + public ushort UndoChar_237; + public ushort UndoChar_238; + public ushort UndoChar_239; + public ushort UndoChar_240; + public ushort UndoChar_241; + public ushort UndoChar_242; + public ushort UndoChar_243; + public ushort UndoChar_244; + public ushort UndoChar_245; + public ushort UndoChar_246; + public ushort UndoChar_247; + public ushort UndoChar_248; + public ushort UndoChar_249; + public ushort UndoChar_250; + public ushort UndoChar_251; + public ushort UndoChar_252; + public ushort UndoChar_253; + public ushort UndoChar_254; + public ushort UndoChar_255; + public ushort UndoChar_256; + public ushort UndoChar_257; + public ushort UndoChar_258; + public ushort UndoChar_259; + public ushort UndoChar_260; + public ushort UndoChar_261; + public ushort UndoChar_262; + public ushort UndoChar_263; + public ushort UndoChar_264; + public ushort UndoChar_265; + public ushort UndoChar_266; + public ushort UndoChar_267; + public ushort UndoChar_268; + public ushort UndoChar_269; + public ushort UndoChar_270; + public ushort UndoChar_271; + public ushort UndoChar_272; + public ushort UndoChar_273; + public ushort UndoChar_274; + public ushort UndoChar_275; + public ushort UndoChar_276; + public ushort UndoChar_277; + public ushort UndoChar_278; + public ushort UndoChar_279; + public ushort UndoChar_280; + public ushort UndoChar_281; + public ushort UndoChar_282; + public ushort UndoChar_283; + public ushort UndoChar_284; + public ushort UndoChar_285; + public ushort UndoChar_286; + public ushort UndoChar_287; + public ushort UndoChar_288; + public ushort UndoChar_289; + public ushort UndoChar_290; + public ushort UndoChar_291; + public ushort UndoChar_292; + public ushort UndoChar_293; + public ushort UndoChar_294; + public ushort UndoChar_295; + public ushort UndoChar_296; + public ushort UndoChar_297; + public ushort UndoChar_298; + public ushort UndoChar_299; + public ushort UndoChar_300; + public ushort UndoChar_301; + public ushort UndoChar_302; + public ushort UndoChar_303; + public ushort UndoChar_304; + public ushort UndoChar_305; + public ushort UndoChar_306; + public ushort UndoChar_307; + public ushort UndoChar_308; + public ushort UndoChar_309; + public ushort UndoChar_310; + public ushort UndoChar_311; + public ushort UndoChar_312; + public ushort UndoChar_313; + public ushort UndoChar_314; + public ushort UndoChar_315; + public ushort UndoChar_316; + public ushort UndoChar_317; + public ushort UndoChar_318; + public ushort UndoChar_319; + public ushort UndoChar_320; + public ushort UndoChar_321; + public ushort UndoChar_322; + public ushort UndoChar_323; + public ushort UndoChar_324; + public ushort UndoChar_325; + public ushort UndoChar_326; + public ushort UndoChar_327; + public ushort UndoChar_328; + public ushort UndoChar_329; + public ushort UndoChar_330; + public ushort UndoChar_331; + public ushort UndoChar_332; + public ushort UndoChar_333; + public ushort UndoChar_334; + public ushort UndoChar_335; + public ushort UndoChar_336; + public ushort UndoChar_337; + public ushort UndoChar_338; + public ushort UndoChar_339; + public ushort UndoChar_340; + public ushort UndoChar_341; + public ushort UndoChar_342; + public ushort UndoChar_343; + public ushort UndoChar_344; + public ushort UndoChar_345; + public ushort UndoChar_346; + public ushort UndoChar_347; + public ushort UndoChar_348; + public ushort UndoChar_349; + public ushort UndoChar_350; + public ushort UndoChar_351; + public ushort UndoChar_352; + public ushort UndoChar_353; + public ushort UndoChar_354; + public ushort UndoChar_355; + public ushort UndoChar_356; + public ushort UndoChar_357; + public ushort UndoChar_358; + public ushort UndoChar_359; + public ushort UndoChar_360; + public ushort UndoChar_361; + public ushort UndoChar_362; + public ushort UndoChar_363; + public ushort UndoChar_364; + public ushort UndoChar_365; + public ushort UndoChar_366; + public ushort UndoChar_367; + public ushort UndoChar_368; + public ushort UndoChar_369; + public ushort UndoChar_370; + public ushort UndoChar_371; + public ushort UndoChar_372; + public ushort UndoChar_373; + public ushort UndoChar_374; + public ushort UndoChar_375; + public ushort UndoChar_376; + public ushort UndoChar_377; + public ushort UndoChar_378; + public ushort UndoChar_379; + public ushort UndoChar_380; + public ushort UndoChar_381; + public ushort UndoChar_382; + public ushort UndoChar_383; + public ushort UndoChar_384; + public ushort UndoChar_385; + public ushort UndoChar_386; + public ushort UndoChar_387; + public ushort UndoChar_388; + public ushort UndoChar_389; + public ushort UndoChar_390; + public ushort UndoChar_391; + public ushort UndoChar_392; + public ushort UndoChar_393; + public ushort UndoChar_394; + public ushort UndoChar_395; + public ushort UndoChar_396; + public ushort UndoChar_397; + public ushort UndoChar_398; + public ushort UndoChar_399; + public ushort UndoChar_400; + public ushort UndoChar_401; + public ushort UndoChar_402; + public ushort UndoChar_403; + public ushort UndoChar_404; + public ushort UndoChar_405; + public ushort UndoChar_406; + public ushort UndoChar_407; + public ushort UndoChar_408; + public ushort UndoChar_409; + public ushort UndoChar_410; + public ushort UndoChar_411; + public ushort UndoChar_412; + public ushort UndoChar_413; + public ushort UndoChar_414; + public ushort UndoChar_415; + public ushort UndoChar_416; + public ushort UndoChar_417; + public ushort UndoChar_418; + public ushort UndoChar_419; + public ushort UndoChar_420; + public ushort UndoChar_421; + public ushort UndoChar_422; + public ushort UndoChar_423; + public ushort UndoChar_424; + public ushort UndoChar_425; + public ushort UndoChar_426; + public ushort UndoChar_427; + public ushort UndoChar_428; + public ushort UndoChar_429; + public ushort UndoChar_430; + public ushort UndoChar_431; + public ushort UndoChar_432; + public ushort UndoChar_433; + public ushort UndoChar_434; + public ushort UndoChar_435; + public ushort UndoChar_436; + public ushort UndoChar_437; + public ushort UndoChar_438; + public ushort UndoChar_439; + public ushort UndoChar_440; + public ushort UndoChar_441; + public ushort UndoChar_442; + public ushort UndoChar_443; + public ushort UndoChar_444; + public ushort UndoChar_445; + public ushort UndoChar_446; + public ushort UndoChar_447; + public ushort UndoChar_448; + public ushort UndoChar_449; + public ushort UndoChar_450; + public ushort UndoChar_451; + public ushort UndoChar_452; + public ushort UndoChar_453; + public ushort UndoChar_454; + public ushort UndoChar_455; + public ushort UndoChar_456; + public ushort UndoChar_457; + public ushort UndoChar_458; + public ushort UndoChar_459; + public ushort UndoChar_460; + public ushort UndoChar_461; + public ushort UndoChar_462; + public ushort UndoChar_463; + public ushort UndoChar_464; + public ushort UndoChar_465; + public ushort UndoChar_466; + public ushort UndoChar_467; + public ushort UndoChar_468; + public ushort UndoChar_469; + public ushort UndoChar_470; + public ushort UndoChar_471; + public ushort UndoChar_472; + public ushort UndoChar_473; + public ushort UndoChar_474; + public ushort UndoChar_475; + public ushort UndoChar_476; + public ushort UndoChar_477; + public ushort UndoChar_478; + public ushort UndoChar_479; + public ushort UndoChar_480; + public ushort UndoChar_481; + public ushort UndoChar_482; + public ushort UndoChar_483; + public ushort UndoChar_484; + public ushort UndoChar_485; + public ushort UndoChar_486; + public ushort UndoChar_487; + public ushort UndoChar_488; + public ushort UndoChar_489; + public ushort UndoChar_490; + public ushort UndoChar_491; + public ushort UndoChar_492; + public ushort UndoChar_493; + public ushort UndoChar_494; + public ushort UndoChar_495; + public ushort UndoChar_496; + public ushort UndoChar_497; + public ushort UndoChar_498; + public ushort UndoChar_499; + public ushort UndoChar_500; + public ushort UndoChar_501; + public ushort UndoChar_502; + public ushort UndoChar_503; + public ushort UndoChar_504; + public ushort UndoChar_505; + public ushort UndoChar_506; + public ushort UndoChar_507; + public ushort UndoChar_508; + public ushort UndoChar_509; + public ushort UndoChar_510; + public ushort UndoChar_511; + public ushort UndoChar_512; + public ushort UndoChar_513; + public ushort UndoChar_514; + public ushort UndoChar_515; + public ushort UndoChar_516; + public ushort UndoChar_517; + public ushort UndoChar_518; + public ushort UndoChar_519; + public ushort UndoChar_520; + public ushort UndoChar_521; + public ushort UndoChar_522; + public ushort UndoChar_523; + public ushort UndoChar_524; + public ushort UndoChar_525; + public ushort UndoChar_526; + public ushort UndoChar_527; + public ushort UndoChar_528; + public ushort UndoChar_529; + public ushort UndoChar_530; + public ushort UndoChar_531; + public ushort UndoChar_532; + public ushort UndoChar_533; + public ushort UndoChar_534; + public ushort UndoChar_535; + public ushort UndoChar_536; + public ushort UndoChar_537; + public ushort UndoChar_538; + public ushort UndoChar_539; + public ushort UndoChar_540; + public ushort UndoChar_541; + public ushort UndoChar_542; + public ushort UndoChar_543; + public ushort UndoChar_544; + public ushort UndoChar_545; + public ushort UndoChar_546; + public ushort UndoChar_547; + public ushort UndoChar_548; + public ushort UndoChar_549; + public ushort UndoChar_550; + public ushort UndoChar_551; + public ushort UndoChar_552; + public ushort UndoChar_553; + public ushort UndoChar_554; + public ushort UndoChar_555; + public ushort UndoChar_556; + public ushort UndoChar_557; + public ushort UndoChar_558; + public ushort UndoChar_559; + public ushort UndoChar_560; + public ushort UndoChar_561; + public ushort UndoChar_562; + public ushort UndoChar_563; + public ushort UndoChar_564; + public ushort UndoChar_565; + public ushort UndoChar_566; + public ushort UndoChar_567; + public ushort UndoChar_568; + public ushort UndoChar_569; + public ushort UndoChar_570; + public ushort UndoChar_571; + public ushort UndoChar_572; + public ushort UndoChar_573; + public ushort UndoChar_574; + public ushort UndoChar_575; + public ushort UndoChar_576; + public ushort UndoChar_577; + public ushort UndoChar_578; + public ushort UndoChar_579; + public ushort UndoChar_580; + public ushort UndoChar_581; + public ushort UndoChar_582; + public ushort UndoChar_583; + public ushort UndoChar_584; + public ushort UndoChar_585; + public ushort UndoChar_586; + public ushort UndoChar_587; + public ushort UndoChar_588; + public ushort UndoChar_589; + public ushort UndoChar_590; + public ushort UndoChar_591; + public ushort UndoChar_592; + public ushort UndoChar_593; + public ushort UndoChar_594; + public ushort UndoChar_595; + public ushort UndoChar_596; + public ushort UndoChar_597; + public ushort UndoChar_598; + public ushort UndoChar_599; + public ushort UndoChar_600; + public ushort UndoChar_601; + public ushort UndoChar_602; + public ushort UndoChar_603; + public ushort UndoChar_604; + public ushort UndoChar_605; + public ushort UndoChar_606; + public ushort UndoChar_607; + public ushort UndoChar_608; + public ushort UndoChar_609; + public ushort UndoChar_610; + public ushort UndoChar_611; + public ushort UndoChar_612; + public ushort UndoChar_613; + public ushort UndoChar_614; + public ushort UndoChar_615; + public ushort UndoChar_616; + public ushort UndoChar_617; + public ushort UndoChar_618; + public ushort UndoChar_619; + public ushort UndoChar_620; + public ushort UndoChar_621; + public ushort UndoChar_622; + public ushort UndoChar_623; + public ushort UndoChar_624; + public ushort UndoChar_625; + public ushort UndoChar_626; + public ushort UndoChar_627; + public ushort UndoChar_628; + public ushort UndoChar_629; + public ushort UndoChar_630; + public ushort UndoChar_631; + public ushort UndoChar_632; + public ushort UndoChar_633; + public ushort UndoChar_634; + public ushort UndoChar_635; + public ushort UndoChar_636; + public ushort UndoChar_637; + public ushort UndoChar_638; + public ushort UndoChar_639; + public ushort UndoChar_640; + public ushort UndoChar_641; + public ushort UndoChar_642; + public ushort UndoChar_643; + public ushort UndoChar_644; + public ushort UndoChar_645; + public ushort UndoChar_646; + public ushort UndoChar_647; + public ushort UndoChar_648; + public ushort UndoChar_649; + public ushort UndoChar_650; + public ushort UndoChar_651; + public ushort UndoChar_652; + public ushort UndoChar_653; + public ushort UndoChar_654; + public ushort UndoChar_655; + public ushort UndoChar_656; + public ushort UndoChar_657; + public ushort UndoChar_658; + public ushort UndoChar_659; + public ushort UndoChar_660; + public ushort UndoChar_661; + public ushort UndoChar_662; + public ushort UndoChar_663; + public ushort UndoChar_664; + public ushort UndoChar_665; + public ushort UndoChar_666; + public ushort UndoChar_667; + public ushort UndoChar_668; + public ushort UndoChar_669; + public ushort UndoChar_670; + public ushort UndoChar_671; + public ushort UndoChar_672; + public ushort UndoChar_673; + public ushort UndoChar_674; + public ushort UndoChar_675; + public ushort UndoChar_676; + public ushort UndoChar_677; + public ushort UndoChar_678; + public ushort UndoChar_679; + public ushort UndoChar_680; + public ushort UndoChar_681; + public ushort UndoChar_682; + public ushort UndoChar_683; + public ushort UndoChar_684; + public ushort UndoChar_685; + public ushort UndoChar_686; + public ushort UndoChar_687; + public ushort UndoChar_688; + public ushort UndoChar_689; + public ushort UndoChar_690; + public ushort UndoChar_691; + public ushort UndoChar_692; + public ushort UndoChar_693; + public ushort UndoChar_694; + public ushort UndoChar_695; + public ushort UndoChar_696; + public ushort UndoChar_697; + public ushort UndoChar_698; + public ushort UndoChar_699; + public ushort UndoChar_700; + public ushort UndoChar_701; + public ushort UndoChar_702; + public ushort UndoChar_703; + public ushort UndoChar_704; + public ushort UndoChar_705; + public ushort UndoChar_706; + public ushort UndoChar_707; + public ushort UndoChar_708; + public ushort UndoChar_709; + public ushort UndoChar_710; + public ushort UndoChar_711; + public ushort UndoChar_712; + public ushort UndoChar_713; + public ushort UndoChar_714; + public ushort UndoChar_715; + public ushort UndoChar_716; + public ushort UndoChar_717; + public ushort UndoChar_718; + public ushort UndoChar_719; + public ushort UndoChar_720; + public ushort UndoChar_721; + public ushort UndoChar_722; + public ushort UndoChar_723; + public ushort UndoChar_724; + public ushort UndoChar_725; + public ushort UndoChar_726; + public ushort UndoChar_727; + public ushort UndoChar_728; + public ushort UndoChar_729; + public ushort UndoChar_730; + public ushort UndoChar_731; + public ushort UndoChar_732; + public ushort UndoChar_733; + public ushort UndoChar_734; + public ushort UndoChar_735; + public ushort UndoChar_736; + public ushort UndoChar_737; + public ushort UndoChar_738; + public ushort UndoChar_739; + public ushort UndoChar_740; + public ushort UndoChar_741; + public ushort UndoChar_742; + public ushort UndoChar_743; + public ushort UndoChar_744; + public ushort UndoChar_745; + public ushort UndoChar_746; + public ushort UndoChar_747; + public ushort UndoChar_748; + public ushort UndoChar_749; + public ushort UndoChar_750; + public ushort UndoChar_751; + public ushort UndoChar_752; + public ushort UndoChar_753; + public ushort UndoChar_754; + public ushort UndoChar_755; + public ushort UndoChar_756; + public ushort UndoChar_757; + public ushort UndoChar_758; + public ushort UndoChar_759; + public ushort UndoChar_760; + public ushort UndoChar_761; + public ushort UndoChar_762; + public ushort UndoChar_763; + public ushort UndoChar_764; + public ushort UndoChar_765; + public ushort UndoChar_766; + public ushort UndoChar_767; + public ushort UndoChar_768; + public ushort UndoChar_769; + public ushort UndoChar_770; + public ushort UndoChar_771; + public ushort UndoChar_772; + public ushort UndoChar_773; + public ushort UndoChar_774; + public ushort UndoChar_775; + public ushort UndoChar_776; + public ushort UndoChar_777; + public ushort UndoChar_778; + public ushort UndoChar_779; + public ushort UndoChar_780; + public ushort UndoChar_781; + public ushort UndoChar_782; + public ushort UndoChar_783; + public ushort UndoChar_784; + public ushort UndoChar_785; + public ushort UndoChar_786; + public ushort UndoChar_787; + public ushort UndoChar_788; + public ushort UndoChar_789; + public ushort UndoChar_790; + public ushort UndoChar_791; + public ushort UndoChar_792; + public ushort UndoChar_793; + public ushort UndoChar_794; + public ushort UndoChar_795; + public ushort UndoChar_796; + public ushort UndoChar_797; + public ushort UndoChar_798; + public ushort UndoChar_799; + public ushort UndoChar_800; + public ushort UndoChar_801; + public ushort UndoChar_802; + public ushort UndoChar_803; + public ushort UndoChar_804; + public ushort UndoChar_805; + public ushort UndoChar_806; + public ushort UndoChar_807; + public ushort UndoChar_808; + public ushort UndoChar_809; + public ushort UndoChar_810; + public ushort UndoChar_811; + public ushort UndoChar_812; + public ushort UndoChar_813; + public ushort UndoChar_814; + public ushort UndoChar_815; + public ushort UndoChar_816; + public ushort UndoChar_817; + public ushort UndoChar_818; + public ushort UndoChar_819; + public ushort UndoChar_820; + public ushort UndoChar_821; + public ushort UndoChar_822; + public ushort UndoChar_823; + public ushort UndoChar_824; + public ushort UndoChar_825; + public ushort UndoChar_826; + public ushort UndoChar_827; + public ushort UndoChar_828; + public ushort UndoChar_829; + public ushort UndoChar_830; + public ushort UndoChar_831; + public ushort UndoChar_832; + public ushort UndoChar_833; + public ushort UndoChar_834; + public ushort UndoChar_835; + public ushort UndoChar_836; + public ushort UndoChar_837; + public ushort UndoChar_838; + public ushort UndoChar_839; + public ushort UndoChar_840; + public ushort UndoChar_841; + public ushort UndoChar_842; + public ushort UndoChar_843; + public ushort UndoChar_844; + public ushort UndoChar_845; + public ushort UndoChar_846; + public ushort UndoChar_847; + public ushort UndoChar_848; + public ushort UndoChar_849; + public ushort UndoChar_850; + public ushort UndoChar_851; + public ushort UndoChar_852; + public ushort UndoChar_853; + public ushort UndoChar_854; + public ushort UndoChar_855; + public ushort UndoChar_856; + public ushort UndoChar_857; + public ushort UndoChar_858; + public ushort UndoChar_859; + public ushort UndoChar_860; + public ushort UndoChar_861; + public ushort UndoChar_862; + public ushort UndoChar_863; + public ushort UndoChar_864; + public ushort UndoChar_865; + public ushort UndoChar_866; + public ushort UndoChar_867; + public ushort UndoChar_868; + public ushort UndoChar_869; + public ushort UndoChar_870; + public ushort UndoChar_871; + public ushort UndoChar_872; + public ushort UndoChar_873; + public ushort UndoChar_874; + public ushort UndoChar_875; + public ushort UndoChar_876; + public ushort UndoChar_877; + public ushort UndoChar_878; + public ushort UndoChar_879; + public ushort UndoChar_880; + public ushort UndoChar_881; + public ushort UndoChar_882; + public ushort UndoChar_883; + public ushort UndoChar_884; + public ushort UndoChar_885; + public ushort UndoChar_886; + public ushort UndoChar_887; + public ushort UndoChar_888; + public ushort UndoChar_889; + public ushort UndoChar_890; + public ushort UndoChar_891; + public ushort UndoChar_892; + public ushort UndoChar_893; + public ushort UndoChar_894; + public ushort UndoChar_895; + public ushort UndoChar_896; + public ushort UndoChar_897; + public ushort UndoChar_898; + public ushort UndoChar_899; + public ushort UndoChar_900; + public ushort UndoChar_901; + public ushort UndoChar_902; + public ushort UndoChar_903; + public ushort UndoChar_904; + public ushort UndoChar_905; + public ushort UndoChar_906; + public ushort UndoChar_907; + public ushort UndoChar_908; + public ushort UndoChar_909; + public ushort UndoChar_910; + public ushort UndoChar_911; + public ushort UndoChar_912; + public ushort UndoChar_913; + public ushort UndoChar_914; + public ushort UndoChar_915; + public ushort UndoChar_916; + public ushort UndoChar_917; + public ushort UndoChar_918; + public ushort UndoChar_919; + public ushort UndoChar_920; + public ushort UndoChar_921; + public ushort UndoChar_922; + public ushort UndoChar_923; + public ushort UndoChar_924; + public ushort UndoChar_925; + public ushort UndoChar_926; + public ushort UndoChar_927; + public ushort UndoChar_928; + public ushort UndoChar_929; + public ushort UndoChar_930; + public ushort UndoChar_931; + public ushort UndoChar_932; + public ushort UndoChar_933; + public ushort UndoChar_934; + public ushort UndoChar_935; + public ushort UndoChar_936; + public ushort UndoChar_937; + public ushort UndoChar_938; + public ushort UndoChar_939; + public ushort UndoChar_940; + public ushort UndoChar_941; + public ushort UndoChar_942; + public ushort UndoChar_943; + public ushort UndoChar_944; + public ushort UndoChar_945; + public ushort UndoChar_946; + public ushort UndoChar_947; + public ushort UndoChar_948; + public ushort UndoChar_949; + public ushort UndoChar_950; + public ushort UndoChar_951; + public ushort UndoChar_952; + public ushort UndoChar_953; + public ushort UndoChar_954; + public ushort UndoChar_955; + public ushort UndoChar_956; + public ushort UndoChar_957; + public ushort UndoChar_958; + public ushort UndoChar_959; + public ushort UndoChar_960; + public ushort UndoChar_961; + public ushort UndoChar_962; + public ushort UndoChar_963; + public ushort UndoChar_964; + public ushort UndoChar_965; + public ushort UndoChar_966; + public ushort UndoChar_967; + public ushort UndoChar_968; + public ushort UndoChar_969; + public ushort UndoChar_970; + public ushort UndoChar_971; + public ushort UndoChar_972; + public ushort UndoChar_973; + public ushort UndoChar_974; + public ushort UndoChar_975; + public ushort UndoChar_976; + public ushort UndoChar_977; + public ushort UndoChar_978; + public ushort UndoChar_979; + public ushort UndoChar_980; + public ushort UndoChar_981; + public ushort UndoChar_982; + public ushort UndoChar_983; + public ushort UndoChar_984; + public ushort UndoChar_985; + public ushort UndoChar_986; + public ushort UndoChar_987; + public ushort UndoChar_988; + public ushort UndoChar_989; + public ushort UndoChar_990; + public ushort UndoChar_991; + public ushort UndoChar_992; + public ushort UndoChar_993; + public ushort UndoChar_994; + public ushort UndoChar_995; + public ushort UndoChar_996; + public ushort UndoChar_997; + public ushort UndoChar_998; + public short UndoPoint; + public short RedoPoint; + public int UndoCharPoint; + public int RedoCharPoint; + public unsafe StbUndoState(StbUndoRecord* undoRec = default, ushort* undoChar = default, short undoPoint = default, short redoPoint = default, int undoCharPoint = default, int redoCharPoint = default) + { + if (undoRec != default(StbUndoRecord*)) + { + UndoRec_0 = undoRec[0]; + UndoRec_1 = undoRec[1]; + UndoRec_2 = undoRec[2]; + UndoRec_3 = undoRec[3]; + UndoRec_4 = undoRec[4]; + UndoRec_5 = undoRec[5]; + UndoRec_6 = undoRec[6]; + UndoRec_7 = undoRec[7]; + UndoRec_8 = undoRec[8]; + UndoRec_9 = undoRec[9]; + UndoRec_10 = undoRec[10]; + UndoRec_11 = undoRec[11]; + UndoRec_12 = undoRec[12]; + UndoRec_13 = undoRec[13]; + UndoRec_14 = undoRec[14]; + UndoRec_15 = undoRec[15]; + UndoRec_16 = undoRec[16]; + UndoRec_17 = undoRec[17]; + UndoRec_18 = undoRec[18]; + UndoRec_19 = undoRec[19]; + UndoRec_20 = undoRec[20]; + UndoRec_21 = undoRec[21]; + UndoRec_22 = undoRec[22]; + UndoRec_23 = undoRec[23]; + UndoRec_24 = undoRec[24]; + UndoRec_25 = undoRec[25]; + UndoRec_26 = undoRec[26]; + UndoRec_27 = undoRec[27]; + UndoRec_28 = undoRec[28]; + UndoRec_29 = undoRec[29]; + UndoRec_30 = undoRec[30]; + UndoRec_31 = undoRec[31]; + UndoRec_32 = undoRec[32]; + UndoRec_33 = undoRec[33]; + UndoRec_34 = undoRec[34]; + UndoRec_35 = undoRec[35]; + UndoRec_36 = undoRec[36]; + UndoRec_37 = undoRec[37]; + UndoRec_38 = undoRec[38]; + UndoRec_39 = undoRec[39]; + UndoRec_40 = undoRec[40]; + UndoRec_41 = undoRec[41]; + UndoRec_42 = undoRec[42]; + UndoRec_43 = undoRec[43]; + UndoRec_44 = undoRec[44]; + UndoRec_45 = undoRec[45]; + UndoRec_46 = undoRec[46]; + UndoRec_47 = undoRec[47]; + UndoRec_48 = undoRec[48]; + UndoRec_49 = undoRec[49]; + UndoRec_50 = undoRec[50]; + UndoRec_51 = undoRec[51]; + UndoRec_52 = undoRec[52]; + UndoRec_53 = undoRec[53]; + UndoRec_54 = undoRec[54]; + UndoRec_55 = undoRec[55]; + UndoRec_56 = undoRec[56]; + UndoRec_57 = undoRec[57]; + UndoRec_58 = undoRec[58]; + UndoRec_59 = undoRec[59]; + UndoRec_60 = undoRec[60]; + UndoRec_61 = undoRec[61]; + UndoRec_62 = undoRec[62]; + UndoRec_63 = undoRec[63]; + UndoRec_64 = undoRec[64]; + UndoRec_65 = undoRec[65]; + UndoRec_66 = undoRec[66]; + UndoRec_67 = undoRec[67]; + UndoRec_68 = undoRec[68]; + UndoRec_69 = undoRec[69]; + UndoRec_70 = undoRec[70]; + UndoRec_71 = undoRec[71]; + UndoRec_72 = undoRec[72]; + UndoRec_73 = undoRec[73]; + UndoRec_74 = undoRec[74]; + UndoRec_75 = undoRec[75]; + UndoRec_76 = undoRec[76]; + UndoRec_77 = undoRec[77]; + UndoRec_78 = undoRec[78]; + UndoRec_79 = undoRec[79]; + UndoRec_80 = undoRec[80]; + UndoRec_81 = undoRec[81]; + UndoRec_82 = undoRec[82]; + UndoRec_83 = undoRec[83]; + UndoRec_84 = undoRec[84]; + UndoRec_85 = undoRec[85]; + UndoRec_86 = undoRec[86]; + UndoRec_87 = undoRec[87]; + UndoRec_88 = undoRec[88]; + UndoRec_89 = undoRec[89]; + UndoRec_90 = undoRec[90]; + UndoRec_91 = undoRec[91]; + UndoRec_92 = undoRec[92]; + UndoRec_93 = undoRec[93]; + UndoRec_94 = undoRec[94]; + UndoRec_95 = undoRec[95]; + UndoRec_96 = undoRec[96]; + UndoRec_97 = undoRec[97]; + UndoRec_98 = undoRec[98]; + } + if (undoChar != default(ushort*)) + { + UndoChar_0 = undoChar[0]; + UndoChar_1 = undoChar[1]; + UndoChar_2 = undoChar[2]; + UndoChar_3 = undoChar[3]; + UndoChar_4 = undoChar[4]; + UndoChar_5 = undoChar[5]; + UndoChar_6 = undoChar[6]; + UndoChar_7 = undoChar[7]; + UndoChar_8 = undoChar[8]; + UndoChar_9 = undoChar[9]; + UndoChar_10 = undoChar[10]; + UndoChar_11 = undoChar[11]; + UndoChar_12 = undoChar[12]; + UndoChar_13 = undoChar[13]; + UndoChar_14 = undoChar[14]; + UndoChar_15 = undoChar[15]; + UndoChar_16 = undoChar[16]; + UndoChar_17 = undoChar[17]; + UndoChar_18 = undoChar[18]; + UndoChar_19 = undoChar[19]; + UndoChar_20 = undoChar[20]; + UndoChar_21 = undoChar[21]; + UndoChar_22 = undoChar[22]; + UndoChar_23 = undoChar[23]; + UndoChar_24 = undoChar[24]; + UndoChar_25 = undoChar[25]; + UndoChar_26 = undoChar[26]; + UndoChar_27 = undoChar[27]; + UndoChar_28 = undoChar[28]; + UndoChar_29 = undoChar[29]; + UndoChar_30 = undoChar[30]; + UndoChar_31 = undoChar[31]; + UndoChar_32 = undoChar[32]; + UndoChar_33 = undoChar[33]; + UndoChar_34 = undoChar[34]; + UndoChar_35 = undoChar[35]; + UndoChar_36 = undoChar[36]; + UndoChar_37 = undoChar[37]; + UndoChar_38 = undoChar[38]; + UndoChar_39 = undoChar[39]; + UndoChar_40 = undoChar[40]; + UndoChar_41 = undoChar[41]; + UndoChar_42 = undoChar[42]; + UndoChar_43 = undoChar[43]; + UndoChar_44 = undoChar[44]; + UndoChar_45 = undoChar[45]; + UndoChar_46 = undoChar[46]; + UndoChar_47 = undoChar[47]; + UndoChar_48 = undoChar[48]; + UndoChar_49 = undoChar[49]; + UndoChar_50 = undoChar[50]; + UndoChar_51 = undoChar[51]; + UndoChar_52 = undoChar[52]; + UndoChar_53 = undoChar[53]; + UndoChar_54 = undoChar[54]; + UndoChar_55 = undoChar[55]; + UndoChar_56 = undoChar[56]; + UndoChar_57 = undoChar[57]; + UndoChar_58 = undoChar[58]; + UndoChar_59 = undoChar[59]; + UndoChar_60 = undoChar[60]; + UndoChar_61 = undoChar[61]; + UndoChar_62 = undoChar[62]; + UndoChar_63 = undoChar[63]; + UndoChar_64 = undoChar[64]; + UndoChar_65 = undoChar[65]; + UndoChar_66 = undoChar[66]; + UndoChar_67 = undoChar[67]; + UndoChar_68 = undoChar[68]; + UndoChar_69 = undoChar[69]; + UndoChar_70 = undoChar[70]; + UndoChar_71 = undoChar[71]; + UndoChar_72 = undoChar[72]; + UndoChar_73 = undoChar[73]; + UndoChar_74 = undoChar[74]; + UndoChar_75 = undoChar[75]; + UndoChar_76 = undoChar[76]; + UndoChar_77 = undoChar[77]; + UndoChar_78 = undoChar[78]; + UndoChar_79 = undoChar[79]; + UndoChar_80 = undoChar[80]; + UndoChar_81 = undoChar[81]; + UndoChar_82 = undoChar[82]; + UndoChar_83 = undoChar[83]; + UndoChar_84 = undoChar[84]; + UndoChar_85 = undoChar[85]; + UndoChar_86 = undoChar[86]; + UndoChar_87 = undoChar[87]; + UndoChar_88 = undoChar[88]; + UndoChar_89 = undoChar[89]; + UndoChar_90 = undoChar[90]; + UndoChar_91 = undoChar[91]; + UndoChar_92 = undoChar[92]; + UndoChar_93 = undoChar[93]; + UndoChar_94 = undoChar[94]; + UndoChar_95 = undoChar[95]; + UndoChar_96 = undoChar[96]; + UndoChar_97 = undoChar[97]; + UndoChar_98 = undoChar[98]; + UndoChar_99 = undoChar[99]; + UndoChar_100 = undoChar[100]; + UndoChar_101 = undoChar[101]; + UndoChar_102 = undoChar[102]; + UndoChar_103 = undoChar[103]; + UndoChar_104 = undoChar[104]; + UndoChar_105 = undoChar[105]; + UndoChar_106 = undoChar[106]; + UndoChar_107 = undoChar[107]; + UndoChar_108 = undoChar[108]; + UndoChar_109 = undoChar[109]; + UndoChar_110 = undoChar[110]; + UndoChar_111 = undoChar[111]; + UndoChar_112 = undoChar[112]; + UndoChar_113 = undoChar[113]; + UndoChar_114 = undoChar[114]; + UndoChar_115 = undoChar[115]; + UndoChar_116 = undoChar[116]; + UndoChar_117 = undoChar[117]; + UndoChar_118 = undoChar[118]; + UndoChar_119 = undoChar[119]; + UndoChar_120 = undoChar[120]; + UndoChar_121 = undoChar[121]; + UndoChar_122 = undoChar[122]; + UndoChar_123 = undoChar[123]; + UndoChar_124 = undoChar[124]; + UndoChar_125 = undoChar[125]; + UndoChar_126 = undoChar[126]; + UndoChar_127 = undoChar[127]; + UndoChar_128 = undoChar[128]; + UndoChar_129 = undoChar[129]; + UndoChar_130 = undoChar[130]; + UndoChar_131 = undoChar[131]; + UndoChar_132 = undoChar[132]; + UndoChar_133 = undoChar[133]; + UndoChar_134 = undoChar[134]; + UndoChar_135 = undoChar[135]; + UndoChar_136 = undoChar[136]; + UndoChar_137 = undoChar[137]; + UndoChar_138 = undoChar[138]; + UndoChar_139 = undoChar[139]; + UndoChar_140 = undoChar[140]; + UndoChar_141 = undoChar[141]; + UndoChar_142 = undoChar[142]; + UndoChar_143 = undoChar[143]; + UndoChar_144 = undoChar[144]; + UndoChar_145 = undoChar[145]; + UndoChar_146 = undoChar[146]; + UndoChar_147 = undoChar[147]; + UndoChar_148 = undoChar[148]; + UndoChar_149 = undoChar[149]; + UndoChar_150 = undoChar[150]; + UndoChar_151 = undoChar[151]; + UndoChar_152 = undoChar[152]; + UndoChar_153 = undoChar[153]; + UndoChar_154 = undoChar[154]; + UndoChar_155 = undoChar[155]; + UndoChar_156 = undoChar[156]; + UndoChar_157 = undoChar[157]; + UndoChar_158 = undoChar[158]; + UndoChar_159 = undoChar[159]; + UndoChar_160 = undoChar[160]; + UndoChar_161 = undoChar[161]; + UndoChar_162 = undoChar[162]; + UndoChar_163 = undoChar[163]; + UndoChar_164 = undoChar[164]; + UndoChar_165 = undoChar[165]; + UndoChar_166 = undoChar[166]; + UndoChar_167 = undoChar[167]; + UndoChar_168 = undoChar[168]; + UndoChar_169 = undoChar[169]; + UndoChar_170 = undoChar[170]; + UndoChar_171 = undoChar[171]; + UndoChar_172 = undoChar[172]; + UndoChar_173 = undoChar[173]; + UndoChar_174 = undoChar[174]; + UndoChar_175 = undoChar[175]; + UndoChar_176 = undoChar[176]; + UndoChar_177 = undoChar[177]; + UndoChar_178 = undoChar[178]; + UndoChar_179 = undoChar[179]; + UndoChar_180 = undoChar[180]; + UndoChar_181 = undoChar[181]; + UndoChar_182 = undoChar[182]; + UndoChar_183 = undoChar[183]; + UndoChar_184 = undoChar[184]; + UndoChar_185 = undoChar[185]; + UndoChar_186 = undoChar[186]; + UndoChar_187 = undoChar[187]; + UndoChar_188 = undoChar[188]; + UndoChar_189 = undoChar[189]; + UndoChar_190 = undoChar[190]; + UndoChar_191 = undoChar[191]; + UndoChar_192 = undoChar[192]; + UndoChar_193 = undoChar[193]; + UndoChar_194 = undoChar[194]; + UndoChar_195 = undoChar[195]; + UndoChar_196 = undoChar[196]; + UndoChar_197 = undoChar[197]; + UndoChar_198 = undoChar[198]; + UndoChar_199 = undoChar[199]; + UndoChar_200 = undoChar[200]; + UndoChar_201 = undoChar[201]; + UndoChar_202 = undoChar[202]; + UndoChar_203 = undoChar[203]; + UndoChar_204 = undoChar[204]; + UndoChar_205 = undoChar[205]; + UndoChar_206 = undoChar[206]; + UndoChar_207 = undoChar[207]; + UndoChar_208 = undoChar[208]; + UndoChar_209 = undoChar[209]; + UndoChar_210 = undoChar[210]; + UndoChar_211 = undoChar[211]; + UndoChar_212 = undoChar[212]; + UndoChar_213 = undoChar[213]; + UndoChar_214 = undoChar[214]; + UndoChar_215 = undoChar[215]; + UndoChar_216 = undoChar[216]; + UndoChar_217 = undoChar[217]; + UndoChar_218 = undoChar[218]; + UndoChar_219 = undoChar[219]; + UndoChar_220 = undoChar[220]; + UndoChar_221 = undoChar[221]; + UndoChar_222 = undoChar[222]; + UndoChar_223 = undoChar[223]; + UndoChar_224 = undoChar[224]; + UndoChar_225 = undoChar[225]; + UndoChar_226 = undoChar[226]; + UndoChar_227 = undoChar[227]; + UndoChar_228 = undoChar[228]; + UndoChar_229 = undoChar[229]; + UndoChar_230 = undoChar[230]; + UndoChar_231 = undoChar[231]; + UndoChar_232 = undoChar[232]; + UndoChar_233 = undoChar[233]; + UndoChar_234 = undoChar[234]; + UndoChar_235 = undoChar[235]; + UndoChar_236 = undoChar[236]; + UndoChar_237 = undoChar[237]; + UndoChar_238 = undoChar[238]; + UndoChar_239 = undoChar[239]; + UndoChar_240 = undoChar[240]; + UndoChar_241 = undoChar[241]; + UndoChar_242 = undoChar[242]; + UndoChar_243 = undoChar[243]; + UndoChar_244 = undoChar[244]; + UndoChar_245 = undoChar[245]; + UndoChar_246 = undoChar[246]; + UndoChar_247 = undoChar[247]; + UndoChar_248 = undoChar[248]; + UndoChar_249 = undoChar[249]; + UndoChar_250 = undoChar[250]; + UndoChar_251 = undoChar[251]; + UndoChar_252 = undoChar[252]; + UndoChar_253 = undoChar[253]; + UndoChar_254 = undoChar[254]; + UndoChar_255 = undoChar[255]; + UndoChar_256 = undoChar[256]; + UndoChar_257 = undoChar[257]; + UndoChar_258 = undoChar[258]; + UndoChar_259 = undoChar[259]; + UndoChar_260 = undoChar[260]; + UndoChar_261 = undoChar[261]; + UndoChar_262 = undoChar[262]; + UndoChar_263 = undoChar[263]; + UndoChar_264 = undoChar[264]; + UndoChar_265 = undoChar[265]; + UndoChar_266 = undoChar[266]; + UndoChar_267 = undoChar[267]; + UndoChar_268 = undoChar[268]; + UndoChar_269 = undoChar[269]; + UndoChar_270 = undoChar[270]; + UndoChar_271 = undoChar[271]; + UndoChar_272 = undoChar[272]; + UndoChar_273 = undoChar[273]; + UndoChar_274 = undoChar[274]; + UndoChar_275 = undoChar[275]; + UndoChar_276 = undoChar[276]; + UndoChar_277 = undoChar[277]; + UndoChar_278 = undoChar[278]; + UndoChar_279 = undoChar[279]; + UndoChar_280 = undoChar[280]; + UndoChar_281 = undoChar[281]; + UndoChar_282 = undoChar[282]; + UndoChar_283 = undoChar[283]; + UndoChar_284 = undoChar[284]; + UndoChar_285 = undoChar[285]; + UndoChar_286 = undoChar[286]; + UndoChar_287 = undoChar[287]; + UndoChar_288 = undoChar[288]; + UndoChar_289 = undoChar[289]; + UndoChar_290 = undoChar[290]; + UndoChar_291 = undoChar[291]; + UndoChar_292 = undoChar[292]; + UndoChar_293 = undoChar[293]; + UndoChar_294 = undoChar[294]; + UndoChar_295 = undoChar[295]; + UndoChar_296 = undoChar[296]; + UndoChar_297 = undoChar[297]; + UndoChar_298 = undoChar[298]; + UndoChar_299 = undoChar[299]; + UndoChar_300 = undoChar[300]; + UndoChar_301 = undoChar[301]; + UndoChar_302 = undoChar[302]; + UndoChar_303 = undoChar[303]; + UndoChar_304 = undoChar[304]; + UndoChar_305 = undoChar[305]; + UndoChar_306 = undoChar[306]; + UndoChar_307 = undoChar[307]; + UndoChar_308 = undoChar[308]; + UndoChar_309 = undoChar[309]; + UndoChar_310 = undoChar[310]; + UndoChar_311 = undoChar[311]; + UndoChar_312 = undoChar[312]; + UndoChar_313 = undoChar[313]; + UndoChar_314 = undoChar[314]; + UndoChar_315 = undoChar[315]; + UndoChar_316 = undoChar[316]; + UndoChar_317 = undoChar[317]; + UndoChar_318 = undoChar[318]; + UndoChar_319 = undoChar[319]; + UndoChar_320 = undoChar[320]; + UndoChar_321 = undoChar[321]; + UndoChar_322 = undoChar[322]; + UndoChar_323 = undoChar[323]; + UndoChar_324 = undoChar[324]; + UndoChar_325 = undoChar[325]; + UndoChar_326 = undoChar[326]; + UndoChar_327 = undoChar[327]; + UndoChar_328 = undoChar[328]; + UndoChar_329 = undoChar[329]; + UndoChar_330 = undoChar[330]; + UndoChar_331 = undoChar[331]; + UndoChar_332 = undoChar[332]; + UndoChar_333 = undoChar[333]; + UndoChar_334 = undoChar[334]; + UndoChar_335 = undoChar[335]; + UndoChar_336 = undoChar[336]; + UndoChar_337 = undoChar[337]; + UndoChar_338 = undoChar[338]; + UndoChar_339 = undoChar[339]; + UndoChar_340 = undoChar[340]; + UndoChar_341 = undoChar[341]; + UndoChar_342 = undoChar[342]; + UndoChar_343 = undoChar[343]; + UndoChar_344 = undoChar[344]; + UndoChar_345 = undoChar[345]; + UndoChar_346 = undoChar[346]; + UndoChar_347 = undoChar[347]; + UndoChar_348 = undoChar[348]; + UndoChar_349 = undoChar[349]; + UndoChar_350 = undoChar[350]; + UndoChar_351 = undoChar[351]; + UndoChar_352 = undoChar[352]; + UndoChar_353 = undoChar[353]; + UndoChar_354 = undoChar[354]; + UndoChar_355 = undoChar[355]; + UndoChar_356 = undoChar[356]; + UndoChar_357 = undoChar[357]; + UndoChar_358 = undoChar[358]; + UndoChar_359 = undoChar[359]; + UndoChar_360 = undoChar[360]; + UndoChar_361 = undoChar[361]; + UndoChar_362 = undoChar[362]; + UndoChar_363 = undoChar[363]; + UndoChar_364 = undoChar[364]; + UndoChar_365 = undoChar[365]; + UndoChar_366 = undoChar[366]; + UndoChar_367 = undoChar[367]; + UndoChar_368 = undoChar[368]; + UndoChar_369 = undoChar[369]; + UndoChar_370 = undoChar[370]; + UndoChar_371 = undoChar[371]; + UndoChar_372 = undoChar[372]; + UndoChar_373 = undoChar[373]; + UndoChar_374 = undoChar[374]; + UndoChar_375 = undoChar[375]; + UndoChar_376 = undoChar[376]; + UndoChar_377 = undoChar[377]; + UndoChar_378 = undoChar[378]; + UndoChar_379 = undoChar[379]; + UndoChar_380 = undoChar[380]; + UndoChar_381 = undoChar[381]; + UndoChar_382 = undoChar[382]; + UndoChar_383 = undoChar[383]; + UndoChar_384 = undoChar[384]; + UndoChar_385 = undoChar[385]; + UndoChar_386 = undoChar[386]; + UndoChar_387 = undoChar[387]; + UndoChar_388 = undoChar[388]; + UndoChar_389 = undoChar[389]; + UndoChar_390 = undoChar[390]; + UndoChar_391 = undoChar[391]; + UndoChar_392 = undoChar[392]; + UndoChar_393 = undoChar[393]; + UndoChar_394 = undoChar[394]; + UndoChar_395 = undoChar[395]; + UndoChar_396 = undoChar[396]; + UndoChar_397 = undoChar[397]; + UndoChar_398 = undoChar[398]; + UndoChar_399 = undoChar[399]; + UndoChar_400 = undoChar[400]; + UndoChar_401 = undoChar[401]; + UndoChar_402 = undoChar[402]; + UndoChar_403 = undoChar[403]; + UndoChar_404 = undoChar[404]; + UndoChar_405 = undoChar[405]; + UndoChar_406 = undoChar[406]; + UndoChar_407 = undoChar[407]; + UndoChar_408 = undoChar[408]; + UndoChar_409 = undoChar[409]; + UndoChar_410 = undoChar[410]; + UndoChar_411 = undoChar[411]; + UndoChar_412 = undoChar[412]; + UndoChar_413 = undoChar[413]; + UndoChar_414 = undoChar[414]; + UndoChar_415 = undoChar[415]; + UndoChar_416 = undoChar[416]; + UndoChar_417 = undoChar[417]; + UndoChar_418 = undoChar[418]; + UndoChar_419 = undoChar[419]; + UndoChar_420 = undoChar[420]; + UndoChar_421 = undoChar[421]; + UndoChar_422 = undoChar[422]; + UndoChar_423 = undoChar[423]; + UndoChar_424 = undoChar[424]; + UndoChar_425 = undoChar[425]; + UndoChar_426 = undoChar[426]; + UndoChar_427 = undoChar[427]; + UndoChar_428 = undoChar[428]; + UndoChar_429 = undoChar[429]; + UndoChar_430 = undoChar[430]; + UndoChar_431 = undoChar[431]; + UndoChar_432 = undoChar[432]; + UndoChar_433 = undoChar[433]; + UndoChar_434 = undoChar[434]; + UndoChar_435 = undoChar[435]; + UndoChar_436 = undoChar[436]; + UndoChar_437 = undoChar[437]; + UndoChar_438 = undoChar[438]; + UndoChar_439 = undoChar[439]; + UndoChar_440 = undoChar[440]; + UndoChar_441 = undoChar[441]; + UndoChar_442 = undoChar[442]; + UndoChar_443 = undoChar[443]; + UndoChar_444 = undoChar[444]; + UndoChar_445 = undoChar[445]; + UndoChar_446 = undoChar[446]; + UndoChar_447 = undoChar[447]; + UndoChar_448 = undoChar[448]; + UndoChar_449 = undoChar[449]; + UndoChar_450 = undoChar[450]; + UndoChar_451 = undoChar[451]; + UndoChar_452 = undoChar[452]; + UndoChar_453 = undoChar[453]; + UndoChar_454 = undoChar[454]; + UndoChar_455 = undoChar[455]; + UndoChar_456 = undoChar[456]; + UndoChar_457 = undoChar[457]; + UndoChar_458 = undoChar[458]; + UndoChar_459 = undoChar[459]; + UndoChar_460 = undoChar[460]; + UndoChar_461 = undoChar[461]; + UndoChar_462 = undoChar[462]; + UndoChar_463 = undoChar[463]; + UndoChar_464 = undoChar[464]; + UndoChar_465 = undoChar[465]; + UndoChar_466 = undoChar[466]; + UndoChar_467 = undoChar[467]; + UndoChar_468 = undoChar[468]; + UndoChar_469 = undoChar[469]; + UndoChar_470 = undoChar[470]; + UndoChar_471 = undoChar[471]; + UndoChar_472 = undoChar[472]; + UndoChar_473 = undoChar[473]; + UndoChar_474 = undoChar[474]; + UndoChar_475 = undoChar[475]; + UndoChar_476 = undoChar[476]; + UndoChar_477 = undoChar[477]; + UndoChar_478 = undoChar[478]; + UndoChar_479 = undoChar[479]; + UndoChar_480 = undoChar[480]; + UndoChar_481 = undoChar[481]; + UndoChar_482 = undoChar[482]; + UndoChar_483 = undoChar[483]; + UndoChar_484 = undoChar[484]; + UndoChar_485 = undoChar[485]; + UndoChar_486 = undoChar[486]; + UndoChar_487 = undoChar[487]; + UndoChar_488 = undoChar[488]; + UndoChar_489 = undoChar[489]; + UndoChar_490 = undoChar[490]; + UndoChar_491 = undoChar[491]; + UndoChar_492 = undoChar[492]; + UndoChar_493 = undoChar[493]; + UndoChar_494 = undoChar[494]; + UndoChar_495 = undoChar[495]; + UndoChar_496 = undoChar[496]; + UndoChar_497 = undoChar[497]; + UndoChar_498 = undoChar[498]; + UndoChar_499 = undoChar[499]; + UndoChar_500 = undoChar[500]; + UndoChar_501 = undoChar[501]; + UndoChar_502 = undoChar[502]; + UndoChar_503 = undoChar[503]; + UndoChar_504 = undoChar[504]; + UndoChar_505 = undoChar[505]; + UndoChar_506 = undoChar[506]; + UndoChar_507 = undoChar[507]; + UndoChar_508 = undoChar[508]; + UndoChar_509 = undoChar[509]; + UndoChar_510 = undoChar[510]; + UndoChar_511 = undoChar[511]; + UndoChar_512 = undoChar[512]; + UndoChar_513 = undoChar[513]; + UndoChar_514 = undoChar[514]; + UndoChar_515 = undoChar[515]; + UndoChar_516 = undoChar[516]; + UndoChar_517 = undoChar[517]; + UndoChar_518 = undoChar[518]; + UndoChar_519 = undoChar[519]; + UndoChar_520 = undoChar[520]; + UndoChar_521 = undoChar[521]; + UndoChar_522 = undoChar[522]; + UndoChar_523 = undoChar[523]; + UndoChar_524 = undoChar[524]; + UndoChar_525 = undoChar[525]; + UndoChar_526 = undoChar[526]; + UndoChar_527 = undoChar[527]; + UndoChar_528 = undoChar[528]; + UndoChar_529 = undoChar[529]; + UndoChar_530 = undoChar[530]; + UndoChar_531 = undoChar[531]; + UndoChar_532 = undoChar[532]; + UndoChar_533 = undoChar[533]; + UndoChar_534 = undoChar[534]; + UndoChar_535 = undoChar[535]; + UndoChar_536 = undoChar[536]; + UndoChar_537 = undoChar[537]; + UndoChar_538 = undoChar[538]; + UndoChar_539 = undoChar[539]; + UndoChar_540 = undoChar[540]; + UndoChar_541 = undoChar[541]; + UndoChar_542 = undoChar[542]; + UndoChar_543 = undoChar[543]; + UndoChar_544 = undoChar[544]; + UndoChar_545 = undoChar[545]; + UndoChar_546 = undoChar[546]; + UndoChar_547 = undoChar[547]; + UndoChar_548 = undoChar[548]; + UndoChar_549 = undoChar[549]; + UndoChar_550 = undoChar[550]; + UndoChar_551 = undoChar[551]; + UndoChar_552 = undoChar[552]; + UndoChar_553 = undoChar[553]; + UndoChar_554 = undoChar[554]; + UndoChar_555 = undoChar[555]; + UndoChar_556 = undoChar[556]; + UndoChar_557 = undoChar[557]; + UndoChar_558 = undoChar[558]; + UndoChar_559 = undoChar[559]; + UndoChar_560 = undoChar[560]; + UndoChar_561 = undoChar[561]; + UndoChar_562 = undoChar[562]; + UndoChar_563 = undoChar[563]; + UndoChar_564 = undoChar[564]; + UndoChar_565 = undoChar[565]; + UndoChar_566 = undoChar[566]; + UndoChar_567 = undoChar[567]; + UndoChar_568 = undoChar[568]; + UndoChar_569 = undoChar[569]; + UndoChar_570 = undoChar[570]; + UndoChar_571 = undoChar[571]; + UndoChar_572 = undoChar[572]; + UndoChar_573 = undoChar[573]; + UndoChar_574 = undoChar[574]; + UndoChar_575 = undoChar[575]; + UndoChar_576 = undoChar[576]; + UndoChar_577 = undoChar[577]; + UndoChar_578 = undoChar[578]; + UndoChar_579 = undoChar[579]; + UndoChar_580 = undoChar[580]; + UndoChar_581 = undoChar[581]; + UndoChar_582 = undoChar[582]; + UndoChar_583 = undoChar[583]; + UndoChar_584 = undoChar[584]; + UndoChar_585 = undoChar[585]; + UndoChar_586 = undoChar[586]; + UndoChar_587 = undoChar[587]; + UndoChar_588 = undoChar[588]; + UndoChar_589 = undoChar[589]; + UndoChar_590 = undoChar[590]; + UndoChar_591 = undoChar[591]; + UndoChar_592 = undoChar[592]; + UndoChar_593 = undoChar[593]; + UndoChar_594 = undoChar[594]; + UndoChar_595 = undoChar[595]; + UndoChar_596 = undoChar[596]; + UndoChar_597 = undoChar[597]; + UndoChar_598 = undoChar[598]; + UndoChar_599 = undoChar[599]; + UndoChar_600 = undoChar[600]; + UndoChar_601 = undoChar[601]; + UndoChar_602 = undoChar[602]; + UndoChar_603 = undoChar[603]; + UndoChar_604 = undoChar[604]; + UndoChar_605 = undoChar[605]; + UndoChar_606 = undoChar[606]; + UndoChar_607 = undoChar[607]; + UndoChar_608 = undoChar[608]; + UndoChar_609 = undoChar[609]; + UndoChar_610 = undoChar[610]; + UndoChar_611 = undoChar[611]; + UndoChar_612 = undoChar[612]; + UndoChar_613 = undoChar[613]; + UndoChar_614 = undoChar[614]; + UndoChar_615 = undoChar[615]; + UndoChar_616 = undoChar[616]; + UndoChar_617 = undoChar[617]; + UndoChar_618 = undoChar[618]; + UndoChar_619 = undoChar[619]; + UndoChar_620 = undoChar[620]; + UndoChar_621 = undoChar[621]; + UndoChar_622 = undoChar[622]; + UndoChar_623 = undoChar[623]; + UndoChar_624 = undoChar[624]; + UndoChar_625 = undoChar[625]; + UndoChar_626 = undoChar[626]; + UndoChar_627 = undoChar[627]; + UndoChar_628 = undoChar[628]; + UndoChar_629 = undoChar[629]; + UndoChar_630 = undoChar[630]; + UndoChar_631 = undoChar[631]; + UndoChar_632 = undoChar[632]; + UndoChar_633 = undoChar[633]; + UndoChar_634 = undoChar[634]; + UndoChar_635 = undoChar[635]; + UndoChar_636 = undoChar[636]; + UndoChar_637 = undoChar[637]; + UndoChar_638 = undoChar[638]; + UndoChar_639 = undoChar[639]; + UndoChar_640 = undoChar[640]; + UndoChar_641 = undoChar[641]; + UndoChar_642 = undoChar[642]; + UndoChar_643 = undoChar[643]; + UndoChar_644 = undoChar[644]; + UndoChar_645 = undoChar[645]; + UndoChar_646 = undoChar[646]; + UndoChar_647 = undoChar[647]; + UndoChar_648 = undoChar[648]; + UndoChar_649 = undoChar[649]; + UndoChar_650 = undoChar[650]; + UndoChar_651 = undoChar[651]; + UndoChar_652 = undoChar[652]; + UndoChar_653 = undoChar[653]; + UndoChar_654 = undoChar[654]; + UndoChar_655 = undoChar[655]; + UndoChar_656 = undoChar[656]; + UndoChar_657 = undoChar[657]; + UndoChar_658 = undoChar[658]; + UndoChar_659 = undoChar[659]; + UndoChar_660 = undoChar[660]; + UndoChar_661 = undoChar[661]; + UndoChar_662 = undoChar[662]; + UndoChar_663 = undoChar[663]; + UndoChar_664 = undoChar[664]; + UndoChar_665 = undoChar[665]; + UndoChar_666 = undoChar[666]; + UndoChar_667 = undoChar[667]; + UndoChar_668 = undoChar[668]; + UndoChar_669 = undoChar[669]; + UndoChar_670 = undoChar[670]; + UndoChar_671 = undoChar[671]; + UndoChar_672 = undoChar[672]; + UndoChar_673 = undoChar[673]; + UndoChar_674 = undoChar[674]; + UndoChar_675 = undoChar[675]; + UndoChar_676 = undoChar[676]; + UndoChar_677 = undoChar[677]; + UndoChar_678 = undoChar[678]; + UndoChar_679 = undoChar[679]; + UndoChar_680 = undoChar[680]; + UndoChar_681 = undoChar[681]; + UndoChar_682 = undoChar[682]; + UndoChar_683 = undoChar[683]; + UndoChar_684 = undoChar[684]; + UndoChar_685 = undoChar[685]; + UndoChar_686 = undoChar[686]; + UndoChar_687 = undoChar[687]; + UndoChar_688 = undoChar[688]; + UndoChar_689 = undoChar[689]; + UndoChar_690 = undoChar[690]; + UndoChar_691 = undoChar[691]; + UndoChar_692 = undoChar[692]; + UndoChar_693 = undoChar[693]; + UndoChar_694 = undoChar[694]; + UndoChar_695 = undoChar[695]; + UndoChar_696 = undoChar[696]; + UndoChar_697 = undoChar[697]; + UndoChar_698 = undoChar[698]; + UndoChar_699 = undoChar[699]; + UndoChar_700 = undoChar[700]; + UndoChar_701 = undoChar[701]; + UndoChar_702 = undoChar[702]; + UndoChar_703 = undoChar[703]; + UndoChar_704 = undoChar[704]; + UndoChar_705 = undoChar[705]; + UndoChar_706 = undoChar[706]; + UndoChar_707 = undoChar[707]; + UndoChar_708 = undoChar[708]; + UndoChar_709 = undoChar[709]; + UndoChar_710 = undoChar[710]; + UndoChar_711 = undoChar[711]; + UndoChar_712 = undoChar[712]; + UndoChar_713 = undoChar[713]; + UndoChar_714 = undoChar[714]; + UndoChar_715 = undoChar[715]; + UndoChar_716 = undoChar[716]; + UndoChar_717 = undoChar[717]; + UndoChar_718 = undoChar[718]; + UndoChar_719 = undoChar[719]; + UndoChar_720 = undoChar[720]; + UndoChar_721 = undoChar[721]; + UndoChar_722 = undoChar[722]; + UndoChar_723 = undoChar[723]; + UndoChar_724 = undoChar[724]; + UndoChar_725 = undoChar[725]; + UndoChar_726 = undoChar[726]; + UndoChar_727 = undoChar[727]; + UndoChar_728 = undoChar[728]; + UndoChar_729 = undoChar[729]; + UndoChar_730 = undoChar[730]; + UndoChar_731 = undoChar[731]; + UndoChar_732 = undoChar[732]; + UndoChar_733 = undoChar[733]; + UndoChar_734 = undoChar[734]; + UndoChar_735 = undoChar[735]; + UndoChar_736 = undoChar[736]; + UndoChar_737 = undoChar[737]; + UndoChar_738 = undoChar[738]; + UndoChar_739 = undoChar[739]; + UndoChar_740 = undoChar[740]; + UndoChar_741 = undoChar[741]; + UndoChar_742 = undoChar[742]; + UndoChar_743 = undoChar[743]; + UndoChar_744 = undoChar[744]; + UndoChar_745 = undoChar[745]; + UndoChar_746 = undoChar[746]; + UndoChar_747 = undoChar[747]; + UndoChar_748 = undoChar[748]; + UndoChar_749 = undoChar[749]; + UndoChar_750 = undoChar[750]; + UndoChar_751 = undoChar[751]; + UndoChar_752 = undoChar[752]; + UndoChar_753 = undoChar[753]; + UndoChar_754 = undoChar[754]; + UndoChar_755 = undoChar[755]; + UndoChar_756 = undoChar[756]; + UndoChar_757 = undoChar[757]; + UndoChar_758 = undoChar[758]; + UndoChar_759 = undoChar[759]; + UndoChar_760 = undoChar[760]; + UndoChar_761 = undoChar[761]; + UndoChar_762 = undoChar[762]; + UndoChar_763 = undoChar[763]; + UndoChar_764 = undoChar[764]; + UndoChar_765 = undoChar[765]; + UndoChar_766 = undoChar[766]; + UndoChar_767 = undoChar[767]; + UndoChar_768 = undoChar[768]; + UndoChar_769 = undoChar[769]; + UndoChar_770 = undoChar[770]; + UndoChar_771 = undoChar[771]; + UndoChar_772 = undoChar[772]; + UndoChar_773 = undoChar[773]; + UndoChar_774 = undoChar[774]; + UndoChar_775 = undoChar[775]; + UndoChar_776 = undoChar[776]; + UndoChar_777 = undoChar[777]; + UndoChar_778 = undoChar[778]; + UndoChar_779 = undoChar[779]; + UndoChar_780 = undoChar[780]; + UndoChar_781 = undoChar[781]; + UndoChar_782 = undoChar[782]; + UndoChar_783 = undoChar[783]; + UndoChar_784 = undoChar[784]; + UndoChar_785 = undoChar[785]; + UndoChar_786 = undoChar[786]; + UndoChar_787 = undoChar[787]; + UndoChar_788 = undoChar[788]; + UndoChar_789 = undoChar[789]; + UndoChar_790 = undoChar[790]; + UndoChar_791 = undoChar[791]; + UndoChar_792 = undoChar[792]; + UndoChar_793 = undoChar[793]; + UndoChar_794 = undoChar[794]; + UndoChar_795 = undoChar[795]; + UndoChar_796 = undoChar[796]; + UndoChar_797 = undoChar[797]; + UndoChar_798 = undoChar[798]; + UndoChar_799 = undoChar[799]; + UndoChar_800 = undoChar[800]; + UndoChar_801 = undoChar[801]; + UndoChar_802 = undoChar[802]; + UndoChar_803 = undoChar[803]; + UndoChar_804 = undoChar[804]; + UndoChar_805 = undoChar[805]; + UndoChar_806 = undoChar[806]; + UndoChar_807 = undoChar[807]; + UndoChar_808 = undoChar[808]; + UndoChar_809 = undoChar[809]; + UndoChar_810 = undoChar[810]; + UndoChar_811 = undoChar[811]; + UndoChar_812 = undoChar[812]; + UndoChar_813 = undoChar[813]; + UndoChar_814 = undoChar[814]; + UndoChar_815 = undoChar[815]; + UndoChar_816 = undoChar[816]; + UndoChar_817 = undoChar[817]; + UndoChar_818 = undoChar[818]; + UndoChar_819 = undoChar[819]; + UndoChar_820 = undoChar[820]; + UndoChar_821 = undoChar[821]; + UndoChar_822 = undoChar[822]; + UndoChar_823 = undoChar[823]; + UndoChar_824 = undoChar[824]; + UndoChar_825 = undoChar[825]; + UndoChar_826 = undoChar[826]; + UndoChar_827 = undoChar[827]; + UndoChar_828 = undoChar[828]; + UndoChar_829 = undoChar[829]; + UndoChar_830 = undoChar[830]; + UndoChar_831 = undoChar[831]; + UndoChar_832 = undoChar[832]; + UndoChar_833 = undoChar[833]; + UndoChar_834 = undoChar[834]; + UndoChar_835 = undoChar[835]; + UndoChar_836 = undoChar[836]; + UndoChar_837 = undoChar[837]; + UndoChar_838 = undoChar[838]; + UndoChar_839 = undoChar[839]; + UndoChar_840 = undoChar[840]; + UndoChar_841 = undoChar[841]; + UndoChar_842 = undoChar[842]; + UndoChar_843 = undoChar[843]; + UndoChar_844 = undoChar[844]; + UndoChar_845 = undoChar[845]; + UndoChar_846 = undoChar[846]; + UndoChar_847 = undoChar[847]; + UndoChar_848 = undoChar[848]; + UndoChar_849 = undoChar[849]; + UndoChar_850 = undoChar[850]; + UndoChar_851 = undoChar[851]; + UndoChar_852 = undoChar[852]; + UndoChar_853 = undoChar[853]; + UndoChar_854 = undoChar[854]; + UndoChar_855 = undoChar[855]; + UndoChar_856 = undoChar[856]; + UndoChar_857 = undoChar[857]; + UndoChar_858 = undoChar[858]; + UndoChar_859 = undoChar[859]; + UndoChar_860 = undoChar[860]; + UndoChar_861 = undoChar[861]; + UndoChar_862 = undoChar[862]; + UndoChar_863 = undoChar[863]; + UndoChar_864 = undoChar[864]; + UndoChar_865 = undoChar[865]; + UndoChar_866 = undoChar[866]; + UndoChar_867 = undoChar[867]; + UndoChar_868 = undoChar[868]; + UndoChar_869 = undoChar[869]; + UndoChar_870 = undoChar[870]; + UndoChar_871 = undoChar[871]; + UndoChar_872 = undoChar[872]; + UndoChar_873 = undoChar[873]; + UndoChar_874 = undoChar[874]; + UndoChar_875 = undoChar[875]; + UndoChar_876 = undoChar[876]; + UndoChar_877 = undoChar[877]; + UndoChar_878 = undoChar[878]; + UndoChar_879 = undoChar[879]; + UndoChar_880 = undoChar[880]; + UndoChar_881 = undoChar[881]; + UndoChar_882 = undoChar[882]; + UndoChar_883 = undoChar[883]; + UndoChar_884 = undoChar[884]; + UndoChar_885 = undoChar[885]; + UndoChar_886 = undoChar[886]; + UndoChar_887 = undoChar[887]; + UndoChar_888 = undoChar[888]; + UndoChar_889 = undoChar[889]; + UndoChar_890 = undoChar[890]; + UndoChar_891 = undoChar[891]; + UndoChar_892 = undoChar[892]; + UndoChar_893 = undoChar[893]; + UndoChar_894 = undoChar[894]; + UndoChar_895 = undoChar[895]; + UndoChar_896 = undoChar[896]; + UndoChar_897 = undoChar[897]; + UndoChar_898 = undoChar[898]; + UndoChar_899 = undoChar[899]; + UndoChar_900 = undoChar[900]; + UndoChar_901 = undoChar[901]; + UndoChar_902 = undoChar[902]; + UndoChar_903 = undoChar[903]; + UndoChar_904 = undoChar[904]; + UndoChar_905 = undoChar[905]; + UndoChar_906 = undoChar[906]; + UndoChar_907 = undoChar[907]; + UndoChar_908 = undoChar[908]; + UndoChar_909 = undoChar[909]; + UndoChar_910 = undoChar[910]; + UndoChar_911 = undoChar[911]; + UndoChar_912 = undoChar[912]; + UndoChar_913 = undoChar[913]; + UndoChar_914 = undoChar[914]; + UndoChar_915 = undoChar[915]; + UndoChar_916 = undoChar[916]; + UndoChar_917 = undoChar[917]; + UndoChar_918 = undoChar[918]; + UndoChar_919 = undoChar[919]; + UndoChar_920 = undoChar[920]; + UndoChar_921 = undoChar[921]; + UndoChar_922 = undoChar[922]; + UndoChar_923 = undoChar[923]; + UndoChar_924 = undoChar[924]; + UndoChar_925 = undoChar[925]; + UndoChar_926 = undoChar[926]; + UndoChar_927 = undoChar[927]; + UndoChar_928 = undoChar[928]; + UndoChar_929 = undoChar[929]; + UndoChar_930 = undoChar[930]; + UndoChar_931 = undoChar[931]; + UndoChar_932 = undoChar[932]; + UndoChar_933 = undoChar[933]; + UndoChar_934 = undoChar[934]; + UndoChar_935 = undoChar[935]; + UndoChar_936 = undoChar[936]; + UndoChar_937 = undoChar[937]; + UndoChar_938 = undoChar[938]; + UndoChar_939 = undoChar[939]; + UndoChar_940 = undoChar[940]; + UndoChar_941 = undoChar[941]; + UndoChar_942 = undoChar[942]; + UndoChar_943 = undoChar[943]; + UndoChar_944 = undoChar[944]; + UndoChar_945 = undoChar[945]; + UndoChar_946 = undoChar[946]; + UndoChar_947 = undoChar[947]; + UndoChar_948 = undoChar[948]; + UndoChar_949 = undoChar[949]; + UndoChar_950 = undoChar[950]; + UndoChar_951 = undoChar[951]; + UndoChar_952 = undoChar[952]; + UndoChar_953 = undoChar[953]; + UndoChar_954 = undoChar[954]; + UndoChar_955 = undoChar[955]; + UndoChar_956 = undoChar[956]; + UndoChar_957 = undoChar[957]; + UndoChar_958 = undoChar[958]; + UndoChar_959 = undoChar[959]; + UndoChar_960 = undoChar[960]; + UndoChar_961 = undoChar[961]; + UndoChar_962 = undoChar[962]; + UndoChar_963 = undoChar[963]; + UndoChar_964 = undoChar[964]; + UndoChar_965 = undoChar[965]; + UndoChar_966 = undoChar[966]; + UndoChar_967 = undoChar[967]; + UndoChar_968 = undoChar[968]; + UndoChar_969 = undoChar[969]; + UndoChar_970 = undoChar[970]; + UndoChar_971 = undoChar[971]; + UndoChar_972 = undoChar[972]; + UndoChar_973 = undoChar[973]; + UndoChar_974 = undoChar[974]; + UndoChar_975 = undoChar[975]; + UndoChar_976 = undoChar[976]; + UndoChar_977 = undoChar[977]; + UndoChar_978 = undoChar[978]; + UndoChar_979 = undoChar[979]; + UndoChar_980 = undoChar[980]; + UndoChar_981 = undoChar[981]; + UndoChar_982 = undoChar[982]; + UndoChar_983 = undoChar[983]; + UndoChar_984 = undoChar[984]; + UndoChar_985 = undoChar[985]; + UndoChar_986 = undoChar[986]; + UndoChar_987 = undoChar[987]; + UndoChar_988 = undoChar[988]; + UndoChar_989 = undoChar[989]; + UndoChar_990 = undoChar[990]; + UndoChar_991 = undoChar[991]; + UndoChar_992 = undoChar[992]; + UndoChar_993 = undoChar[993]; + UndoChar_994 = undoChar[994]; + UndoChar_995 = undoChar[995]; + UndoChar_996 = undoChar[996]; + UndoChar_997 = undoChar[997]; + UndoChar_998 = undoChar[998]; + } + UndoPoint = undoPoint; + RedoPoint = redoPoint; + UndoCharPoint = undoCharPoint; + RedoCharPoint = redoCharPoint; + } + public unsafe StbUndoState(Span undoRec = default, Span undoChar = default, short undoPoint = default, short redoPoint = default, int undoCharPoint = default, int redoCharPoint = default) + { + if (undoRec != default(Span)) + { + UndoRec_0 = undoRec[0]; + UndoRec_1 = undoRec[1]; + UndoRec_2 = undoRec[2]; + UndoRec_3 = undoRec[3]; + UndoRec_4 = undoRec[4]; + UndoRec_5 = undoRec[5]; + UndoRec_6 = undoRec[6]; + UndoRec_7 = undoRec[7]; + UndoRec_8 = undoRec[8]; + UndoRec_9 = undoRec[9]; + UndoRec_10 = undoRec[10]; + UndoRec_11 = undoRec[11]; + UndoRec_12 = undoRec[12]; + UndoRec_13 = undoRec[13]; + UndoRec_14 = undoRec[14]; + UndoRec_15 = undoRec[15]; + UndoRec_16 = undoRec[16]; + UndoRec_17 = undoRec[17]; + UndoRec_18 = undoRec[18]; + UndoRec_19 = undoRec[19]; + UndoRec_20 = undoRec[20]; + UndoRec_21 = undoRec[21]; + UndoRec_22 = undoRec[22]; + UndoRec_23 = undoRec[23]; + UndoRec_24 = undoRec[24]; + UndoRec_25 = undoRec[25]; + UndoRec_26 = undoRec[26]; + UndoRec_27 = undoRec[27]; + UndoRec_28 = undoRec[28]; + UndoRec_29 = undoRec[29]; + UndoRec_30 = undoRec[30]; + UndoRec_31 = undoRec[31]; + UndoRec_32 = undoRec[32]; + UndoRec_33 = undoRec[33]; + UndoRec_34 = undoRec[34]; + UndoRec_35 = undoRec[35]; + UndoRec_36 = undoRec[36]; + UndoRec_37 = undoRec[37]; + UndoRec_38 = undoRec[38]; + UndoRec_39 = undoRec[39]; + UndoRec_40 = undoRec[40]; + UndoRec_41 = undoRec[41]; + UndoRec_42 = undoRec[42]; + UndoRec_43 = undoRec[43]; + UndoRec_44 = undoRec[44]; + UndoRec_45 = undoRec[45]; + UndoRec_46 = undoRec[46]; + UndoRec_47 = undoRec[47]; + UndoRec_48 = undoRec[48]; + UndoRec_49 = undoRec[49]; + UndoRec_50 = undoRec[50]; + UndoRec_51 = undoRec[51]; + UndoRec_52 = undoRec[52]; + UndoRec_53 = undoRec[53]; + UndoRec_54 = undoRec[54]; + UndoRec_55 = undoRec[55]; + UndoRec_56 = undoRec[56]; + UndoRec_57 = undoRec[57]; + UndoRec_58 = undoRec[58]; + UndoRec_59 = undoRec[59]; + UndoRec_60 = undoRec[60]; + UndoRec_61 = undoRec[61]; + UndoRec_62 = undoRec[62]; + UndoRec_63 = undoRec[63]; + UndoRec_64 = undoRec[64]; + UndoRec_65 = undoRec[65]; + UndoRec_66 = undoRec[66]; + UndoRec_67 = undoRec[67]; + UndoRec_68 = undoRec[68]; + UndoRec_69 = undoRec[69]; + UndoRec_70 = undoRec[70]; + UndoRec_71 = undoRec[71]; + UndoRec_72 = undoRec[72]; + UndoRec_73 = undoRec[73]; + UndoRec_74 = undoRec[74]; + UndoRec_75 = undoRec[75]; + UndoRec_76 = undoRec[76]; + UndoRec_77 = undoRec[77]; + UndoRec_78 = undoRec[78]; + UndoRec_79 = undoRec[79]; + UndoRec_80 = undoRec[80]; + UndoRec_81 = undoRec[81]; + UndoRec_82 = undoRec[82]; + UndoRec_83 = undoRec[83]; + UndoRec_84 = undoRec[84]; + UndoRec_85 = undoRec[85]; + UndoRec_86 = undoRec[86]; + UndoRec_87 = undoRec[87]; + UndoRec_88 = undoRec[88]; + UndoRec_89 = undoRec[89]; + UndoRec_90 = undoRec[90]; + UndoRec_91 = undoRec[91]; + UndoRec_92 = undoRec[92]; + UndoRec_93 = undoRec[93]; + UndoRec_94 = undoRec[94]; + UndoRec_95 = undoRec[95]; + UndoRec_96 = undoRec[96]; + UndoRec_97 = undoRec[97]; + UndoRec_98 = undoRec[98]; + } + if (undoChar != default(Span)) + { + UndoChar_0 = undoChar[0]; + UndoChar_1 = undoChar[1]; + UndoChar_2 = undoChar[2]; + UndoChar_3 = undoChar[3]; + UndoChar_4 = undoChar[4]; + UndoChar_5 = undoChar[5]; + UndoChar_6 = undoChar[6]; + UndoChar_7 = undoChar[7]; + UndoChar_8 = undoChar[8]; + UndoChar_9 = undoChar[9]; + UndoChar_10 = undoChar[10]; + UndoChar_11 = undoChar[11]; + UndoChar_12 = undoChar[12]; + UndoChar_13 = undoChar[13]; + UndoChar_14 = undoChar[14]; + UndoChar_15 = undoChar[15]; + UndoChar_16 = undoChar[16]; + UndoChar_17 = undoChar[17]; + UndoChar_18 = undoChar[18]; + UndoChar_19 = undoChar[19]; + UndoChar_20 = undoChar[20]; + UndoChar_21 = undoChar[21]; + UndoChar_22 = undoChar[22]; + UndoChar_23 = undoChar[23]; + UndoChar_24 = undoChar[24]; + UndoChar_25 = undoChar[25]; + UndoChar_26 = undoChar[26]; + UndoChar_27 = undoChar[27]; + UndoChar_28 = undoChar[28]; + UndoChar_29 = undoChar[29]; + UndoChar_30 = undoChar[30]; + UndoChar_31 = undoChar[31]; + UndoChar_32 = undoChar[32]; + UndoChar_33 = undoChar[33]; + UndoChar_34 = undoChar[34]; + UndoChar_35 = undoChar[35]; + UndoChar_36 = undoChar[36]; + UndoChar_37 = undoChar[37]; + UndoChar_38 = undoChar[38]; + UndoChar_39 = undoChar[39]; + UndoChar_40 = undoChar[40]; + UndoChar_41 = undoChar[41]; + UndoChar_42 = undoChar[42]; + UndoChar_43 = undoChar[43]; + UndoChar_44 = undoChar[44]; + UndoChar_45 = undoChar[45]; + UndoChar_46 = undoChar[46]; + UndoChar_47 = undoChar[47]; + UndoChar_48 = undoChar[48]; + UndoChar_49 = undoChar[49]; + UndoChar_50 = undoChar[50]; + UndoChar_51 = undoChar[51]; + UndoChar_52 = undoChar[52]; + UndoChar_53 = undoChar[53]; + UndoChar_54 = undoChar[54]; + UndoChar_55 = undoChar[55]; + UndoChar_56 = undoChar[56]; + UndoChar_57 = undoChar[57]; + UndoChar_58 = undoChar[58]; + UndoChar_59 = undoChar[59]; + UndoChar_60 = undoChar[60]; + UndoChar_61 = undoChar[61]; + UndoChar_62 = undoChar[62]; + UndoChar_63 = undoChar[63]; + UndoChar_64 = undoChar[64]; + UndoChar_65 = undoChar[65]; + UndoChar_66 = undoChar[66]; + UndoChar_67 = undoChar[67]; + UndoChar_68 = undoChar[68]; + UndoChar_69 = undoChar[69]; + UndoChar_70 = undoChar[70]; + UndoChar_71 = undoChar[71]; + UndoChar_72 = undoChar[72]; + UndoChar_73 = undoChar[73]; + UndoChar_74 = undoChar[74]; + UndoChar_75 = undoChar[75]; + UndoChar_76 = undoChar[76]; + UndoChar_77 = undoChar[77]; + UndoChar_78 = undoChar[78]; + UndoChar_79 = undoChar[79]; + UndoChar_80 = undoChar[80]; + UndoChar_81 = undoChar[81]; + UndoChar_82 = undoChar[82]; + UndoChar_83 = undoChar[83]; + UndoChar_84 = undoChar[84]; + UndoChar_85 = undoChar[85]; + UndoChar_86 = undoChar[86]; + UndoChar_87 = undoChar[87]; + UndoChar_88 = undoChar[88]; + UndoChar_89 = undoChar[89]; + UndoChar_90 = undoChar[90]; + UndoChar_91 = undoChar[91]; + UndoChar_92 = undoChar[92]; + UndoChar_93 = undoChar[93]; + UndoChar_94 = undoChar[94]; + UndoChar_95 = undoChar[95]; + UndoChar_96 = undoChar[96]; + UndoChar_97 = undoChar[97]; + UndoChar_98 = undoChar[98]; + UndoChar_99 = undoChar[99]; + UndoChar_100 = undoChar[100]; + UndoChar_101 = undoChar[101]; + UndoChar_102 = undoChar[102]; + UndoChar_103 = undoChar[103]; + UndoChar_104 = undoChar[104]; + UndoChar_105 = undoChar[105]; + UndoChar_106 = undoChar[106]; + UndoChar_107 = undoChar[107]; + UndoChar_108 = undoChar[108]; + UndoChar_109 = undoChar[109]; + UndoChar_110 = undoChar[110]; + UndoChar_111 = undoChar[111]; + UndoChar_112 = undoChar[112]; + UndoChar_113 = undoChar[113]; + UndoChar_114 = undoChar[114]; + UndoChar_115 = undoChar[115]; + UndoChar_116 = undoChar[116]; + UndoChar_117 = undoChar[117]; + UndoChar_118 = undoChar[118]; + UndoChar_119 = undoChar[119]; + UndoChar_120 = undoChar[120]; + UndoChar_121 = undoChar[121]; + UndoChar_122 = undoChar[122]; + UndoChar_123 = undoChar[123]; + UndoChar_124 = undoChar[124]; + UndoChar_125 = undoChar[125]; + UndoChar_126 = undoChar[126]; + UndoChar_127 = undoChar[127]; + UndoChar_128 = undoChar[128]; + UndoChar_129 = undoChar[129]; + UndoChar_130 = undoChar[130]; + UndoChar_131 = undoChar[131]; + UndoChar_132 = undoChar[132]; + UndoChar_133 = undoChar[133]; + UndoChar_134 = undoChar[134]; + UndoChar_135 = undoChar[135]; + UndoChar_136 = undoChar[136]; + UndoChar_137 = undoChar[137]; + UndoChar_138 = undoChar[138]; + UndoChar_139 = undoChar[139]; + UndoChar_140 = undoChar[140]; + UndoChar_141 = undoChar[141]; + UndoChar_142 = undoChar[142]; + UndoChar_143 = undoChar[143]; + UndoChar_144 = undoChar[144]; + UndoChar_145 = undoChar[145]; + UndoChar_146 = undoChar[146]; + UndoChar_147 = undoChar[147]; + UndoChar_148 = undoChar[148]; + UndoChar_149 = undoChar[149]; + UndoChar_150 = undoChar[150]; + UndoChar_151 = undoChar[151]; + UndoChar_152 = undoChar[152]; + UndoChar_153 = undoChar[153]; + UndoChar_154 = undoChar[154]; + UndoChar_155 = undoChar[155]; + UndoChar_156 = undoChar[156]; + UndoChar_157 = undoChar[157]; + UndoChar_158 = undoChar[158]; + UndoChar_159 = undoChar[159]; + UndoChar_160 = undoChar[160]; + UndoChar_161 = undoChar[161]; + UndoChar_162 = undoChar[162]; + UndoChar_163 = undoChar[163]; + UndoChar_164 = undoChar[164]; + UndoChar_165 = undoChar[165]; + UndoChar_166 = undoChar[166]; + UndoChar_167 = undoChar[167]; + UndoChar_168 = undoChar[168]; + UndoChar_169 = undoChar[169]; + UndoChar_170 = undoChar[170]; + UndoChar_171 = undoChar[171]; + UndoChar_172 = undoChar[172]; + UndoChar_173 = undoChar[173]; + UndoChar_174 = undoChar[174]; + UndoChar_175 = undoChar[175]; + UndoChar_176 = undoChar[176]; + UndoChar_177 = undoChar[177]; + UndoChar_178 = undoChar[178]; + UndoChar_179 = undoChar[179]; + UndoChar_180 = undoChar[180]; + UndoChar_181 = undoChar[181]; + UndoChar_182 = undoChar[182]; + UndoChar_183 = undoChar[183]; + UndoChar_184 = undoChar[184]; + UndoChar_185 = undoChar[185]; + UndoChar_186 = undoChar[186]; + UndoChar_187 = undoChar[187]; + UndoChar_188 = undoChar[188]; + UndoChar_189 = undoChar[189]; + UndoChar_190 = undoChar[190]; + UndoChar_191 = undoChar[191]; + UndoChar_192 = undoChar[192]; + UndoChar_193 = undoChar[193]; + UndoChar_194 = undoChar[194]; + UndoChar_195 = undoChar[195]; + UndoChar_196 = undoChar[196]; + UndoChar_197 = undoChar[197]; + UndoChar_198 = undoChar[198]; + UndoChar_199 = undoChar[199]; + UndoChar_200 = undoChar[200]; + UndoChar_201 = undoChar[201]; + UndoChar_202 = undoChar[202]; + UndoChar_203 = undoChar[203]; + UndoChar_204 = undoChar[204]; + UndoChar_205 = undoChar[205]; + UndoChar_206 = undoChar[206]; + UndoChar_207 = undoChar[207]; + UndoChar_208 = undoChar[208]; + UndoChar_209 = undoChar[209]; + UndoChar_210 = undoChar[210]; + UndoChar_211 = undoChar[211]; + UndoChar_212 = undoChar[212]; + UndoChar_213 = undoChar[213]; + UndoChar_214 = undoChar[214]; + UndoChar_215 = undoChar[215]; + UndoChar_216 = undoChar[216]; + UndoChar_217 = undoChar[217]; + UndoChar_218 = undoChar[218]; + UndoChar_219 = undoChar[219]; + UndoChar_220 = undoChar[220]; + UndoChar_221 = undoChar[221]; + UndoChar_222 = undoChar[222]; + UndoChar_223 = undoChar[223]; + UndoChar_224 = undoChar[224]; + UndoChar_225 = undoChar[225]; + UndoChar_226 = undoChar[226]; + UndoChar_227 = undoChar[227]; + UndoChar_228 = undoChar[228]; + UndoChar_229 = undoChar[229]; + UndoChar_230 = undoChar[230]; + UndoChar_231 = undoChar[231]; + UndoChar_232 = undoChar[232]; + UndoChar_233 = undoChar[233]; + UndoChar_234 = undoChar[234]; + UndoChar_235 = undoChar[235]; + UndoChar_236 = undoChar[236]; + UndoChar_237 = undoChar[237]; + UndoChar_238 = undoChar[238]; + UndoChar_239 = undoChar[239]; + UndoChar_240 = undoChar[240]; + UndoChar_241 = undoChar[241]; + UndoChar_242 = undoChar[242]; + UndoChar_243 = undoChar[243]; + UndoChar_244 = undoChar[244]; + UndoChar_245 = undoChar[245]; + UndoChar_246 = undoChar[246]; + UndoChar_247 = undoChar[247]; + UndoChar_248 = undoChar[248]; + UndoChar_249 = undoChar[249]; + UndoChar_250 = undoChar[250]; + UndoChar_251 = undoChar[251]; + UndoChar_252 = undoChar[252]; + UndoChar_253 = undoChar[253]; + UndoChar_254 = undoChar[254]; + UndoChar_255 = undoChar[255]; + UndoChar_256 = undoChar[256]; + UndoChar_257 = undoChar[257]; + UndoChar_258 = undoChar[258]; + UndoChar_259 = undoChar[259]; + UndoChar_260 = undoChar[260]; + UndoChar_261 = undoChar[261]; + UndoChar_262 = undoChar[262]; + UndoChar_263 = undoChar[263]; + UndoChar_264 = undoChar[264]; + UndoChar_265 = undoChar[265]; + UndoChar_266 = undoChar[266]; + UndoChar_267 = undoChar[267]; + UndoChar_268 = undoChar[268]; + UndoChar_269 = undoChar[269]; + UndoChar_270 = undoChar[270]; + UndoChar_271 = undoChar[271]; + UndoChar_272 = undoChar[272]; + UndoChar_273 = undoChar[273]; + UndoChar_274 = undoChar[274]; + UndoChar_275 = undoChar[275]; + UndoChar_276 = undoChar[276]; + UndoChar_277 = undoChar[277]; + UndoChar_278 = undoChar[278]; + UndoChar_279 = undoChar[279]; + UndoChar_280 = undoChar[280]; + UndoChar_281 = undoChar[281]; + UndoChar_282 = undoChar[282]; + UndoChar_283 = undoChar[283]; + UndoChar_284 = undoChar[284]; + UndoChar_285 = undoChar[285]; + UndoChar_286 = undoChar[286]; + UndoChar_287 = undoChar[287]; + UndoChar_288 = undoChar[288]; + UndoChar_289 = undoChar[289]; + UndoChar_290 = undoChar[290]; + UndoChar_291 = undoChar[291]; + UndoChar_292 = undoChar[292]; + UndoChar_293 = undoChar[293]; + UndoChar_294 = undoChar[294]; + UndoChar_295 = undoChar[295]; + UndoChar_296 = undoChar[296]; + UndoChar_297 = undoChar[297]; + UndoChar_298 = undoChar[298]; + UndoChar_299 = undoChar[299]; + UndoChar_300 = undoChar[300]; + UndoChar_301 = undoChar[301]; + UndoChar_302 = undoChar[302]; + UndoChar_303 = undoChar[303]; + UndoChar_304 = undoChar[304]; + UndoChar_305 = undoChar[305]; + UndoChar_306 = undoChar[306]; + UndoChar_307 = undoChar[307]; + UndoChar_308 = undoChar[308]; + UndoChar_309 = undoChar[309]; + UndoChar_310 = undoChar[310]; + UndoChar_311 = undoChar[311]; + UndoChar_312 = undoChar[312]; + UndoChar_313 = undoChar[313]; + UndoChar_314 = undoChar[314]; + UndoChar_315 = undoChar[315]; + UndoChar_316 = undoChar[316]; + UndoChar_317 = undoChar[317]; + UndoChar_318 = undoChar[318]; + UndoChar_319 = undoChar[319]; + UndoChar_320 = undoChar[320]; + UndoChar_321 = undoChar[321]; + UndoChar_322 = undoChar[322]; + UndoChar_323 = undoChar[323]; + UndoChar_324 = undoChar[324]; + UndoChar_325 = undoChar[325]; + UndoChar_326 = undoChar[326]; + UndoChar_327 = undoChar[327]; + UndoChar_328 = undoChar[328]; + UndoChar_329 = undoChar[329]; + UndoChar_330 = undoChar[330]; + UndoChar_331 = undoChar[331]; + UndoChar_332 = undoChar[332]; + UndoChar_333 = undoChar[333]; + UndoChar_334 = undoChar[334]; + UndoChar_335 = undoChar[335]; + UndoChar_336 = undoChar[336]; + UndoChar_337 = undoChar[337]; + UndoChar_338 = undoChar[338]; + UndoChar_339 = undoChar[339]; + UndoChar_340 = undoChar[340]; + UndoChar_341 = undoChar[341]; + UndoChar_342 = undoChar[342]; + UndoChar_343 = undoChar[343]; + UndoChar_344 = undoChar[344]; + UndoChar_345 = undoChar[345]; + UndoChar_346 = undoChar[346]; + UndoChar_347 = undoChar[347]; + UndoChar_348 = undoChar[348]; + UndoChar_349 = undoChar[349]; + UndoChar_350 = undoChar[350]; + UndoChar_351 = undoChar[351]; + UndoChar_352 = undoChar[352]; + UndoChar_353 = undoChar[353]; + UndoChar_354 = undoChar[354]; + UndoChar_355 = undoChar[355]; + UndoChar_356 = undoChar[356]; + UndoChar_357 = undoChar[357]; + UndoChar_358 = undoChar[358]; + UndoChar_359 = undoChar[359]; + UndoChar_360 = undoChar[360]; + UndoChar_361 = undoChar[361]; + UndoChar_362 = undoChar[362]; + UndoChar_363 = undoChar[363]; + UndoChar_364 = undoChar[364]; + UndoChar_365 = undoChar[365]; + UndoChar_366 = undoChar[366]; + UndoChar_367 = undoChar[367]; + UndoChar_368 = undoChar[368]; + UndoChar_369 = undoChar[369]; + UndoChar_370 = undoChar[370]; + UndoChar_371 = undoChar[371]; + UndoChar_372 = undoChar[372]; + UndoChar_373 = undoChar[373]; + UndoChar_374 = undoChar[374]; + UndoChar_375 = undoChar[375]; + UndoChar_376 = undoChar[376]; + UndoChar_377 = undoChar[377]; + UndoChar_378 = undoChar[378]; + UndoChar_379 = undoChar[379]; + UndoChar_380 = undoChar[380]; + UndoChar_381 = undoChar[381]; + UndoChar_382 = undoChar[382]; + UndoChar_383 = undoChar[383]; + UndoChar_384 = undoChar[384]; + UndoChar_385 = undoChar[385]; + UndoChar_386 = undoChar[386]; + UndoChar_387 = undoChar[387]; + UndoChar_388 = undoChar[388]; + UndoChar_389 = undoChar[389]; + UndoChar_390 = undoChar[390]; + UndoChar_391 = undoChar[391]; + UndoChar_392 = undoChar[392]; + UndoChar_393 = undoChar[393]; + UndoChar_394 = undoChar[394]; + UndoChar_395 = undoChar[395]; + UndoChar_396 = undoChar[396]; + UndoChar_397 = undoChar[397]; + UndoChar_398 = undoChar[398]; + UndoChar_399 = undoChar[399]; + UndoChar_400 = undoChar[400]; + UndoChar_401 = undoChar[401]; + UndoChar_402 = undoChar[402]; + UndoChar_403 = undoChar[403]; + UndoChar_404 = undoChar[404]; + UndoChar_405 = undoChar[405]; + UndoChar_406 = undoChar[406]; + UndoChar_407 = undoChar[407]; + UndoChar_408 = undoChar[408]; + UndoChar_409 = undoChar[409]; + UndoChar_410 = undoChar[410]; + UndoChar_411 = undoChar[411]; + UndoChar_412 = undoChar[412]; + UndoChar_413 = undoChar[413]; + UndoChar_414 = undoChar[414]; + UndoChar_415 = undoChar[415]; + UndoChar_416 = undoChar[416]; + UndoChar_417 = undoChar[417]; + UndoChar_418 = undoChar[418]; + UndoChar_419 = undoChar[419]; + UndoChar_420 = undoChar[420]; + UndoChar_421 = undoChar[421]; + UndoChar_422 = undoChar[422]; + UndoChar_423 = undoChar[423]; + UndoChar_424 = undoChar[424]; + UndoChar_425 = undoChar[425]; + UndoChar_426 = undoChar[426]; + UndoChar_427 = undoChar[427]; + UndoChar_428 = undoChar[428]; + UndoChar_429 = undoChar[429]; + UndoChar_430 = undoChar[430]; + UndoChar_431 = undoChar[431]; + UndoChar_432 = undoChar[432]; + UndoChar_433 = undoChar[433]; + UndoChar_434 = undoChar[434]; + UndoChar_435 = undoChar[435]; + UndoChar_436 = undoChar[436]; + UndoChar_437 = undoChar[437]; + UndoChar_438 = undoChar[438]; + UndoChar_439 = undoChar[439]; + UndoChar_440 = undoChar[440]; + UndoChar_441 = undoChar[441]; + UndoChar_442 = undoChar[442]; + UndoChar_443 = undoChar[443]; + UndoChar_444 = undoChar[444]; + UndoChar_445 = undoChar[445]; + UndoChar_446 = undoChar[446]; + UndoChar_447 = undoChar[447]; + UndoChar_448 = undoChar[448]; + UndoChar_449 = undoChar[449]; + UndoChar_450 = undoChar[450]; + UndoChar_451 = undoChar[451]; + UndoChar_452 = undoChar[452]; + UndoChar_453 = undoChar[453]; + UndoChar_454 = undoChar[454]; + UndoChar_455 = undoChar[455]; + UndoChar_456 = undoChar[456]; + UndoChar_457 = undoChar[457]; + UndoChar_458 = undoChar[458]; + UndoChar_459 = undoChar[459]; + UndoChar_460 = undoChar[460]; + UndoChar_461 = undoChar[461]; + UndoChar_462 = undoChar[462]; + UndoChar_463 = undoChar[463]; + UndoChar_464 = undoChar[464]; + UndoChar_465 = undoChar[465]; + UndoChar_466 = undoChar[466]; + UndoChar_467 = undoChar[467]; + UndoChar_468 = undoChar[468]; + UndoChar_469 = undoChar[469]; + UndoChar_470 = undoChar[470]; + UndoChar_471 = undoChar[471]; + UndoChar_472 = undoChar[472]; + UndoChar_473 = undoChar[473]; + UndoChar_474 = undoChar[474]; + UndoChar_475 = undoChar[475]; + UndoChar_476 = undoChar[476]; + UndoChar_477 = undoChar[477]; + UndoChar_478 = undoChar[478]; + UndoChar_479 = undoChar[479]; + UndoChar_480 = undoChar[480]; + UndoChar_481 = undoChar[481]; + UndoChar_482 = undoChar[482]; + UndoChar_483 = undoChar[483]; + UndoChar_484 = undoChar[484]; + UndoChar_485 = undoChar[485]; + UndoChar_486 = undoChar[486]; + UndoChar_487 = undoChar[487]; + UndoChar_488 = undoChar[488]; + UndoChar_489 = undoChar[489]; + UndoChar_490 = undoChar[490]; + UndoChar_491 = undoChar[491]; + UndoChar_492 = undoChar[492]; + UndoChar_493 = undoChar[493]; + UndoChar_494 = undoChar[494]; + UndoChar_495 = undoChar[495]; + UndoChar_496 = undoChar[496]; + UndoChar_497 = undoChar[497]; + UndoChar_498 = undoChar[498]; + UndoChar_499 = undoChar[499]; + UndoChar_500 = undoChar[500]; + UndoChar_501 = undoChar[501]; + UndoChar_502 = undoChar[502]; + UndoChar_503 = undoChar[503]; + UndoChar_504 = undoChar[504]; + UndoChar_505 = undoChar[505]; + UndoChar_506 = undoChar[506]; + UndoChar_507 = undoChar[507]; + UndoChar_508 = undoChar[508]; + UndoChar_509 = undoChar[509]; + UndoChar_510 = undoChar[510]; + UndoChar_511 = undoChar[511]; + UndoChar_512 = undoChar[512]; + UndoChar_513 = undoChar[513]; + UndoChar_514 = undoChar[514]; + UndoChar_515 = undoChar[515]; + UndoChar_516 = undoChar[516]; + UndoChar_517 = undoChar[517]; + UndoChar_518 = undoChar[518]; + UndoChar_519 = undoChar[519]; + UndoChar_520 = undoChar[520]; + UndoChar_521 = undoChar[521]; + UndoChar_522 = undoChar[522]; + UndoChar_523 = undoChar[523]; + UndoChar_524 = undoChar[524]; + UndoChar_525 = undoChar[525]; + UndoChar_526 = undoChar[526]; + UndoChar_527 = undoChar[527]; + UndoChar_528 = undoChar[528]; + UndoChar_529 = undoChar[529]; + UndoChar_530 = undoChar[530]; + UndoChar_531 = undoChar[531]; + UndoChar_532 = undoChar[532]; + UndoChar_533 = undoChar[533]; + UndoChar_534 = undoChar[534]; + UndoChar_535 = undoChar[535]; + UndoChar_536 = undoChar[536]; + UndoChar_537 = undoChar[537]; + UndoChar_538 = undoChar[538]; + UndoChar_539 = undoChar[539]; + UndoChar_540 = undoChar[540]; + UndoChar_541 = undoChar[541]; + UndoChar_542 = undoChar[542]; + UndoChar_543 = undoChar[543]; + UndoChar_544 = undoChar[544]; + UndoChar_545 = undoChar[545]; + UndoChar_546 = undoChar[546]; + UndoChar_547 = undoChar[547]; + UndoChar_548 = undoChar[548]; + UndoChar_549 = undoChar[549]; + UndoChar_550 = undoChar[550]; + UndoChar_551 = undoChar[551]; + UndoChar_552 = undoChar[552]; + UndoChar_553 = undoChar[553]; + UndoChar_554 = undoChar[554]; + UndoChar_555 = undoChar[555]; + UndoChar_556 = undoChar[556]; + UndoChar_557 = undoChar[557]; + UndoChar_558 = undoChar[558]; + UndoChar_559 = undoChar[559]; + UndoChar_560 = undoChar[560]; + UndoChar_561 = undoChar[561]; + UndoChar_562 = undoChar[562]; + UndoChar_563 = undoChar[563]; + UndoChar_564 = undoChar[564]; + UndoChar_565 = undoChar[565]; + UndoChar_566 = undoChar[566]; + UndoChar_567 = undoChar[567]; + UndoChar_568 = undoChar[568]; + UndoChar_569 = undoChar[569]; + UndoChar_570 = undoChar[570]; + UndoChar_571 = undoChar[571]; + UndoChar_572 = undoChar[572]; + UndoChar_573 = undoChar[573]; + UndoChar_574 = undoChar[574]; + UndoChar_575 = undoChar[575]; + UndoChar_576 = undoChar[576]; + UndoChar_577 = undoChar[577]; + UndoChar_578 = undoChar[578]; + UndoChar_579 = undoChar[579]; + UndoChar_580 = undoChar[580]; + UndoChar_581 = undoChar[581]; + UndoChar_582 = undoChar[582]; + UndoChar_583 = undoChar[583]; + UndoChar_584 = undoChar[584]; + UndoChar_585 = undoChar[585]; + UndoChar_586 = undoChar[586]; + UndoChar_587 = undoChar[587]; + UndoChar_588 = undoChar[588]; + UndoChar_589 = undoChar[589]; + UndoChar_590 = undoChar[590]; + UndoChar_591 = undoChar[591]; + UndoChar_592 = undoChar[592]; + UndoChar_593 = undoChar[593]; + UndoChar_594 = undoChar[594]; + UndoChar_595 = undoChar[595]; + UndoChar_596 = undoChar[596]; + UndoChar_597 = undoChar[597]; + UndoChar_598 = undoChar[598]; + UndoChar_599 = undoChar[599]; + UndoChar_600 = undoChar[600]; + UndoChar_601 = undoChar[601]; + UndoChar_602 = undoChar[602]; + UndoChar_603 = undoChar[603]; + UndoChar_604 = undoChar[604]; + UndoChar_605 = undoChar[605]; + UndoChar_606 = undoChar[606]; + UndoChar_607 = undoChar[607]; + UndoChar_608 = undoChar[608]; + UndoChar_609 = undoChar[609]; + UndoChar_610 = undoChar[610]; + UndoChar_611 = undoChar[611]; + UndoChar_612 = undoChar[612]; + UndoChar_613 = undoChar[613]; + UndoChar_614 = undoChar[614]; + UndoChar_615 = undoChar[615]; + UndoChar_616 = undoChar[616]; + UndoChar_617 = undoChar[617]; + UndoChar_618 = undoChar[618]; + UndoChar_619 = undoChar[619]; + UndoChar_620 = undoChar[620]; + UndoChar_621 = undoChar[621]; + UndoChar_622 = undoChar[622]; + UndoChar_623 = undoChar[623]; + UndoChar_624 = undoChar[624]; + UndoChar_625 = undoChar[625]; + UndoChar_626 = undoChar[626]; + UndoChar_627 = undoChar[627]; + UndoChar_628 = undoChar[628]; + UndoChar_629 = undoChar[629]; + UndoChar_630 = undoChar[630]; + UndoChar_631 = undoChar[631]; + UndoChar_632 = undoChar[632]; + UndoChar_633 = undoChar[633]; + UndoChar_634 = undoChar[634]; + UndoChar_635 = undoChar[635]; + UndoChar_636 = undoChar[636]; + UndoChar_637 = undoChar[637]; + UndoChar_638 = undoChar[638]; + UndoChar_639 = undoChar[639]; + UndoChar_640 = undoChar[640]; + UndoChar_641 = undoChar[641]; + UndoChar_642 = undoChar[642]; + UndoChar_643 = undoChar[643]; + UndoChar_644 = undoChar[644]; + UndoChar_645 = undoChar[645]; + UndoChar_646 = undoChar[646]; + UndoChar_647 = undoChar[647]; + UndoChar_648 = undoChar[648]; + UndoChar_649 = undoChar[649]; + UndoChar_650 = undoChar[650]; + UndoChar_651 = undoChar[651]; + UndoChar_652 = undoChar[652]; + UndoChar_653 = undoChar[653]; + UndoChar_654 = undoChar[654]; + UndoChar_655 = undoChar[655]; + UndoChar_656 = undoChar[656]; + UndoChar_657 = undoChar[657]; + UndoChar_658 = undoChar[658]; + UndoChar_659 = undoChar[659]; + UndoChar_660 = undoChar[660]; + UndoChar_661 = undoChar[661]; + UndoChar_662 = undoChar[662]; + UndoChar_663 = undoChar[663]; + UndoChar_664 = undoChar[664]; + UndoChar_665 = undoChar[665]; + UndoChar_666 = undoChar[666]; + UndoChar_667 = undoChar[667]; + UndoChar_668 = undoChar[668]; + UndoChar_669 = undoChar[669]; + UndoChar_670 = undoChar[670]; + UndoChar_671 = undoChar[671]; + UndoChar_672 = undoChar[672]; + UndoChar_673 = undoChar[673]; + UndoChar_674 = undoChar[674]; + UndoChar_675 = undoChar[675]; + UndoChar_676 = undoChar[676]; + UndoChar_677 = undoChar[677]; + UndoChar_678 = undoChar[678]; + UndoChar_679 = undoChar[679]; + UndoChar_680 = undoChar[680]; + UndoChar_681 = undoChar[681]; + UndoChar_682 = undoChar[682]; + UndoChar_683 = undoChar[683]; + UndoChar_684 = undoChar[684]; + UndoChar_685 = undoChar[685]; + UndoChar_686 = undoChar[686]; + UndoChar_687 = undoChar[687]; + UndoChar_688 = undoChar[688]; + UndoChar_689 = undoChar[689]; + UndoChar_690 = undoChar[690]; + UndoChar_691 = undoChar[691]; + UndoChar_692 = undoChar[692]; + UndoChar_693 = undoChar[693]; + UndoChar_694 = undoChar[694]; + UndoChar_695 = undoChar[695]; + UndoChar_696 = undoChar[696]; + UndoChar_697 = undoChar[697]; + UndoChar_698 = undoChar[698]; + UndoChar_699 = undoChar[699]; + UndoChar_700 = undoChar[700]; + UndoChar_701 = undoChar[701]; + UndoChar_702 = undoChar[702]; + UndoChar_703 = undoChar[703]; + UndoChar_704 = undoChar[704]; + UndoChar_705 = undoChar[705]; + UndoChar_706 = undoChar[706]; + UndoChar_707 = undoChar[707]; + UndoChar_708 = undoChar[708]; + UndoChar_709 = undoChar[709]; + UndoChar_710 = undoChar[710]; + UndoChar_711 = undoChar[711]; + UndoChar_712 = undoChar[712]; + UndoChar_713 = undoChar[713]; + UndoChar_714 = undoChar[714]; + UndoChar_715 = undoChar[715]; + UndoChar_716 = undoChar[716]; + UndoChar_717 = undoChar[717]; + UndoChar_718 = undoChar[718]; + UndoChar_719 = undoChar[719]; + UndoChar_720 = undoChar[720]; + UndoChar_721 = undoChar[721]; + UndoChar_722 = undoChar[722]; + UndoChar_723 = undoChar[723]; + UndoChar_724 = undoChar[724]; + UndoChar_725 = undoChar[725]; + UndoChar_726 = undoChar[726]; + UndoChar_727 = undoChar[727]; + UndoChar_728 = undoChar[728]; + UndoChar_729 = undoChar[729]; + UndoChar_730 = undoChar[730]; + UndoChar_731 = undoChar[731]; + UndoChar_732 = undoChar[732]; + UndoChar_733 = undoChar[733]; + UndoChar_734 = undoChar[734]; + UndoChar_735 = undoChar[735]; + UndoChar_736 = undoChar[736]; + UndoChar_737 = undoChar[737]; + UndoChar_738 = undoChar[738]; + UndoChar_739 = undoChar[739]; + UndoChar_740 = undoChar[740]; + UndoChar_741 = undoChar[741]; + UndoChar_742 = undoChar[742]; + UndoChar_743 = undoChar[743]; + UndoChar_744 = undoChar[744]; + UndoChar_745 = undoChar[745]; + UndoChar_746 = undoChar[746]; + UndoChar_747 = undoChar[747]; + UndoChar_748 = undoChar[748]; + UndoChar_749 = undoChar[749]; + UndoChar_750 = undoChar[750]; + UndoChar_751 = undoChar[751]; + UndoChar_752 = undoChar[752]; + UndoChar_753 = undoChar[753]; + UndoChar_754 = undoChar[754]; + UndoChar_755 = undoChar[755]; + UndoChar_756 = undoChar[756]; + UndoChar_757 = undoChar[757]; + UndoChar_758 = undoChar[758]; + UndoChar_759 = undoChar[759]; + UndoChar_760 = undoChar[760]; + UndoChar_761 = undoChar[761]; + UndoChar_762 = undoChar[762]; + UndoChar_763 = undoChar[763]; + UndoChar_764 = undoChar[764]; + UndoChar_765 = undoChar[765]; + UndoChar_766 = undoChar[766]; + UndoChar_767 = undoChar[767]; + UndoChar_768 = undoChar[768]; + UndoChar_769 = undoChar[769]; + UndoChar_770 = undoChar[770]; + UndoChar_771 = undoChar[771]; + UndoChar_772 = undoChar[772]; + UndoChar_773 = undoChar[773]; + UndoChar_774 = undoChar[774]; + UndoChar_775 = undoChar[775]; + UndoChar_776 = undoChar[776]; + UndoChar_777 = undoChar[777]; + UndoChar_778 = undoChar[778]; + UndoChar_779 = undoChar[779]; + UndoChar_780 = undoChar[780]; + UndoChar_781 = undoChar[781]; + UndoChar_782 = undoChar[782]; + UndoChar_783 = undoChar[783]; + UndoChar_784 = undoChar[784]; + UndoChar_785 = undoChar[785]; + UndoChar_786 = undoChar[786]; + UndoChar_787 = undoChar[787]; + UndoChar_788 = undoChar[788]; + UndoChar_789 = undoChar[789]; + UndoChar_790 = undoChar[790]; + UndoChar_791 = undoChar[791]; + UndoChar_792 = undoChar[792]; + UndoChar_793 = undoChar[793]; + UndoChar_794 = undoChar[794]; + UndoChar_795 = undoChar[795]; + UndoChar_796 = undoChar[796]; + UndoChar_797 = undoChar[797]; + UndoChar_798 = undoChar[798]; + UndoChar_799 = undoChar[799]; + UndoChar_800 = undoChar[800]; + UndoChar_801 = undoChar[801]; + UndoChar_802 = undoChar[802]; + UndoChar_803 = undoChar[803]; + UndoChar_804 = undoChar[804]; + UndoChar_805 = undoChar[805]; + UndoChar_806 = undoChar[806]; + UndoChar_807 = undoChar[807]; + UndoChar_808 = undoChar[808]; + UndoChar_809 = undoChar[809]; + UndoChar_810 = undoChar[810]; + UndoChar_811 = undoChar[811]; + UndoChar_812 = undoChar[812]; + UndoChar_813 = undoChar[813]; + UndoChar_814 = undoChar[814]; + UndoChar_815 = undoChar[815]; + UndoChar_816 = undoChar[816]; + UndoChar_817 = undoChar[817]; + UndoChar_818 = undoChar[818]; + UndoChar_819 = undoChar[819]; + UndoChar_820 = undoChar[820]; + UndoChar_821 = undoChar[821]; + UndoChar_822 = undoChar[822]; + UndoChar_823 = undoChar[823]; + UndoChar_824 = undoChar[824]; + UndoChar_825 = undoChar[825]; + UndoChar_826 = undoChar[826]; + UndoChar_827 = undoChar[827]; + UndoChar_828 = undoChar[828]; + UndoChar_829 = undoChar[829]; + UndoChar_830 = undoChar[830]; + UndoChar_831 = undoChar[831]; + UndoChar_832 = undoChar[832]; + UndoChar_833 = undoChar[833]; + UndoChar_834 = undoChar[834]; + UndoChar_835 = undoChar[835]; + UndoChar_836 = undoChar[836]; + UndoChar_837 = undoChar[837]; + UndoChar_838 = undoChar[838]; + UndoChar_839 = undoChar[839]; + UndoChar_840 = undoChar[840]; + UndoChar_841 = undoChar[841]; + UndoChar_842 = undoChar[842]; + UndoChar_843 = undoChar[843]; + UndoChar_844 = undoChar[844]; + UndoChar_845 = undoChar[845]; + UndoChar_846 = undoChar[846]; + UndoChar_847 = undoChar[847]; + UndoChar_848 = undoChar[848]; + UndoChar_849 = undoChar[849]; + UndoChar_850 = undoChar[850]; + UndoChar_851 = undoChar[851]; + UndoChar_852 = undoChar[852]; + UndoChar_853 = undoChar[853]; + UndoChar_854 = undoChar[854]; + UndoChar_855 = undoChar[855]; + UndoChar_856 = undoChar[856]; + UndoChar_857 = undoChar[857]; + UndoChar_858 = undoChar[858]; + UndoChar_859 = undoChar[859]; + UndoChar_860 = undoChar[860]; + UndoChar_861 = undoChar[861]; + UndoChar_862 = undoChar[862]; + UndoChar_863 = undoChar[863]; + UndoChar_864 = undoChar[864]; + UndoChar_865 = undoChar[865]; + UndoChar_866 = undoChar[866]; + UndoChar_867 = undoChar[867]; + UndoChar_868 = undoChar[868]; + UndoChar_869 = undoChar[869]; + UndoChar_870 = undoChar[870]; + UndoChar_871 = undoChar[871]; + UndoChar_872 = undoChar[872]; + UndoChar_873 = undoChar[873]; + UndoChar_874 = undoChar[874]; + UndoChar_875 = undoChar[875]; + UndoChar_876 = undoChar[876]; + UndoChar_877 = undoChar[877]; + UndoChar_878 = undoChar[878]; + UndoChar_879 = undoChar[879]; + UndoChar_880 = undoChar[880]; + UndoChar_881 = undoChar[881]; + UndoChar_882 = undoChar[882]; + UndoChar_883 = undoChar[883]; + UndoChar_884 = undoChar[884]; + UndoChar_885 = undoChar[885]; + UndoChar_886 = undoChar[886]; + UndoChar_887 = undoChar[887]; + UndoChar_888 = undoChar[888]; + UndoChar_889 = undoChar[889]; + UndoChar_890 = undoChar[890]; + UndoChar_891 = undoChar[891]; + UndoChar_892 = undoChar[892]; + UndoChar_893 = undoChar[893]; + UndoChar_894 = undoChar[894]; + UndoChar_895 = undoChar[895]; + UndoChar_896 = undoChar[896]; + UndoChar_897 = undoChar[897]; + UndoChar_898 = undoChar[898]; + UndoChar_899 = undoChar[899]; + UndoChar_900 = undoChar[900]; + UndoChar_901 = undoChar[901]; + UndoChar_902 = undoChar[902]; + UndoChar_903 = undoChar[903]; + UndoChar_904 = undoChar[904]; + UndoChar_905 = undoChar[905]; + UndoChar_906 = undoChar[906]; + UndoChar_907 = undoChar[907]; + UndoChar_908 = undoChar[908]; + UndoChar_909 = undoChar[909]; + UndoChar_910 = undoChar[910]; + UndoChar_911 = undoChar[911]; + UndoChar_912 = undoChar[912]; + UndoChar_913 = undoChar[913]; + UndoChar_914 = undoChar[914]; + UndoChar_915 = undoChar[915]; + UndoChar_916 = undoChar[916]; + UndoChar_917 = undoChar[917]; + UndoChar_918 = undoChar[918]; + UndoChar_919 = undoChar[919]; + UndoChar_920 = undoChar[920]; + UndoChar_921 = undoChar[921]; + UndoChar_922 = undoChar[922]; + UndoChar_923 = undoChar[923]; + UndoChar_924 = undoChar[924]; + UndoChar_925 = undoChar[925]; + UndoChar_926 = undoChar[926]; + UndoChar_927 = undoChar[927]; + UndoChar_928 = undoChar[928]; + UndoChar_929 = undoChar[929]; + UndoChar_930 = undoChar[930]; + UndoChar_931 = undoChar[931]; + UndoChar_932 = undoChar[932]; + UndoChar_933 = undoChar[933]; + UndoChar_934 = undoChar[934]; + UndoChar_935 = undoChar[935]; + UndoChar_936 = undoChar[936]; + UndoChar_937 = undoChar[937]; + UndoChar_938 = undoChar[938]; + UndoChar_939 = undoChar[939]; + UndoChar_940 = undoChar[940]; + UndoChar_941 = undoChar[941]; + UndoChar_942 = undoChar[942]; + UndoChar_943 = undoChar[943]; + UndoChar_944 = undoChar[944]; + UndoChar_945 = undoChar[945]; + UndoChar_946 = undoChar[946]; + UndoChar_947 = undoChar[947]; + UndoChar_948 = undoChar[948]; + UndoChar_949 = undoChar[949]; + UndoChar_950 = undoChar[950]; + UndoChar_951 = undoChar[951]; + UndoChar_952 = undoChar[952]; + UndoChar_953 = undoChar[953]; + UndoChar_954 = undoChar[954]; + UndoChar_955 = undoChar[955]; + UndoChar_956 = undoChar[956]; + UndoChar_957 = undoChar[957]; + UndoChar_958 = undoChar[958]; + UndoChar_959 = undoChar[959]; + UndoChar_960 = undoChar[960]; + UndoChar_961 = undoChar[961]; + UndoChar_962 = undoChar[962]; + UndoChar_963 = undoChar[963]; + UndoChar_964 = undoChar[964]; + UndoChar_965 = undoChar[965]; + UndoChar_966 = undoChar[966]; + UndoChar_967 = undoChar[967]; + UndoChar_968 = undoChar[968]; + UndoChar_969 = undoChar[969]; + UndoChar_970 = undoChar[970]; + UndoChar_971 = undoChar[971]; + UndoChar_972 = undoChar[972]; + UndoChar_973 = undoChar[973]; + UndoChar_974 = undoChar[974]; + UndoChar_975 = undoChar[975]; + UndoChar_976 = undoChar[976]; + UndoChar_977 = undoChar[977]; + UndoChar_978 = undoChar[978]; + UndoChar_979 = undoChar[979]; + UndoChar_980 = undoChar[980]; + UndoChar_981 = undoChar[981]; + UndoChar_982 = undoChar[982]; + UndoChar_983 = undoChar[983]; + UndoChar_984 = undoChar[984]; + UndoChar_985 = undoChar[985]; + UndoChar_986 = undoChar[986]; + UndoChar_987 = undoChar[987]; + UndoChar_988 = undoChar[988]; + UndoChar_989 = undoChar[989]; + UndoChar_990 = undoChar[990]; + UndoChar_991 = undoChar[991]; + UndoChar_992 = undoChar[992]; + UndoChar_993 = undoChar[993]; + UndoChar_994 = undoChar[994]; + UndoChar_995 = undoChar[995]; + UndoChar_996 = undoChar[996]; + UndoChar_997 = undoChar[997]; + UndoChar_998 = undoChar[998]; + } + UndoPoint = undoPoint; + RedoPoint = redoPoint; + UndoCharPoint = undoCharPoint; + RedoCharPoint = redoCharPoint; + } + public unsafe Span UndoRec + { + get + { + fixed (StbUndoRecord* p = &this.UndoRec_0) + { + return new Span(p, 99); + } + } + } + } +} diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImBitArrayImGuiKeyNamedKeyCOUNTLessImGuiKeyNamedKeyBEGIN.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImBitArrayImGuiKeyNamedKeyCOUNTLessImGuiKeyNamedKeyBEGIN.gen.cs new file mode 100644 index 000000000..90874f319 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImBitArrayImGuiKeyNamedKeyCOUNTLessImGuiKeyNamedKeyBEGIN.gen.cs @@ -0,0 +1,15 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImBitArrayImGuiKeyNamedKeyCOUNTLessImGuiKeyNamedKeyBEGIN +{ +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImBitVector.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImBitVector.gen.cs new file mode 100644 index 000000000..683dc30c5 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImBitVector.gen.cs @@ -0,0 +1,15 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImBitVector +{ +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImBitVectorPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImBitVectorPtr.gen.cs new file mode 100644 index 000000000..377e9d268 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImBitVectorPtr.gen.cs @@ -0,0 +1,15 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImBitVectorPtr +{ +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImChunkStreamImGuiTableSettings.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImChunkStreamImGuiTableSettings.gen.cs new file mode 100644 index 000000000..4873416b0 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImChunkStreamImGuiTableSettings.gen.cs @@ -0,0 +1,15 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImChunkStreamImGuiTableSettings +{ +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImChunkStreamImGuiWindowSettings.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImChunkStreamImGuiWindowSettings.gen.cs new file mode 100644 index 000000000..383d7d72e --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImChunkStreamImGuiWindowSettings.gen.cs @@ -0,0 +1,15 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImChunkStreamImGuiWindowSettings +{ +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImColor.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImColor.gen.cs new file mode 100644 index 000000000..976499f32 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImColor.gen.cs @@ -0,0 +1,50 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImColor +{ + public unsafe void Destroy() + { + fixed (ImColor* @this = &this) + { + ImGuiNative.Destroy(@this); + } + } + public unsafe void HSV(float h, float s, float v, float a) + { + fixed (ImColor* @this = &this) + { + ImGuiNative.HSV(@this, h, s, v, a); + } + } + public unsafe void HSV(float h, float s, float v) + { + fixed (ImColor* @this = &this) + { + ImGuiNative.HSV(@this, h, s, v, (float)(1.0f)); + } + } + public unsafe void SetHSV(float h, float s, float v, float a) + { + fixed (ImColor* @this = &this) + { + ImGuiNative.SetHSV(@this, h, s, v, a); + } + } + public unsafe void SetHSV(float h, float s, float v) + { + fixed (ImColor* @this = &this) + { + ImGuiNative.SetHSV(@this, h, s, v, (float)(1.0f)); + } + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImColorPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImColorPtr.gen.cs new file mode 100644 index 000000000..80de55e64 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImColorPtr.gen.cs @@ -0,0 +1,35 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImColorPtr +{ + public unsafe void Destroy() + { + ImGuiNative.Destroy(Handle); + } + public unsafe void HSV(float h, float s, float v, float a) + { + ImGuiNative.HSV(Handle, h, s, v, a); + } + public unsafe void HSV(float h, float s, float v) + { + ImGuiNative.HSV(Handle, h, s, v, (float)(1.0f)); + } + public unsafe void SetHSV(float h, float s, float v, float a) + { + ImGuiNative.SetHSV(Handle, h, s, v, a); + } + public unsafe void SetHSV(float h, float s, float v) + { + ImGuiNative.SetHSV(Handle, h, s, v, (float)(1.0f)); + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImDrawChannel.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImDrawChannel.gen.cs new file mode 100644 index 000000000..afcb1db3b --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImDrawChannel.gen.cs @@ -0,0 +1,15 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImDrawChannel +{ +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImDrawChannelPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImDrawChannelPtr.gen.cs new file mode 100644 index 000000000..ffff450fd --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImDrawChannelPtr.gen.cs @@ -0,0 +1,15 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImDrawChannelPtr +{ +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImDrawCmd.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImDrawCmd.gen.cs new file mode 100644 index 000000000..5128fa69e --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImDrawCmd.gen.cs @@ -0,0 +1,30 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImDrawCmd +{ + public unsafe void Destroy() + { + fixed (ImDrawCmd* @this = &this) + { + ImGuiNative.Destroy(@this); + } + } + public unsafe ImTextureID GetTexID() + { + fixed (ImDrawCmd* @this = &this) + { + ImTextureID ret = ImGuiNative.GetTexID(@this); + return ret; + } + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImDrawCmdHeader.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImDrawCmdHeader.gen.cs new file mode 100644 index 000000000..8d0c05d8b --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImDrawCmdHeader.gen.cs @@ -0,0 +1,15 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImDrawCmdHeader +{ +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImDrawCmdPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImDrawCmdPtr.gen.cs new file mode 100644 index 000000000..2041f8013 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImDrawCmdPtr.gen.cs @@ -0,0 +1,24 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImDrawCmdPtr +{ + public unsafe void Destroy() + { + ImGuiNative.Destroy(Handle); + } + public unsafe ImTextureID GetTexID() + { + ImTextureID ret = ImGuiNative.GetTexID(Handle); + return ret; + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImDrawData.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImDrawData.gen.cs new file mode 100644 index 000000000..8bdbab18d --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImDrawData.gen.cs @@ -0,0 +1,43 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImDrawData +{ + public unsafe void Clear() + { + fixed (ImDrawData* @this = &this) + { + ImGuiNative.Clear(@this); + } + } + public unsafe void DeIndexAllBuffers() + { + fixed (ImDrawData* @this = &this) + { + ImGuiNative.DeIndexAllBuffers(@this); + } + } + public unsafe void Destroy() + { + fixed (ImDrawData* @this = &this) + { + ImGuiNative.Destroy(@this); + } + } + public unsafe void ScaleClipRects(Vector2 fbScale) + { + fixed (ImDrawData* @this = &this) + { + ImGuiNative.ScaleClipRects(@this, fbScale); + } + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImDrawDataBuilder.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImDrawDataBuilder.gen.cs new file mode 100644 index 000000000..d67f3397a --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImDrawDataBuilder.gen.cs @@ -0,0 +1,15 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImDrawDataBuilder +{ +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImDrawDataBuilderPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImDrawDataBuilderPtr.gen.cs new file mode 100644 index 000000000..89a4e3854 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImDrawDataBuilderPtr.gen.cs @@ -0,0 +1,15 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImDrawDataBuilderPtr +{ +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImDrawDataPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImDrawDataPtr.gen.cs new file mode 100644 index 000000000..99e7cd6e5 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImDrawDataPtr.gen.cs @@ -0,0 +1,31 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImDrawDataPtr +{ + public unsafe void Clear() + { + ImGuiNative.Clear(Handle); + } + public unsafe void DeIndexAllBuffers() + { + ImGuiNative.DeIndexAllBuffers(Handle); + } + public unsafe void Destroy() + { + ImGuiNative.Destroy(Handle); + } + public unsafe void ScaleClipRects(Vector2 fbScale) + { + ImGuiNative.ScaleClipRects(Handle, fbScale); + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImDrawList.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImDrawList.gen.cs new file mode 100644 index 000000000..e8bcc92da --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImDrawList.gen.cs @@ -0,0 +1,759 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImDrawList +{ + public unsafe int _CalcCircleAutoSegmentCount(float radius) + { + fixed (ImDrawList* @this = &this) + { + int ret = ImGuiNative._CalcCircleAutoSegmentCount(@this, radius); + return ret; + } + } + public unsafe void _ClearFreeMemory() + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative._ClearFreeMemory(@this); + } + } + public unsafe void _OnChangedClipRect() + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative._OnChangedClipRect(@this); + } + } + public unsafe void _OnChangedTextureID() + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative._OnChangedTextureID(@this); + } + } + public unsafe void _OnChangedVtxOffset() + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative._OnChangedVtxOffset(@this); + } + } + public unsafe void _PathArcToFastEx(Vector2 center, float radius, int aMinSample, int aMaxSample, int aStep) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative._PathArcToFastEx(@this, center, radius, aMinSample, aMaxSample, aStep); + } + } + public unsafe void _PathArcToN(Vector2 center, float radius, float aMin, float aMax, int numSegments) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative._PathArcToN(@this, center, radius, aMin, aMax, numSegments); + } + } + public unsafe void _PopUnusedDrawCmd() + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative._PopUnusedDrawCmd(@this); + } + } + public unsafe void _ResetForNewFrame() + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative._ResetForNewFrame(@this); + } + } + public unsafe void _TryMergeDrawCmds() + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative._TryMergeDrawCmds(@this); + } + } + public unsafe void AddBezierCubic(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col, float thickness, int numSegments) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.AddBezierCubic(@this, p1, p2, p3, p4, col, thickness, numSegments); + } + } + public unsafe void AddBezierCubic(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col, float thickness) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.AddBezierCubic(@this, p1, p2, p3, p4, col, thickness, (int)(0)); + } + } + public unsafe void AddBezierQuadratic(Vector2 p1, Vector2 p2, Vector2 p3, uint col, float thickness, int numSegments) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.AddBezierQuadratic(@this, p1, p2, p3, col, thickness, numSegments); + } + } + public unsafe void AddBezierQuadratic(Vector2 p1, Vector2 p2, Vector2 p3, uint col, float thickness) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.AddBezierQuadratic(@this, p1, p2, p3, col, thickness, (int)(0)); + } + } + public unsafe void AddCallback(ImDrawCallback callback, void* callbackData) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.AddCallback(@this, callback, callbackData); + } + } + public unsafe void AddCircle(Vector2 center, float radius, uint col, int numSegments, float thickness) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.AddCircle(@this, center, radius, col, numSegments, thickness); + } + } + public unsafe void AddCircle(Vector2 center, float radius, uint col, int numSegments) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.AddCircle(@this, center, radius, col, numSegments, (float)(1.0f)); + } + } + public unsafe void AddCircle(Vector2 center, float radius, uint col) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.AddCircle(@this, center, radius, col, (int)(0), (float)(1.0f)); + } + } + public unsafe void AddCircle(Vector2 center, float radius, uint col, float thickness) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.AddCircle(@this, center, radius, col, (int)(0), thickness); + } + } + public unsafe void AddCircleFilled(Vector2 center, float radius, uint col, int numSegments) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.AddCircleFilled(@this, center, radius, col, numSegments); + } + } + public unsafe void AddCircleFilled(Vector2 center, float radius, uint col) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.AddCircleFilled(@this, center, radius, col, (int)(0)); + } + } + public unsafe void AddConvexPolyFilled(Vector2* points, int numPoints, uint col) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.AddConvexPolyFilled(@this, points, numPoints, col); + } + } + public unsafe void AddConvexPolyFilled(ref Vector2 points, int numPoints, uint col) + { + fixed (ImDrawList* @this = &this) + { + fixed (Vector2* ppoints = &points) + { + ImGuiNative.AddConvexPolyFilled(@this, (Vector2*)ppoints, numPoints, col); + } + } + } + public unsafe void AddDrawCmd() + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.AddDrawCmd(@this); + } + } + public unsafe void AddImage(ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, Vector2 uvMax, uint col) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.AddImage(@this, userTextureId, pMin, pMax, uvMin, uvMax, col); + } + } + public unsafe void AddImage(ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, Vector2 uvMax) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.AddImage(@this, userTextureId, pMin, pMax, uvMin, uvMax, (uint)(4294967295)); + } + } + public unsafe void AddImage(ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.AddImage(@this, userTextureId, pMin, pMax, uvMin, (Vector2)(new Vector2(1,1)), (uint)(4294967295)); + } + } + public unsafe void AddImage(ImTextureID userTextureId, Vector2 pMin, Vector2 pMax) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.AddImage(@this, userTextureId, pMin, pMax, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), (uint)(4294967295)); + } + } + public unsafe void AddImage(ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, uint col) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.AddImage(@this, userTextureId, pMin, pMax, uvMin, (Vector2)(new Vector2(1,1)), col); + } + } + public unsafe void AddImage(ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, uint col) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.AddImage(@this, userTextureId, pMin, pMax, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), col); + } + } + public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, Vector2 uv3, Vector2 uv4, uint col) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.AddImageQuad(@this, userTextureId, p1, p2, p3, p4, uv1, uv2, uv3, uv4, col); + } + } + public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, Vector2 uv3, Vector2 uv4) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.AddImageQuad(@this, userTextureId, p1, p2, p3, p4, uv1, uv2, uv3, uv4, (uint)(4294967295)); + } + } + public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, Vector2 uv3) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.AddImageQuad(@this, userTextureId, p1, p2, p3, p4, uv1, uv2, uv3, (Vector2)(new Vector2(0,1)), (uint)(4294967295)); + } + } + public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.AddImageQuad(@this, userTextureId, p1, p2, p3, p4, uv1, uv2, (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), (uint)(4294967295)); + } + } + public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.AddImageQuad(@this, userTextureId, p1, p2, p3, p4, uv1, (Vector2)(new Vector2(1,0)), (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), (uint)(4294967295)); + } + } + public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.AddImageQuad(@this, userTextureId, p1, p2, p3, p4, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,0)), (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), (uint)(4294967295)); + } + } + public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, Vector2 uv3, uint col) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.AddImageQuad(@this, userTextureId, p1, p2, p3, p4, uv1, uv2, uv3, (Vector2)(new Vector2(0,1)), col); + } + } + public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, uint col) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.AddImageQuad(@this, userTextureId, p1, p2, p3, p4, uv1, uv2, (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), col); + } + } + public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, uint col) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.AddImageQuad(@this, userTextureId, p1, p2, p3, p4, uv1, (Vector2)(new Vector2(1,0)), (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), col); + } + } + public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.AddImageQuad(@this, userTextureId, p1, p2, p3, p4, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,0)), (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), col); + } + } + public unsafe void AddImageRounded(ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, Vector2 uvMax, uint col, float rounding, ImDrawFlags flags) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.AddImageRounded(@this, userTextureId, pMin, pMax, uvMin, uvMax, col, rounding, flags); + } + } + public unsafe void AddImageRounded(ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, Vector2 uvMax, uint col, float rounding) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.AddImageRounded(@this, userTextureId, pMin, pMax, uvMin, uvMax, col, rounding, (ImDrawFlags)(0)); + } + } + public unsafe void AddLine(Vector2 p1, Vector2 p2, uint col, float thickness) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.AddLine(@this, p1, p2, col, thickness); + } + } + public unsafe void AddLine(Vector2 p1, Vector2 p2, uint col) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.AddLine(@this, p1, p2, col, (float)(1.0f)); + } + } + public unsafe void AddNgon(Vector2 center, float radius, uint col, int numSegments, float thickness) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.AddNgon(@this, center, radius, col, numSegments, thickness); + } + } + public unsafe void AddNgon(Vector2 center, float radius, uint col, int numSegments) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.AddNgon(@this, center, radius, col, numSegments, (float)(1.0f)); + } + } + public unsafe void AddNgonFilled(Vector2 center, float radius, uint col, int numSegments) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.AddNgonFilled(@this, center, radius, col, numSegments); + } + } + public unsafe void AddPolyline(Vector2* points, int numPoints, uint col, ImDrawFlags flags, float thickness) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.AddPolyline(@this, points, numPoints, col, flags, thickness); + } + } + public unsafe void AddPolyline(ref Vector2 points, int numPoints, uint col, ImDrawFlags flags, float thickness) + { + fixed (ImDrawList* @this = &this) + { + fixed (Vector2* ppoints = &points) + { + ImGuiNative.AddPolyline(@this, (Vector2*)ppoints, numPoints, col, flags, thickness); + } + } + } + public unsafe void AddQuad(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col, float thickness) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.AddQuad(@this, p1, p2, p3, p4, col, thickness); + } + } + public unsafe void AddQuad(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.AddQuad(@this, p1, p2, p3, p4, col, (float)(1.0f)); + } + } + public unsafe void AddQuadFilled(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.AddQuadFilled(@this, p1, p2, p3, p4, col); + } + } + public unsafe void AddRect(Vector2 pMin, Vector2 pMax, uint col, float rounding, ImDrawFlags flags, float thickness) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.AddRect(@this, pMin, pMax, col, rounding, flags, thickness); + } + } + public unsafe void AddRect(Vector2 pMin, Vector2 pMax, uint col, float rounding, ImDrawFlags flags) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.AddRect(@this, pMin, pMax, col, rounding, flags, (float)(1.0f)); + } + } + public unsafe void AddRect(Vector2 pMin, Vector2 pMax, uint col, float rounding) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.AddRect(@this, pMin, pMax, col, rounding, (ImDrawFlags)(0), (float)(1.0f)); + } + } + public unsafe void AddRect(Vector2 pMin, Vector2 pMax, uint col) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.AddRect(@this, pMin, pMax, col, (float)(0.0f), (ImDrawFlags)(0), (float)(1.0f)); + } + } + public unsafe void AddRect(Vector2 pMin, Vector2 pMax, uint col, ImDrawFlags flags) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.AddRect(@this, pMin, pMax, col, (float)(0.0f), flags, (float)(1.0f)); + } + } + public unsafe void AddRect(Vector2 pMin, Vector2 pMax, uint col, float rounding, float thickness) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.AddRect(@this, pMin, pMax, col, rounding, (ImDrawFlags)(0), thickness); + } + } + public unsafe void AddRect(Vector2 pMin, Vector2 pMax, uint col, ImDrawFlags flags, float thickness) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.AddRect(@this, pMin, pMax, col, (float)(0.0f), flags, thickness); + } + } + public unsafe void AddRectFilled(Vector2 pMin, Vector2 pMax, uint col, float rounding, ImDrawFlags flags) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.AddRectFilled(@this, pMin, pMax, col, rounding, flags); + } + } + public unsafe void AddRectFilled(Vector2 pMin, Vector2 pMax, uint col, float rounding) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.AddRectFilled(@this, pMin, pMax, col, rounding, (ImDrawFlags)(0)); + } + } + public unsafe void AddRectFilled(Vector2 pMin, Vector2 pMax, uint col) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.AddRectFilled(@this, pMin, pMax, col, (float)(0.0f), (ImDrawFlags)(0)); + } + } + public unsafe void AddRectFilled(Vector2 pMin, Vector2 pMax, uint col, ImDrawFlags flags) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.AddRectFilled(@this, pMin, pMax, col, (float)(0.0f), flags); + } + } + public unsafe void AddRectFilledMultiColor(Vector2 pMin, Vector2 pMax, uint colUprLeft, uint colUprRight, uint colBotRight, uint colBotLeft) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.AddRectFilledMultiColor(@this, pMin, pMax, colUprLeft, colUprRight, colBotRight, colBotLeft); + } + } + public unsafe void AddTriangle(Vector2 p1, Vector2 p2, Vector2 p3, uint col, float thickness) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.AddTriangle(@this, p1, p2, p3, col, thickness); + } + } + public unsafe void AddTriangle(Vector2 p1, Vector2 p2, Vector2 p3, uint col) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.AddTriangle(@this, p1, p2, p3, col, (float)(1.0f)); + } + } + public unsafe void AddTriangleFilled(Vector2 p1, Vector2 p2, Vector2 p3, uint col) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.AddTriangleFilled(@this, p1, p2, p3, col); + } + } + public unsafe void ChannelsMerge() + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.ChannelsMerge(@this); + } + } + public unsafe void ChannelsSetCurrent(int n) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.ChannelsSetCurrent(@this, n); + } + } + public unsafe void ChannelsSplit(int count) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.ChannelsSplit(@this, count); + } + } + public unsafe ImDrawList* CloneOutput() + { + fixed (ImDrawList* @this = &this) + { + ImDrawList* ret = ImGuiNative.CloneOutput(@this); + return ret; + } + } + public unsafe void Destroy() + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.Destroy(@this); + } + } + public unsafe void PathArcTo(Vector2 center, float radius, float aMin, float aMax, int numSegments) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.PathArcTo(@this, center, radius, aMin, aMax, numSegments); + } + } + public unsafe void PathArcTo(Vector2 center, float radius, float aMin, float aMax) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.PathArcTo(@this, center, radius, aMin, aMax, (int)(0)); + } + } + public unsafe void PathArcToFast(Vector2 center, float radius, int aMinOf12, int aMaxOf12) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.PathArcToFast(@this, center, radius, aMinOf12, aMaxOf12); + } + } + public unsafe void PathBezierCubicCurveTo(Vector2 p2, Vector2 p3, Vector2 p4, int numSegments) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.PathBezierCubicCurveTo(@this, p2, p3, p4, numSegments); + } + } + public unsafe void PathBezierCubicCurveTo(Vector2 p2, Vector2 p3, Vector2 p4) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.PathBezierCubicCurveTo(@this, p2, p3, p4, (int)(0)); + } + } + public unsafe void PathBezierQuadraticCurveTo(Vector2 p2, Vector2 p3, int numSegments) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.PathBezierQuadraticCurveTo(@this, p2, p3, numSegments); + } + } + public unsafe void PathBezierQuadraticCurveTo(Vector2 p2, Vector2 p3) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.PathBezierQuadraticCurveTo(@this, p2, p3, (int)(0)); + } + } + public unsafe void PathClear() + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.PathClear(@this); + } + } + public unsafe void PathFillConvex(uint col) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.PathFillConvex(@this, col); + } + } + public unsafe void PathLineTo(Vector2 pos) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.PathLineTo(@this, pos); + } + } + public unsafe void PathLineToMergeDuplicate(Vector2 pos) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.PathLineToMergeDuplicate(@this, pos); + } + } + public unsafe void PathRect(Vector2 rectMin, Vector2 rectMax, float rounding, ImDrawFlags flags) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.PathRect(@this, rectMin, rectMax, rounding, flags); + } + } + public unsafe void PathRect(Vector2 rectMin, Vector2 rectMax, float rounding) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.PathRect(@this, rectMin, rectMax, rounding, (ImDrawFlags)(0)); + } + } + public unsafe void PathRect(Vector2 rectMin, Vector2 rectMax) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.PathRect(@this, rectMin, rectMax, (float)(0.0f), (ImDrawFlags)(0)); + } + } + public unsafe void PathRect(Vector2 rectMin, Vector2 rectMax, ImDrawFlags flags) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.PathRect(@this, rectMin, rectMax, (float)(0.0f), flags); + } + } + public unsafe void PathStroke(uint col, ImDrawFlags flags, float thickness) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.PathStroke(@this, col, flags, thickness); + } + } + public unsafe void PathStroke(uint col, ImDrawFlags flags) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.PathStroke(@this, col, flags, (float)(1.0f)); + } + } + public unsafe void PathStroke(uint col) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.PathStroke(@this, col, (ImDrawFlags)(0), (float)(1.0f)); + } + } + public unsafe void PathStroke(uint col, float thickness) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.PathStroke(@this, col, (ImDrawFlags)(0), thickness); + } + } + public unsafe void PopClipRect() + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.PopClipRect(@this); + } + } + public unsafe void PopTextureID() + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.PopTextureID(@this); + } + } + public unsafe void PrimQuadUV(Vector2 a, Vector2 b, Vector2 c, Vector2 d, Vector2 uvA, Vector2 uvB, Vector2 uvC, Vector2 uvD, uint col) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.PrimQuadUV(@this, a, b, c, d, uvA, uvB, uvC, uvD, col); + } + } + public unsafe void PrimRect(Vector2 a, Vector2 b, uint col) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.PrimRect(@this, a, b, col); + } + } + public unsafe void PrimRectUV(Vector2 a, Vector2 b, Vector2 uvA, Vector2 uvB, uint col) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.PrimRectUV(@this, a, b, uvA, uvB, col); + } + } + public unsafe void PrimReserve(int idxCount, int vtxCount) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.PrimReserve(@this, idxCount, vtxCount); + } + } + public unsafe void PrimUnreserve(int idxCount, int vtxCount) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.PrimUnreserve(@this, idxCount, vtxCount); + } + } + public unsafe void PrimVtx(Vector2 pos, Vector2 uv, uint col) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.PrimVtx(@this, pos, uv, col); + } + } + public unsafe void PrimWriteIdx(ushort idx) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.PrimWriteIdx(@this, idx); + } + } + public unsafe void PrimWriteVtx(Vector2 pos, Vector2 uv, uint col) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.PrimWriteVtx(@this, pos, uv, col); + } + } + public unsafe void PushClipRect(Vector2 clipRectMin, Vector2 clipRectMax, bool intersectWithCurrentClipRect) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.PushClipRect(@this, clipRectMin, clipRectMax, intersectWithCurrentClipRect ? (byte)1 : (byte)0); + } + } + public unsafe void PushClipRect(Vector2 clipRectMin, Vector2 clipRectMax) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.PushClipRect(@this, clipRectMin, clipRectMax, (byte)(0)); + } + } + public unsafe void PushClipRectFullScreen() + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.PushClipRectFullScreen(@this); + } + } + public unsafe void PushTextureID(ImTextureID textureId) + { + fixed (ImDrawList* @this = &this) + { + ImGuiNative.PushTextureID(@this, textureId); + } + } +} +// DISCARDED: AddText + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImDrawListPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImDrawListPtr.gen.cs new file mode 100644 index 000000000..c223bc08b --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImDrawListPtr.gen.cs @@ -0,0 +1,444 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImDrawListPtr +{ + public unsafe int _CalcCircleAutoSegmentCount(float radius) + { + int ret = ImGuiNative._CalcCircleAutoSegmentCount(Handle, radius); + return ret; + } + public unsafe void _ClearFreeMemory() + { + ImGuiNative._ClearFreeMemory(Handle); + } + public unsafe void _OnChangedClipRect() + { + ImGuiNative._OnChangedClipRect(Handle); + } + public unsafe void _OnChangedTextureID() + { + ImGuiNative._OnChangedTextureID(Handle); + } + public unsafe void _OnChangedVtxOffset() + { + ImGuiNative._OnChangedVtxOffset(Handle); + } + public unsafe void _PathArcToFastEx(Vector2 center, float radius, int aMinSample, int aMaxSample, int aStep) + { + ImGuiNative._PathArcToFastEx(Handle, center, radius, aMinSample, aMaxSample, aStep); + } + public unsafe void _PathArcToN(Vector2 center, float radius, float aMin, float aMax, int numSegments) + { + ImGuiNative._PathArcToN(Handle, center, radius, aMin, aMax, numSegments); + } + public unsafe void _PopUnusedDrawCmd() + { + ImGuiNative._PopUnusedDrawCmd(Handle); + } + public unsafe void _ResetForNewFrame() + { + ImGuiNative._ResetForNewFrame(Handle); + } + public unsafe void _TryMergeDrawCmds() + { + ImGuiNative._TryMergeDrawCmds(Handle); + } + public unsafe void AddBezierCubic(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col, float thickness, int numSegments) + { + ImGuiNative.AddBezierCubic(Handle, p1, p2, p3, p4, col, thickness, numSegments); + } + public unsafe void AddBezierCubic(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col, float thickness) + { + ImGuiNative.AddBezierCubic(Handle, p1, p2, p3, p4, col, thickness, (int)(0)); + } + public unsafe void AddBezierQuadratic(Vector2 p1, Vector2 p2, Vector2 p3, uint col, float thickness, int numSegments) + { + ImGuiNative.AddBezierQuadratic(Handle, p1, p2, p3, col, thickness, numSegments); + } + public unsafe void AddBezierQuadratic(Vector2 p1, Vector2 p2, Vector2 p3, uint col, float thickness) + { + ImGuiNative.AddBezierQuadratic(Handle, p1, p2, p3, col, thickness, (int)(0)); + } + public unsafe void AddCallback(ImDrawCallback callback, void* callbackData) + { + ImGuiNative.AddCallback(Handle, callback, callbackData); + } + public unsafe void AddCircle(Vector2 center, float radius, uint col, int numSegments, float thickness) + { + ImGuiNative.AddCircle(Handle, center, radius, col, numSegments, thickness); + } + public unsafe void AddCircle(Vector2 center, float radius, uint col, int numSegments) + { + ImGuiNative.AddCircle(Handle, center, radius, col, numSegments, (float)(1.0f)); + } + public unsafe void AddCircle(Vector2 center, float radius, uint col) + { + ImGuiNative.AddCircle(Handle, center, radius, col, (int)(0), (float)(1.0f)); + } + public unsafe void AddCircle(Vector2 center, float radius, uint col, float thickness) + { + ImGuiNative.AddCircle(Handle, center, radius, col, (int)(0), thickness); + } + public unsafe void AddCircleFilled(Vector2 center, float radius, uint col, int numSegments) + { + ImGuiNative.AddCircleFilled(Handle, center, radius, col, numSegments); + } + public unsafe void AddCircleFilled(Vector2 center, float radius, uint col) + { + ImGuiNative.AddCircleFilled(Handle, center, radius, col, (int)(0)); + } + public unsafe void AddConvexPolyFilled(Vector2* points, int numPoints, uint col) + { + ImGuiNative.AddConvexPolyFilled(Handle, points, numPoints, col); + } + public unsafe void AddConvexPolyFilled(ref Vector2 points, int numPoints, uint col) + { + fixed (Vector2* ppoints = &points) + { + ImGuiNative.AddConvexPolyFilled(Handle, (Vector2*)ppoints, numPoints, col); + } + } + public unsafe void AddDrawCmd() + { + ImGuiNative.AddDrawCmd(Handle); + } + public unsafe void AddImage(ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, Vector2 uvMax, uint col) + { + ImGuiNative.AddImage(Handle, userTextureId, pMin, pMax, uvMin, uvMax, col); + } + public unsafe void AddImage(ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, Vector2 uvMax) + { + ImGuiNative.AddImage(Handle, userTextureId, pMin, pMax, uvMin, uvMax, (uint)(4294967295)); + } + public unsafe void AddImage(ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin) + { + ImGuiNative.AddImage(Handle, userTextureId, pMin, pMax, uvMin, (Vector2)(new Vector2(1,1)), (uint)(4294967295)); + } + public unsafe void AddImage(ImTextureID userTextureId, Vector2 pMin, Vector2 pMax) + { + ImGuiNative.AddImage(Handle, userTextureId, pMin, pMax, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), (uint)(4294967295)); + } + public unsafe void AddImage(ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, uint col) + { + ImGuiNative.AddImage(Handle, userTextureId, pMin, pMax, uvMin, (Vector2)(new Vector2(1,1)), col); + } + public unsafe void AddImage(ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, uint col) + { + ImGuiNative.AddImage(Handle, userTextureId, pMin, pMax, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), col); + } + public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, Vector2 uv3, Vector2 uv4, uint col) + { + ImGuiNative.AddImageQuad(Handle, userTextureId, p1, p2, p3, p4, uv1, uv2, uv3, uv4, col); + } + public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, Vector2 uv3, Vector2 uv4) + { + ImGuiNative.AddImageQuad(Handle, userTextureId, p1, p2, p3, p4, uv1, uv2, uv3, uv4, (uint)(4294967295)); + } + public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, Vector2 uv3) + { + ImGuiNative.AddImageQuad(Handle, userTextureId, p1, p2, p3, p4, uv1, uv2, uv3, (Vector2)(new Vector2(0,1)), (uint)(4294967295)); + } + public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2) + { + ImGuiNative.AddImageQuad(Handle, userTextureId, p1, p2, p3, p4, uv1, uv2, (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), (uint)(4294967295)); + } + public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1) + { + ImGuiNative.AddImageQuad(Handle, userTextureId, p1, p2, p3, p4, uv1, (Vector2)(new Vector2(1,0)), (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), (uint)(4294967295)); + } + public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4) + { + ImGuiNative.AddImageQuad(Handle, userTextureId, p1, p2, p3, p4, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,0)), (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), (uint)(4294967295)); + } + public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, Vector2 uv3, uint col) + { + ImGuiNative.AddImageQuad(Handle, userTextureId, p1, p2, p3, p4, uv1, uv2, uv3, (Vector2)(new Vector2(0,1)), col); + } + public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, uint col) + { + ImGuiNative.AddImageQuad(Handle, userTextureId, p1, p2, p3, p4, uv1, uv2, (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), col); + } + public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, uint col) + { + ImGuiNative.AddImageQuad(Handle, userTextureId, p1, p2, p3, p4, uv1, (Vector2)(new Vector2(1,0)), (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), col); + } + public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col) + { + ImGuiNative.AddImageQuad(Handle, userTextureId, p1, p2, p3, p4, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,0)), (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), col); + } + public unsafe void AddImageRounded(ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, Vector2 uvMax, uint col, float rounding, ImDrawFlags flags) + { + ImGuiNative.AddImageRounded(Handle, userTextureId, pMin, pMax, uvMin, uvMax, col, rounding, flags); + } + public unsafe void AddImageRounded(ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, Vector2 uvMax, uint col, float rounding) + { + ImGuiNative.AddImageRounded(Handle, userTextureId, pMin, pMax, uvMin, uvMax, col, rounding, (ImDrawFlags)(0)); + } + public unsafe void AddLine(Vector2 p1, Vector2 p2, uint col, float thickness) + { + ImGuiNative.AddLine(Handle, p1, p2, col, thickness); + } + public unsafe void AddLine(Vector2 p1, Vector2 p2, uint col) + { + ImGuiNative.AddLine(Handle, p1, p2, col, (float)(1.0f)); + } + public unsafe void AddNgon(Vector2 center, float radius, uint col, int numSegments, float thickness) + { + ImGuiNative.AddNgon(Handle, center, radius, col, numSegments, thickness); + } + public unsafe void AddNgon(Vector2 center, float radius, uint col, int numSegments) + { + ImGuiNative.AddNgon(Handle, center, radius, col, numSegments, (float)(1.0f)); + } + public unsafe void AddNgonFilled(Vector2 center, float radius, uint col, int numSegments) + { + ImGuiNative.AddNgonFilled(Handle, center, radius, col, numSegments); + } + public unsafe void AddPolyline(Vector2* points, int numPoints, uint col, ImDrawFlags flags, float thickness) + { + ImGuiNative.AddPolyline(Handle, points, numPoints, col, flags, thickness); + } + public unsafe void AddPolyline(ref Vector2 points, int numPoints, uint col, ImDrawFlags flags, float thickness) + { + fixed (Vector2* ppoints = &points) + { + ImGuiNative.AddPolyline(Handle, (Vector2*)ppoints, numPoints, col, flags, thickness); + } + } + public unsafe void AddQuad(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col, float thickness) + { + ImGuiNative.AddQuad(Handle, p1, p2, p3, p4, col, thickness); + } + public unsafe void AddQuad(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col) + { + ImGuiNative.AddQuad(Handle, p1, p2, p3, p4, col, (float)(1.0f)); + } + public unsafe void AddQuadFilled(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col) + { + ImGuiNative.AddQuadFilled(Handle, p1, p2, p3, p4, col); + } + public unsafe void AddRect(Vector2 pMin, Vector2 pMax, uint col, float rounding, ImDrawFlags flags, float thickness) + { + ImGuiNative.AddRect(Handle, pMin, pMax, col, rounding, flags, thickness); + } + public unsafe void AddRect(Vector2 pMin, Vector2 pMax, uint col, float rounding, ImDrawFlags flags) + { + ImGuiNative.AddRect(Handle, pMin, pMax, col, rounding, flags, (float)(1.0f)); + } + public unsafe void AddRect(Vector2 pMin, Vector2 pMax, uint col, float rounding) + { + ImGuiNative.AddRect(Handle, pMin, pMax, col, rounding, (ImDrawFlags)(0), (float)(1.0f)); + } + public unsafe void AddRect(Vector2 pMin, Vector2 pMax, uint col) + { + ImGuiNative.AddRect(Handle, pMin, pMax, col, (float)(0.0f), (ImDrawFlags)(0), (float)(1.0f)); + } + public unsafe void AddRect(Vector2 pMin, Vector2 pMax, uint col, ImDrawFlags flags) + { + ImGuiNative.AddRect(Handle, pMin, pMax, col, (float)(0.0f), flags, (float)(1.0f)); + } + public unsafe void AddRect(Vector2 pMin, Vector2 pMax, uint col, float rounding, float thickness) + { + ImGuiNative.AddRect(Handle, pMin, pMax, col, rounding, (ImDrawFlags)(0), thickness); + } + public unsafe void AddRect(Vector2 pMin, Vector2 pMax, uint col, ImDrawFlags flags, float thickness) + { + ImGuiNative.AddRect(Handle, pMin, pMax, col, (float)(0.0f), flags, thickness); + } + public unsafe void AddRectFilled(Vector2 pMin, Vector2 pMax, uint col, float rounding, ImDrawFlags flags) + { + ImGuiNative.AddRectFilled(Handle, pMin, pMax, col, rounding, flags); + } + public unsafe void AddRectFilled(Vector2 pMin, Vector2 pMax, uint col, float rounding) + { + ImGuiNative.AddRectFilled(Handle, pMin, pMax, col, rounding, (ImDrawFlags)(0)); + } + public unsafe void AddRectFilled(Vector2 pMin, Vector2 pMax, uint col) + { + ImGuiNative.AddRectFilled(Handle, pMin, pMax, col, (float)(0.0f), (ImDrawFlags)(0)); + } + public unsafe void AddRectFilled(Vector2 pMin, Vector2 pMax, uint col, ImDrawFlags flags) + { + ImGuiNative.AddRectFilled(Handle, pMin, pMax, col, (float)(0.0f), flags); + } + public unsafe void AddRectFilledMultiColor(Vector2 pMin, Vector2 pMax, uint colUprLeft, uint colUprRight, uint colBotRight, uint colBotLeft) + { + ImGuiNative.AddRectFilledMultiColor(Handle, pMin, pMax, colUprLeft, colUprRight, colBotRight, colBotLeft); + } + public unsafe void AddTriangle(Vector2 p1, Vector2 p2, Vector2 p3, uint col, float thickness) + { + ImGuiNative.AddTriangle(Handle, p1, p2, p3, col, thickness); + } + public unsafe void AddTriangle(Vector2 p1, Vector2 p2, Vector2 p3, uint col) + { + ImGuiNative.AddTriangle(Handle, p1, p2, p3, col, (float)(1.0f)); + } + public unsafe void AddTriangleFilled(Vector2 p1, Vector2 p2, Vector2 p3, uint col) + { + ImGuiNative.AddTriangleFilled(Handle, p1, p2, p3, col); + } + public unsafe void ChannelsMerge() + { + ImGuiNative.ChannelsMerge(Handle); + } + public unsafe void ChannelsSetCurrent(int n) + { + ImGuiNative.ChannelsSetCurrent(Handle, n); + } + public unsafe void ChannelsSplit(int count) + { + ImGuiNative.ChannelsSplit(Handle, count); + } + public unsafe ImDrawListPtr CloneOutput() + { + ImDrawListPtr ret = ImGuiNative.CloneOutput(Handle); + return ret; + } + public unsafe void Destroy() + { + ImGuiNative.Destroy(Handle); + } + public unsafe void PathArcTo(Vector2 center, float radius, float aMin, float aMax, int numSegments) + { + ImGuiNative.PathArcTo(Handle, center, radius, aMin, aMax, numSegments); + } + public unsafe void PathArcTo(Vector2 center, float radius, float aMin, float aMax) + { + ImGuiNative.PathArcTo(Handle, center, radius, aMin, aMax, (int)(0)); + } + public unsafe void PathArcToFast(Vector2 center, float radius, int aMinOf12, int aMaxOf12) + { + ImGuiNative.PathArcToFast(Handle, center, radius, aMinOf12, aMaxOf12); + } + public unsafe void PathBezierCubicCurveTo(Vector2 p2, Vector2 p3, Vector2 p4, int numSegments) + { + ImGuiNative.PathBezierCubicCurveTo(Handle, p2, p3, p4, numSegments); + } + public unsafe void PathBezierCubicCurveTo(Vector2 p2, Vector2 p3, Vector2 p4) + { + ImGuiNative.PathBezierCubicCurveTo(Handle, p2, p3, p4, (int)(0)); + } + public unsafe void PathBezierQuadraticCurveTo(Vector2 p2, Vector2 p3, int numSegments) + { + ImGuiNative.PathBezierQuadraticCurveTo(Handle, p2, p3, numSegments); + } + public unsafe void PathBezierQuadraticCurveTo(Vector2 p2, Vector2 p3) + { + ImGuiNative.PathBezierQuadraticCurveTo(Handle, p2, p3, (int)(0)); + } + public unsafe void PathClear() + { + ImGuiNative.PathClear(Handle); + } + public unsafe void PathFillConvex(uint col) + { + ImGuiNative.PathFillConvex(Handle, col); + } + public unsafe void PathLineTo(Vector2 pos) + { + ImGuiNative.PathLineTo(Handle, pos); + } + public unsafe void PathLineToMergeDuplicate(Vector2 pos) + { + ImGuiNative.PathLineToMergeDuplicate(Handle, pos); + } + public unsafe void PathRect(Vector2 rectMin, Vector2 rectMax, float rounding, ImDrawFlags flags) + { + ImGuiNative.PathRect(Handle, rectMin, rectMax, rounding, flags); + } + public unsafe void PathRect(Vector2 rectMin, Vector2 rectMax, float rounding) + { + ImGuiNative.PathRect(Handle, rectMin, rectMax, rounding, (ImDrawFlags)(0)); + } + public unsafe void PathRect(Vector2 rectMin, Vector2 rectMax) + { + ImGuiNative.PathRect(Handle, rectMin, rectMax, (float)(0.0f), (ImDrawFlags)(0)); + } + public unsafe void PathRect(Vector2 rectMin, Vector2 rectMax, ImDrawFlags flags) + { + ImGuiNative.PathRect(Handle, rectMin, rectMax, (float)(0.0f), flags); + } + public unsafe void PathStroke(uint col, ImDrawFlags flags, float thickness) + { + ImGuiNative.PathStroke(Handle, col, flags, thickness); + } + public unsafe void PathStroke(uint col, ImDrawFlags flags) + { + ImGuiNative.PathStroke(Handle, col, flags, (float)(1.0f)); + } + public unsafe void PathStroke(uint col) + { + ImGuiNative.PathStroke(Handle, col, (ImDrawFlags)(0), (float)(1.0f)); + } + public unsafe void PathStroke(uint col, float thickness) + { + ImGuiNative.PathStroke(Handle, col, (ImDrawFlags)(0), thickness); + } + public unsafe void PopClipRect() + { + ImGuiNative.PopClipRect(Handle); + } + public unsafe void PopTextureID() + { + ImGuiNative.PopTextureID(Handle); + } + public unsafe void PrimQuadUV(Vector2 a, Vector2 b, Vector2 c, Vector2 d, Vector2 uvA, Vector2 uvB, Vector2 uvC, Vector2 uvD, uint col) + { + ImGuiNative.PrimQuadUV(Handle, a, b, c, d, uvA, uvB, uvC, uvD, col); + } + public unsafe void PrimRect(Vector2 a, Vector2 b, uint col) + { + ImGuiNative.PrimRect(Handle, a, b, col); + } + public unsafe void PrimRectUV(Vector2 a, Vector2 b, Vector2 uvA, Vector2 uvB, uint col) + { + ImGuiNative.PrimRectUV(Handle, a, b, uvA, uvB, col); + } + public unsafe void PrimReserve(int idxCount, int vtxCount) + { + ImGuiNative.PrimReserve(Handle, idxCount, vtxCount); + } + public unsafe void PrimUnreserve(int idxCount, int vtxCount) + { + ImGuiNative.PrimUnreserve(Handle, idxCount, vtxCount); + } + public unsafe void PrimVtx(Vector2 pos, Vector2 uv, uint col) + { + ImGuiNative.PrimVtx(Handle, pos, uv, col); + } + public unsafe void PrimWriteIdx(ushort idx) + { + ImGuiNative.PrimWriteIdx(Handle, idx); + } + public unsafe void PrimWriteVtx(Vector2 pos, Vector2 uv, uint col) + { + ImGuiNative.PrimWriteVtx(Handle, pos, uv, col); + } + public unsafe void PushClipRect(Vector2 clipRectMin, Vector2 clipRectMax, bool intersectWithCurrentClipRect) + { + ImGuiNative.PushClipRect(Handle, clipRectMin, clipRectMax, intersectWithCurrentClipRect ? (byte)1 : (byte)0); + } + public unsafe void PushClipRect(Vector2 clipRectMin, Vector2 clipRectMax) + { + ImGuiNative.PushClipRect(Handle, clipRectMin, clipRectMax, (byte)(0)); + } + public unsafe void PushClipRectFullScreen() + { + ImGuiNative.PushClipRectFullScreen(Handle); + } + public unsafe void PushTextureID(ImTextureID textureId) + { + ImGuiNative.PushTextureID(Handle, textureId); + } +} +// DISCARDED: AddText + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImDrawListPtrPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImDrawListPtrPtr.gen.cs new file mode 100644 index 000000000..8c9554aee --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImDrawListPtrPtr.gen.cs @@ -0,0 +1,15 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImDrawListPtrPtr +{ +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImDrawListSharedData.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImDrawListSharedData.gen.cs new file mode 100644 index 000000000..8597857d6 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImDrawListSharedData.gen.cs @@ -0,0 +1,22 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImDrawListSharedData +{ + public unsafe void Destroy() + { + fixed (ImDrawListSharedData* @this = &this) + { + ImGuiNative.Destroy(@this); + } + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImDrawListSharedDataPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImDrawListSharedDataPtr.gen.cs new file mode 100644 index 000000000..8fcb7fb71 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImDrawListSharedDataPtr.gen.cs @@ -0,0 +1,19 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImDrawListSharedDataPtr +{ + public unsafe void Destroy() + { + ImGuiNative.Destroy(Handle); + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImDrawListSplitter.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImDrawListSplitter.gen.cs new file mode 100644 index 000000000..4d34de6a1 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImDrawListSplitter.gen.cs @@ -0,0 +1,87 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImDrawListSplitter +{ + public unsafe void Clear() + { + fixed (ImDrawListSplitter* @this = &this) + { + ImGuiNative.Clear(@this); + } + } + public unsafe void ClearFreeMemory() + { + fixed (ImDrawListSplitter* @this = &this) + { + ImGuiNative.ClearFreeMemory(@this); + } + } + public unsafe void Destroy() + { + fixed (ImDrawListSplitter* @this = &this) + { + ImGuiNative.Destroy(@this); + } + } + public unsafe void Merge(ImDrawListPtr drawList) + { + fixed (ImDrawListSplitter* @this = &this) + { + ImGuiNative.Merge(@this, drawList); + } + } + public unsafe void Merge(ref ImDrawList drawList) + { + fixed (ImDrawListSplitter* @this = &this) + { + fixed (ImDrawList* pdrawList = &drawList) + { + ImGuiNative.Merge(@this, (ImDrawList*)pdrawList); + } + } + } + public unsafe void SetCurrentChannel(ImDrawListPtr drawList, int channelIdx) + { + fixed (ImDrawListSplitter* @this = &this) + { + ImGuiNative.SetCurrentChannel(@this, drawList, channelIdx); + } + } + public unsafe void SetCurrentChannel(ref ImDrawList drawList, int channelIdx) + { + fixed (ImDrawListSplitter* @this = &this) + { + fixed (ImDrawList* pdrawList = &drawList) + { + ImGuiNative.SetCurrentChannel(@this, (ImDrawList*)pdrawList, channelIdx); + } + } + } + public unsafe void Split(ImDrawListPtr drawList, int count) + { + fixed (ImDrawListSplitter* @this = &this) + { + ImGuiNative.Split(@this, drawList, count); + } + } + public unsafe void Split(ref ImDrawList drawList, int count) + { + fixed (ImDrawListSplitter* @this = &this) + { + fixed (ImDrawList* pdrawList = &drawList) + { + ImGuiNative.Split(@this, (ImDrawList*)pdrawList, count); + } + } + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImDrawListSplitterPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImDrawListSplitterPtr.gen.cs new file mode 100644 index 000000000..f2fc439cf --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImDrawListSplitterPtr.gen.cs @@ -0,0 +1,60 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImDrawListSplitterPtr +{ + public unsafe void Clear() + { + ImGuiNative.Clear(Handle); + } + public unsafe void ClearFreeMemory() + { + ImGuiNative.ClearFreeMemory(Handle); + } + public unsafe void Destroy() + { + ImGuiNative.Destroy(Handle); + } + public unsafe void Merge(ImDrawListPtr drawList) + { + ImGuiNative.Merge(Handle, drawList); + } + public unsafe void Merge(ref ImDrawList drawList) + { + fixed (ImDrawList* pdrawList = &drawList) + { + ImGuiNative.Merge(Handle, (ImDrawList*)pdrawList); + } + } + public unsafe void SetCurrentChannel(ImDrawListPtr drawList, int channelIdx) + { + ImGuiNative.SetCurrentChannel(Handle, drawList, channelIdx); + } + public unsafe void SetCurrentChannel(ref ImDrawList drawList, int channelIdx) + { + fixed (ImDrawList* pdrawList = &drawList) + { + ImGuiNative.SetCurrentChannel(Handle, (ImDrawList*)pdrawList, channelIdx); + } + } + public unsafe void Split(ImDrawListPtr drawList, int count) + { + ImGuiNative.Split(Handle, drawList, count); + } + public unsafe void Split(ref ImDrawList drawList, int count) + { + fixed (ImDrawList* pdrawList = &drawList) + { + ImGuiNative.Split(Handle, (ImDrawList*)pdrawList, count); + } + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImDrawVert.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImDrawVert.gen.cs new file mode 100644 index 000000000..c5ef76d3e --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImDrawVert.gen.cs @@ -0,0 +1,15 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImDrawVert +{ +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImDrawVertPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImDrawVertPtr.gen.cs new file mode 100644 index 000000000..58993c324 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImDrawVertPtr.gen.cs @@ -0,0 +1,15 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImDrawVertPtr +{ +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImFont.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImFont.gen.cs new file mode 100644 index 000000000..8c55dc024 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImFont.gen.cs @@ -0,0 +1,177 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImFont +{ + public unsafe void AddGlyph(ImFontConfig* srcCfg, ushort c, int textureIndex, float x0, float y0, float x1, float y1, float u0, float v0, float u1, float v1, float advanceX) + { + fixed (ImFont* @this = &this) + { + ImGuiNative.AddGlyph(@this, srcCfg, c, textureIndex, x0, y0, x1, y1, u0, v0, u1, v1, advanceX); + } + } + public unsafe void AddGlyph(ref ImFontConfig srcCfg, ushort c, int textureIndex, float x0, float y0, float x1, float y1, float u0, float v0, float u1, float v1, float advanceX) + { + fixed (ImFont* @this = &this) + { + fixed (ImFontConfig* psrcCfg = &srcCfg) + { + ImGuiNative.AddGlyph(@this, (ImFontConfig*)psrcCfg, c, textureIndex, x0, y0, x1, y1, u0, v0, u1, v1, advanceX); + } + } + } + public unsafe void AddKerningPair(ushort leftC, ushort rightC, float distanceAdjustment) + { + fixed (ImFont* @this = &this) + { + ImGuiNative.AddKerningPair(@this, leftC, rightC, distanceAdjustment); + } + } + public unsafe void AddRemapChar(ushort dst, ushort src, bool overwriteDst) + { + fixed (ImFont* @this = &this) + { + ImGuiNative.AddRemapChar(@this, dst, src, overwriteDst ? (byte)1 : (byte)0); + } + } + public unsafe void AddRemapChar(ushort dst, ushort src) + { + fixed (ImFont* @this = &this) + { + ImGuiNative.AddRemapChar(@this, dst, src, (byte)(1)); + } + } + public unsafe void BuildLookupTable() + { + fixed (ImFont* @this = &this) + { + ImGuiNative.BuildLookupTable(@this); + } + } + public unsafe void ClearOutputData() + { + fixed (ImFont* @this = &this) + { + ImGuiNative.ClearOutputData(@this); + } + } + public unsafe void Destroy() + { + fixed (ImFont* @this = &this) + { + ImGuiNative.Destroy(@this); + } + } + public unsafe ImFontGlyph* FindGlyph(ushort c) + { + fixed (ImFont* @this = &this) + { + ImFontGlyph* ret = ImGuiNative.FindGlyph(@this, c); + return ret; + } + } + public unsafe ImFontGlyph* FindGlyphNoFallback(ushort c) + { + fixed (ImFont* @this = &this) + { + ImFontGlyph* ret = ImGuiNative.FindGlyphNoFallback(@this, c); + return ret; + } + } + public unsafe float GetCharAdvance(ushort c) + { + fixed (ImFont* @this = &this) + { + float ret = ImGuiNative.GetCharAdvance(@this, c); + return ret; + } + } + public unsafe float GetDistanceAdjustmentForPair(ushort leftC, ushort rightC) + { + fixed (ImFont* @this = &this) + { + float ret = ImGuiNative.GetDistanceAdjustmentForPair(@this, leftC, rightC); + return ret; + } + } + public unsafe float GetDistanceAdjustmentForPairFromHotData(ushort leftC, ImFontGlyphHotData* rightCInfo) + { + fixed (ImFont* @this = &this) + { + float ret = ImGuiNative.GetDistanceAdjustmentForPairFromHotData(@this, leftC, rightCInfo); + return ret; + } + } + public unsafe float GetDistanceAdjustmentForPairFromHotData(ushort leftC, ref ImFontGlyphHotData rightCInfo) + { + fixed (ImFont* @this = &this) + { + fixed (ImFontGlyphHotData* prightCInfo = &rightCInfo) + { + float ret = ImGuiNative.GetDistanceAdjustmentForPairFromHotData(@this, leftC, (ImFontGlyphHotData*)prightCInfo); + return ret; + } + } + } + public unsafe void GrowIndex(int newSize) + { + fixed (ImFont* @this = &this) + { + ImGuiNative.GrowIndex(@this, newSize); + } + } + public unsafe bool IsGlyphRangeUnused(uint cBegin, uint cLast) + { + fixed (ImFont* @this = &this) + { + byte ret = ImGuiNative.IsGlyphRangeUnused(@this, cBegin, cLast); + return ret != 0; + } + } + public unsafe bool IsLoaded() + { + fixed (ImFont* @this = &this) + { + byte ret = ImGuiNative.IsLoaded(@this); + return ret != 0; + } + } + public unsafe void RenderChar(ImDrawListPtr drawList, float size, Vector2 pos, uint col, ushort c) + { + fixed (ImFont* @this = &this) + { + ImGuiNative.RenderChar(@this, drawList, size, pos, col, c); + } + } + public unsafe void RenderChar(ref ImDrawList drawList, float size, Vector2 pos, uint col, ushort c) + { + fixed (ImFont* @this = &this) + { + fixed (ImDrawList* pdrawList = &drawList) + { + ImGuiNative.RenderChar(@this, (ImDrawList*)pdrawList, size, pos, col, c); + } + } + } + public unsafe void SetGlyphVisible(ushort c, bool visible) + { + fixed (ImFont* @this = &this) + { + ImGuiNative.SetGlyphVisible(@this, c, visible ? (byte)1 : (byte)0); + } + } +} +// DISCARDED: CalcWordWrapPositionA +// DISCARDED: CalcWordWrapPositionAS +// DISCARDED: GetDebugName +// DISCARDED: GetDebugNameS +// DISCARDED: RenderText + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImFontAtlas.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImFontAtlas.gen.cs new file mode 100644 index 000000000..1a12ee615 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImFontAtlas.gen.cs @@ -0,0 +1,1832 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImFontAtlas +{ + public unsafe int AddCustomRectFontGlyph(ImFontPtr font, ushort id, int width, int height, float advanceX, Vector2 offset) + { + fixed (ImFontAtlas* @this = &this) + { + int ret = ImGuiNative.AddCustomRectFontGlyph(@this, font, id, width, height, advanceX, offset); + return ret; + } + } + public unsafe int AddCustomRectFontGlyph(ImFontPtr font, ushort id, int width, int height, float advanceX) + { + fixed (ImFontAtlas* @this = &this) + { + int ret = ImGuiNative.AddCustomRectFontGlyph(@this, font, id, width, height, advanceX, (Vector2)(new Vector2(0,0))); + return ret; + } + } + public unsafe int AddCustomRectFontGlyph(ref ImFont font, ushort id, int width, int height, float advanceX, Vector2 offset) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (ImFont* pfont = &font) + { + int ret = ImGuiNative.AddCustomRectFontGlyph(@this, (ImFont*)pfont, id, width, height, advanceX, offset); + return ret; + } + } + } + public unsafe int AddCustomRectFontGlyph(ref ImFont font, ushort id, int width, int height, float advanceX) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (ImFont* pfont = &font) + { + int ret = ImGuiNative.AddCustomRectFontGlyph(@this, (ImFont*)pfont, id, width, height, advanceX, (Vector2)(new Vector2(0,0))); + return ret; + } + } + } + public unsafe int AddCustomRectRegular(int width, int height) + { + fixed (ImFontAtlas* @this = &this) + { + int ret = ImGuiNative.AddCustomRectRegular(@this, width, height); + return ret; + } + } + public unsafe ImFontPtr AddFont(ImFontConfig* fontCfg) + { + fixed (ImFontAtlas* @this = &this) + { + ImFontPtr ret = ImGuiNative.AddFont(@this, fontCfg); + return ret; + } + } + public unsafe ImFontPtr AddFont(ref ImFontConfig fontCfg) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = ImGuiNative.AddFont(@this, (ImFontConfig*)pfontCfg); + return ret; + } + } + } + public unsafe ImFontPtr AddFontDefault(ImFontConfig* fontCfg) + { + fixed (ImFontAtlas* @this = &this) + { + ImFontPtr ret = ImGuiNative.AddFontDefault(@this, fontCfg); + return ret; + } + } + public unsafe ImFontPtr AddFontDefault() + { + fixed (ImFontAtlas* @this = &this) + { + ImFontPtr ret = ImGuiNative.AddFontDefault(@this, (ImFontConfig*)(default)); + return ret; + } + } + public unsafe ImFontPtr AddFontDefault(ref ImFontConfig fontCfg) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = ImGuiNative.AddFontDefault(@this, (ImFontConfig*)pfontCfg); + return ret; + } + } + } + public unsafe bool Build() + { + fixed (ImFontAtlas* @this = &this) + { + byte ret = ImGuiNative.Build(@this); + return ret != 0; + } + } + public unsafe void CalcCustomRectUV(ImFontAtlasCustomRect* rect, Vector2* outUvMin, Vector2* outUvMax) + { + fixed (ImFontAtlas* @this = &this) + { + ImGuiNative.CalcCustomRectUV(@this, rect, outUvMin, outUvMax); + } + } + public unsafe void CalcCustomRectUV(ref ImFontAtlasCustomRect rect, Vector2* outUvMin, Vector2* outUvMax) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (ImFontAtlasCustomRect* prect = &rect) + { + ImGuiNative.CalcCustomRectUV(@this, (ImFontAtlasCustomRect*)prect, outUvMin, outUvMax); + } + } + } + public unsafe void CalcCustomRectUV(ImFontAtlasCustomRect* rect, ref Vector2 outUvMin, Vector2* outUvMax) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutUvMin = &outUvMin) + { + ImGuiNative.CalcCustomRectUV(@this, rect, (Vector2*)poutUvMin, outUvMax); + } + } + } + public unsafe void CalcCustomRectUV(ref ImFontAtlasCustomRect rect, ref Vector2 outUvMin, Vector2* outUvMax) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (ImFontAtlasCustomRect* prect = &rect) + { + fixed (Vector2* poutUvMin = &outUvMin) + { + ImGuiNative.CalcCustomRectUV(@this, (ImFontAtlasCustomRect*)prect, (Vector2*)poutUvMin, outUvMax); + } + } + } + } + public unsafe void CalcCustomRectUV(ImFontAtlasCustomRect* rect, Vector2* outUvMin, ref Vector2 outUvMax) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutUvMax = &outUvMax) + { + ImGuiNative.CalcCustomRectUV(@this, rect, outUvMin, (Vector2*)poutUvMax); + } + } + } + public unsafe void CalcCustomRectUV(ref ImFontAtlasCustomRect rect, Vector2* outUvMin, ref Vector2 outUvMax) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (ImFontAtlasCustomRect* prect = &rect) + { + fixed (Vector2* poutUvMax = &outUvMax) + { + ImGuiNative.CalcCustomRectUV(@this, (ImFontAtlasCustomRect*)prect, outUvMin, (Vector2*)poutUvMax); + } + } + } + } + public unsafe void CalcCustomRectUV(ImFontAtlasCustomRect* rect, ref Vector2 outUvMin, ref Vector2 outUvMax) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutUvMin = &outUvMin) + { + fixed (Vector2* poutUvMax = &outUvMax) + { + ImGuiNative.CalcCustomRectUV(@this, rect, (Vector2*)poutUvMin, (Vector2*)poutUvMax); + } + } + } + } + public unsafe void CalcCustomRectUV(ref ImFontAtlasCustomRect rect, ref Vector2 outUvMin, ref Vector2 outUvMax) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (ImFontAtlasCustomRect* prect = &rect) + { + fixed (Vector2* poutUvMin = &outUvMin) + { + fixed (Vector2* poutUvMax = &outUvMax) + { + ImGuiNative.CalcCustomRectUV(@this, (ImFontAtlasCustomRect*)prect, (Vector2*)poutUvMin, (Vector2*)poutUvMax); + } + } + } + } + } + public unsafe void Clear() + { + fixed (ImFontAtlas* @this = &this) + { + ImGuiNative.Clear(@this); + } + } + public unsafe void ClearFonts() + { + fixed (ImFontAtlas* @this = &this) + { + ImGuiNative.ClearFonts(@this); + } + } + public unsafe void ClearInputData() + { + fixed (ImFontAtlas* @this = &this) + { + ImGuiNative.ClearInputData(@this); + } + } + public unsafe void ClearTexData() + { + fixed (ImFontAtlas* @this = &this) + { + ImGuiNative.ClearTexData(@this); + } + } + public unsafe void ClearTexID(ImTextureID nullId) + { + fixed (ImFontAtlas* @this = &this) + { + ImGuiNative.ClearTexID(@this, nullId); + } + } + public unsafe void Destroy() + { + fixed (ImFontAtlas* @this = &this) + { + ImGuiNative.Destroy(@this); + } + } + public unsafe ImFontAtlasCustomRect* GetCustomRectByIndex(int index) + { + fixed (ImFontAtlas* @this = &this) + { + ImFontAtlasCustomRect* ret = ImGuiNative.GetCustomRectByIndex(@this, index); + return ret; + } + } + public unsafe ushort* GetGlyphRangesChineseFull() + { + fixed (ImFontAtlas* @this = &this) + { + ushort* ret = ImGuiNative.GetGlyphRangesChineseFull(@this); + return ret; + } + } + public unsafe ushort* GetGlyphRangesChineseSimplifiedCommon() + { + fixed (ImFontAtlas* @this = &this) + { + ushort* ret = ImGuiNative.GetGlyphRangesChineseSimplifiedCommon(@this); + return ret; + } + } + public unsafe ushort* GetGlyphRangesCyrillic() + { + fixed (ImFontAtlas* @this = &this) + { + ushort* ret = ImGuiNative.GetGlyphRangesCyrillic(@this); + return ret; + } + } + public unsafe ushort* GetGlyphRangesDefault() + { + fixed (ImFontAtlas* @this = &this) + { + ushort* ret = ImGuiNative.GetGlyphRangesDefault(@this); + return ret; + } + } + public unsafe ushort* GetGlyphRangesJapanese() + { + fixed (ImFontAtlas* @this = &this) + { + ushort* ret = ImGuiNative.GetGlyphRangesJapanese(@this); + return ret; + } + } + public unsafe ushort* GetGlyphRangesKorean() + { + fixed (ImFontAtlas* @this = &this) + { + ushort* ret = ImGuiNative.GetGlyphRangesKorean(@this); + return ret; + } + } + public unsafe ushort* GetGlyphRangesThai() + { + fixed (ImFontAtlas* @this = &this) + { + ushort* ret = ImGuiNative.GetGlyphRangesThai(@this); + return ret; + } + } + public unsafe ushort* GetGlyphRangesVietnamese() + { + fixed (ImFontAtlas* @this = &this) + { + ushort* ret = ImGuiNative.GetGlyphRangesVietnamese(@this); + return ret; + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, Vector2* outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + byte ret = ImGuiNative.GetMouseCursorTexData(@this, cursor, outOffset, outSize, outUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, Vector2* outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutOffset = &outOffset) + { + byte ret = ImGuiNative.GetMouseCursorTexData(@this, cursor, (Vector2*)poutOffset, outSize, outUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, Vector2* outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutSize = &outSize) + { + byte ret = ImGuiNative.GetMouseCursorTexData(@this, cursor, outOffset, (Vector2*)poutSize, outUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, Vector2* outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + byte ret = ImGuiNative.GetMouseCursorTexData(@this, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, outUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ref Vector2 outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + byte ret = ImGuiNative.GetMouseCursorTexData(@this, cursor, outOffset, outSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + byte ret = ImGuiNative.GetMouseCursorTexData(@this, cursor, outOffset, outSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ref Vector2 outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + byte ret = ImGuiNative.GetMouseCursorTexData(@this, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + byte ret = ImGuiNative.GetMouseCursorTexData(@this, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + byte ret = ImGuiNative.GetMouseCursorTexData(@this, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + byte ret = ImGuiNative.GetMouseCursorTexData(@this, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + byte ret = ImGuiNative.GetMouseCursorTexData(@this, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + byte ret = ImGuiNative.GetMouseCursorTexData(@this, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, Vector2* outUvBorder, ref Vector2 outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + byte ret = ImGuiNative.GetMouseCursorTexData(@this, cursor, outOffset, outSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutUvFill = outUvFill) + { + byte ret = ImGuiNative.GetMouseCursorTexData(@this, cursor, outOffset, outSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, Vector2* outUvBorder, ref Vector2 outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + byte ret = ImGuiNative.GetMouseCursorTexData(@this, cursor, (Vector2*)poutOffset, outSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvFill = outUvFill) + { + byte ret = ImGuiNative.GetMouseCursorTexData(@this, cursor, (Vector2*)poutOffset, outSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, Vector2* outUvBorder, ref Vector2 outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + byte ret = ImGuiNative.GetMouseCursorTexData(@this, cursor, outOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvFill = outUvFill) + { + byte ret = ImGuiNative.GetMouseCursorTexData(@this, cursor, outOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, Vector2* outUvBorder, ref Vector2 outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + byte ret = ImGuiNative.GetMouseCursorTexData(@this, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvFill = outUvFill) + { + byte ret = ImGuiNative.GetMouseCursorTexData(@this, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + byte ret = ImGuiNative.GetMouseCursorTexData(@this, cursor, outOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (Vector2* poutUvFill = outUvFill) + { + byte ret = ImGuiNative.GetMouseCursorTexData(@this, cursor, outOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + byte ret = ImGuiNative.GetMouseCursorTexData(@this, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (Vector2* poutUvFill = outUvFill) + { + byte ret = ImGuiNative.GetMouseCursorTexData(@this, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + byte ret = ImGuiNative.GetMouseCursorTexData(@this, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (Vector2* poutUvFill = outUvFill) + { + byte ret = ImGuiNative.GetMouseCursorTexData(@this, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + byte ret = ImGuiNative.GetMouseCursorTexData(@this, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (Vector2* poutUvFill = outUvFill) + { + byte ret = ImGuiNative.GetMouseCursorTexData(@this, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, Vector2* outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(@this, cursor, outOffset, outSize, outUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, Vector2* outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(@this, cursor, (Vector2*)poutOffset, outSize, outUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, Vector2* outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(@this, cursor, outOffset, (Vector2*)poutSize, outUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, Vector2* outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(@this, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, outUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ref Vector2 outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(@this, cursor, outOffset, outSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(@this, cursor, outOffset, outSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ref Vector2 outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(@this, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(@this, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(@this, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(@this, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(@this, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(@this, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, Vector2* outUvBorder, ref Vector2 outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(@this, cursor, outOffset, outSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutUvFill = outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(@this, cursor, outOffset, outSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, Vector2* outUvBorder, ref Vector2 outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(@this, cursor, (Vector2*)poutOffset, outSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvFill = outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(@this, cursor, (Vector2*)poutOffset, outSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, Vector2* outUvBorder, ref Vector2 outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(@this, cursor, outOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvFill = outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(@this, cursor, outOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, Vector2* outUvBorder, ref Vector2 outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(@this, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvFill = outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(@this, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(@this, cursor, outOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (Vector2* poutUvFill = outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(@this, cursor, outOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(@this, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (Vector2* poutUvFill = outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(@this, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(@this, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (Vector2* poutUvFill = outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(@this, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(@this, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (Vector2* poutUvFill = outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(@this, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + } + } + public unsafe void GetTexDataAsAlpha8(int textureIndex, byte** outPixels, int* outWidth, int* outHeight, int* outBytesPerPixel) + { + fixed (ImFontAtlas* @this = &this) + { + ImGuiNative.GetTexDataAsAlpha8(@this, textureIndex, outPixels, outWidth, outHeight, outBytesPerPixel); + } + } + public unsafe void GetTexDataAsAlpha8(int textureIndex, byte** outPixels, int* outWidth, int* outHeight) + { + fixed (ImFontAtlas* @this = &this) + { + ImGuiNative.GetTexDataAsAlpha8(@this, textureIndex, outPixels, outWidth, outHeight, (int*)(default)); + } + } + public unsafe void GetTexDataAsAlpha8(int textureIndex, ref byte* outPixels, int* outWidth, int* outHeight, int* outBytesPerPixel) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte** poutPixels = &outPixels) + { + ImGuiNative.GetTexDataAsAlpha8(@this, textureIndex, (byte**)poutPixels, outWidth, outHeight, outBytesPerPixel); + } + } + } + public unsafe void GetTexDataAsAlpha8(int textureIndex, ref byte* outPixels, int* outWidth, int* outHeight) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte** poutPixels = &outPixels) + { + ImGuiNative.GetTexDataAsAlpha8(@this, textureIndex, (byte**)poutPixels, outWidth, outHeight, (int*)(default)); + } + } + } + public unsafe void GetTexDataAsAlpha8(int textureIndex, byte** outPixels, ref int outWidth, int* outHeight, int* outBytesPerPixel) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (int* poutWidth = &outWidth) + { + ImGuiNative.GetTexDataAsAlpha8(@this, textureIndex, outPixels, (int*)poutWidth, outHeight, outBytesPerPixel); + } + } + } + public unsafe void GetTexDataAsAlpha8(int textureIndex, byte** outPixels, ref int outWidth, int* outHeight) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (int* poutWidth = &outWidth) + { + ImGuiNative.GetTexDataAsAlpha8(@this, textureIndex, outPixels, (int*)poutWidth, outHeight, (int*)(default)); + } + } + } + public unsafe void GetTexDataAsAlpha8(int textureIndex, ref byte* outPixels, ref int outWidth, int* outHeight, int* outBytesPerPixel) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + ImGuiNative.GetTexDataAsAlpha8(@this, textureIndex, (byte**)poutPixels, (int*)poutWidth, outHeight, outBytesPerPixel); + } + } + } + } + public unsafe void GetTexDataAsAlpha8(int textureIndex, ref byte* outPixels, ref int outWidth, int* outHeight) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + ImGuiNative.GetTexDataAsAlpha8(@this, textureIndex, (byte**)poutPixels, (int*)poutWidth, outHeight, (int*)(default)); + } + } + } + } + public unsafe void GetTexDataAsAlpha8(int textureIndex, byte** outPixels, int* outWidth, ref int outHeight, int* outBytesPerPixel) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (int* poutHeight = &outHeight) + { + ImGuiNative.GetTexDataAsAlpha8(@this, textureIndex, outPixels, outWidth, (int*)poutHeight, outBytesPerPixel); + } + } + } + public unsafe void GetTexDataAsAlpha8(int textureIndex, byte** outPixels, int* outWidth, ref int outHeight) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (int* poutHeight = &outHeight) + { + ImGuiNative.GetTexDataAsAlpha8(@this, textureIndex, outPixels, outWidth, (int*)poutHeight, (int*)(default)); + } + } + } + public unsafe void GetTexDataAsAlpha8(int textureIndex, ref byte* outPixels, int* outWidth, ref int outHeight, int* outBytesPerPixel) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutHeight = &outHeight) + { + ImGuiNative.GetTexDataAsAlpha8(@this, textureIndex, (byte**)poutPixels, outWidth, (int*)poutHeight, outBytesPerPixel); + } + } + } + } + public unsafe void GetTexDataAsAlpha8(int textureIndex, ref byte* outPixels, int* outWidth, ref int outHeight) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutHeight = &outHeight) + { + ImGuiNative.GetTexDataAsAlpha8(@this, textureIndex, (byte**)poutPixels, outWidth, (int*)poutHeight, (int*)(default)); + } + } + } + } + public unsafe void GetTexDataAsAlpha8(int textureIndex, byte** outPixels, ref int outWidth, ref int outHeight, int* outBytesPerPixel) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + ImGuiNative.GetTexDataAsAlpha8(@this, textureIndex, outPixels, (int*)poutWidth, (int*)poutHeight, outBytesPerPixel); + } + } + } + } + public unsafe void GetTexDataAsAlpha8(int textureIndex, byte** outPixels, ref int outWidth, ref int outHeight) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + ImGuiNative.GetTexDataAsAlpha8(@this, textureIndex, outPixels, (int*)poutWidth, (int*)poutHeight, (int*)(default)); + } + } + } + } + public unsafe void GetTexDataAsAlpha8(int textureIndex, ref byte* outPixels, ref int outWidth, ref int outHeight, int* outBytesPerPixel) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + ImGuiNative.GetTexDataAsAlpha8(@this, textureIndex, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, outBytesPerPixel); + } + } + } + } + } + public unsafe void GetTexDataAsAlpha8(int textureIndex, ref byte* outPixels, ref int outWidth, ref int outHeight) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + ImGuiNative.GetTexDataAsAlpha8(@this, textureIndex, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, (int*)(default)); + } + } + } + } + } + public unsafe void GetTexDataAsAlpha8(int textureIndex, byte** outPixels, int* outWidth, int* outHeight, ref int outBytesPerPixel) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGuiNative.GetTexDataAsAlpha8(@this, textureIndex, outPixels, outWidth, outHeight, (int*)poutBytesPerPixel); + } + } + } + public unsafe void GetTexDataAsAlpha8(int textureIndex, ref byte* outPixels, int* outWidth, int* outHeight, ref int outBytesPerPixel) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGuiNative.GetTexDataAsAlpha8(@this, textureIndex, (byte**)poutPixels, outWidth, outHeight, (int*)poutBytesPerPixel); + } + } + } + } + public unsafe void GetTexDataAsAlpha8(int textureIndex, byte** outPixels, ref int outWidth, int* outHeight, ref int outBytesPerPixel) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGuiNative.GetTexDataAsAlpha8(@this, textureIndex, outPixels, (int*)poutWidth, outHeight, (int*)poutBytesPerPixel); + } + } + } + } + public unsafe void GetTexDataAsAlpha8(int textureIndex, ref byte* outPixels, ref int outWidth, int* outHeight, ref int outBytesPerPixel) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGuiNative.GetTexDataAsAlpha8(@this, textureIndex, (byte**)poutPixels, (int*)poutWidth, outHeight, (int*)poutBytesPerPixel); + } + } + } + } + } + public unsafe void GetTexDataAsAlpha8(int textureIndex, byte** outPixels, int* outWidth, ref int outHeight, ref int outBytesPerPixel) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (int* poutHeight = &outHeight) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGuiNative.GetTexDataAsAlpha8(@this, textureIndex, outPixels, outWidth, (int*)poutHeight, (int*)poutBytesPerPixel); + } + } + } + } + public unsafe void GetTexDataAsAlpha8(int textureIndex, ref byte* outPixels, int* outWidth, ref int outHeight, ref int outBytesPerPixel) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutHeight = &outHeight) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGuiNative.GetTexDataAsAlpha8(@this, textureIndex, (byte**)poutPixels, outWidth, (int*)poutHeight, (int*)poutBytesPerPixel); + } + } + } + } + } + public unsafe void GetTexDataAsAlpha8(int textureIndex, byte** outPixels, ref int outWidth, ref int outHeight, ref int outBytesPerPixel) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGuiNative.GetTexDataAsAlpha8(@this, textureIndex, outPixels, (int*)poutWidth, (int*)poutHeight, (int*)poutBytesPerPixel); + } + } + } + } + } + public unsafe void GetTexDataAsAlpha8(int textureIndex, ref byte* outPixels, ref int outWidth, ref int outHeight, ref int outBytesPerPixel) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGuiNative.GetTexDataAsAlpha8(@this, textureIndex, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, (int*)poutBytesPerPixel); + } + } + } + } + } + } + public unsafe void GetTexDataAsRGBA32(int textureIndex, byte** outPixels, int* outWidth, int* outHeight, int* outBytesPerPixel) + { + fixed (ImFontAtlas* @this = &this) + { + ImGuiNative.GetTexDataAsRGBA32(@this, textureIndex, outPixels, outWidth, outHeight, outBytesPerPixel); + } + } + public unsafe void GetTexDataAsRGBA32(int textureIndex, byte** outPixels, int* outWidth, int* outHeight) + { + fixed (ImFontAtlas* @this = &this) + { + ImGuiNative.GetTexDataAsRGBA32(@this, textureIndex, outPixels, outWidth, outHeight, (int*)(default)); + } + } + public unsafe void GetTexDataAsRGBA32(int textureIndex, ref byte* outPixels, int* outWidth, int* outHeight, int* outBytesPerPixel) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte** poutPixels = &outPixels) + { + ImGuiNative.GetTexDataAsRGBA32(@this, textureIndex, (byte**)poutPixels, outWidth, outHeight, outBytesPerPixel); + } + } + } + public unsafe void GetTexDataAsRGBA32(int textureIndex, ref byte* outPixels, int* outWidth, int* outHeight) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte** poutPixels = &outPixels) + { + ImGuiNative.GetTexDataAsRGBA32(@this, textureIndex, (byte**)poutPixels, outWidth, outHeight, (int*)(default)); + } + } + } + public unsafe void GetTexDataAsRGBA32(int textureIndex, byte** outPixels, ref int outWidth, int* outHeight, int* outBytesPerPixel) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (int* poutWidth = &outWidth) + { + ImGuiNative.GetTexDataAsRGBA32(@this, textureIndex, outPixels, (int*)poutWidth, outHeight, outBytesPerPixel); + } + } + } + public unsafe void GetTexDataAsRGBA32(int textureIndex, byte** outPixels, ref int outWidth, int* outHeight) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (int* poutWidth = &outWidth) + { + ImGuiNative.GetTexDataAsRGBA32(@this, textureIndex, outPixels, (int*)poutWidth, outHeight, (int*)(default)); + } + } + } + public unsafe void GetTexDataAsRGBA32(int textureIndex, ref byte* outPixels, ref int outWidth, int* outHeight, int* outBytesPerPixel) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + ImGuiNative.GetTexDataAsRGBA32(@this, textureIndex, (byte**)poutPixels, (int*)poutWidth, outHeight, outBytesPerPixel); + } + } + } + } + public unsafe void GetTexDataAsRGBA32(int textureIndex, ref byte* outPixels, ref int outWidth, int* outHeight) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + ImGuiNative.GetTexDataAsRGBA32(@this, textureIndex, (byte**)poutPixels, (int*)poutWidth, outHeight, (int*)(default)); + } + } + } + } + public unsafe void GetTexDataAsRGBA32(int textureIndex, byte** outPixels, int* outWidth, ref int outHeight, int* outBytesPerPixel) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (int* poutHeight = &outHeight) + { + ImGuiNative.GetTexDataAsRGBA32(@this, textureIndex, outPixels, outWidth, (int*)poutHeight, outBytesPerPixel); + } + } + } + public unsafe void GetTexDataAsRGBA32(int textureIndex, byte** outPixels, int* outWidth, ref int outHeight) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (int* poutHeight = &outHeight) + { + ImGuiNative.GetTexDataAsRGBA32(@this, textureIndex, outPixels, outWidth, (int*)poutHeight, (int*)(default)); + } + } + } + public unsafe void GetTexDataAsRGBA32(int textureIndex, ref byte* outPixels, int* outWidth, ref int outHeight, int* outBytesPerPixel) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutHeight = &outHeight) + { + ImGuiNative.GetTexDataAsRGBA32(@this, textureIndex, (byte**)poutPixels, outWidth, (int*)poutHeight, outBytesPerPixel); + } + } + } + } + public unsafe void GetTexDataAsRGBA32(int textureIndex, ref byte* outPixels, int* outWidth, ref int outHeight) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutHeight = &outHeight) + { + ImGuiNative.GetTexDataAsRGBA32(@this, textureIndex, (byte**)poutPixels, outWidth, (int*)poutHeight, (int*)(default)); + } + } + } + } + public unsafe void GetTexDataAsRGBA32(int textureIndex, byte** outPixels, ref int outWidth, ref int outHeight, int* outBytesPerPixel) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + ImGuiNative.GetTexDataAsRGBA32(@this, textureIndex, outPixels, (int*)poutWidth, (int*)poutHeight, outBytesPerPixel); + } + } + } + } + public unsafe void GetTexDataAsRGBA32(int textureIndex, byte** outPixels, ref int outWidth, ref int outHeight) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + ImGuiNative.GetTexDataAsRGBA32(@this, textureIndex, outPixels, (int*)poutWidth, (int*)poutHeight, (int*)(default)); + } + } + } + } + public unsafe void GetTexDataAsRGBA32(int textureIndex, ref byte* outPixels, ref int outWidth, ref int outHeight, int* outBytesPerPixel) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + ImGuiNative.GetTexDataAsRGBA32(@this, textureIndex, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, outBytesPerPixel); + } + } + } + } + } + public unsafe void GetTexDataAsRGBA32(int textureIndex, ref byte* outPixels, ref int outWidth, ref int outHeight) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + ImGuiNative.GetTexDataAsRGBA32(@this, textureIndex, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, (int*)(default)); + } + } + } + } + } + public unsafe void GetTexDataAsRGBA32(int textureIndex, byte** outPixels, int* outWidth, int* outHeight, ref int outBytesPerPixel) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGuiNative.GetTexDataAsRGBA32(@this, textureIndex, outPixels, outWidth, outHeight, (int*)poutBytesPerPixel); + } + } + } + public unsafe void GetTexDataAsRGBA32(int textureIndex, ref byte* outPixels, int* outWidth, int* outHeight, ref int outBytesPerPixel) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGuiNative.GetTexDataAsRGBA32(@this, textureIndex, (byte**)poutPixels, outWidth, outHeight, (int*)poutBytesPerPixel); + } + } + } + } + public unsafe void GetTexDataAsRGBA32(int textureIndex, byte** outPixels, ref int outWidth, int* outHeight, ref int outBytesPerPixel) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGuiNative.GetTexDataAsRGBA32(@this, textureIndex, outPixels, (int*)poutWidth, outHeight, (int*)poutBytesPerPixel); + } + } + } + } + public unsafe void GetTexDataAsRGBA32(int textureIndex, ref byte* outPixels, ref int outWidth, int* outHeight, ref int outBytesPerPixel) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGuiNative.GetTexDataAsRGBA32(@this, textureIndex, (byte**)poutPixels, (int*)poutWidth, outHeight, (int*)poutBytesPerPixel); + } + } + } + } + } + public unsafe void GetTexDataAsRGBA32(int textureIndex, byte** outPixels, int* outWidth, ref int outHeight, ref int outBytesPerPixel) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (int* poutHeight = &outHeight) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGuiNative.GetTexDataAsRGBA32(@this, textureIndex, outPixels, outWidth, (int*)poutHeight, (int*)poutBytesPerPixel); + } + } + } + } + public unsafe void GetTexDataAsRGBA32(int textureIndex, ref byte* outPixels, int* outWidth, ref int outHeight, ref int outBytesPerPixel) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutHeight = &outHeight) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGuiNative.GetTexDataAsRGBA32(@this, textureIndex, (byte**)poutPixels, outWidth, (int*)poutHeight, (int*)poutBytesPerPixel); + } + } + } + } + } + public unsafe void GetTexDataAsRGBA32(int textureIndex, byte** outPixels, ref int outWidth, ref int outHeight, ref int outBytesPerPixel) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGuiNative.GetTexDataAsRGBA32(@this, textureIndex, outPixels, (int*)poutWidth, (int*)poutHeight, (int*)poutBytesPerPixel); + } + } + } + } + } + public unsafe void GetTexDataAsRGBA32(int textureIndex, ref byte* outPixels, ref int outWidth, ref int outHeight, ref int outBytesPerPixel) + { + fixed (ImFontAtlas* @this = &this) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGuiNative.GetTexDataAsRGBA32(@this, textureIndex, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, (int*)poutBytesPerPixel); + } + } + } + } + } + } + public unsafe bool IsBuilt() + { + fixed (ImFontAtlas* @this = &this) + { + byte ret = ImGuiNative.IsBuilt(@this); + return ret != 0; + } + } + public unsafe void SetTexID(int textureIndex, ImTextureID id) + { + fixed (ImFontAtlas* @this = &this) + { + ImGuiNative.SetTexID(@this, textureIndex, id); + } + } +} +// DISCARDED: AddFontFromFileTTF +// DISCARDED: AddFontFromMemoryCompressedBase85TTF +// DISCARDED: AddFontFromMemoryCompressedTTF +// DISCARDED: AddFontFromMemoryTTF + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImFontAtlasCustomRect.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImFontAtlasCustomRect.gen.cs new file mode 100644 index 000000000..8d1a7dcbc --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImFontAtlasCustomRect.gen.cs @@ -0,0 +1,30 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImFontAtlasCustomRect +{ + public unsafe void Destroy() + { + fixed (ImFontAtlasCustomRect* @this = &this) + { + ImGuiNative.Destroy(@this); + } + } + public unsafe bool IsPacked() + { + fixed (ImFontAtlasCustomRect* @this = &this) + { + byte ret = ImGuiNative.IsPacked(@this); + return ret != 0; + } + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImFontAtlasCustomRectPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImFontAtlasCustomRectPtr.gen.cs new file mode 100644 index 000000000..d97bc58f5 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImFontAtlasCustomRectPtr.gen.cs @@ -0,0 +1,24 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImFontAtlasCustomRectPtr +{ + public unsafe void Destroy() + { + ImGuiNative.Destroy(Handle); + } + public unsafe bool IsPacked() + { + byte ret = ImGuiNative.IsPacked(Handle); + return ret != 0; + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImFontAtlasPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImFontAtlasPtr.gen.cs new file mode 100644 index 000000000..59693e908 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImFontAtlasPtr.gen.cs @@ -0,0 +1,1412 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImFontAtlasPtr +{ + public unsafe int AddCustomRectFontGlyph(ImFontPtr font, ushort id, int width, int height, float advanceX, Vector2 offset) + { + int ret = ImGuiNative.AddCustomRectFontGlyph(Handle, font, id, width, height, advanceX, offset); + return ret; + } + public unsafe int AddCustomRectFontGlyph(ImFontPtr font, ushort id, int width, int height, float advanceX) + { + int ret = ImGuiNative.AddCustomRectFontGlyph(Handle, font, id, width, height, advanceX, (Vector2)(new Vector2(0,0))); + return ret; + } + public unsafe int AddCustomRectFontGlyph(ref ImFont font, ushort id, int width, int height, float advanceX, Vector2 offset) + { + fixed (ImFont* pfont = &font) + { + int ret = ImGuiNative.AddCustomRectFontGlyph(Handle, (ImFont*)pfont, id, width, height, advanceX, offset); + return ret; + } + } + public unsafe int AddCustomRectFontGlyph(ref ImFont font, ushort id, int width, int height, float advanceX) + { + fixed (ImFont* pfont = &font) + { + int ret = ImGuiNative.AddCustomRectFontGlyph(Handle, (ImFont*)pfont, id, width, height, advanceX, (Vector2)(new Vector2(0,0))); + return ret; + } + } + public unsafe int AddCustomRectRegular(int width, int height) + { + int ret = ImGuiNative.AddCustomRectRegular(Handle, width, height); + return ret; + } + public unsafe ImFontPtr AddFont(ImFontConfig* fontCfg) + { + ImFontPtr ret = ImGuiNative.AddFont(Handle, fontCfg); + return ret; + } + public unsafe ImFontPtr AddFont(ref ImFontConfig fontCfg) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = ImGuiNative.AddFont(Handle, (ImFontConfig*)pfontCfg); + return ret; + } + } + public unsafe ImFontPtr AddFontDefault(ImFontConfig* fontCfg) + { + ImFontPtr ret = ImGuiNative.AddFontDefault(Handle, fontCfg); + return ret; + } + public unsafe ImFontPtr AddFontDefault() + { + ImFontPtr ret = ImGuiNative.AddFontDefault(Handle, (ImFontConfig*)(default)); + return ret; + } + public unsafe ImFontPtr AddFontDefault(ref ImFontConfig fontCfg) + { + fixed (ImFontConfig* pfontCfg = &fontCfg) + { + ImFontPtr ret = ImGuiNative.AddFontDefault(Handle, (ImFontConfig*)pfontCfg); + return ret; + } + } + public unsafe bool Build() + { + byte ret = ImGuiNative.Build(Handle); + return ret != 0; + } + public unsafe void CalcCustomRectUV(ImFontAtlasCustomRect* rect, Vector2* outUvMin, Vector2* outUvMax) + { + ImGuiNative.CalcCustomRectUV(Handle, rect, outUvMin, outUvMax); + } + public unsafe void CalcCustomRectUV(ref ImFontAtlasCustomRect rect, Vector2* outUvMin, Vector2* outUvMax) + { + fixed (ImFontAtlasCustomRect* prect = &rect) + { + ImGuiNative.CalcCustomRectUV(Handle, (ImFontAtlasCustomRect*)prect, outUvMin, outUvMax); + } + } + public unsafe void CalcCustomRectUV(ImFontAtlasCustomRect* rect, ref Vector2 outUvMin, Vector2* outUvMax) + { + fixed (Vector2* poutUvMin = &outUvMin) + { + ImGuiNative.CalcCustomRectUV(Handle, rect, (Vector2*)poutUvMin, outUvMax); + } + } + public unsafe void CalcCustomRectUV(ref ImFontAtlasCustomRect rect, ref Vector2 outUvMin, Vector2* outUvMax) + { + fixed (ImFontAtlasCustomRect* prect = &rect) + { + fixed (Vector2* poutUvMin = &outUvMin) + { + ImGuiNative.CalcCustomRectUV(Handle, (ImFontAtlasCustomRect*)prect, (Vector2*)poutUvMin, outUvMax); + } + } + } + public unsafe void CalcCustomRectUV(ImFontAtlasCustomRect* rect, Vector2* outUvMin, ref Vector2 outUvMax) + { + fixed (Vector2* poutUvMax = &outUvMax) + { + ImGuiNative.CalcCustomRectUV(Handle, rect, outUvMin, (Vector2*)poutUvMax); + } + } + public unsafe void CalcCustomRectUV(ref ImFontAtlasCustomRect rect, Vector2* outUvMin, ref Vector2 outUvMax) + { + fixed (ImFontAtlasCustomRect* prect = &rect) + { + fixed (Vector2* poutUvMax = &outUvMax) + { + ImGuiNative.CalcCustomRectUV(Handle, (ImFontAtlasCustomRect*)prect, outUvMin, (Vector2*)poutUvMax); + } + } + } + public unsafe void CalcCustomRectUV(ImFontAtlasCustomRect* rect, ref Vector2 outUvMin, ref Vector2 outUvMax) + { + fixed (Vector2* poutUvMin = &outUvMin) + { + fixed (Vector2* poutUvMax = &outUvMax) + { + ImGuiNative.CalcCustomRectUV(Handle, rect, (Vector2*)poutUvMin, (Vector2*)poutUvMax); + } + } + } + public unsafe void CalcCustomRectUV(ref ImFontAtlasCustomRect rect, ref Vector2 outUvMin, ref Vector2 outUvMax) + { + fixed (ImFontAtlasCustomRect* prect = &rect) + { + fixed (Vector2* poutUvMin = &outUvMin) + { + fixed (Vector2* poutUvMax = &outUvMax) + { + ImGuiNative.CalcCustomRectUV(Handle, (ImFontAtlasCustomRect*)prect, (Vector2*)poutUvMin, (Vector2*)poutUvMax); + } + } + } + } + public unsafe void Clear() + { + ImGuiNative.Clear(Handle); + } + public unsafe void ClearFonts() + { + ImGuiNative.ClearFonts(Handle); + } + public unsafe void ClearInputData() + { + ImGuiNative.ClearInputData(Handle); + } + public unsafe void ClearTexData() + { + ImGuiNative.ClearTexData(Handle); + } + public unsafe void ClearTexID(ImTextureID nullId) + { + ImGuiNative.ClearTexID(Handle, nullId); + } + public unsafe void Destroy() + { + ImGuiNative.Destroy(Handle); + } + public unsafe ImFontAtlasCustomRect* GetCustomRectByIndex(int index) + { + ImFontAtlasCustomRect* ret = ImGuiNative.GetCustomRectByIndex(Handle, index); + return ret; + } + public unsafe ushort* GetGlyphRangesChineseFull() + { + ushort* ret = ImGuiNative.GetGlyphRangesChineseFull(Handle); + return ret; + } + public unsafe ushort* GetGlyphRangesChineseSimplifiedCommon() + { + ushort* ret = ImGuiNative.GetGlyphRangesChineseSimplifiedCommon(Handle); + return ret; + } + public unsafe ushort* GetGlyphRangesCyrillic() + { + ushort* ret = ImGuiNative.GetGlyphRangesCyrillic(Handle); + return ret; + } + public unsafe ushort* GetGlyphRangesDefault() + { + ushort* ret = ImGuiNative.GetGlyphRangesDefault(Handle); + return ret; + } + public unsafe ushort* GetGlyphRangesJapanese() + { + ushort* ret = ImGuiNative.GetGlyphRangesJapanese(Handle); + return ret; + } + public unsafe ushort* GetGlyphRangesKorean() + { + ushort* ret = ImGuiNative.GetGlyphRangesKorean(Handle); + return ret; + } + public unsafe ushort* GetGlyphRangesThai() + { + ushort* ret = ImGuiNative.GetGlyphRangesThai(Handle); + return ret; + } + public unsafe ushort* GetGlyphRangesVietnamese() + { + ushort* ret = ImGuiNative.GetGlyphRangesVietnamese(Handle); + return ret; + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, Vector2* outUvBorder, Vector2* outUvFill, int* textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(Handle, cursor, outOffset, outSize, outUvBorder, outUvFill, textureIndex); + return ret != 0; + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, Vector2* outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + byte ret = ImGuiNative.GetMouseCursorTexData(Handle, cursor, (Vector2*)poutOffset, outSize, outUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, Vector2* outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (Vector2* poutSize = &outSize) + { + byte ret = ImGuiNative.GetMouseCursorTexData(Handle, cursor, outOffset, (Vector2*)poutSize, outUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, Vector2* outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + byte ret = ImGuiNative.GetMouseCursorTexData(Handle, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, outUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ref Vector2 outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + byte ret = ImGuiNative.GetMouseCursorTexData(Handle, cursor, outOffset, outSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + byte ret = ImGuiNative.GetMouseCursorTexData(Handle, cursor, outOffset, outSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ref Vector2 outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + byte ret = ImGuiNative.GetMouseCursorTexData(Handle, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + byte ret = ImGuiNative.GetMouseCursorTexData(Handle, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + byte ret = ImGuiNative.GetMouseCursorTexData(Handle, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + byte ret = ImGuiNative.GetMouseCursorTexData(Handle, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + byte ret = ImGuiNative.GetMouseCursorTexData(Handle, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, int* textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + byte ret = ImGuiNative.GetMouseCursorTexData(Handle, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, textureIndex); + return ret != 0; + } + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, Vector2* outUvBorder, ref Vector2 outUvFill, int* textureIndex) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + byte ret = ImGuiNative.GetMouseCursorTexData(Handle, cursor, outOffset, outSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) + { + fixed (Vector2* poutUvFill = outUvFill) + { + byte ret = ImGuiNative.GetMouseCursorTexData(Handle, cursor, outOffset, outSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, Vector2* outUvBorder, ref Vector2 outUvFill, int* textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + byte ret = ImGuiNative.GetMouseCursorTexData(Handle, cursor, (Vector2*)poutOffset, outSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvFill = outUvFill) + { + byte ret = ImGuiNative.GetMouseCursorTexData(Handle, cursor, (Vector2*)poutOffset, outSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, Vector2* outUvBorder, ref Vector2 outUvFill, int* textureIndex) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + byte ret = ImGuiNative.GetMouseCursorTexData(Handle, cursor, outOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvFill = outUvFill) + { + byte ret = ImGuiNative.GetMouseCursorTexData(Handle, cursor, outOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, Vector2* outUvBorder, ref Vector2 outUvFill, int* textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + byte ret = ImGuiNative.GetMouseCursorTexData(Handle, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvFill = outUvFill) + { + byte ret = ImGuiNative.GetMouseCursorTexData(Handle, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, int* textureIndex) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + byte ret = ImGuiNative.GetMouseCursorTexData(Handle, cursor, outOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (Vector2* poutUvFill = outUvFill) + { + byte ret = ImGuiNative.GetMouseCursorTexData(Handle, cursor, outOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, int* textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + byte ret = ImGuiNative.GetMouseCursorTexData(Handle, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (Vector2* poutUvFill = outUvFill) + { + byte ret = ImGuiNative.GetMouseCursorTexData(Handle, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, int* textureIndex) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + byte ret = ImGuiNative.GetMouseCursorTexData(Handle, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (Vector2* poutUvFill = outUvFill) + { + byte ret = ImGuiNative.GetMouseCursorTexData(Handle, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, int* textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + byte ret = ImGuiNative.GetMouseCursorTexData(Handle, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, int* textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (Vector2* poutUvFill = outUvFill) + { + byte ret = ImGuiNative.GetMouseCursorTexData(Handle, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, textureIndex); + return ret != 0; + } + } + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, Vector2* outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(Handle, cursor, outOffset, outSize, outUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, Vector2* outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(Handle, cursor, (Vector2*)poutOffset, outSize, outUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, Vector2* outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(Handle, cursor, outOffset, (Vector2*)poutSize, outUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, Vector2* outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(Handle, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, outUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ref Vector2 outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(Handle, cursor, outOffset, outSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(Handle, cursor, outOffset, outSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ref Vector2 outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(Handle, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(Handle, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(Handle, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(Handle, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(Handle, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, Vector2* outUvFill, ref int textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(Handle, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, outUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, Vector2* outUvBorder, ref Vector2 outUvFill, ref int textureIndex) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(Handle, cursor, outOffset, outSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) + { + fixed (Vector2* poutUvFill = outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(Handle, cursor, outOffset, outSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, Vector2* outUvBorder, ref Vector2 outUvFill, ref int textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(Handle, cursor, (Vector2*)poutOffset, outSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvFill = outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(Handle, cursor, (Vector2*)poutOffset, outSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, Vector2* outUvBorder, ref Vector2 outUvFill, ref int textureIndex) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(Handle, cursor, outOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvFill = outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(Handle, cursor, outOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, Vector2* outUvBorder, ref Vector2 outUvFill, ref int textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(Handle, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, Vector2* outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvFill = outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(Handle, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, outUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, ref int textureIndex) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(Handle, cursor, outOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (Vector2* poutUvFill = outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(Handle, cursor, outOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, ref int textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(Handle, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, Vector2* outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (Vector2* poutUvFill = outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(Handle, cursor, (Vector2*)poutOffset, outSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, ref int textureIndex) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(Handle, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, Vector2* outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (Vector2* poutUvFill = outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(Handle, cursor, outOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ref Vector2 outUvBorder, ref Vector2 outUvFill, ref int textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = &outUvBorder) + { + fixed (Vector2* poutUvFill = &outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(Handle, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + } + public unsafe bool GetMouseCursorTexData(ImGuiMouseCursor cursor, ref Vector2 outOffset, ref Vector2 outSize, ReadOnlySpan outUvBorder, ReadOnlySpan outUvFill, ref int textureIndex) + { + fixed (Vector2* poutOffset = &outOffset) + { + fixed (Vector2* poutSize = &outSize) + { + fixed (Vector2* poutUvBorder = outUvBorder) + { + fixed (Vector2* poutUvFill = outUvFill) + { + fixed (int* ptextureIndex = &textureIndex) + { + byte ret = ImGuiNative.GetMouseCursorTexData(Handle, cursor, (Vector2*)poutOffset, (Vector2*)poutSize, (Vector2*)poutUvBorder, (Vector2*)poutUvFill, (int*)ptextureIndex); + return ret != 0; + } + } + } + } + } + } + public unsafe void GetTexDataAsAlpha8(int textureIndex, byte** outPixels, int* outWidth, int* outHeight, int* outBytesPerPixel) + { + ImGuiNative.GetTexDataAsAlpha8(Handle, textureIndex, outPixels, outWidth, outHeight, outBytesPerPixel); + } + public unsafe void GetTexDataAsAlpha8(int textureIndex, byte** outPixels, int* outWidth, int* outHeight) + { + ImGuiNative.GetTexDataAsAlpha8(Handle, textureIndex, outPixels, outWidth, outHeight, (int*)(default)); + } + public unsafe void GetTexDataAsAlpha8(int textureIndex, ref byte* outPixels, int* outWidth, int* outHeight, int* outBytesPerPixel) + { + fixed (byte** poutPixels = &outPixels) + { + ImGuiNative.GetTexDataAsAlpha8(Handle, textureIndex, (byte**)poutPixels, outWidth, outHeight, outBytesPerPixel); + } + } + public unsafe void GetTexDataAsAlpha8(int textureIndex, ref byte* outPixels, int* outWidth, int* outHeight) + { + fixed (byte** poutPixels = &outPixels) + { + ImGuiNative.GetTexDataAsAlpha8(Handle, textureIndex, (byte**)poutPixels, outWidth, outHeight, (int*)(default)); + } + } + public unsafe void GetTexDataAsAlpha8(int textureIndex, byte** outPixels, ref int outWidth, int* outHeight, int* outBytesPerPixel) + { + fixed (int* poutWidth = &outWidth) + { + ImGuiNative.GetTexDataAsAlpha8(Handle, textureIndex, outPixels, (int*)poutWidth, outHeight, outBytesPerPixel); + } + } + public unsafe void GetTexDataAsAlpha8(int textureIndex, byte** outPixels, ref int outWidth, int* outHeight) + { + fixed (int* poutWidth = &outWidth) + { + ImGuiNative.GetTexDataAsAlpha8(Handle, textureIndex, outPixels, (int*)poutWidth, outHeight, (int*)(default)); + } + } + public unsafe void GetTexDataAsAlpha8(int textureIndex, ref byte* outPixels, ref int outWidth, int* outHeight, int* outBytesPerPixel) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + ImGuiNative.GetTexDataAsAlpha8(Handle, textureIndex, (byte**)poutPixels, (int*)poutWidth, outHeight, outBytesPerPixel); + } + } + } + public unsafe void GetTexDataAsAlpha8(int textureIndex, ref byte* outPixels, ref int outWidth, int* outHeight) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + ImGuiNative.GetTexDataAsAlpha8(Handle, textureIndex, (byte**)poutPixels, (int*)poutWidth, outHeight, (int*)(default)); + } + } + } + public unsafe void GetTexDataAsAlpha8(int textureIndex, byte** outPixels, int* outWidth, ref int outHeight, int* outBytesPerPixel) + { + fixed (int* poutHeight = &outHeight) + { + ImGuiNative.GetTexDataAsAlpha8(Handle, textureIndex, outPixels, outWidth, (int*)poutHeight, outBytesPerPixel); + } + } + public unsafe void GetTexDataAsAlpha8(int textureIndex, byte** outPixels, int* outWidth, ref int outHeight) + { + fixed (int* poutHeight = &outHeight) + { + ImGuiNative.GetTexDataAsAlpha8(Handle, textureIndex, outPixels, outWidth, (int*)poutHeight, (int*)(default)); + } + } + public unsafe void GetTexDataAsAlpha8(int textureIndex, ref byte* outPixels, int* outWidth, ref int outHeight, int* outBytesPerPixel) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutHeight = &outHeight) + { + ImGuiNative.GetTexDataAsAlpha8(Handle, textureIndex, (byte**)poutPixels, outWidth, (int*)poutHeight, outBytesPerPixel); + } + } + } + public unsafe void GetTexDataAsAlpha8(int textureIndex, ref byte* outPixels, int* outWidth, ref int outHeight) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutHeight = &outHeight) + { + ImGuiNative.GetTexDataAsAlpha8(Handle, textureIndex, (byte**)poutPixels, outWidth, (int*)poutHeight, (int*)(default)); + } + } + } + public unsafe void GetTexDataAsAlpha8(int textureIndex, byte** outPixels, ref int outWidth, ref int outHeight, int* outBytesPerPixel) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + ImGuiNative.GetTexDataAsAlpha8(Handle, textureIndex, outPixels, (int*)poutWidth, (int*)poutHeight, outBytesPerPixel); + } + } + } + public unsafe void GetTexDataAsAlpha8(int textureIndex, byte** outPixels, ref int outWidth, ref int outHeight) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + ImGuiNative.GetTexDataAsAlpha8(Handle, textureIndex, outPixels, (int*)poutWidth, (int*)poutHeight, (int*)(default)); + } + } + } + public unsafe void GetTexDataAsAlpha8(int textureIndex, ref byte* outPixels, ref int outWidth, ref int outHeight, int* outBytesPerPixel) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + ImGuiNative.GetTexDataAsAlpha8(Handle, textureIndex, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, outBytesPerPixel); + } + } + } + } + public unsafe void GetTexDataAsAlpha8(int textureIndex, ref byte* outPixels, ref int outWidth, ref int outHeight) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + ImGuiNative.GetTexDataAsAlpha8(Handle, textureIndex, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, (int*)(default)); + } + } + } + } + public unsafe void GetTexDataAsAlpha8(int textureIndex, byte** outPixels, int* outWidth, int* outHeight, ref int outBytesPerPixel) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGuiNative.GetTexDataAsAlpha8(Handle, textureIndex, outPixels, outWidth, outHeight, (int*)poutBytesPerPixel); + } + } + public unsafe void GetTexDataAsAlpha8(int textureIndex, ref byte* outPixels, int* outWidth, int* outHeight, ref int outBytesPerPixel) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGuiNative.GetTexDataAsAlpha8(Handle, textureIndex, (byte**)poutPixels, outWidth, outHeight, (int*)poutBytesPerPixel); + } + } + } + public unsafe void GetTexDataAsAlpha8(int textureIndex, byte** outPixels, ref int outWidth, int* outHeight, ref int outBytesPerPixel) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGuiNative.GetTexDataAsAlpha8(Handle, textureIndex, outPixels, (int*)poutWidth, outHeight, (int*)poutBytesPerPixel); + } + } + } + public unsafe void GetTexDataAsAlpha8(int textureIndex, ref byte* outPixels, ref int outWidth, int* outHeight, ref int outBytesPerPixel) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGuiNative.GetTexDataAsAlpha8(Handle, textureIndex, (byte**)poutPixels, (int*)poutWidth, outHeight, (int*)poutBytesPerPixel); + } + } + } + } + public unsafe void GetTexDataAsAlpha8(int textureIndex, byte** outPixels, int* outWidth, ref int outHeight, ref int outBytesPerPixel) + { + fixed (int* poutHeight = &outHeight) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGuiNative.GetTexDataAsAlpha8(Handle, textureIndex, outPixels, outWidth, (int*)poutHeight, (int*)poutBytesPerPixel); + } + } + } + public unsafe void GetTexDataAsAlpha8(int textureIndex, ref byte* outPixels, int* outWidth, ref int outHeight, ref int outBytesPerPixel) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutHeight = &outHeight) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGuiNative.GetTexDataAsAlpha8(Handle, textureIndex, (byte**)poutPixels, outWidth, (int*)poutHeight, (int*)poutBytesPerPixel); + } + } + } + } + public unsafe void GetTexDataAsAlpha8(int textureIndex, byte** outPixels, ref int outWidth, ref int outHeight, ref int outBytesPerPixel) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGuiNative.GetTexDataAsAlpha8(Handle, textureIndex, outPixels, (int*)poutWidth, (int*)poutHeight, (int*)poutBytesPerPixel); + } + } + } + } + public unsafe void GetTexDataAsAlpha8(int textureIndex, ref byte* outPixels, ref int outWidth, ref int outHeight, ref int outBytesPerPixel) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGuiNative.GetTexDataAsAlpha8(Handle, textureIndex, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, (int*)poutBytesPerPixel); + } + } + } + } + } + public unsafe void GetTexDataAsRGBA32(int textureIndex, byte** outPixels, int* outWidth, int* outHeight, int* outBytesPerPixel) + { + ImGuiNative.GetTexDataAsRGBA32(Handle, textureIndex, outPixels, outWidth, outHeight, outBytesPerPixel); + } + public unsafe void GetTexDataAsRGBA32(int textureIndex, byte** outPixels, int* outWidth, int* outHeight) + { + ImGuiNative.GetTexDataAsRGBA32(Handle, textureIndex, outPixels, outWidth, outHeight, (int*)(default)); + } + public unsafe void GetTexDataAsRGBA32(int textureIndex, ref byte* outPixels, int* outWidth, int* outHeight, int* outBytesPerPixel) + { + fixed (byte** poutPixels = &outPixels) + { + ImGuiNative.GetTexDataAsRGBA32(Handle, textureIndex, (byte**)poutPixels, outWidth, outHeight, outBytesPerPixel); + } + } + public unsafe void GetTexDataAsRGBA32(int textureIndex, ref byte* outPixels, int* outWidth, int* outHeight) + { + fixed (byte** poutPixels = &outPixels) + { + ImGuiNative.GetTexDataAsRGBA32(Handle, textureIndex, (byte**)poutPixels, outWidth, outHeight, (int*)(default)); + } + } + public unsafe void GetTexDataAsRGBA32(int textureIndex, byte** outPixels, ref int outWidth, int* outHeight, int* outBytesPerPixel) + { + fixed (int* poutWidth = &outWidth) + { + ImGuiNative.GetTexDataAsRGBA32(Handle, textureIndex, outPixels, (int*)poutWidth, outHeight, outBytesPerPixel); + } + } + public unsafe void GetTexDataAsRGBA32(int textureIndex, byte** outPixels, ref int outWidth, int* outHeight) + { + fixed (int* poutWidth = &outWidth) + { + ImGuiNative.GetTexDataAsRGBA32(Handle, textureIndex, outPixels, (int*)poutWidth, outHeight, (int*)(default)); + } + } + public unsafe void GetTexDataAsRGBA32(int textureIndex, ref byte* outPixels, ref int outWidth, int* outHeight, int* outBytesPerPixel) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + ImGuiNative.GetTexDataAsRGBA32(Handle, textureIndex, (byte**)poutPixels, (int*)poutWidth, outHeight, outBytesPerPixel); + } + } + } + public unsafe void GetTexDataAsRGBA32(int textureIndex, ref byte* outPixels, ref int outWidth, int* outHeight) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + ImGuiNative.GetTexDataAsRGBA32(Handle, textureIndex, (byte**)poutPixels, (int*)poutWidth, outHeight, (int*)(default)); + } + } + } + public unsafe void GetTexDataAsRGBA32(int textureIndex, byte** outPixels, int* outWidth, ref int outHeight, int* outBytesPerPixel) + { + fixed (int* poutHeight = &outHeight) + { + ImGuiNative.GetTexDataAsRGBA32(Handle, textureIndex, outPixels, outWidth, (int*)poutHeight, outBytesPerPixel); + } + } + public unsafe void GetTexDataAsRGBA32(int textureIndex, byte** outPixels, int* outWidth, ref int outHeight) + { + fixed (int* poutHeight = &outHeight) + { + ImGuiNative.GetTexDataAsRGBA32(Handle, textureIndex, outPixels, outWidth, (int*)poutHeight, (int*)(default)); + } + } + public unsafe void GetTexDataAsRGBA32(int textureIndex, ref byte* outPixels, int* outWidth, ref int outHeight, int* outBytesPerPixel) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutHeight = &outHeight) + { + ImGuiNative.GetTexDataAsRGBA32(Handle, textureIndex, (byte**)poutPixels, outWidth, (int*)poutHeight, outBytesPerPixel); + } + } + } + public unsafe void GetTexDataAsRGBA32(int textureIndex, ref byte* outPixels, int* outWidth, ref int outHeight) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutHeight = &outHeight) + { + ImGuiNative.GetTexDataAsRGBA32(Handle, textureIndex, (byte**)poutPixels, outWidth, (int*)poutHeight, (int*)(default)); + } + } + } + public unsafe void GetTexDataAsRGBA32(int textureIndex, byte** outPixels, ref int outWidth, ref int outHeight, int* outBytesPerPixel) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + ImGuiNative.GetTexDataAsRGBA32(Handle, textureIndex, outPixels, (int*)poutWidth, (int*)poutHeight, outBytesPerPixel); + } + } + } + public unsafe void GetTexDataAsRGBA32(int textureIndex, byte** outPixels, ref int outWidth, ref int outHeight) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + ImGuiNative.GetTexDataAsRGBA32(Handle, textureIndex, outPixels, (int*)poutWidth, (int*)poutHeight, (int*)(default)); + } + } + } + public unsafe void GetTexDataAsRGBA32(int textureIndex, ref byte* outPixels, ref int outWidth, ref int outHeight, int* outBytesPerPixel) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + ImGuiNative.GetTexDataAsRGBA32(Handle, textureIndex, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, outBytesPerPixel); + } + } + } + } + public unsafe void GetTexDataAsRGBA32(int textureIndex, ref byte* outPixels, ref int outWidth, ref int outHeight) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + ImGuiNative.GetTexDataAsRGBA32(Handle, textureIndex, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, (int*)(default)); + } + } + } + } + public unsafe void GetTexDataAsRGBA32(int textureIndex, byte** outPixels, int* outWidth, int* outHeight, ref int outBytesPerPixel) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGuiNative.GetTexDataAsRGBA32(Handle, textureIndex, outPixels, outWidth, outHeight, (int*)poutBytesPerPixel); + } + } + public unsafe void GetTexDataAsRGBA32(int textureIndex, ref byte* outPixels, int* outWidth, int* outHeight, ref int outBytesPerPixel) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGuiNative.GetTexDataAsRGBA32(Handle, textureIndex, (byte**)poutPixels, outWidth, outHeight, (int*)poutBytesPerPixel); + } + } + } + public unsafe void GetTexDataAsRGBA32(int textureIndex, byte** outPixels, ref int outWidth, int* outHeight, ref int outBytesPerPixel) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGuiNative.GetTexDataAsRGBA32(Handle, textureIndex, outPixels, (int*)poutWidth, outHeight, (int*)poutBytesPerPixel); + } + } + } + public unsafe void GetTexDataAsRGBA32(int textureIndex, ref byte* outPixels, ref int outWidth, int* outHeight, ref int outBytesPerPixel) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGuiNative.GetTexDataAsRGBA32(Handle, textureIndex, (byte**)poutPixels, (int*)poutWidth, outHeight, (int*)poutBytesPerPixel); + } + } + } + } + public unsafe void GetTexDataAsRGBA32(int textureIndex, byte** outPixels, int* outWidth, ref int outHeight, ref int outBytesPerPixel) + { + fixed (int* poutHeight = &outHeight) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGuiNative.GetTexDataAsRGBA32(Handle, textureIndex, outPixels, outWidth, (int*)poutHeight, (int*)poutBytesPerPixel); + } + } + } + public unsafe void GetTexDataAsRGBA32(int textureIndex, ref byte* outPixels, int* outWidth, ref int outHeight, ref int outBytesPerPixel) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutHeight = &outHeight) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGuiNative.GetTexDataAsRGBA32(Handle, textureIndex, (byte**)poutPixels, outWidth, (int*)poutHeight, (int*)poutBytesPerPixel); + } + } + } + } + public unsafe void GetTexDataAsRGBA32(int textureIndex, byte** outPixels, ref int outWidth, ref int outHeight, ref int outBytesPerPixel) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGuiNative.GetTexDataAsRGBA32(Handle, textureIndex, outPixels, (int*)poutWidth, (int*)poutHeight, (int*)poutBytesPerPixel); + } + } + } + } + public unsafe void GetTexDataAsRGBA32(int textureIndex, ref byte* outPixels, ref int outWidth, ref int outHeight, ref int outBytesPerPixel) + { + fixed (byte** poutPixels = &outPixels) + { + fixed (int* poutWidth = &outWidth) + { + fixed (int* poutHeight = &outHeight) + { + fixed (int* poutBytesPerPixel = &outBytesPerPixel) + { + ImGuiNative.GetTexDataAsRGBA32(Handle, textureIndex, (byte**)poutPixels, (int*)poutWidth, (int*)poutHeight, (int*)poutBytesPerPixel); + } + } + } + } + } + public unsafe bool IsBuilt() + { + byte ret = ImGuiNative.IsBuilt(Handle); + return ret != 0; + } + public unsafe void SetTexID(int textureIndex, ImTextureID id) + { + ImGuiNative.SetTexID(Handle, textureIndex, id); + } +} +// DISCARDED: AddFontFromFileTTF +// DISCARDED: AddFontFromMemoryCompressedBase85TTF +// DISCARDED: AddFontFromMemoryCompressedTTF +// DISCARDED: AddFontFromMemoryTTF + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImFontAtlasTexture.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImFontAtlasTexture.gen.cs new file mode 100644 index 000000000..f1a9c60b9 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImFontAtlasTexture.gen.cs @@ -0,0 +1,15 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImFontAtlasTexture +{ +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImFontAtlasTexturePtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImFontAtlasTexturePtr.gen.cs new file mode 100644 index 000000000..c5c47f397 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImFontAtlasTexturePtr.gen.cs @@ -0,0 +1,15 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImFontAtlasTexturePtr +{ +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImFontBuilderIO.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImFontBuilderIO.gen.cs new file mode 100644 index 000000000..0c3c861a3 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImFontBuilderIO.gen.cs @@ -0,0 +1,15 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImFontBuilderIO +{ +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImFontBuilderIOPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImFontBuilderIOPtr.gen.cs new file mode 100644 index 000000000..b61f898d3 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImFontBuilderIOPtr.gen.cs @@ -0,0 +1,15 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImFontBuilderIOPtr +{ +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImFontConfig.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImFontConfig.gen.cs new file mode 100644 index 000000000..1fb980e53 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImFontConfig.gen.cs @@ -0,0 +1,22 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImFontConfig +{ + public unsafe void Destroy() + { + fixed (ImFontConfig* @this = &this) + { + ImGuiNative.Destroy(@this); + } + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImFontConfigPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImFontConfigPtr.gen.cs new file mode 100644 index 000000000..876572b6f --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImFontConfigPtr.gen.cs @@ -0,0 +1,19 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImFontConfigPtr +{ + public unsafe void Destroy() + { + ImGuiNative.Destroy(Handle); + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImFontGlyph.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImFontGlyph.gen.cs new file mode 100644 index 000000000..ff4cea6bc --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImFontGlyph.gen.cs @@ -0,0 +1,15 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImFontGlyph +{ +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImFontGlyphHotData.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImFontGlyphHotData.gen.cs new file mode 100644 index 000000000..e53137687 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImFontGlyphHotData.gen.cs @@ -0,0 +1,15 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImFontGlyphHotData +{ +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImFontGlyphHotDataPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImFontGlyphHotDataPtr.gen.cs new file mode 100644 index 000000000..953f577dc --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImFontGlyphHotDataPtr.gen.cs @@ -0,0 +1,15 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImFontGlyphHotDataPtr +{ +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImFontGlyphPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImFontGlyphPtr.gen.cs new file mode 100644 index 000000000..41675a226 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImFontGlyphPtr.gen.cs @@ -0,0 +1,15 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImFontGlyphPtr +{ +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImFontGlyphRangesBuilder.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImFontGlyphRangesBuilder.gen.cs new file mode 100644 index 000000000..a3c2002ac --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImFontGlyphRangesBuilder.gen.cs @@ -0,0 +1,76 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImFontGlyphRangesBuilder +{ + public unsafe void AddChar(ushort c) + { + fixed (ImFontGlyphRangesBuilder* @this = &this) + { + ImGuiNative.AddChar(@this, c); + } + } + public unsafe void AddRanges(ushort* ranges) + { + fixed (ImFontGlyphRangesBuilder* @this = &this) + { + ImGuiNative.AddRanges(@this, ranges); + } + } + public unsafe void BuildRanges(ImVector* outRanges) + { + fixed (ImFontGlyphRangesBuilder* @this = &this) + { + ImGuiNative.BuildRanges(@this, outRanges); + } + } + public unsafe void BuildRanges(ref ImVector outRanges) + { + fixed (ImFontGlyphRangesBuilder* @this = &this) + { + fixed (ImVector* poutRanges = &outRanges) + { + ImGuiNative.BuildRanges(@this, (ImVector*)poutRanges); + } + } + } + public unsafe void Clear() + { + fixed (ImFontGlyphRangesBuilder* @this = &this) + { + ImGuiNative.Clear(@this); + } + } + public unsafe void Destroy() + { + fixed (ImFontGlyphRangesBuilder* @this = &this) + { + ImGuiNative.Destroy(@this); + } + } + public unsafe bool GetBit(nuint n) + { + fixed (ImFontGlyphRangesBuilder* @this = &this) + { + byte ret = ImGuiNative.GetBit(@this, n); + return ret != 0; + } + } + public unsafe void SetBit(nuint n) + { + fixed (ImFontGlyphRangesBuilder* @this = &this) + { + ImGuiNative.SetBit(@this, n); + } + } +} +// DISCARDED: AddText + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImFontGlyphRangesBuilderPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImFontGlyphRangesBuilderPtr.gen.cs new file mode 100644 index 000000000..3f8022784 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImFontGlyphRangesBuilderPtr.gen.cs @@ -0,0 +1,52 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImFontGlyphRangesBuilderPtr +{ + public unsafe void AddChar(ushort c) + { + ImGuiNative.AddChar(Handle, c); + } + public unsafe void AddRanges(ushort* ranges) + { + ImGuiNative.AddRanges(Handle, ranges); + } + public unsafe void BuildRanges(ImVector* outRanges) + { + ImGuiNative.BuildRanges(Handle, outRanges); + } + public unsafe void BuildRanges(ref ImVector outRanges) + { + fixed (ImVector* poutRanges = &outRanges) + { + ImGuiNative.BuildRanges(Handle, (ImVector*)poutRanges); + } + } + public unsafe void Clear() + { + ImGuiNative.Clear(Handle); + } + public unsafe void Destroy() + { + ImGuiNative.Destroy(Handle); + } + public unsafe bool GetBit(nuint n) + { + byte ret = ImGuiNative.GetBit(Handle, n); + return ret != 0; + } + public unsafe void SetBit(nuint n) + { + ImGuiNative.SetBit(Handle, n); + } +} +// DISCARDED: AddText + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImFontKerningPair.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImFontKerningPair.gen.cs new file mode 100644 index 000000000..73de0e645 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImFontKerningPair.gen.cs @@ -0,0 +1,15 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImFontKerningPair +{ +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImFontKerningPairPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImFontKerningPairPtr.gen.cs new file mode 100644 index 000000000..2dffccc80 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImFontKerningPairPtr.gen.cs @@ -0,0 +1,15 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImFontKerningPairPtr +{ +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImFontPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImFontPtr.gen.cs new file mode 100644 index 000000000..9d542a898 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImFontPtr.gen.cs @@ -0,0 +1,117 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImFontPtr +{ + public unsafe void AddGlyph(ImFontConfig* srcCfg, ushort c, int textureIndex, float x0, float y0, float x1, float y1, float u0, float v0, float u1, float v1, float advanceX) + { + ImGuiNative.AddGlyph(Handle, srcCfg, c, textureIndex, x0, y0, x1, y1, u0, v0, u1, v1, advanceX); + } + public unsafe void AddGlyph(ref ImFontConfig srcCfg, ushort c, int textureIndex, float x0, float y0, float x1, float y1, float u0, float v0, float u1, float v1, float advanceX) + { + fixed (ImFontConfig* psrcCfg = &srcCfg) + { + ImGuiNative.AddGlyph(Handle, (ImFontConfig*)psrcCfg, c, textureIndex, x0, y0, x1, y1, u0, v0, u1, v1, advanceX); + } + } + public unsafe void AddKerningPair(ushort leftC, ushort rightC, float distanceAdjustment) + { + ImGuiNative.AddKerningPair(Handle, leftC, rightC, distanceAdjustment); + } + public unsafe void AddRemapChar(ushort dst, ushort src, bool overwriteDst) + { + ImGuiNative.AddRemapChar(Handle, dst, src, overwriteDst ? (byte)1 : (byte)0); + } + public unsafe void AddRemapChar(ushort dst, ushort src) + { + ImGuiNative.AddRemapChar(Handle, dst, src, (byte)(1)); + } + public unsafe void BuildLookupTable() + { + ImGuiNative.BuildLookupTable(Handle); + } + public unsafe void ClearOutputData() + { + ImGuiNative.ClearOutputData(Handle); + } + public unsafe void Destroy() + { + ImGuiNative.Destroy(Handle); + } + public unsafe ImFontGlyph* FindGlyph(ushort c) + { + ImFontGlyph* ret = ImGuiNative.FindGlyph(Handle, c); + return ret; + } + public unsafe ImFontGlyph* FindGlyphNoFallback(ushort c) + { + ImFontGlyph* ret = ImGuiNative.FindGlyphNoFallback(Handle, c); + return ret; + } + public unsafe float GetCharAdvance(ushort c) + { + float ret = ImGuiNative.GetCharAdvance(Handle, c); + return ret; + } + public unsafe float GetDistanceAdjustmentForPair(ushort leftC, ushort rightC) + { + float ret = ImGuiNative.GetDistanceAdjustmentForPair(Handle, leftC, rightC); + return ret; + } + public unsafe float GetDistanceAdjustmentForPairFromHotData(ushort leftC, ImFontGlyphHotData* rightCInfo) + { + float ret = ImGuiNative.GetDistanceAdjustmentForPairFromHotData(Handle, leftC, rightCInfo); + return ret; + } + public unsafe float GetDistanceAdjustmentForPairFromHotData(ushort leftC, ref ImFontGlyphHotData rightCInfo) + { + fixed (ImFontGlyphHotData* prightCInfo = &rightCInfo) + { + float ret = ImGuiNative.GetDistanceAdjustmentForPairFromHotData(Handle, leftC, (ImFontGlyphHotData*)prightCInfo); + return ret; + } + } + public unsafe void GrowIndex(int newSize) + { + ImGuiNative.GrowIndex(Handle, newSize); + } + public unsafe bool IsGlyphRangeUnused(uint cBegin, uint cLast) + { + byte ret = ImGuiNative.IsGlyphRangeUnused(Handle, cBegin, cLast); + return ret != 0; + } + public unsafe bool IsLoaded() + { + byte ret = ImGuiNative.IsLoaded(Handle); + return ret != 0; + } + public unsafe void RenderChar(ImDrawListPtr drawList, float size, Vector2 pos, uint col, ushort c) + { + ImGuiNative.RenderChar(Handle, drawList, size, pos, col, c); + } + public unsafe void RenderChar(ref ImDrawList drawList, float size, Vector2 pos, uint col, ushort c) + { + fixed (ImDrawList* pdrawList = &drawList) + { + ImGuiNative.RenderChar(Handle, (ImDrawList*)pdrawList, size, pos, col, c); + } + } + public unsafe void SetGlyphVisible(ushort c, bool visible) + { + ImGuiNative.SetGlyphVisible(Handle, c, visible ? (byte)1 : (byte)0); + } +} +// DISCARDED: CalcWordWrapPositionA +// DISCARDED: CalcWordWrapPositionAS +// DISCARDED: GetDebugName +// DISCARDED: GetDebugNameS +// DISCARDED: RenderText + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImFontPtrPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImFontPtrPtr.gen.cs new file mode 100644 index 000000000..0d9157625 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImFontPtrPtr.gen.cs @@ -0,0 +1,15 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImFontPtrPtr +{ +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiColorMod.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiColorMod.gen.cs new file mode 100644 index 000000000..c3d04868b --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiColorMod.gen.cs @@ -0,0 +1,15 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiColorMod +{ +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiColorModPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiColorModPtr.gen.cs new file mode 100644 index 000000000..0cc2105e8 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiColorModPtr.gen.cs @@ -0,0 +1,15 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiColorModPtr +{ +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiComboPreviewData.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiComboPreviewData.gen.cs new file mode 100644 index 000000000..7d9cded64 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiComboPreviewData.gen.cs @@ -0,0 +1,22 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiComboPreviewData +{ + public unsafe void Destroy() + { + fixed (ImGuiComboPreviewData* @this = &this) + { + ImGuiNative.Destroy(@this); + } + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiComboPreviewDataPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiComboPreviewDataPtr.gen.cs new file mode 100644 index 000000000..b45eab464 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiComboPreviewDataPtr.gen.cs @@ -0,0 +1,19 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiComboPreviewDataPtr +{ + public unsafe void Destroy() + { + ImGuiNative.Destroy(Handle); + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiContext.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiContext.gen.cs new file mode 100644 index 000000000..6a05d5ec0 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiContext.gen.cs @@ -0,0 +1,22 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiContext +{ + public unsafe void Destroy() + { + fixed (ImGuiContext* @this = &this) + { + ImGuiNative.Destroy(@this); + } + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiContextHook.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiContextHook.gen.cs new file mode 100644 index 000000000..a79d07809 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiContextHook.gen.cs @@ -0,0 +1,22 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiContextHook +{ + public unsafe void Destroy() + { + fixed (ImGuiContextHook* @this = &this) + { + ImGuiNative.Destroy(@this); + } + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiContextHookPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiContextHookPtr.gen.cs new file mode 100644 index 000000000..eba827aa0 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiContextHookPtr.gen.cs @@ -0,0 +1,19 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiContextHookPtr +{ + public unsafe void Destroy() + { + ImGuiNative.Destroy(Handle); + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiContextPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiContextPtr.gen.cs new file mode 100644 index 000000000..38a28dc68 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiContextPtr.gen.cs @@ -0,0 +1,19 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiContextPtr +{ + public unsafe void Destroy() + { + ImGuiNative.Destroy(Handle); + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiDataTypeInfo.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiDataTypeInfo.gen.cs new file mode 100644 index 000000000..a5d205c3f --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiDataTypeInfo.gen.cs @@ -0,0 +1,15 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiDataTypeInfo +{ +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiDataTypeInfoPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiDataTypeInfoPtr.gen.cs new file mode 100644 index 000000000..3eb3ddcfb --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiDataTypeInfoPtr.gen.cs @@ -0,0 +1,15 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiDataTypeInfoPtr +{ +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiDataTypeTempStorage.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiDataTypeTempStorage.gen.cs new file mode 100644 index 000000000..c336dd27d --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiDataTypeTempStorage.gen.cs @@ -0,0 +1,15 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiDataTypeTempStorage +{ +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiDockContext.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiDockContext.gen.cs new file mode 100644 index 000000000..119bbefe7 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiDockContext.gen.cs @@ -0,0 +1,22 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiDockContext +{ + public unsafe void Destroy() + { + fixed (ImGuiDockContext* @this = &this) + { + ImGuiNative.Destroy(@this); + } + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiDockContextPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiDockContextPtr.gen.cs new file mode 100644 index 000000000..24a48b92c --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiDockContextPtr.gen.cs @@ -0,0 +1,19 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiDockContextPtr +{ + public unsafe void Destroy() + { + ImGuiNative.Destroy(Handle); + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiDockNode.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiDockNode.gen.cs new file mode 100644 index 000000000..04df4a137 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiDockNode.gen.cs @@ -0,0 +1,15 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiDockNode +{ +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiDockNodePtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiDockNodePtr.gen.cs new file mode 100644 index 000000000..911f24ea5 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiDockNodePtr.gen.cs @@ -0,0 +1,15 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiDockNodePtr +{ +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiDockNodeSettings.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiDockNodeSettings.gen.cs new file mode 100644 index 000000000..5ca7f3e60 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiDockNodeSettings.gen.cs @@ -0,0 +1,15 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiDockNodeSettings +{ +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiDockNodeSettingsPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiDockNodeSettingsPtr.gen.cs new file mode 100644 index 000000000..96ca0ee7b --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiDockNodeSettingsPtr.gen.cs @@ -0,0 +1,15 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiDockNodeSettingsPtr +{ +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiDockRequest.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiDockRequest.gen.cs new file mode 100644 index 000000000..096e78834 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiDockRequest.gen.cs @@ -0,0 +1,15 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiDockRequest +{ +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiDockRequestPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiDockRequestPtr.gen.cs new file mode 100644 index 000000000..5bc7f97d3 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiDockRequestPtr.gen.cs @@ -0,0 +1,15 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiDockRequestPtr +{ +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiGroupData.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiGroupData.gen.cs new file mode 100644 index 000000000..1a560f690 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiGroupData.gen.cs @@ -0,0 +1,15 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiGroupData +{ +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiGroupDataPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiGroupDataPtr.gen.cs new file mode 100644 index 000000000..b0dfc1a2f --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiGroupDataPtr.gen.cs @@ -0,0 +1,15 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiGroupDataPtr +{ +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiIO.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiIO.gen.cs new file mode 100644 index 000000000..a3550bc65 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiIO.gen.cs @@ -0,0 +1,109 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiIO +{ + public unsafe void AddFocusEvent(bool focused) + { + fixed (ImGuiIO* @this = &this) + { + ImGuiNative.AddFocusEvent(@this, focused ? (byte)1 : (byte)0); + } + } + public unsafe void AddKeyAnalogEvent(ImGuiKey key, bool down, float v) + { + fixed (ImGuiIO* @this = &this) + { + ImGuiNative.AddKeyAnalogEvent(@this, key, down ? (byte)1 : (byte)0, v); + } + } + public unsafe void AddKeyEvent(ImGuiKey key, bool down) + { + fixed (ImGuiIO* @this = &this) + { + ImGuiNative.AddKeyEvent(@this, key, down ? (byte)1 : (byte)0); + } + } + public unsafe void AddMouseButtonEvent(int button, bool down) + { + fixed (ImGuiIO* @this = &this) + { + ImGuiNative.AddMouseButtonEvent(@this, button, down ? (byte)1 : (byte)0); + } + } + public unsafe void AddMousePosEvent(float x, float y) + { + fixed (ImGuiIO* @this = &this) + { + ImGuiNative.AddMousePosEvent(@this, x, y); + } + } + public unsafe void AddMouseViewportEvent(uint id) + { + fixed (ImGuiIO* @this = &this) + { + ImGuiNative.AddMouseViewportEvent(@this, id); + } + } + public unsafe void AddMouseWheelEvent(float whX, float whY) + { + fixed (ImGuiIO* @this = &this) + { + ImGuiNative.AddMouseWheelEvent(@this, whX, whY); + } + } + public unsafe void ClearInputCharacters() + { + fixed (ImGuiIO* @this = &this) + { + ImGuiNative.ClearInputCharacters(@this); + } + } + public unsafe void ClearInputKeys() + { + fixed (ImGuiIO* @this = &this) + { + ImGuiNative.ClearInputKeys(@this); + } + } + public unsafe void Destroy() + { + fixed (ImGuiIO* @this = &this) + { + ImGuiNative.Destroy(@this); + } + } + public unsafe void SetAppAcceptingEvents(bool acceptingEvents) + { + fixed (ImGuiIO* @this = &this) + { + ImGuiNative.SetAppAcceptingEvents(@this, acceptingEvents ? (byte)1 : (byte)0); + } + } + public unsafe void SetKeyEventNativeData(ImGuiKey key, int nativeKeycode, int nativeScancode, int nativeLegacyIndex) + { + fixed (ImGuiIO* @this = &this) + { + ImGuiNative.SetKeyEventNativeData(@this, key, nativeKeycode, nativeScancode, nativeLegacyIndex); + } + } + public unsafe void SetKeyEventNativeData(ImGuiKey key, int nativeKeycode, int nativeScancode) + { + fixed (ImGuiIO* @this = &this) + { + ImGuiNative.SetKeyEventNativeData(@this, key, nativeKeycode, nativeScancode, (int)(-1)); + } + } +} +// DISCARDED: AddInputCharacter +// DISCARDED: AddInputCharactersUTF8 +// DISCARDED: AddInputCharacterUTF16 + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiIOPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiIOPtr.gen.cs new file mode 100644 index 000000000..2507869fe --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiIOPtr.gen.cs @@ -0,0 +1,70 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiIOPtr +{ + public unsafe void AddFocusEvent(bool focused) + { + ImGuiNative.AddFocusEvent(Handle, focused ? (byte)1 : (byte)0); + } + public unsafe void AddKeyAnalogEvent(ImGuiKey key, bool down, float v) + { + ImGuiNative.AddKeyAnalogEvent(Handle, key, down ? (byte)1 : (byte)0, v); + } + public unsafe void AddKeyEvent(ImGuiKey key, bool down) + { + ImGuiNative.AddKeyEvent(Handle, key, down ? (byte)1 : (byte)0); + } + public unsafe void AddMouseButtonEvent(int button, bool down) + { + ImGuiNative.AddMouseButtonEvent(Handle, button, down ? (byte)1 : (byte)0); + } + public unsafe void AddMousePosEvent(float x, float y) + { + ImGuiNative.AddMousePosEvent(Handle, x, y); + } + public unsafe void AddMouseViewportEvent(uint id) + { + ImGuiNative.AddMouseViewportEvent(Handle, id); + } + public unsafe void AddMouseWheelEvent(float whX, float whY) + { + ImGuiNative.AddMouseWheelEvent(Handle, whX, whY); + } + public unsafe void ClearInputCharacters() + { + ImGuiNative.ClearInputCharacters(Handle); + } + public unsafe void ClearInputKeys() + { + ImGuiNative.ClearInputKeys(Handle); + } + public unsafe void Destroy() + { + ImGuiNative.Destroy(Handle); + } + public unsafe void SetAppAcceptingEvents(bool acceptingEvents) + { + ImGuiNative.SetAppAcceptingEvents(Handle, acceptingEvents ? (byte)1 : (byte)0); + } + public unsafe void SetKeyEventNativeData(ImGuiKey key, int nativeKeycode, int nativeScancode, int nativeLegacyIndex) + { + ImGuiNative.SetKeyEventNativeData(Handle, key, nativeKeycode, nativeScancode, nativeLegacyIndex); + } + public unsafe void SetKeyEventNativeData(ImGuiKey key, int nativeKeycode, int nativeScancode) + { + ImGuiNative.SetKeyEventNativeData(Handle, key, nativeKeycode, nativeScancode, (int)(-1)); + } +} +// DISCARDED: AddInputCharacter +// DISCARDED: AddInputCharactersUTF8 +// DISCARDED: AddInputCharacterUTF16 + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiInputEvent.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiInputEvent.gen.cs new file mode 100644 index 000000000..3bbc1ad3c --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiInputEvent.gen.cs @@ -0,0 +1,22 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiInputEvent +{ + public unsafe void Destroy() + { + fixed (ImGuiInputEvent* @this = &this) + { + ImGuiNative.Destroy(@this); + } + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiInputEventAppFocused.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiInputEventAppFocused.gen.cs new file mode 100644 index 000000000..b1c379d0a --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiInputEventAppFocused.gen.cs @@ -0,0 +1,15 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiInputEventAppFocused +{ +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiInputEventKey.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiInputEventKey.gen.cs new file mode 100644 index 000000000..e25f754f7 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiInputEventKey.gen.cs @@ -0,0 +1,15 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiInputEventKey +{ +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiInputEventMouseButton.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiInputEventMouseButton.gen.cs new file mode 100644 index 000000000..23395aa53 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiInputEventMouseButton.gen.cs @@ -0,0 +1,15 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiInputEventMouseButton +{ +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiInputEventMousePos.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiInputEventMousePos.gen.cs new file mode 100644 index 000000000..9e5566e2b --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiInputEventMousePos.gen.cs @@ -0,0 +1,15 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiInputEventMousePos +{ +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiInputEventMouseViewport.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiInputEventMouseViewport.gen.cs new file mode 100644 index 000000000..c37c19925 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiInputEventMouseViewport.gen.cs @@ -0,0 +1,15 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiInputEventMouseViewport +{ +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiInputEventMouseWheel.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiInputEventMouseWheel.gen.cs new file mode 100644 index 000000000..c5f5c29a5 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiInputEventMouseWheel.gen.cs @@ -0,0 +1,15 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiInputEventMouseWheel +{ +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiInputEventPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiInputEventPtr.gen.cs new file mode 100644 index 000000000..c4469ec26 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiInputEventPtr.gen.cs @@ -0,0 +1,19 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiInputEventPtr +{ + public unsafe void Destroy() + { + ImGuiNative.Destroy(Handle); + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiInputEventText.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiInputEventText.gen.cs new file mode 100644 index 000000000..4a7d398e5 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiInputEventText.gen.cs @@ -0,0 +1,15 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiInputEventText +{ +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiInputTextCallbackData.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiInputTextCallbackData.gen.cs new file mode 100644 index 000000000..511749bcb --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiInputTextCallbackData.gen.cs @@ -0,0 +1,52 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiInputTextCallbackData +{ + public unsafe void ClearSelection() + { + fixed (ImGuiInputTextCallbackData* @this = &this) + { + ImGuiNative.ClearSelection(@this); + } + } + public unsafe void DeleteChars(int pos, int bytesCount) + { + fixed (ImGuiInputTextCallbackData* @this = &this) + { + ImGuiNative.DeleteChars(@this, pos, bytesCount); + } + } + public unsafe void Destroy() + { + fixed (ImGuiInputTextCallbackData* @this = &this) + { + ImGuiNative.Destroy(@this); + } + } + public unsafe bool HasSelection() + { + fixed (ImGuiInputTextCallbackData* @this = &this) + { + byte ret = ImGuiNative.HasSelection(@this); + return ret != 0; + } + } + public unsafe void SelectAll() + { + fixed (ImGuiInputTextCallbackData* @this = &this) + { + ImGuiNative.SelectAll(@this); + } + } +} +// DISCARDED: InsertChars + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiInputTextCallbackDataPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiInputTextCallbackDataPtr.gen.cs new file mode 100644 index 000000000..849c60ef4 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiInputTextCallbackDataPtr.gen.cs @@ -0,0 +1,37 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiInputTextCallbackDataPtr +{ + public unsafe void ClearSelection() + { + ImGuiNative.ClearSelection(Handle); + } + public unsafe void DeleteChars(int pos, int bytesCount) + { + ImGuiNative.DeleteChars(Handle, pos, bytesCount); + } + public unsafe void Destroy() + { + ImGuiNative.Destroy(Handle); + } + public unsafe bool HasSelection() + { + byte ret = ImGuiNative.HasSelection(Handle); + return ret != 0; + } + public unsafe void SelectAll() + { + ImGuiNative.SelectAll(Handle); + } +} +// DISCARDED: InsertChars + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiInputTextState.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiInputTextState.gen.cs new file mode 100644 index 000000000..cf0f2a122 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiInputTextState.gen.cs @@ -0,0 +1,22 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiInputTextState +{ + public unsafe void Destroy() + { + fixed (ImGuiInputTextState* @this = &this) + { + ImGuiNative.Destroy(@this); + } + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiInputTextStatePtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiInputTextStatePtr.gen.cs new file mode 100644 index 000000000..0d1acd6cb --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiInputTextStatePtr.gen.cs @@ -0,0 +1,19 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiInputTextStatePtr +{ + public unsafe void Destroy() + { + ImGuiNative.Destroy(Handle); + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiKeyData.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiKeyData.gen.cs new file mode 100644 index 000000000..5c5ca435d --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiKeyData.gen.cs @@ -0,0 +1,15 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiKeyData +{ +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiKeyDataPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiKeyDataPtr.gen.cs new file mode 100644 index 000000000..5d4a4ac3e --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiKeyDataPtr.gen.cs @@ -0,0 +1,15 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiKeyDataPtr +{ +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiLastItemData.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiLastItemData.gen.cs new file mode 100644 index 000000000..3963c3867 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiLastItemData.gen.cs @@ -0,0 +1,22 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiLastItemData +{ + public unsafe void Destroy() + { + fixed (ImGuiLastItemData* @this = &this) + { + ImGuiNative.Destroy(@this); + } + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiLastItemDataPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiLastItemDataPtr.gen.cs new file mode 100644 index 000000000..03cd3669e --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiLastItemDataPtr.gen.cs @@ -0,0 +1,19 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiLastItemDataPtr +{ + public unsafe void Destroy() + { + ImGuiNative.Destroy(Handle); + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiListClipper.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiListClipper.gen.cs new file mode 100644 index 000000000..2cb71e3ee --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiListClipper.gen.cs @@ -0,0 +1,58 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiListClipper +{ + public unsafe void Begin(int itemsCount, float itemsHeight) + { + fixed (ImGuiListClipper* @this = &this) + { + ImGuiNative.Begin(@this, itemsCount, itemsHeight); + } + } + public unsafe void Begin(int itemsCount) + { + fixed (ImGuiListClipper* @this = &this) + { + ImGuiNative.Begin(@this, itemsCount, (float)(-1.0f)); + } + } + public unsafe void Destroy() + { + fixed (ImGuiListClipper* @this = &this) + { + ImGuiNative.Destroy(@this); + } + } + public unsafe void End() + { + fixed (ImGuiListClipper* @this = &this) + { + ImGuiNative.End(@this); + } + } + public unsafe void ForceDisplayRangeByIndices(int itemMin, int itemMax) + { + fixed (ImGuiListClipper* @this = &this) + { + ImGuiNative.ForceDisplayRangeByIndices(@this, itemMin, itemMax); + } + } + public unsafe bool Step() + { + fixed (ImGuiListClipper* @this = &this) + { + byte ret = ImGuiNative.Step(@this); + return ret != 0; + } + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiListClipperData.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiListClipperData.gen.cs new file mode 100644 index 000000000..09b338fc3 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiListClipperData.gen.cs @@ -0,0 +1,22 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiListClipperData +{ + public unsafe void Destroy() + { + fixed (ImGuiListClipperData* @this = &this) + { + ImGuiNative.Destroy(@this); + } + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiListClipperDataPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiListClipperDataPtr.gen.cs new file mode 100644 index 000000000..6b1fe9aef --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiListClipperDataPtr.gen.cs @@ -0,0 +1,19 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiListClipperDataPtr +{ + public unsafe void Destroy() + { + ImGuiNative.Destroy(Handle); + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiListClipperPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiListClipperPtr.gen.cs new file mode 100644 index 000000000..eda25fa58 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiListClipperPtr.gen.cs @@ -0,0 +1,40 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiListClipperPtr +{ + public unsafe void Begin(int itemsCount, float itemsHeight) + { + ImGuiNative.Begin(Handle, itemsCount, itemsHeight); + } + public unsafe void Begin(int itemsCount) + { + ImGuiNative.Begin(Handle, itemsCount, (float)(-1.0f)); + } + public unsafe void Destroy() + { + ImGuiNative.Destroy(Handle); + } + public unsafe void End() + { + ImGuiNative.End(Handle); + } + public unsafe void ForceDisplayRangeByIndices(int itemMin, int itemMax) + { + ImGuiNative.ForceDisplayRangeByIndices(Handle, itemMin, itemMax); + } + public unsafe bool Step() + { + byte ret = ImGuiNative.Step(Handle); + return ret != 0; + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiListClipperRange.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiListClipperRange.gen.cs new file mode 100644 index 000000000..ece752c83 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiListClipperRange.gen.cs @@ -0,0 +1,15 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiListClipperRange +{ +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiListClipperRangePtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiListClipperRangePtr.gen.cs new file mode 100644 index 000000000..439a14f3b --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiListClipperRangePtr.gen.cs @@ -0,0 +1,15 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiListClipperRangePtr +{ +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiMenuColumns.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiMenuColumns.gen.cs new file mode 100644 index 000000000..9ad4d2bae --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiMenuColumns.gen.cs @@ -0,0 +1,22 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiMenuColumns +{ + public unsafe void Destroy() + { + fixed (ImGuiMenuColumns* @this = &this) + { + ImGuiNative.Destroy(@this); + } + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiMenuColumnsPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiMenuColumnsPtr.gen.cs new file mode 100644 index 000000000..717db2fdf --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiMenuColumnsPtr.gen.cs @@ -0,0 +1,19 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiMenuColumnsPtr +{ + public unsafe void Destroy() + { + ImGuiNative.Destroy(Handle); + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiMetricsConfig.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiMetricsConfig.gen.cs new file mode 100644 index 000000000..876fb9871 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiMetricsConfig.gen.cs @@ -0,0 +1,22 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiMetricsConfig +{ + public unsafe void Destroy() + { + fixed (ImGuiMetricsConfig* @this = &this) + { + ImGuiNative.Destroy(@this); + } + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiMetricsConfigPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiMetricsConfigPtr.gen.cs new file mode 100644 index 000000000..5d4278371 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiMetricsConfigPtr.gen.cs @@ -0,0 +1,19 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiMetricsConfigPtr +{ + public unsafe void Destroy() + { + ImGuiNative.Destroy(Handle); + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiNavItemData.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiNavItemData.gen.cs new file mode 100644 index 000000000..757bc3a0a --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiNavItemData.gen.cs @@ -0,0 +1,22 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiNavItemData +{ + public unsafe void Destroy() + { + fixed (ImGuiNavItemData* @this = &this) + { + ImGuiNative.Destroy(@this); + } + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiNavItemDataPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiNavItemDataPtr.gen.cs new file mode 100644 index 000000000..8581bb0a2 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiNavItemDataPtr.gen.cs @@ -0,0 +1,19 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiNavItemDataPtr +{ + public unsafe void Destroy() + { + ImGuiNative.Destroy(Handle); + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiNextItemData.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiNextItemData.gen.cs new file mode 100644 index 000000000..9d3da6e5e --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiNextItemData.gen.cs @@ -0,0 +1,22 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiNextItemData +{ + public unsafe void Destroy() + { + fixed (ImGuiNextItemData* @this = &this) + { + ImGuiNative.Destroy(@this); + } + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiNextItemDataPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiNextItemDataPtr.gen.cs new file mode 100644 index 000000000..d0fefe239 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiNextItemDataPtr.gen.cs @@ -0,0 +1,19 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiNextItemDataPtr +{ + public unsafe void Destroy() + { + ImGuiNative.Destroy(Handle); + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiNextWindowData.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiNextWindowData.gen.cs new file mode 100644 index 000000000..c38fb2e3a --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiNextWindowData.gen.cs @@ -0,0 +1,22 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiNextWindowData +{ + public unsafe void Destroy() + { + fixed (ImGuiNextWindowData* @this = &this) + { + ImGuiNative.Destroy(@this); + } + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiNextWindowDataPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiNextWindowDataPtr.gen.cs new file mode 100644 index 000000000..505aca780 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiNextWindowDataPtr.gen.cs @@ -0,0 +1,19 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiNextWindowDataPtr +{ + public unsafe void Destroy() + { + ImGuiNative.Destroy(Handle); + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiOldColumnData.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiOldColumnData.gen.cs new file mode 100644 index 000000000..5d65d8b6a --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiOldColumnData.gen.cs @@ -0,0 +1,22 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiOldColumnData +{ + public unsafe void Destroy() + { + fixed (ImGuiOldColumnData* @this = &this) + { + ImGuiNative.Destroy(@this); + } + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiOldColumnDataPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiOldColumnDataPtr.gen.cs new file mode 100644 index 000000000..a9eb6cfc0 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiOldColumnDataPtr.gen.cs @@ -0,0 +1,19 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiOldColumnDataPtr +{ + public unsafe void Destroy() + { + ImGuiNative.Destroy(Handle); + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiOldColumns.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiOldColumns.gen.cs new file mode 100644 index 000000000..458d36981 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiOldColumns.gen.cs @@ -0,0 +1,22 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiOldColumns +{ + public unsafe void Destroy() + { + fixed (ImGuiOldColumns* @this = &this) + { + ImGuiNative.Destroy(@this); + } + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiOldColumnsPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiOldColumnsPtr.gen.cs new file mode 100644 index 000000000..8868ed7d5 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiOldColumnsPtr.gen.cs @@ -0,0 +1,19 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiOldColumnsPtr +{ + public unsafe void Destroy() + { + ImGuiNative.Destroy(Handle); + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiOnceUponAFrame.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiOnceUponAFrame.gen.cs new file mode 100644 index 000000000..d27329c85 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiOnceUponAFrame.gen.cs @@ -0,0 +1,22 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiOnceUponAFrame +{ + public unsafe void Destroy() + { + fixed (ImGuiOnceUponAFrame* @this = &this) + { + ImGuiNative.Destroy(@this); + } + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiOnceUponAFramePtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiOnceUponAFramePtr.gen.cs new file mode 100644 index 000000000..494d48914 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiOnceUponAFramePtr.gen.cs @@ -0,0 +1,19 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiOnceUponAFramePtr +{ + public unsafe void Destroy() + { + ImGuiNative.Destroy(Handle); + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiPayload.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiPayload.gen.cs new file mode 100644 index 000000000..a2db21747 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiPayload.gen.cs @@ -0,0 +1,46 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiPayload +{ + public unsafe void Clear() + { + fixed (ImGuiPayload* @this = &this) + { + ImGuiNative.Clear(@this); + } + } + public unsafe void Destroy() + { + fixed (ImGuiPayload* @this = &this) + { + ImGuiNative.Destroy(@this); + } + } + public unsafe bool IsDelivery() + { + fixed (ImGuiPayload* @this = &this) + { + byte ret = ImGuiNative.IsDelivery(@this); + return ret != 0; + } + } + public unsafe bool IsPreview() + { + fixed (ImGuiPayload* @this = &this) + { + byte ret = ImGuiNative.IsPreview(@this); + return ret != 0; + } + } +} +// DISCARDED: IsDataType + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiPayloadPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiPayloadPtr.gen.cs new file mode 100644 index 000000000..5dec38288 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiPayloadPtr.gen.cs @@ -0,0 +1,34 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiPayloadPtr +{ + public unsafe void Clear() + { + ImGuiNative.Clear(Handle); + } + public unsafe void Destroy() + { + ImGuiNative.Destroy(Handle); + } + public unsafe bool IsDelivery() + { + byte ret = ImGuiNative.IsDelivery(Handle); + return ret != 0; + } + public unsafe bool IsPreview() + { + byte ret = ImGuiNative.IsPreview(Handle); + return ret != 0; + } +} +// DISCARDED: IsDataType + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiPlatformIO.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiPlatformIO.gen.cs new file mode 100644 index 000000000..d0ab67a8e --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiPlatformIO.gen.cs @@ -0,0 +1,22 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiPlatformIO +{ + public unsafe void Destroy() + { + fixed (ImGuiPlatformIO* @this = &this) + { + ImGuiNative.Destroy(@this); + } + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiPlatformIOPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiPlatformIOPtr.gen.cs new file mode 100644 index 000000000..6614e1532 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiPlatformIOPtr.gen.cs @@ -0,0 +1,19 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiPlatformIOPtr +{ + public unsafe void Destroy() + { + ImGuiNative.Destroy(Handle); + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiPlatformImeData.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiPlatformImeData.gen.cs new file mode 100644 index 000000000..7bcbdd907 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiPlatformImeData.gen.cs @@ -0,0 +1,22 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiPlatformImeData +{ + public unsafe void Destroy() + { + fixed (ImGuiPlatformImeData* @this = &this) + { + ImGuiNative.Destroy(@this); + } + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiPlatformImeDataPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiPlatformImeDataPtr.gen.cs new file mode 100644 index 000000000..a330f293b --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiPlatformImeDataPtr.gen.cs @@ -0,0 +1,19 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiPlatformImeDataPtr +{ + public unsafe void Destroy() + { + ImGuiNative.Destroy(Handle); + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiPlatformMonitor.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiPlatformMonitor.gen.cs new file mode 100644 index 000000000..2b87b2c13 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiPlatformMonitor.gen.cs @@ -0,0 +1,22 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiPlatformMonitor +{ + public unsafe void Destroy() + { + fixed (ImGuiPlatformMonitor* @this = &this) + { + ImGuiNative.Destroy(@this); + } + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiPlatformMonitorPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiPlatformMonitorPtr.gen.cs new file mode 100644 index 000000000..74dbb3b52 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiPlatformMonitorPtr.gen.cs @@ -0,0 +1,19 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiPlatformMonitorPtr +{ + public unsafe void Destroy() + { + ImGuiNative.Destroy(Handle); + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiPopupData.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiPopupData.gen.cs new file mode 100644 index 000000000..04ba205e8 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiPopupData.gen.cs @@ -0,0 +1,22 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiPopupData +{ + public unsafe void Destroy() + { + fixed (ImGuiPopupData* @this = &this) + { + ImGuiNative.Destroy(@this); + } + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiPopupDataPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiPopupDataPtr.gen.cs new file mode 100644 index 000000000..5ca38dad4 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiPopupDataPtr.gen.cs @@ -0,0 +1,19 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiPopupDataPtr +{ + public unsafe void Destroy() + { + ImGuiNative.Destroy(Handle); + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiPtrOrIndex.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiPtrOrIndex.gen.cs new file mode 100644 index 000000000..08ba47b06 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiPtrOrIndex.gen.cs @@ -0,0 +1,22 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiPtrOrIndex +{ + public unsafe void Destroy() + { + fixed (ImGuiPtrOrIndex* @this = &this) + { + ImGuiNative.Destroy(@this); + } + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiPtrOrIndexPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiPtrOrIndexPtr.gen.cs new file mode 100644 index 000000000..bd65f96f5 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiPtrOrIndexPtr.gen.cs @@ -0,0 +1,19 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiPtrOrIndexPtr +{ + public unsafe void Destroy() + { + ImGuiNative.Destroy(Handle); + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiSettingsHandler.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiSettingsHandler.gen.cs new file mode 100644 index 000000000..a67ecb5e3 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiSettingsHandler.gen.cs @@ -0,0 +1,22 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiSettingsHandler +{ + public unsafe void Destroy() + { + fixed (ImGuiSettingsHandler* @this = &this) + { + ImGuiNative.Destroy(@this); + } + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiSettingsHandlerPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiSettingsHandlerPtr.gen.cs new file mode 100644 index 000000000..84d3e3e2b --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiSettingsHandlerPtr.gen.cs @@ -0,0 +1,19 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiSettingsHandlerPtr +{ + public unsafe void Destroy() + { + ImGuiNative.Destroy(Handle); + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiShrinkWidthItem.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiShrinkWidthItem.gen.cs new file mode 100644 index 000000000..e7d06ab7d --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiShrinkWidthItem.gen.cs @@ -0,0 +1,15 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiShrinkWidthItem +{ +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiShrinkWidthItemPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiShrinkWidthItemPtr.gen.cs new file mode 100644 index 000000000..e6fa465f9 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiShrinkWidthItemPtr.gen.cs @@ -0,0 +1,15 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiShrinkWidthItemPtr +{ +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiSizeCallbackData.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiSizeCallbackData.gen.cs new file mode 100644 index 000000000..aa3b74526 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiSizeCallbackData.gen.cs @@ -0,0 +1,15 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiSizeCallbackData +{ +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiStackLevelInfo.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiStackLevelInfo.gen.cs new file mode 100644 index 000000000..4d5b8d9cd --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiStackLevelInfo.gen.cs @@ -0,0 +1,22 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiStackLevelInfo +{ + public unsafe void Destroy() + { + fixed (ImGuiStackLevelInfo* @this = &this) + { + ImGuiNative.Destroy(@this); + } + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiStackLevelInfoPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiStackLevelInfoPtr.gen.cs new file mode 100644 index 000000000..9a2c46bc3 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiStackLevelInfoPtr.gen.cs @@ -0,0 +1,19 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiStackLevelInfoPtr +{ + public unsafe void Destroy() + { + ImGuiNative.Destroy(Handle); + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiStackSizes.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiStackSizes.gen.cs new file mode 100644 index 000000000..700515c21 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiStackSizes.gen.cs @@ -0,0 +1,22 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiStackSizes +{ + public unsafe void Destroy() + { + fixed (ImGuiStackSizes* @this = &this) + { + ImGuiNative.Destroy(@this); + } + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiStackSizesPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiStackSizesPtr.gen.cs new file mode 100644 index 000000000..08ae5176c --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiStackSizesPtr.gen.cs @@ -0,0 +1,19 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiStackSizesPtr +{ + public unsafe void Destroy() + { + ImGuiNative.Destroy(Handle); + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiStackTool.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiStackTool.gen.cs new file mode 100644 index 000000000..240cb054b --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiStackTool.gen.cs @@ -0,0 +1,22 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiStackTool +{ + public unsafe void Destroy() + { + fixed (ImGuiStackTool* @this = &this) + { + ImGuiNative.Destroy(@this); + } + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiStackToolPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiStackToolPtr.gen.cs new file mode 100644 index 000000000..6c412fe2a --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiStackToolPtr.gen.cs @@ -0,0 +1,19 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiStackToolPtr +{ + public unsafe void Destroy() + { + ImGuiNative.Destroy(Handle); + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiStorage.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiStorage.gen.cs new file mode 100644 index 000000000..dd22118e0 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiStorage.gen.cs @@ -0,0 +1,124 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiStorage +{ + public unsafe void BuildSortByKey() + { + fixed (ImGuiStorage* @this = &this) + { + ImGuiNative.BuildSortByKey(@this); + } + } + public unsafe void Clear() + { + fixed (ImGuiStorage* @this = &this) + { + ImGuiNative.Clear(@this); + } + } + public unsafe bool GetBool(uint key, bool defaultVal) + { + fixed (ImGuiStorage* @this = &this) + { + byte ret = ImGuiNative.GetBool(@this, key, defaultVal ? (byte)1 : (byte)0); + return ret != 0; + } + } + public unsafe bool GetBool(uint key) + { + fixed (ImGuiStorage* @this = &this) + { + byte ret = ImGuiNative.GetBool(@this, key, (byte)(0)); + return ret != 0; + } + } + public unsafe float GetFloat(uint key, float defaultVal) + { + fixed (ImGuiStorage* @this = &this) + { + float ret = ImGuiNative.GetFloat(@this, key, defaultVal); + return ret; + } + } + public unsafe float GetFloat(uint key) + { + fixed (ImGuiStorage* @this = &this) + { + float ret = ImGuiNative.GetFloat(@this, key, (float)(0.0f)); + return ret; + } + } + public unsafe int GetInt(uint key, int defaultVal) + { + fixed (ImGuiStorage* @this = &this) + { + int ret = ImGuiNative.GetInt(@this, key, defaultVal); + return ret; + } + } + public unsafe int GetInt(uint key) + { + fixed (ImGuiStorage* @this = &this) + { + int ret = ImGuiNative.GetInt(@this, key, (int)(0)); + return ret; + } + } + public unsafe void* GetVoidPtr(uint key) + { + fixed (ImGuiStorage* @this = &this) + { + void* ret = ImGuiNative.GetVoidPtr(@this, key); + return ret; + } + } + public unsafe void SetAllInt(int val) + { + fixed (ImGuiStorage* @this = &this) + { + ImGuiNative.SetAllInt(@this, val); + } + } + public unsafe void SetBool(uint key, bool val) + { + fixed (ImGuiStorage* @this = &this) + { + ImGuiNative.SetBool(@this, key, val ? (byte)1 : (byte)0); + } + } + public unsafe void SetFloat(uint key, float val) + { + fixed (ImGuiStorage* @this = &this) + { + ImGuiNative.SetFloat(@this, key, val); + } + } + public unsafe void SetInt(uint key, int val) + { + fixed (ImGuiStorage* @this = &this) + { + ImGuiNative.SetInt(@this, key, val); + } + } + public unsafe void SetVoidPtr(uint key, void* val) + { + fixed (ImGuiStorage* @this = &this) + { + ImGuiNative.SetVoidPtr(@this, key, val); + } + } +} +// DISCARDED: GetBoolRef +// DISCARDED: GetFloatRef +// DISCARDED: GetIntRef +// DISCARDED: GetVoidPtrRef + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiStoragePair.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiStoragePair.gen.cs new file mode 100644 index 000000000..7db41165a --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiStoragePair.gen.cs @@ -0,0 +1,22 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiStoragePair +{ + public unsafe void Destroy() + { + fixed (ImGuiStoragePair* @this = &this) + { + ImGuiNative.Destroy(@this); + } + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiStoragePairPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiStoragePairPtr.gen.cs new file mode 100644 index 000000000..bf5d4c320 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiStoragePairPtr.gen.cs @@ -0,0 +1,19 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiStoragePairPtr +{ + public unsafe void Destroy() + { + ImGuiNative.Destroy(Handle); + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiStoragePtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiStoragePtr.gen.cs new file mode 100644 index 000000000..8ce6b61e9 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiStoragePtr.gen.cs @@ -0,0 +1,82 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiStoragePtr +{ + public unsafe void BuildSortByKey() + { + ImGuiNative.BuildSortByKey(Handle); + } + public unsafe void Clear() + { + ImGuiNative.Clear(Handle); + } + public unsafe bool GetBool(uint key, bool defaultVal) + { + byte ret = ImGuiNative.GetBool(Handle, key, defaultVal ? (byte)1 : (byte)0); + return ret != 0; + } + public unsafe bool GetBool(uint key) + { + byte ret = ImGuiNative.GetBool(Handle, key, (byte)(0)); + return ret != 0; + } + public unsafe float GetFloat(uint key, float defaultVal) + { + float ret = ImGuiNative.GetFloat(Handle, key, defaultVal); + return ret; + } + public unsafe float GetFloat(uint key) + { + float ret = ImGuiNative.GetFloat(Handle, key, (float)(0.0f)); + return ret; + } + public unsafe int GetInt(uint key, int defaultVal) + { + int ret = ImGuiNative.GetInt(Handle, key, defaultVal); + return ret; + } + public unsafe int GetInt(uint key) + { + int ret = ImGuiNative.GetInt(Handle, key, (int)(0)); + return ret; + } + public unsafe void* GetVoidPtr(uint key) + { + void* ret = ImGuiNative.GetVoidPtr(Handle, key); + return ret; + } + public unsafe void SetAllInt(int val) + { + ImGuiNative.SetAllInt(Handle, val); + } + public unsafe void SetBool(uint key, bool val) + { + ImGuiNative.SetBool(Handle, key, val ? (byte)1 : (byte)0); + } + public unsafe void SetFloat(uint key, float val) + { + ImGuiNative.SetFloat(Handle, key, val); + } + public unsafe void SetInt(uint key, int val) + { + ImGuiNative.SetInt(Handle, key, val); + } + public unsafe void SetVoidPtr(uint key, void* val) + { + ImGuiNative.SetVoidPtr(Handle, key, val); + } +} +// DISCARDED: GetBoolRef +// DISCARDED: GetFloatRef +// DISCARDED: GetIntRef +// DISCARDED: GetVoidPtrRef + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiStyle.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiStyle.gen.cs new file mode 100644 index 000000000..f2c16041a --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiStyle.gen.cs @@ -0,0 +1,29 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiStyle +{ + public unsafe void Destroy() + { + fixed (ImGuiStyle* @this = &this) + { + ImGuiNative.Destroy(@this); + } + } + public unsafe void ScaleAllSizes(float scaleFactor) + { + fixed (ImGuiStyle* @this = &this) + { + ImGuiNative.ScaleAllSizes(@this, scaleFactor); + } + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiStyleMod.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiStyleMod.gen.cs new file mode 100644 index 000000000..f73cbbd84 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiStyleMod.gen.cs @@ -0,0 +1,22 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiStyleMod +{ + public unsafe void Destroy() + { + fixed (ImGuiStyleMod* @this = &this) + { + ImGuiNative.Destroy(@this); + } + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiStyleModPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiStyleModPtr.gen.cs new file mode 100644 index 000000000..b67acd04b --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiStyleModPtr.gen.cs @@ -0,0 +1,19 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiStyleModPtr +{ + public unsafe void Destroy() + { + ImGuiNative.Destroy(Handle); + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiStylePtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiStylePtr.gen.cs new file mode 100644 index 000000000..5690d0872 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiStylePtr.gen.cs @@ -0,0 +1,23 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiStylePtr +{ + public unsafe void Destroy() + { + ImGuiNative.Destroy(Handle); + } + public unsafe void ScaleAllSizes(float scaleFactor) + { + ImGuiNative.ScaleAllSizes(Handle, scaleFactor); + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTabBar.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTabBar.gen.cs new file mode 100644 index 000000000..aad4b15a0 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTabBar.gen.cs @@ -0,0 +1,22 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiTabBar +{ + public unsafe void Destroy() + { + fixed (ImGuiTabBar* @this = &this) + { + ImGuiNative.Destroy(@this); + } + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTabBarPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTabBarPtr.gen.cs new file mode 100644 index 000000000..35a11571f --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTabBarPtr.gen.cs @@ -0,0 +1,19 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiTabBarPtr +{ + public unsafe void Destroy() + { + ImGuiNative.Destroy(Handle); + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTabItem.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTabItem.gen.cs new file mode 100644 index 000000000..d9be5cde2 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTabItem.gen.cs @@ -0,0 +1,22 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiTabItem +{ + public unsafe void Destroy() + { + fixed (ImGuiTabItem* @this = &this) + { + ImGuiNative.Destroy(@this); + } + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTabItemPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTabItemPtr.gen.cs new file mode 100644 index 000000000..03f032ae7 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTabItemPtr.gen.cs @@ -0,0 +1,19 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiTabItemPtr +{ + public unsafe void Destroy() + { + ImGuiNative.Destroy(Handle); + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTable.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTable.gen.cs new file mode 100644 index 000000000..c1e238064 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTable.gen.cs @@ -0,0 +1,15 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiTable +{ +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTableCellData.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTableCellData.gen.cs new file mode 100644 index 000000000..e3e33c821 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTableCellData.gen.cs @@ -0,0 +1,15 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiTableCellData +{ +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTableCellDataPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTableCellDataPtr.gen.cs new file mode 100644 index 000000000..7ed59568a --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTableCellDataPtr.gen.cs @@ -0,0 +1,15 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiTableCellDataPtr +{ +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTableColumn.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTableColumn.gen.cs new file mode 100644 index 000000000..1d8a792a9 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTableColumn.gen.cs @@ -0,0 +1,22 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiTableColumn +{ + public unsafe void Destroy() + { + fixed (ImGuiTableColumn* @this = &this) + { + ImGuiNative.Destroy(@this); + } + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTableColumnPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTableColumnPtr.gen.cs new file mode 100644 index 000000000..b58c6bdfd --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTableColumnPtr.gen.cs @@ -0,0 +1,19 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiTableColumnPtr +{ + public unsafe void Destroy() + { + ImGuiNative.Destroy(Handle); + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTableColumnSettings.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTableColumnSettings.gen.cs new file mode 100644 index 000000000..4bdf2514c --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTableColumnSettings.gen.cs @@ -0,0 +1,22 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiTableColumnSettings +{ + public unsafe void Destroy() + { + fixed (ImGuiTableColumnSettings* @this = &this) + { + ImGuiNative.Destroy(@this); + } + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTableColumnSettingsPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTableColumnSettingsPtr.gen.cs new file mode 100644 index 000000000..f3eebda34 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTableColumnSettingsPtr.gen.cs @@ -0,0 +1,19 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiTableColumnSettingsPtr +{ + public unsafe void Destroy() + { + ImGuiNative.Destroy(Handle); + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTableColumnSortSpecs.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTableColumnSortSpecs.gen.cs new file mode 100644 index 000000000..560c0479f --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTableColumnSortSpecs.gen.cs @@ -0,0 +1,22 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiTableColumnSortSpecs +{ + public unsafe void Destroy() + { + fixed (ImGuiTableColumnSortSpecs* @this = &this) + { + ImGuiNative.Destroy(@this); + } + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTableColumnSortSpecsPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTableColumnSortSpecsPtr.gen.cs new file mode 100644 index 000000000..a5474f37a --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTableColumnSortSpecsPtr.gen.cs @@ -0,0 +1,19 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiTableColumnSortSpecsPtr +{ + public unsafe void Destroy() + { + ImGuiNative.Destroy(Handle); + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTableColumnsSettings.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTableColumnsSettings.gen.cs new file mode 100644 index 000000000..33246fa87 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTableColumnsSettings.gen.cs @@ -0,0 +1,15 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiTableColumnsSettings +{ +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTableInstanceData.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTableInstanceData.gen.cs new file mode 100644 index 000000000..6be8125aa --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTableInstanceData.gen.cs @@ -0,0 +1,22 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiTableInstanceData +{ + public unsafe void Destroy() + { + fixed (ImGuiTableInstanceData* @this = &this) + { + ImGuiNative.Destroy(@this); + } + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTableInstanceDataPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTableInstanceDataPtr.gen.cs new file mode 100644 index 000000000..2f0f44bb9 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTableInstanceDataPtr.gen.cs @@ -0,0 +1,19 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiTableInstanceDataPtr +{ + public unsafe void Destroy() + { + ImGuiNative.Destroy(Handle); + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTablePtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTablePtr.gen.cs new file mode 100644 index 000000000..91f0569ee --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTablePtr.gen.cs @@ -0,0 +1,15 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiTablePtr +{ +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTableSettings.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTableSettings.gen.cs new file mode 100644 index 000000000..8f750cf54 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTableSettings.gen.cs @@ -0,0 +1,22 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiTableSettings +{ + public unsafe void Destroy() + { + fixed (ImGuiTableSettings* @this = &this) + { + ImGuiNative.Destroy(@this); + } + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTableSettingsPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTableSettingsPtr.gen.cs new file mode 100644 index 000000000..00cf67d70 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTableSettingsPtr.gen.cs @@ -0,0 +1,19 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiTableSettingsPtr +{ + public unsafe void Destroy() + { + ImGuiNative.Destroy(Handle); + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTableSortSpecs.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTableSortSpecs.gen.cs new file mode 100644 index 000000000..e32e44949 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTableSortSpecs.gen.cs @@ -0,0 +1,22 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiTableSortSpecs +{ + public unsafe void Destroy() + { + fixed (ImGuiTableSortSpecs* @this = &this) + { + ImGuiNative.Destroy(@this); + } + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTableSortSpecsPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTableSortSpecsPtr.gen.cs new file mode 100644 index 000000000..3ae71e11e --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTableSortSpecsPtr.gen.cs @@ -0,0 +1,19 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiTableSortSpecsPtr +{ + public unsafe void Destroy() + { + ImGuiNative.Destroy(Handle); + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTableTempData.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTableTempData.gen.cs new file mode 100644 index 000000000..fa2715038 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTableTempData.gen.cs @@ -0,0 +1,22 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiTableTempData +{ + public unsafe void Destroy() + { + fixed (ImGuiTableTempData* @this = &this) + { + ImGuiNative.Destroy(@this); + } + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTableTempDataPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTableTempDataPtr.gen.cs new file mode 100644 index 000000000..e950701b3 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTableTempDataPtr.gen.cs @@ -0,0 +1,19 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiTableTempDataPtr +{ + public unsafe void Destroy() + { + ImGuiNative.Destroy(Handle); + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTextBuffer.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTextBuffer.gen.cs new file mode 100644 index 000000000..902472c02 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTextBuffer.gen.cs @@ -0,0 +1,61 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiTextBuffer +{ + public unsafe void clear() + { + fixed (ImGuiTextBuffer* @this = &this) + { + ImGuiNative.clear(@this); + } + } + public unsafe void Destroy() + { + fixed (ImGuiTextBuffer* @this = &this) + { + ImGuiNative.Destroy(@this); + } + } + public unsafe bool empty() + { + fixed (ImGuiTextBuffer* @this = &this) + { + byte ret = ImGuiNative.empty(@this); + return ret != 0; + } + } + public unsafe void reserve(int capacity) + { + fixed (ImGuiTextBuffer* @this = &this) + { + ImGuiNative.reserve(@this, capacity); + } + } + public unsafe int size() + { + fixed (ImGuiTextBuffer* @this = &this) + { + int ret = ImGuiNative.size(@this); + return ret; + } + } +} +// DISCARDED: append +// DISCARDED: appendf +// DISCARDED: appendfv +// DISCARDED: begin +// DISCARDED: beginS +// DISCARDED: c_str +// DISCARDED: c_strS +// DISCARDED: end +// DISCARDED: endS + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTextBufferPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTextBufferPtr.gen.cs new file mode 100644 index 000000000..f1a03482c --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTextBufferPtr.gen.cs @@ -0,0 +1,46 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiTextBufferPtr +{ + public unsafe void clear() + { + ImGuiNative.clear(Handle); + } + public unsafe void Destroy() + { + ImGuiNative.Destroy(Handle); + } + public unsafe bool empty() + { + byte ret = ImGuiNative.empty(Handle); + return ret != 0; + } + public unsafe void reserve(int capacity) + { + ImGuiNative.reserve(Handle, capacity); + } + public unsafe int size() + { + int ret = ImGuiNative.size(Handle); + return ret; + } +} +// DISCARDED: append +// DISCARDED: appendf +// DISCARDED: appendfv +// DISCARDED: begin +// DISCARDED: beginS +// DISCARDED: c_str +// DISCARDED: c_strS +// DISCARDED: end +// DISCARDED: endS + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTextFilter.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTextFilter.gen.cs new file mode 100644 index 000000000..6acd610ff --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTextFilter.gen.cs @@ -0,0 +1,46 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiTextFilter +{ + public unsafe void Build() + { + fixed (ImGuiTextFilter* @this = &this) + { + ImGuiNative.Build(@this); + } + } + public unsafe void Clear() + { + fixed (ImGuiTextFilter* @this = &this) + { + ImGuiNative.Clear(@this); + } + } + public unsafe void Destroy() + { + fixed (ImGuiTextFilter* @this = &this) + { + ImGuiNative.Destroy(@this); + } + } + public unsafe bool IsActive() + { + fixed (ImGuiTextFilter* @this = &this) + { + byte ret = ImGuiNative.IsActive(@this); + return ret != 0; + } + } +} +// DISCARDED: Draw +// DISCARDED: PassFilter + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTextFilterPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTextFilterPtr.gen.cs new file mode 100644 index 000000000..2470cb0f6 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTextFilterPtr.gen.cs @@ -0,0 +1,34 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiTextFilterPtr +{ + public unsafe void Build() + { + ImGuiNative.Build(Handle); + } + public unsafe void Clear() + { + ImGuiNative.Clear(Handle); + } + public unsafe void Destroy() + { + ImGuiNative.Destroy(Handle); + } + public unsafe bool IsActive() + { + byte ret = ImGuiNative.IsActive(Handle); + return ret != 0; + } +} +// DISCARDED: Draw +// DISCARDED: PassFilter + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTextRange.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTextRange.gen.cs new file mode 100644 index 000000000..0902d8254 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTextRange.gen.cs @@ -0,0 +1,47 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiTextRange +{ + public unsafe void Destroy() + { + fixed (ImGuiTextRange* @this = &this) + { + ImGuiNative.Destroy(@this); + } + } + public unsafe bool empty() + { + fixed (ImGuiTextRange* @this = &this) + { + byte ret = ImGuiNative.empty(@this); + return ret != 0; + } + } + public unsafe void split(byte separator, ImVector* output) + { + fixed (ImGuiTextRange* @this = &this) + { + ImGuiNative.split(@this, separator, output); + } + } + public unsafe void split(byte separator, ref ImVector output) + { + fixed (ImGuiTextRange* @this = &this) + { + fixed (ImVector* poutput = &output) + { + ImGuiNative.split(@this, separator, (ImVector*)poutput); + } + } + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTextRangePtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTextRangePtr.gen.cs new file mode 100644 index 000000000..8dfdc67f3 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiTextRangePtr.gen.cs @@ -0,0 +1,35 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiTextRangePtr +{ + public unsafe void Destroy() + { + ImGuiNative.Destroy(Handle); + } + public unsafe bool empty() + { + byte ret = ImGuiNative.empty(Handle); + return ret != 0; + } + public unsafe void split(byte separator, ImVector* output) + { + ImGuiNative.split(Handle, separator, output); + } + public unsafe void split(byte separator, ref ImVector output) + { + fixed (ImVector* poutput = &output) + { + ImGuiNative.split(Handle, separator, (ImVector*)poutput); + } + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiViewport.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiViewport.gen.cs new file mode 100644 index 000000000..ee2165eb6 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiViewport.gen.cs @@ -0,0 +1,22 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiViewport +{ + public unsafe void Destroy() + { + fixed (ImGuiViewport* @this = &this) + { + ImGuiNative.Destroy(@this); + } + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiViewportP.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiViewportP.gen.cs new file mode 100644 index 000000000..f505fd913 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiViewportP.gen.cs @@ -0,0 +1,15 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiViewportP +{ +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiViewportPPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiViewportPPtr.gen.cs new file mode 100644 index 000000000..23d081673 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiViewportPPtr.gen.cs @@ -0,0 +1,15 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiViewportPPtr +{ +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiViewportPPtrPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiViewportPPtrPtr.gen.cs new file mode 100644 index 000000000..100e5a6aa --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiViewportPPtrPtr.gen.cs @@ -0,0 +1,15 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiViewportPPtrPtr +{ +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiViewportPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiViewportPtr.gen.cs new file mode 100644 index 000000000..9b4e99572 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiViewportPtr.gen.cs @@ -0,0 +1,19 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiViewportPtr +{ + public unsafe void Destroy() + { + ImGuiNative.Destroy(Handle); + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiViewportPtrPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiViewportPtrPtr.gen.cs new file mode 100644 index 000000000..932dd2fb7 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiViewportPtrPtr.gen.cs @@ -0,0 +1,15 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiViewportPtrPtr +{ +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiWindow.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiWindow.gen.cs new file mode 100644 index 000000000..6a14c7f67 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiWindow.gen.cs @@ -0,0 +1,15 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiWindow +{ +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiWindowClass.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiWindowClass.gen.cs new file mode 100644 index 000000000..8d5c64f6a --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiWindowClass.gen.cs @@ -0,0 +1,22 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiWindowClass +{ + public unsafe void Destroy() + { + fixed (ImGuiWindowClass* @this = &this) + { + ImGuiNative.Destroy(@this); + } + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiWindowClassPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiWindowClassPtr.gen.cs new file mode 100644 index 000000000..87c8f02fc --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiWindowClassPtr.gen.cs @@ -0,0 +1,19 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiWindowClassPtr +{ + public unsafe void Destroy() + { + ImGuiNative.Destroy(Handle); + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiWindowDockStyle.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiWindowDockStyle.gen.cs new file mode 100644 index 000000000..769cbe51a --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiWindowDockStyle.gen.cs @@ -0,0 +1,15 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiWindowDockStyle +{ +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiWindowPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiWindowPtr.gen.cs new file mode 100644 index 000000000..ab091e3e0 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiWindowPtr.gen.cs @@ -0,0 +1,15 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiWindowPtr +{ +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiWindowPtrPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiWindowPtrPtr.gen.cs new file mode 100644 index 000000000..4ea675d77 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiWindowPtrPtr.gen.cs @@ -0,0 +1,15 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiWindowPtrPtr +{ +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiWindowSettings.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiWindowSettings.gen.cs new file mode 100644 index 000000000..0dd1f8ab2 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiWindowSettings.gen.cs @@ -0,0 +1,22 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiWindowSettings +{ + public unsafe void Destroy() + { + fixed (ImGuiWindowSettings* @this = &this) + { + ImGuiNative.Destroy(@this); + } + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiWindowSettingsPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiWindowSettingsPtr.gen.cs new file mode 100644 index 000000000..6b646a3b6 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiWindowSettingsPtr.gen.cs @@ -0,0 +1,19 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiWindowSettingsPtr +{ + public unsafe void Destroy() + { + ImGuiNative.Destroy(Handle); + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiWindowStackData.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiWindowStackData.gen.cs new file mode 100644 index 000000000..5487fa658 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiWindowStackData.gen.cs @@ -0,0 +1,15 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiWindowStackData +{ +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiWindowStackDataPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiWindowStackDataPtr.gen.cs new file mode 100644 index 000000000..3260ca47f --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiWindowStackDataPtr.gen.cs @@ -0,0 +1,15 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiWindowStackDataPtr +{ +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiWindowTempData.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiWindowTempData.gen.cs new file mode 100644 index 000000000..a9c99fb2f --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImGuiWindowTempData.gen.cs @@ -0,0 +1,15 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiWindowTempData +{ +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImPoolImGuiTabBar.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImPoolImGuiTabBar.gen.cs new file mode 100644 index 000000000..cec5bc071 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImPoolImGuiTabBar.gen.cs @@ -0,0 +1,15 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImPoolImGuiTabBar +{ +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImPoolImGuiTable.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImPoolImGuiTable.gen.cs new file mode 100644 index 000000000..d4880dc8c --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImPoolImGuiTable.gen.cs @@ -0,0 +1,15 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImPoolImGuiTable +{ +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImRect.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImRect.gen.cs new file mode 100644 index 000000000..1277235a8 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImRect.gen.cs @@ -0,0 +1,22 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImRect +{ + public unsafe void Destroy() + { + fixed (ImRect* @this = &this) + { + ImGuiNative.Destroy(@this); + } + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImRectPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImRectPtr.gen.cs new file mode 100644 index 000000000..c15383bb2 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImRectPtr.gen.cs @@ -0,0 +1,19 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImRectPtr +{ + public unsafe void Destroy() + { + ImGuiNative.Destroy(Handle); + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImSpanImGuiTableCellData.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImSpanImGuiTableCellData.gen.cs new file mode 100644 index 000000000..a712caff8 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImSpanImGuiTableCellData.gen.cs @@ -0,0 +1,15 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImSpanImGuiTableCellData +{ +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImSpanImGuiTableColumn.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImSpanImGuiTableColumn.gen.cs new file mode 100644 index 000000000..e20ac0509 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImSpanImGuiTableColumn.gen.cs @@ -0,0 +1,15 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImSpanImGuiTableColumn +{ +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImSpanImGuiTableColumnIdx.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImSpanImGuiTableColumnIdx.gen.cs new file mode 100644 index 000000000..446a9134a --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImSpanImGuiTableColumnIdx.gen.cs @@ -0,0 +1,15 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImSpanImGuiTableColumnIdx +{ +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImVec1.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImVec1.gen.cs new file mode 100644 index 000000000..3b5377e44 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImVec1.gen.cs @@ -0,0 +1,22 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImVec1 +{ + public unsafe void Destroy() + { + fixed (ImVec1* @this = &this) + { + ImGuiNative.Destroy(@this); + } + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImVec1Ptr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImVec1Ptr.gen.cs new file mode 100644 index 000000000..78d47bf9d --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImVec1Ptr.gen.cs @@ -0,0 +1,19 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImVec1Ptr +{ + public unsafe void Destroy() + { + ImGuiNative.Destroy(Handle); + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImVec2Ih.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImVec2Ih.gen.cs new file mode 100644 index 000000000..c110b6293 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImVec2Ih.gen.cs @@ -0,0 +1,22 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImVec2Ih +{ + public unsafe void Destroy() + { + fixed (ImVec2Ih* @this = &this) + { + ImGuiNative.Destroy(@this); + } + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImVec2IhPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImVec2IhPtr.gen.cs new file mode 100644 index 000000000..6f7759bdb --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/ImVec2IhPtr.gen.cs @@ -0,0 +1,19 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImVec2IhPtr +{ + public unsafe void Destroy() + { + ImGuiNative.Destroy(Handle); + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/STBTexteditState.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/STBTexteditState.gen.cs new file mode 100644 index 000000000..a2012943e --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/STBTexteditState.gen.cs @@ -0,0 +1,15 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct STBTexteditState +{ +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/StbTexteditRow.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/StbTexteditRow.gen.cs new file mode 100644 index 000000000..d561cc218 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/StbTexteditRow.gen.cs @@ -0,0 +1,15 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct StbTexteditRow +{ +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/StbUndoRecord.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/StbUndoRecord.gen.cs new file mode 100644 index 000000000..b38b7476b --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/StbUndoRecord.gen.cs @@ -0,0 +1,15 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct StbUndoRecord +{ +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/StbUndoState.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/StbUndoState.gen.cs new file mode 100644 index 000000000..138d0ed24 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/StbUndoState.gen.cs @@ -0,0 +1,15 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct StbUndoState +{ +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/StbttPackContext.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/StbttPackContext.gen.cs new file mode 100644 index 000000000..8da0c50b0 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/StbttPackContext.gen.cs @@ -0,0 +1,15 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct StbttPackContext +{ +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/StbttPackContextPtr.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/StbttPackContextPtr.gen.cs new file mode 100644 index 000000000..142106368 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated/Structs/StbttPackContextPtr.gen.cs @@ -0,0 +1,15 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct StbttPackContextPtr +{ +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Internals/Functions.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Internals/Functions.gen.cs new file mode 100644 index 000000000..7c50bc4bc --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Internals/Functions.gen.cs @@ -0,0 +1,128 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +/* Functions.000.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGuiP + { + } +} +/* Functions.001.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGuiP + { + } +} +/* Functions.002.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGuiP + { + } +} +/* Functions.003.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGuiP + { + } +} +/* Functions.004.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGuiP + { + } +} +/* Functions.005.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGuiP + { + } +} +/* Functions.006.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGuiP + { + } +} +/* Functions.007.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGuiP + { + } +} +/* Functions.008.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGuiP + { + } +} +/* Functions.009.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGuiP + { + } +} +/* Functions.010.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGuiP + { + } +} +/* Functions.011.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGuiP + { + } +} +/* Functions.012.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGuiP + { + } +} +/* Functions.013.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGuiP + { + } +} +/* Functions.014.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGuiP + { + } +} +/* Functions.015.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGuiP + { + } +} +/* Functions.016.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGuiP + { + } +} diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Internals/Functions/ImGuiP.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Internals/Functions/ImGuiP.gen.cs new file mode 100644 index 000000000..08148462e --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Internals/Functions/ImGuiP.gen.cs @@ -0,0 +1,6597 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial class ImGuiP +{ + public static void ImQsort(void* baseValue, nuint count, nuint sizeOfElement, delegate*, int> compareFunc) + { + ImGuiPNative.ImQsort(baseValue, count, sizeOfElement, compareFunc); + } + public static uint ImAlphaBlendColors(uint colA, uint colB) + { + uint ret = ImGuiPNative.ImAlphaBlendColors(colA, colB); + return ret; + } + public static bool ImIsPowerOfTwo(int v) + { + byte ret = ImGuiPNative.ImIsPowerOfTwo(v); + return ret != 0; + } + public static bool ImIsPowerOfTwo(ulong v) + { + byte ret = ImGuiPNative.ImIsPowerOfTwo(v); + return ret != 0; + } + public static int ImUpperPowerOfTwo(int v) + { + int ret = ImGuiPNative.ImUpperPowerOfTwo(v); + return ret; + } + public static ushort* ImStrbolW(ushort* bufMidLine, ushort* bufBegin) + { + ushort* ret = ImGuiPNative.ImStrbolW(bufMidLine, bufBegin); + return ret; + } + public static bool ImCharIsBlankA(byte c) + { + byte ret = ImGuiPNative.ImCharIsBlankA(c); + return ret != 0; + } + public static bool ImCharIsBlankW(uint c) + { + byte ret = ImGuiPNative.ImCharIsBlankW(c); + return ret != 0; + } + public static int ImTextCountUtf8BytesFromStr(ushort* inText, ushort* inTextEnd) + { + int ret = ImGuiPNative.ImTextCountUtf8BytesFromStr(inText, inTextEnd); + return ret; + } + public static bool ImFileClose(ImFileHandle file) + { + byte ret = ImGuiPNative.ImFileClose(file); + return ret != 0; + } + public static ulong ImFileGetSize(ImFileHandle file) + { + ulong ret = ImGuiPNative.ImFileGetSize(file); + return ret; + } + public static ulong ImFileRead(void* data, ulong size, ulong count, ImFileHandle file) + { + ulong ret = ImGuiPNative.ImFileRead(data, size, count, file); + return ret; + } + public static ulong ImFileWrite(void* data, ulong size, ulong count, ImFileHandle file) + { + ulong ret = ImGuiPNative.ImFileWrite(data, size, count, file); + return ret; + } + public static float ImPow(float x, float y) + { + float ret = ImGuiPNative.ImPow(x, y); + return ret; + } + public static double ImPow(double x, double y) + { + double ret = ImGuiPNative.ImPow(x, y); + return ret; + } + public static float ImLog(float x) + { + float ret = ImGuiPNative.ImLog(x); + return ret; + } + public static double ImLog(double x) + { + double ret = ImGuiPNative.ImLog(x); + return ret; + } + public static int ImAbs(int x) + { + int ret = ImGuiPNative.ImAbs(x); + return ret; + } + public static float ImAbs(float x) + { + float ret = ImGuiPNative.ImAbs(x); + return ret; + } + public static double ImAbs(double x) + { + double ret = ImGuiPNative.ImAbs(x); + return ret; + } + public static float ImSign(float x) + { + float ret = ImGuiPNative.ImSign(x); + return ret; + } + public static double ImSign(double x) + { + double ret = ImGuiPNative.ImSign(x); + return ret; + } + public static float ImRsqrt(float x) + { + float ret = ImGuiPNative.ImRsqrt(x); + return ret; + } + public static double ImRsqrt(double x) + { + double ret = ImGuiPNative.ImRsqrt(x); + return ret; + } + public static Vector2 ImMin(Vector2 lhs, Vector2 rhs) + { + Vector2 ret; + ImGuiPNative.ImMin(&ret, lhs, rhs); + return ret; + } + public static void ImMin(Vector2* pOut, Vector2 lhs, Vector2 rhs) + { + ImGuiPNative.ImMin(pOut, lhs, rhs); + } + public static void ImMin(ref Vector2 pOut, Vector2 lhs, Vector2 rhs) + { + fixed (Vector2* ppOut = &pOut) + { + ImGuiPNative.ImMin((Vector2*)ppOut, lhs, rhs); + } + } + public static Vector2 ImMax(Vector2 lhs, Vector2 rhs) + { + Vector2 ret; + ImGuiPNative.ImMax(&ret, lhs, rhs); + return ret; + } + public static void ImMax(Vector2* pOut, Vector2 lhs, Vector2 rhs) + { + ImGuiPNative.ImMax(pOut, lhs, rhs); + } + public static void ImMax(ref Vector2 pOut, Vector2 lhs, Vector2 rhs) + { + fixed (Vector2* ppOut = &pOut) + { + ImGuiPNative.ImMax((Vector2*)ppOut, lhs, rhs); + } + } + public static Vector2 ImClamp(Vector2 v, Vector2 mn, Vector2 mx) + { + Vector2 ret; + ImGuiPNative.ImClamp(&ret, v, mn, mx); + return ret; + } + public static void ImClamp(Vector2* pOut, Vector2 v, Vector2 mn, Vector2 mx) + { + ImGuiPNative.ImClamp(pOut, v, mn, mx); + } + public static void ImClamp(ref Vector2 pOut, Vector2 v, Vector2 mn, Vector2 mx) + { + fixed (Vector2* ppOut = &pOut) + { + ImGuiPNative.ImClamp((Vector2*)ppOut, v, mn, mx); + } + } + public static Vector2 ImLerp(Vector2 a, Vector2 b, float t) + { + Vector2 ret; + ImGuiPNative.ImLerp(&ret, a, b, t); + return ret; + } + public static void ImLerp(Vector2* pOut, Vector2 a, Vector2 b, float t) + { + ImGuiPNative.ImLerp(pOut, a, b, t); + } + public static void ImLerp(ref Vector2 pOut, Vector2 a, Vector2 b, float t) + { + fixed (Vector2* ppOut = &pOut) + { + ImGuiPNative.ImLerp((Vector2*)ppOut, a, b, t); + } + } + public static Vector2 ImLerp(Vector2 a, Vector2 b, Vector2 t) + { + Vector2 ret; + ImGuiPNative.ImLerp(&ret, a, b, t); + return ret; + } + public static void ImLerp(Vector2* pOut, Vector2 a, Vector2 b, Vector2 t) + { + ImGuiPNative.ImLerp(pOut, a, b, t); + } + public static void ImLerp(ref Vector2 pOut, Vector2 a, Vector2 b, Vector2 t) + { + fixed (Vector2* ppOut = &pOut) + { + ImGuiPNative.ImLerp((Vector2*)ppOut, a, b, t); + } + } + public static Vector4 ImLerp(Vector4 a, Vector4 b, float t) + { + Vector4 ret; + ImGuiPNative.ImLerp(&ret, a, b, t); + return ret; + } + public static void ImLerp(Vector4* pOut, Vector4 a, Vector4 b, float t) + { + ImGuiPNative.ImLerp(pOut, a, b, t); + } + public static void ImLerp(ref Vector4 pOut, Vector4 a, Vector4 b, float t) + { + fixed (Vector4* ppOut = &pOut) + { + ImGuiPNative.ImLerp((Vector4*)ppOut, a, b, t); + } + } + public static float ImSaturate(float f) + { + float ret = ImGuiPNative.ImSaturate(f); + return ret; + } + public static float ImLengthSqr(Vector2 lhs) + { + float ret = ImGuiPNative.ImLengthSqr(lhs); + return ret; + } + public static float ImLengthSqr(Vector4 lhs) + { + float ret = ImGuiPNative.ImLengthSqr(lhs); + return ret; + } + public static float ImInvLength(Vector2 lhs, float failValue) + { + float ret = ImGuiPNative.ImInvLength(lhs, failValue); + return ret; + } + public static float ImFloor(float f) + { + float ret = ImGuiPNative.ImFloor(f); + return ret; + } + public static Vector2 ImFloor(Vector2 v) + { + Vector2 ret; + ImGuiPNative.ImFloor(&ret, v); + return ret; + } + public static void ImFloor(Vector2* pOut, Vector2 v) + { + ImGuiPNative.ImFloor(pOut, v); + } + public static void ImFloor(ref Vector2 pOut, Vector2 v) + { + fixed (Vector2* ppOut = &pOut) + { + ImGuiPNative.ImFloor((Vector2*)ppOut, v); + } + } + public static float ImFloorSigned(float f) + { + float ret = ImGuiPNative.ImFloorSigned(f); + return ret; + } + public static Vector2 ImFloorSigned(Vector2 v) + { + Vector2 ret; + ImGuiPNative.ImFloorSigned(&ret, v); + return ret; + } + public static void ImFloorSigned(Vector2* pOut, Vector2 v) + { + ImGuiPNative.ImFloorSigned(pOut, v); + } + public static void ImFloorSigned(ref Vector2 pOut, Vector2 v) + { + fixed (Vector2* ppOut = &pOut) + { + ImGuiPNative.ImFloorSigned((Vector2*)ppOut, v); + } + } + public static int ImModPositive(int a, int b) + { + int ret = ImGuiPNative.ImModPositive(a, b); + return ret; + } + public static float ImDot(Vector2 a, Vector2 b) + { + float ret = ImGuiPNative.ImDot(a, b); + return ret; + } + public static Vector2 ImRotate(Vector2 v, float cosA, float sinA) + { + Vector2 ret; + ImGuiPNative.ImRotate(&ret, v, cosA, sinA); + return ret; + } + public static void ImRotate(Vector2* pOut, Vector2 v, float cosA, float sinA) + { + ImGuiPNative.ImRotate(pOut, v, cosA, sinA); + } + public static void ImRotate(ref Vector2 pOut, Vector2 v, float cosA, float sinA) + { + fixed (Vector2* ppOut = &pOut) + { + ImGuiPNative.ImRotate((Vector2*)ppOut, v, cosA, sinA); + } + } + public static float ImLinearSweep(float current, float target, float speed) + { + float ret = ImGuiPNative.ImLinearSweep(current, target, speed); + return ret; + } + public static Vector2 ImMul(Vector2 lhs, Vector2 rhs) + { + Vector2 ret; + ImGuiPNative.ImMul(&ret, lhs, rhs); + return ret; + } + public static void ImMul(Vector2* pOut, Vector2 lhs, Vector2 rhs) + { + ImGuiPNative.ImMul(pOut, lhs, rhs); + } + public static void ImMul(ref Vector2 pOut, Vector2 lhs, Vector2 rhs) + { + fixed (Vector2* ppOut = &pOut) + { + ImGuiPNative.ImMul((Vector2*)ppOut, lhs, rhs); + } + } + public static bool ImIsFloatAboveGuaranteedIntegerPrecision(float f) + { + byte ret = ImGuiPNative.ImIsFloatAboveGuaranteedIntegerPrecision(f); + return ret != 0; + } + public static Vector2 ImBezierCubicCalc(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, float t) + { + Vector2 ret; + ImGuiPNative.ImBezierCubicCalc(&ret, p1, p2, p3, p4, t); + return ret; + } + public static void ImBezierCubicCalc(Vector2* pOut, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, float t) + { + ImGuiPNative.ImBezierCubicCalc(pOut, p1, p2, p3, p4, t); + } + public static void ImBezierCubicCalc(ref Vector2 pOut, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, float t) + { + fixed (Vector2* ppOut = &pOut) + { + ImGuiPNative.ImBezierCubicCalc((Vector2*)ppOut, p1, p2, p3, p4, t); + } + } + public static Vector2 ImBezierCubicClosestPoint(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 p, int numSegments) + { + Vector2 ret; + ImGuiPNative.ImBezierCubicClosestPoint(&ret, p1, p2, p3, p4, p, numSegments); + return ret; + } + public static void ImBezierCubicClosestPoint(Vector2* pOut, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 p, int numSegments) + { + ImGuiPNative.ImBezierCubicClosestPoint(pOut, p1, p2, p3, p4, p, numSegments); + } + public static void ImBezierCubicClosestPoint(ref Vector2 pOut, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 p, int numSegments) + { + fixed (Vector2* ppOut = &pOut) + { + ImGuiPNative.ImBezierCubicClosestPoint((Vector2*)ppOut, p1, p2, p3, p4, p, numSegments); + } + } + public static Vector2 ImBezierCubicClosestPointCasteljau(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 p, float tessTol) + { + Vector2 ret; + ImGuiPNative.ImBezierCubicClosestPointCasteljau(&ret, p1, p2, p3, p4, p, tessTol); + return ret; + } + public static void ImBezierCubicClosestPointCasteljau(Vector2* pOut, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 p, float tessTol) + { + ImGuiPNative.ImBezierCubicClosestPointCasteljau(pOut, p1, p2, p3, p4, p, tessTol); + } + public static void ImBezierCubicClosestPointCasteljau(ref Vector2 pOut, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 p, float tessTol) + { + fixed (Vector2* ppOut = &pOut) + { + ImGuiPNative.ImBezierCubicClosestPointCasteljau((Vector2*)ppOut, p1, p2, p3, p4, p, tessTol); + } + } + public static Vector2 ImBezierQuadraticCalc(Vector2 p1, Vector2 p2, Vector2 p3, float t) + { + Vector2 ret; + ImGuiPNative.ImBezierQuadraticCalc(&ret, p1, p2, p3, t); + return ret; + } + public static void ImBezierQuadraticCalc(Vector2* pOut, Vector2 p1, Vector2 p2, Vector2 p3, float t) + { + ImGuiPNative.ImBezierQuadraticCalc(pOut, p1, p2, p3, t); + } + public static void ImBezierQuadraticCalc(ref Vector2 pOut, Vector2 p1, Vector2 p2, Vector2 p3, float t) + { + fixed (Vector2* ppOut = &pOut) + { + ImGuiPNative.ImBezierQuadraticCalc((Vector2*)ppOut, p1, p2, p3, t); + } + } + public static Vector2 ImLineClosestPoint(Vector2 a, Vector2 b, Vector2 p) + { + Vector2 ret; + ImGuiPNative.ImLineClosestPoint(&ret, a, b, p); + return ret; + } + public static void ImLineClosestPoint(Vector2* pOut, Vector2 a, Vector2 b, Vector2 p) + { + ImGuiPNative.ImLineClosestPoint(pOut, a, b, p); + } + public static void ImLineClosestPoint(ref Vector2 pOut, Vector2 a, Vector2 b, Vector2 p) + { + fixed (Vector2* ppOut = &pOut) + { + ImGuiPNative.ImLineClosestPoint((Vector2*)ppOut, a, b, p); + } + } + public static bool ImTriangleContainsPoint(Vector2 a, Vector2 b, Vector2 c, Vector2 p) + { + byte ret = ImGuiPNative.ImTriangleContainsPoint(a, b, c, p); + return ret != 0; + } + public static Vector2 ImTriangleClosestPoint(Vector2 a, Vector2 b, Vector2 c, Vector2 p) + { + Vector2 ret; + ImGuiPNative.ImTriangleClosestPoint(&ret, a, b, c, p); + return ret; + } + public static void ImTriangleClosestPoint(Vector2* pOut, Vector2 a, Vector2 b, Vector2 c, Vector2 p) + { + ImGuiPNative.ImTriangleClosestPoint(pOut, a, b, c, p); + } + public static void ImTriangleClosestPoint(ref Vector2 pOut, Vector2 a, Vector2 b, Vector2 c, Vector2 p) + { + fixed (Vector2* ppOut = &pOut) + { + ImGuiPNative.ImTriangleClosestPoint((Vector2*)ppOut, a, b, c, p); + } + } + public static void ImTriangleBarycentricCoords(Vector2 a, Vector2 b, Vector2 c, Vector2 p, float* outU, float* outV, float* outW) + { + ImGuiPNative.ImTriangleBarycentricCoords(a, b, c, p, outU, outV, outW); + } + public static void ImTriangleBarycentricCoords(Vector2 a, Vector2 b, Vector2 c, Vector2 p, ref float outU, float* outV, float* outW) + { + fixed (float* poutU = &outU) + { + ImGuiPNative.ImTriangleBarycentricCoords(a, b, c, p, (float*)poutU, outV, outW); + } + } + public static void ImTriangleBarycentricCoords(Vector2 a, Vector2 b, Vector2 c, Vector2 p, float* outU, ref float outV, float* outW) + { + fixed (float* poutV = &outV) + { + ImGuiPNative.ImTriangleBarycentricCoords(a, b, c, p, outU, (float*)poutV, outW); + } + } + public static void ImTriangleBarycentricCoords(Vector2 a, Vector2 b, Vector2 c, Vector2 p, ref float outU, ref float outV, float* outW) + { + fixed (float* poutU = &outU) + { + fixed (float* poutV = &outV) + { + ImGuiPNative.ImTriangleBarycentricCoords(a, b, c, p, (float*)poutU, (float*)poutV, outW); + } + } + } + public static void ImTriangleBarycentricCoords(Vector2 a, Vector2 b, Vector2 c, Vector2 p, float* outU, float* outV, ref float outW) + { + fixed (float* poutW = &outW) + { + ImGuiPNative.ImTriangleBarycentricCoords(a, b, c, p, outU, outV, (float*)poutW); + } + } + public static void ImTriangleBarycentricCoords(Vector2 a, Vector2 b, Vector2 c, Vector2 p, ref float outU, float* outV, ref float outW) + { + fixed (float* poutU = &outU) + { + fixed (float* poutW = &outW) + { + ImGuiPNative.ImTriangleBarycentricCoords(a, b, c, p, (float*)poutU, outV, (float*)poutW); + } + } + } + public static void ImTriangleBarycentricCoords(Vector2 a, Vector2 b, Vector2 c, Vector2 p, float* outU, ref float outV, ref float outW) + { + fixed (float* poutV = &outV) + { + fixed (float* poutW = &outW) + { + ImGuiPNative.ImTriangleBarycentricCoords(a, b, c, p, outU, (float*)poutV, (float*)poutW); + } + } + } + public static void ImTriangleBarycentricCoords(Vector2 a, Vector2 b, Vector2 c, Vector2 p, ref float outU, ref float outV, ref float outW) + { + fixed (float* poutU = &outU) + { + fixed (float* poutV = &outV) + { + fixed (float* poutW = &outW) + { + ImGuiPNative.ImTriangleBarycentricCoords(a, b, c, p, (float*)poutU, (float*)poutV, (float*)poutW); + } + } + } + } + public static float ImTriangleArea(Vector2 a, Vector2 b, Vector2 c) + { + float ret = ImGuiPNative.ImTriangleArea(a, b, c); + return ret; + } + public static ImGuiDir ImGetDirQuadrantFromDelta(float dx, float dy) + { + ImGuiDir ret = ImGuiPNative.ImGetDirQuadrantFromDelta(dx, dy); + return ret; + } + public static ImVec1Ptr ImVec1() + { + ImVec1Ptr ret = ImGuiPNative.ImVec1(); + return ret; + } + public static ImVec1Ptr ImVec1(float x) + { + ImVec1Ptr ret = ImGuiPNative.ImVec1(x); + return ret; + } + public static ImVec2IhPtr ImVec2ih() + { + ImVec2IhPtr ret = ImGuiPNative.ImVec2ih(); + return ret; + } + public static ImVec2IhPtr ImVec2ih(short x, short y) + { + ImVec2IhPtr ret = ImGuiPNative.ImVec2ih(x, y); + return ret; + } + public static ImVec2IhPtr ImVec2ih(Vector2 rhs) + { + ImVec2IhPtr ret = ImGuiPNative.ImVec2ih(rhs); + return ret; + } + public static ImRectPtr ImRect() + { + ImRectPtr ret = ImGuiPNative.ImRect(); + return ret; + } + public static ImRectPtr ImRect(Vector2 min, Vector2 max) + { + ImRectPtr ret = ImGuiPNative.ImRect(min, max); + return ret; + } + public static ImRectPtr ImRect(Vector4 v) + { + ImRectPtr ret = ImGuiPNative.ImRect(v); + return ret; + } + public static ImRectPtr ImRect(float x1, float y1, float x2, float y2) + { + ImRectPtr ret = ImGuiPNative.ImRect(x1, y1, x2, y2); + return ret; + } + public static Vector2 GetCenter(this ImRectPtr self) + { + Vector2 ret; + ImGuiPNative.GetCenter(&ret, self); + return ret; + } + public static void GetCenter(Vector2* pOut, ImRectPtr self) + { + ImGuiPNative.GetCenter(pOut, self); + } + public static void GetCenter(ref Vector2 pOut, ImRectPtr self) + { + fixed (Vector2* ppOut = &pOut) + { + ImGuiPNative.GetCenter((Vector2*)ppOut, self); + } + } + public static Vector2 GetCenter(this scoped in ImRect self) + { + fixed (ImRect* pself = &self) + { + Vector2 ret; + ImGuiPNative.GetCenter(&ret, (ImRect*)pself); + return ret; + } + } + public static void GetCenter(Vector2* pOut, ref ImRect self) + { + fixed (ImRect* pself = &self) + { + ImGuiPNative.GetCenter(pOut, (ImRect*)pself); + } + } + public static void GetCenter(ref Vector2 pOut, ref ImRect self) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImRect* pself = &self) + { + ImGuiPNative.GetCenter((Vector2*)ppOut, (ImRect*)pself); + } + } + } + public static Vector2 GetSize(this ImRectPtr self) + { + Vector2 ret; + ImGuiPNative.GetSize(&ret, self); + return ret; + } + public static void GetSize(Vector2* pOut, ImRectPtr self) + { + ImGuiPNative.GetSize(pOut, self); + } + public static void GetSize(ref Vector2 pOut, ImRectPtr self) + { + fixed (Vector2* ppOut = &pOut) + { + ImGuiPNative.GetSize((Vector2*)ppOut, self); + } + } + public static Vector2 GetSize(this scoped in ImRect self) + { + fixed (ImRect* pself = &self) + { + Vector2 ret; + ImGuiPNative.GetSize(&ret, (ImRect*)pself); + return ret; + } + } + public static void GetSize(Vector2* pOut, ref ImRect self) + { + fixed (ImRect* pself = &self) + { + ImGuiPNative.GetSize(pOut, (ImRect*)pself); + } + } + public static void GetSize(ref Vector2 pOut, ref ImRect self) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImRect* pself = &self) + { + ImGuiPNative.GetSize((Vector2*)ppOut, (ImRect*)pself); + } + } + } + public static float GetWidth(this ImRectPtr self) + { + float ret = ImGuiPNative.GetWidth(self); + return ret; + } + public static float GetWidth(this scoped in ImRect self) + { + fixed (ImRect* pself = &self) + { + float ret = ImGuiPNative.GetWidth((ImRect*)pself); + return ret; + } + } + public static float GetHeight(this ImRectPtr self) + { + float ret = ImGuiPNative.GetHeight(self); + return ret; + } + public static float GetHeight(this scoped in ImRect self) + { + fixed (ImRect* pself = &self) + { + float ret = ImGuiPNative.GetHeight((ImRect*)pself); + return ret; + } + } + public static float GetArea(this ImRectPtr self) + { + float ret = ImGuiPNative.GetArea(self); + return ret; + } + public static float GetArea(this scoped in ImRect self) + { + fixed (ImRect* pself = &self) + { + float ret = ImGuiPNative.GetArea((ImRect*)pself); + return ret; + } + } + public static Vector2 GetTL(this ImRectPtr self) + { + Vector2 ret; + ImGuiPNative.GetTL(&ret, self); + return ret; + } + public static void GetTL(Vector2* pOut, ImRectPtr self) + { + ImGuiPNative.GetTL(pOut, self); + } + public static void GetTL(ref Vector2 pOut, ImRectPtr self) + { + fixed (Vector2* ppOut = &pOut) + { + ImGuiPNative.GetTL((Vector2*)ppOut, self); + } + } + public static Vector2 GetTL(this scoped in ImRect self) + { + fixed (ImRect* pself = &self) + { + Vector2 ret; + ImGuiPNative.GetTL(&ret, (ImRect*)pself); + return ret; + } + } + public static void GetTL(Vector2* pOut, ref ImRect self) + { + fixed (ImRect* pself = &self) + { + ImGuiPNative.GetTL(pOut, (ImRect*)pself); + } + } + public static void GetTL(ref Vector2 pOut, ref ImRect self) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImRect* pself = &self) + { + ImGuiPNative.GetTL((Vector2*)ppOut, (ImRect*)pself); + } + } + } + public static Vector2 GetTR(this ImRectPtr self) + { + Vector2 ret; + ImGuiPNative.GetTR(&ret, self); + return ret; + } + public static void GetTR(Vector2* pOut, ImRectPtr self) + { + ImGuiPNative.GetTR(pOut, self); + } + public static void GetTR(ref Vector2 pOut, ImRectPtr self) + { + fixed (Vector2* ppOut = &pOut) + { + ImGuiPNative.GetTR((Vector2*)ppOut, self); + } + } + public static Vector2 GetTR(this scoped in ImRect self) + { + fixed (ImRect* pself = &self) + { + Vector2 ret; + ImGuiPNative.GetTR(&ret, (ImRect*)pself); + return ret; + } + } + public static void GetTR(Vector2* pOut, ref ImRect self) + { + fixed (ImRect* pself = &self) + { + ImGuiPNative.GetTR(pOut, (ImRect*)pself); + } + } + public static void GetTR(ref Vector2 pOut, ref ImRect self) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImRect* pself = &self) + { + ImGuiPNative.GetTR((Vector2*)ppOut, (ImRect*)pself); + } + } + } + public static Vector2 GetBL(this ImRectPtr self) + { + Vector2 ret; + ImGuiPNative.GetBL(&ret, self); + return ret; + } + public static void GetBL(Vector2* pOut, ImRectPtr self) + { + ImGuiPNative.GetBL(pOut, self); + } + public static void GetBL(ref Vector2 pOut, ImRectPtr self) + { + fixed (Vector2* ppOut = &pOut) + { + ImGuiPNative.GetBL((Vector2*)ppOut, self); + } + } + public static Vector2 GetBL(this scoped in ImRect self) + { + fixed (ImRect* pself = &self) + { + Vector2 ret; + ImGuiPNative.GetBL(&ret, (ImRect*)pself); + return ret; + } + } + public static void GetBL(Vector2* pOut, ref ImRect self) + { + fixed (ImRect* pself = &self) + { + ImGuiPNative.GetBL(pOut, (ImRect*)pself); + } + } + public static void GetBL(ref Vector2 pOut, ref ImRect self) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImRect* pself = &self) + { + ImGuiPNative.GetBL((Vector2*)ppOut, (ImRect*)pself); + } + } + } + public static Vector2 GetBR(this ImRectPtr self) + { + Vector2 ret; + ImGuiPNative.GetBR(&ret, self); + return ret; + } + public static void GetBR(Vector2* pOut, ImRectPtr self) + { + ImGuiPNative.GetBR(pOut, self); + } + public static void GetBR(ref Vector2 pOut, ImRectPtr self) + { + fixed (Vector2* ppOut = &pOut) + { + ImGuiPNative.GetBR((Vector2*)ppOut, self); + } + } + public static Vector2 GetBR(this scoped in ImRect self) + { + fixed (ImRect* pself = &self) + { + Vector2 ret; + ImGuiPNative.GetBR(&ret, (ImRect*)pself); + return ret; + } + } + public static void GetBR(Vector2* pOut, ref ImRect self) + { + fixed (ImRect* pself = &self) + { + ImGuiPNative.GetBR(pOut, (ImRect*)pself); + } + } + public static void GetBR(ref Vector2 pOut, ref ImRect self) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImRect* pself = &self) + { + ImGuiPNative.GetBR((Vector2*)ppOut, (ImRect*)pself); + } + } + } + public static bool Contains(this ImRectPtr self, Vector2 p) + { + byte ret = ImGuiPNative.Contains(self, p); + return ret != 0; + } + public static bool Contains(this ref ImRect self, Vector2 p) + { + fixed (ImRect* pself = &self) + { + byte ret = ImGuiPNative.Contains((ImRect*)pself, p); + return ret != 0; + } + } + public static bool Contains(this ImRectPtr self, ImRect r) + { + byte ret = ImGuiPNative.Contains(self, r); + return ret != 0; + } + public static bool Contains(this ref ImRect self, ImRect r) + { + fixed (ImRect* pself = &self) + { + byte ret = ImGuiPNative.Contains((ImRect*)pself, r); + return ret != 0; + } + } + public static bool Overlaps(this ImRectPtr self, ImRect r) + { + byte ret = ImGuiPNative.Overlaps(self, r); + return ret != 0; + } + public static bool Overlaps(this ref ImRect self, ImRect r) + { + fixed (ImRect* pself = &self) + { + byte ret = ImGuiPNative.Overlaps((ImRect*)pself, r); + return ret != 0; + } + } + public static void Add(this ImRectPtr self, Vector2 p) + { + ImGuiPNative.Add(self, p); + } + public static void Add(this ref ImRect self, Vector2 p) + { + fixed (ImRect* pself = &self) + { + ImGuiPNative.Add((ImRect*)pself, p); + } + } + public static void Add(this ImRectPtr self, ImRect r) + { + ImGuiPNative.Add(self, r); + } + public static void Add(this ref ImRect self, ImRect r) + { + fixed (ImRect* pself = &self) + { + ImGuiPNative.Add((ImRect*)pself, r); + } + } + public static void Expand(this ImRectPtr self, float amount) + { + ImGuiPNative.Expand(self, amount); + } + public static void Expand(this ref ImRect self, float amount) + { + fixed (ImRect* pself = &self) + { + ImGuiPNative.Expand((ImRect*)pself, amount); + } + } + public static void Expand(this ImRectPtr self, Vector2 amount) + { + ImGuiPNative.Expand(self, amount); + } + public static void Expand(this ref ImRect self, Vector2 amount) + { + fixed (ImRect* pself = &self) + { + ImGuiPNative.Expand((ImRect*)pself, amount); + } + } + public static void Translate(this ImRectPtr self, Vector2 d) + { + ImGuiPNative.Translate(self, d); + } + public static void Translate(this ref ImRect self, Vector2 d) + { + fixed (ImRect* pself = &self) + { + ImGuiPNative.Translate((ImRect*)pself, d); + } + } + public static void TranslateX(this ImRectPtr self, float dx) + { + ImGuiPNative.TranslateX(self, dx); + } + public static void TranslateX(this ref ImRect self, float dx) + { + fixed (ImRect* pself = &self) + { + ImGuiPNative.TranslateX((ImRect*)pself, dx); + } + } + public static void TranslateY(this ImRectPtr self, float dy) + { + ImGuiPNative.TranslateY(self, dy); + } + public static void TranslateY(this ref ImRect self, float dy) + { + fixed (ImRect* pself = &self) + { + ImGuiPNative.TranslateY((ImRect*)pself, dy); + } + } + public static void ClipWith(this ImRectPtr self, ImRect r) + { + ImGuiPNative.ClipWith(self, r); + } + public static void ClipWith(this ref ImRect self, ImRect r) + { + fixed (ImRect* pself = &self) + { + ImGuiPNative.ClipWith((ImRect*)pself, r); + } + } + public static void ClipWithFull(this ImRectPtr self, ImRect r) + { + ImGuiPNative.ClipWithFull(self, r); + } + public static void ClipWithFull(this ref ImRect self, ImRect r) + { + fixed (ImRect* pself = &self) + { + ImGuiPNative.ClipWithFull((ImRect*)pself, r); + } + } + public static void Floor(this ImRectPtr self) + { + ImGuiPNative.Floor(self); + } + public static void Floor(this ref ImRect self) + { + fixed (ImRect* pself = &self) + { + ImGuiPNative.Floor((ImRect*)pself); + } + } + public static bool IsInverted(this ImRectPtr self) + { + byte ret = ImGuiPNative.IsInverted(self); + return ret != 0; + } + public static bool IsInverted(this ref ImRect self) + { + fixed (ImRect* pself = &self) + { + byte ret = ImGuiPNative.IsInverted((ImRect*)pself); + return ret != 0; + } + } + public static Vector4 ToVec4(this ImRectPtr self) + { + Vector4 ret; + ImGuiPNative.ToVec4(&ret, self); + return ret; + } + public static void ToVec4(Vector4* pOut, ImRectPtr self) + { + ImGuiPNative.ToVec4(pOut, self); + } + public static void ToVec4(ref Vector4 pOut, ImRectPtr self) + { + fixed (Vector4* ppOut = &pOut) + { + ImGuiPNative.ToVec4((Vector4*)ppOut, self); + } + } + public static Vector4 ToVec4(this ref ImRect self) + { + fixed (ImRect* pself = &self) + { + Vector4 ret; + ImGuiPNative.ToVec4(&ret, (ImRect*)pself); + return ret; + } + } + public static void ToVec4(Vector4* pOut, ref ImRect self) + { + fixed (ImRect* pself = &self) + { + ImGuiPNative.ToVec4(pOut, (ImRect*)pself); + } + } + public static void ToVec4(ref Vector4 pOut, ref ImRect self) + { + fixed (Vector4* ppOut = &pOut) + { + fixed (ImRect* pself = &self) + { + ImGuiPNative.ToVec4((Vector4*)ppOut, (ImRect*)pself); + } + } + } + public static bool ImBitArrayTestBit(uint* arr, int n) + { + byte ret = ImGuiPNative.ImBitArrayTestBit(arr, n); + return ret != 0; + } + public static void ImBitArrayClearBit(uint* arr, int n) + { + ImGuiPNative.ImBitArrayClearBit(arr, n); + } + public static void ImBitArraySetBit(uint* arr, int n) + { + ImGuiPNative.ImBitArraySetBit(arr, n); + } + public static void ImBitArraySetBitRange(uint* arr, int n, int n2) + { + ImGuiPNative.ImBitArraySetBitRange(arr, n, n2); + } + public static void Create(this ImBitVectorPtr self, int sz) + { + ImGuiPNative.Create(self, sz); + } + public static void Create(this ref ImBitVector self, int sz) + { + fixed (ImBitVector* pself = &self) + { + ImGuiPNative.Create((ImBitVector*)pself, sz); + } + } + public static void Clear(this ImBitVectorPtr self) + { + ImGuiPNative.Clear(self); + } + public static void Clear(this ref ImBitVector self) + { + fixed (ImBitVector* pself = &self) + { + ImGuiPNative.Clear((ImBitVector*)pself); + } + } + public static void Clear(this ImDrawDataBuilderPtr self) + { + ImGuiPNative.Clear(self); + } + public static void Clear(this ref ImDrawDataBuilder self) + { + fixed (ImDrawDataBuilder* pself = &self) + { + ImGuiPNative.Clear((ImDrawDataBuilder*)pself); + } + } + public static void Clear(this ImGuiNavItemDataPtr self) + { + ImGuiPNative.Clear(self); + } + public static void Clear(this ref ImGuiNavItemData self) + { + fixed (ImGuiNavItemData* pself = &self) + { + ImGuiPNative.Clear((ImGuiNavItemData*)pself); + } + } + public static bool TestBit(this ImBitVectorPtr self, int n) + { + byte ret = ImGuiPNative.TestBit(self, n); + return ret != 0; + } + public static bool TestBit(this ref ImBitVector self, int n) + { + fixed (ImBitVector* pself = &self) + { + byte ret = ImGuiPNative.TestBit((ImBitVector*)pself, n); + return ret != 0; + } + } + public static void SetBit(this ImBitVectorPtr self, int n) + { + ImGuiPNative.SetBit(self, n); + } + public static void SetBit(this ref ImBitVector self, int n) + { + fixed (ImBitVector* pself = &self) + { + ImGuiPNative.SetBit((ImBitVector*)pself, n); + } + } + public static void ClearBit(this ImBitVectorPtr self, int n) + { + ImGuiPNative.ClearBit(self, n); + } + public static void ClearBit(this ref ImBitVector self, int n) + { + fixed (ImBitVector* pself = &self) + { + ImGuiPNative.ClearBit((ImBitVector*)pself, n); + } + } + public static ImDrawListSharedDataPtr ImDrawListSharedData() + { + ImDrawListSharedDataPtr ret = ImGuiPNative.ImDrawListSharedData(); + return ret; + } + public static void SetCircleTessellationMaxError(this ImDrawListSharedDataPtr self, float maxError) + { + ImGuiPNative.SetCircleTessellationMaxError(self, maxError); + } + public static void SetCircleTessellationMaxError(this ref ImDrawListSharedData self, float maxError) + { + fixed (ImDrawListSharedData* pself = &self) + { + ImGuiPNative.SetCircleTessellationMaxError((ImDrawListSharedData*)pself, maxError); + } + } + public static void ClearFreeMemory(this ImDrawDataBuilderPtr self) + { + ImGuiPNative.ClearFreeMemory(self); + } + public static void ClearFreeMemory(this ref ImDrawDataBuilder self) + { + fixed (ImDrawDataBuilder* pself = &self) + { + ImGuiPNative.ClearFreeMemory((ImDrawDataBuilder*)pself); + } + } + public static void ClearFreeMemory(this ImGuiInputTextStatePtr self) + { + ImGuiPNative.ClearFreeMemory(self); + } + public static void ClearFreeMemory(this ref ImGuiInputTextState self) + { + fixed (ImGuiInputTextState* pself = &self) + { + ImGuiPNative.ClearFreeMemory((ImGuiInputTextState*)pself); + } + } + public static int GetDrawListCount(this ImDrawDataBuilderPtr self) + { + int ret = ImGuiPNative.GetDrawListCount(self); + return ret; + } + public static int GetDrawListCount(this scoped in ImDrawDataBuilder self) + { + fixed (ImDrawDataBuilder* pself = &self) + { + int ret = ImGuiPNative.GetDrawListCount((ImDrawDataBuilder*)pself); + return ret; + } + } + public static void FlattenIntoSingleLayer(this ImDrawDataBuilderPtr self) + { + ImGuiPNative.FlattenIntoSingleLayer(self); + } + public static void FlattenIntoSingleLayer(this ref ImDrawDataBuilder self) + { + fixed (ImDrawDataBuilder* pself = &self) + { + ImGuiPNative.FlattenIntoSingleLayer((ImDrawDataBuilder*)pself); + } + } + public static ImGuiStyleModPtr ImGuiStyleMod(ImGuiStyleVar idx, int v) + { + ImGuiStyleModPtr ret = ImGuiPNative.ImGuiStyleMod(idx, v); + return ret; + } + public static ImGuiStyleModPtr ImGuiStyleMod(ImGuiStyleVar idx, float v) + { + ImGuiStyleModPtr ret = ImGuiPNative.ImGuiStyleMod(idx, v); + return ret; + } + public static ImGuiStyleModPtr ImGuiStyleMod(ImGuiStyleVar idx, Vector2 v) + { + ImGuiStyleModPtr ret = ImGuiPNative.ImGuiStyleMod(idx, v); + return ret; + } + public static ImGuiComboPreviewDataPtr ImGuiComboPreviewData() + { + ImGuiComboPreviewDataPtr ret = ImGuiPNative.ImGuiComboPreviewData(); + return ret; + } + public static ImGuiMenuColumnsPtr ImGuiMenuColumns() + { + ImGuiMenuColumnsPtr ret = ImGuiPNative.ImGuiMenuColumns(); + return ret; + } + public static void Update(this ImGuiMenuColumnsPtr self, float spacing, bool windowReappearing) + { + ImGuiPNative.Update(self, spacing, windowReappearing ? (byte)1 : (byte)0); + } + public static void Update(this ref ImGuiMenuColumns self, float spacing, bool windowReappearing) + { + fixed (ImGuiMenuColumns* pself = &self) + { + ImGuiPNative.Update((ImGuiMenuColumns*)pself, spacing, windowReappearing ? (byte)1 : (byte)0); + } + } + public static float DeclColumns(this ImGuiMenuColumnsPtr self, float wIcon, float wLabel, float wShortcut, float wMark) + { + float ret = ImGuiPNative.DeclColumns(self, wIcon, wLabel, wShortcut, wMark); + return ret; + } + public static float DeclColumns(this ref ImGuiMenuColumns self, float wIcon, float wLabel, float wShortcut, float wMark) + { + fixed (ImGuiMenuColumns* pself = &self) + { + float ret = ImGuiPNative.DeclColumns((ImGuiMenuColumns*)pself, wIcon, wLabel, wShortcut, wMark); + return ret; + } + } + public static void CalcNextTotalWidth(this ImGuiMenuColumnsPtr self, bool updateOffsets) + { + ImGuiPNative.CalcNextTotalWidth(self, updateOffsets ? (byte)1 : (byte)0); + } + public static void CalcNextTotalWidth(this ref ImGuiMenuColumns self, bool updateOffsets) + { + fixed (ImGuiMenuColumns* pself = &self) + { + ImGuiPNative.CalcNextTotalWidth((ImGuiMenuColumns*)pself, updateOffsets ? (byte)1 : (byte)0); + } + } + public static ImGuiInputTextStatePtr ImGuiInputTextState() + { + ImGuiInputTextStatePtr ret = ImGuiPNative.ImGuiInputTextState(); + return ret; + } + public static void ClearText(this ImGuiInputTextStatePtr self) + { + ImGuiPNative.ClearText(self); + } + public static void ClearText(this ref ImGuiInputTextState self) + { + fixed (ImGuiInputTextState* pself = &self) + { + ImGuiPNative.ClearText((ImGuiInputTextState*)pself); + } + } + public static int GetUndoAvailCount(this ImGuiInputTextStatePtr self) + { + int ret = ImGuiPNative.GetUndoAvailCount(self); + return ret; + } + public static int GetUndoAvailCount(this scoped in ImGuiInputTextState self) + { + fixed (ImGuiInputTextState* pself = &self) + { + int ret = ImGuiPNative.GetUndoAvailCount((ImGuiInputTextState*)pself); + return ret; + } + } + public static int GetRedoAvailCount(this ImGuiInputTextStatePtr self) + { + int ret = ImGuiPNative.GetRedoAvailCount(self); + return ret; + } + public static int GetRedoAvailCount(this scoped in ImGuiInputTextState self) + { + fixed (ImGuiInputTextState* pself = &self) + { + int ret = ImGuiPNative.GetRedoAvailCount((ImGuiInputTextState*)pself); + return ret; + } + } + public static void OnKeyPressed(this ImGuiInputTextStatePtr self, int key) + { + ImGuiPNative.OnKeyPressed(self, key); + } + public static void OnKeyPressed(this ref ImGuiInputTextState self, int key) + { + fixed (ImGuiInputTextState* pself = &self) + { + ImGuiPNative.OnKeyPressed((ImGuiInputTextState*)pself, key); + } + } + public static void CursorAnimReset(this ImGuiInputTextStatePtr self) + { + ImGuiPNative.CursorAnimReset(self); + } + public static void CursorAnimReset(this ref ImGuiInputTextState self) + { + fixed (ImGuiInputTextState* pself = &self) + { + ImGuiPNative.CursorAnimReset((ImGuiInputTextState*)pself); + } + } + public static void CursorClamp(this ImGuiInputTextStatePtr self) + { + ImGuiPNative.CursorClamp(self); + } + public static void CursorClamp(this ref ImGuiInputTextState self) + { + fixed (ImGuiInputTextState* pself = &self) + { + ImGuiPNative.CursorClamp((ImGuiInputTextState*)pself); + } + } + public static bool HasSelection(this ImGuiInputTextStatePtr self) + { + byte ret = ImGuiPNative.HasSelection(self); + return ret != 0; + } + public static bool HasSelection(this ref ImGuiInputTextState self) + { + fixed (ImGuiInputTextState* pself = &self) + { + byte ret = ImGuiPNative.HasSelection((ImGuiInputTextState*)pself); + return ret != 0; + } + } + public static void ClearSelection(this ImGuiInputTextStatePtr self) + { + ImGuiPNative.ClearSelection(self); + } + public static void ClearSelection(this ref ImGuiInputTextState self) + { + fixed (ImGuiInputTextState* pself = &self) + { + ImGuiPNative.ClearSelection((ImGuiInputTextState*)pself); + } + } + public static int GetCursorPos(this ImGuiInputTextStatePtr self) + { + int ret = ImGuiPNative.GetCursorPos(self); + return ret; + } + public static int GetCursorPos(this scoped in ImGuiInputTextState self) + { + fixed (ImGuiInputTextState* pself = &self) + { + int ret = ImGuiPNative.GetCursorPos((ImGuiInputTextState*)pself); + return ret; + } + } + public static int GetSelectionStart(this ImGuiInputTextStatePtr self) + { + int ret = ImGuiPNative.GetSelectionStart(self); + return ret; + } + public static int GetSelectionStart(this scoped in ImGuiInputTextState self) + { + fixed (ImGuiInputTextState* pself = &self) + { + int ret = ImGuiPNative.GetSelectionStart((ImGuiInputTextState*)pself); + return ret; + } + } + public static int GetSelectionEnd(this ImGuiInputTextStatePtr self) + { + int ret = ImGuiPNative.GetSelectionEnd(self); + return ret; + } + public static int GetSelectionEnd(this scoped in ImGuiInputTextState self) + { + fixed (ImGuiInputTextState* pself = &self) + { + int ret = ImGuiPNative.GetSelectionEnd((ImGuiInputTextState*)pself); + return ret; + } + } + public static void SelectAll(this ImGuiInputTextStatePtr self) + { + ImGuiPNative.SelectAll(self); + } + public static void SelectAll(this ref ImGuiInputTextState self) + { + fixed (ImGuiInputTextState* pself = &self) + { + ImGuiPNative.SelectAll((ImGuiInputTextState*)pself); + } + } + public static ImGuiPopupDataPtr ImGuiPopupData() + { + ImGuiPopupDataPtr ret = ImGuiPNative.ImGuiPopupData(); + return ret; + } + public static ImGuiNextWindowDataPtr ImGuiNextWindowData() + { + ImGuiNextWindowDataPtr ret = ImGuiPNative.ImGuiNextWindowData(); + return ret; + } + public static void ClearFlags(this ImGuiNextWindowDataPtr self) + { + ImGuiPNative.ClearFlags(self); + } + public static void ClearFlags(this ref ImGuiNextWindowData self) + { + fixed (ImGuiNextWindowData* pself = &self) + { + ImGuiPNative.ClearFlags((ImGuiNextWindowData*)pself); + } + } + public static void ClearFlags(this ImGuiNextItemDataPtr self) + { + ImGuiPNative.ClearFlags(self); + } + public static void ClearFlags(this ref ImGuiNextItemData self) + { + fixed (ImGuiNextItemData* pself = &self) + { + ImGuiPNative.ClearFlags((ImGuiNextItemData*)pself); + } + } + public static ImGuiNextItemDataPtr ImGuiNextItemData() + { + ImGuiNextItemDataPtr ret = ImGuiPNative.ImGuiNextItemData(); + return ret; + } + public static ImGuiLastItemDataPtr ImGuiLastItemData() + { + ImGuiLastItemDataPtr ret = ImGuiPNative.ImGuiLastItemData(); + return ret; + } + public static ImGuiStackSizesPtr ImGuiStackSizes() + { + ImGuiStackSizesPtr ret = ImGuiPNative.ImGuiStackSizes(); + return ret; + } + public static void SetToCurrentState(this ImGuiStackSizesPtr self) + { + ImGuiPNative.SetToCurrentState(self); + } + public static void SetToCurrentState(this ref ImGuiStackSizes self) + { + fixed (ImGuiStackSizes* pself = &self) + { + ImGuiPNative.SetToCurrentState((ImGuiStackSizes*)pself); + } + } + public static void CompareWithCurrentState(this ImGuiStackSizesPtr self) + { + ImGuiPNative.CompareWithCurrentState(self); + } + public static void CompareWithCurrentState(this ref ImGuiStackSizes self) + { + fixed (ImGuiStackSizes* pself = &self) + { + ImGuiPNative.CompareWithCurrentState((ImGuiStackSizes*)pself); + } + } + public static ImGuiPtrOrIndexPtr ImGuiPtrOrIndex(void* ptr) + { + ImGuiPtrOrIndexPtr ret = ImGuiPNative.ImGuiPtrOrIndex(ptr); + return ret; + } + public static ImGuiPtrOrIndexPtr ImGuiPtrOrIndex(int index) + { + ImGuiPtrOrIndexPtr ret = ImGuiPNative.ImGuiPtrOrIndex(index); + return ret; + } + public static ImGuiInputEventPtr ImGuiInputEvent() + { + ImGuiInputEventPtr ret = ImGuiPNative.ImGuiInputEvent(); + return ret; + } + public static ImGuiListClipperRange FromIndices(int min, int max) + { + ImGuiListClipperRange ret = ImGuiPNative.FromIndices(min, max); + return ret; + } + public static ImGuiListClipperRange FromPositions(float y1, float y2, int offMin, int offMax) + { + ImGuiListClipperRange ret = ImGuiPNative.FromPositions(y1, y2, offMin, offMax); + return ret; + } + public static ImGuiListClipperDataPtr ImGuiListClipperData() + { + ImGuiListClipperDataPtr ret = ImGuiPNative.ImGuiListClipperData(); + return ret; + } + public static void Reset(this ImGuiListClipperDataPtr self, ImGuiListClipperPtr clipper) + { + ImGuiPNative.Reset(self, clipper); + } + public static void Reset(this ref ImGuiListClipperData self, ImGuiListClipperPtr clipper) + { + fixed (ImGuiListClipperData* pself = &self) + { + ImGuiPNative.Reset((ImGuiListClipperData*)pself, clipper); + } + } + public static void Reset(this ImGuiListClipperDataPtr self, ref ImGuiListClipper clipper) + { + fixed (ImGuiListClipper* pclipper = &clipper) + { + ImGuiPNative.Reset(self, (ImGuiListClipper*)pclipper); + } + } + public static void Reset(this ref ImGuiListClipperData self, ref ImGuiListClipper clipper) + { + fixed (ImGuiListClipperData* pself = &self) + { + fixed (ImGuiListClipper* pclipper = &clipper) + { + ImGuiPNative.Reset((ImGuiListClipperData*)pself, (ImGuiListClipper*)pclipper); + } + } + } + public static ImGuiNavItemDataPtr ImGuiNavItemData() + { + ImGuiNavItemDataPtr ret = ImGuiPNative.ImGuiNavItemData(); + return ret; + } + public static ImGuiOldColumnDataPtr ImGuiOldColumnData() + { + ImGuiOldColumnDataPtr ret = ImGuiPNative.ImGuiOldColumnData(); + return ret; + } + public static ImGuiOldColumnsPtr ImGuiOldColumns() + { + ImGuiOldColumnsPtr ret = ImGuiPNative.ImGuiOldColumns(); + return ret; + } + public static ImGuiDockNodePtr ImGuiDockNode(uint id) + { + ImGuiDockNodePtr ret = ImGuiPNative.ImGuiDockNode(id); + return ret; + } + public static void Destroy(this ImGuiDockNodePtr self) + { + ImGuiPNative.Destroy(self); + } + public static void Destroy(this ref ImGuiDockNode self) + { + fixed (ImGuiDockNode* pself = &self) + { + ImGuiPNative.Destroy((ImGuiDockNode*)pself); + } + } + public static void Destroy(this ImGuiViewportPPtr self) + { + ImGuiPNative.Destroy(self); + } + public static void Destroy(this ref ImGuiViewportP self) + { + fixed (ImGuiViewportP* pself = &self) + { + ImGuiPNative.Destroy((ImGuiViewportP*)pself); + } + } + public static void Destroy(this ImGuiWindowPtr self) + { + ImGuiPNative.Destroy(self); + } + public static void Destroy(this ref ImGuiWindow self) + { + fixed (ImGuiWindow* pself = &self) + { + ImGuiPNative.Destroy((ImGuiWindow*)pself); + } + } + public static void Destroy(this ImGuiTablePtr self) + { + ImGuiPNative.Destroy(self); + } + public static void Destroy(this ref ImGuiTable self) + { + fixed (ImGuiTable* pself = &self) + { + ImGuiPNative.Destroy((ImGuiTable*)pself); + } + } + public static bool IsRootNode(this ImGuiDockNodePtr self) + { + byte ret = ImGuiPNative.IsRootNode(self); + return ret != 0; + } + public static bool IsRootNode(this ref ImGuiDockNode self) + { + fixed (ImGuiDockNode* pself = &self) + { + byte ret = ImGuiPNative.IsRootNode((ImGuiDockNode*)pself); + return ret != 0; + } + } + public static bool IsDockSpace(this ImGuiDockNodePtr self) + { + byte ret = ImGuiPNative.IsDockSpace(self); + return ret != 0; + } + public static bool IsDockSpace(this ref ImGuiDockNode self) + { + fixed (ImGuiDockNode* pself = &self) + { + byte ret = ImGuiPNative.IsDockSpace((ImGuiDockNode*)pself); + return ret != 0; + } + } + public static bool IsFloatingNode(this ImGuiDockNodePtr self) + { + byte ret = ImGuiPNative.IsFloatingNode(self); + return ret != 0; + } + public static bool IsFloatingNode(this ref ImGuiDockNode self) + { + fixed (ImGuiDockNode* pself = &self) + { + byte ret = ImGuiPNative.IsFloatingNode((ImGuiDockNode*)pself); + return ret != 0; + } + } + public static bool IsCentralNode(this ImGuiDockNodePtr self) + { + byte ret = ImGuiPNative.IsCentralNode(self); + return ret != 0; + } + public static bool IsCentralNode(this ref ImGuiDockNode self) + { + fixed (ImGuiDockNode* pself = &self) + { + byte ret = ImGuiPNative.IsCentralNode((ImGuiDockNode*)pself); + return ret != 0; + } + } + public static bool IsHiddenTabBar(this ImGuiDockNodePtr self) + { + byte ret = ImGuiPNative.IsHiddenTabBar(self); + return ret != 0; + } + public static bool IsHiddenTabBar(this ref ImGuiDockNode self) + { + fixed (ImGuiDockNode* pself = &self) + { + byte ret = ImGuiPNative.IsHiddenTabBar((ImGuiDockNode*)pself); + return ret != 0; + } + } + public static bool IsNoTabBar(this ImGuiDockNodePtr self) + { + byte ret = ImGuiPNative.IsNoTabBar(self); + return ret != 0; + } + public static bool IsNoTabBar(this ref ImGuiDockNode self) + { + fixed (ImGuiDockNode* pself = &self) + { + byte ret = ImGuiPNative.IsNoTabBar((ImGuiDockNode*)pself); + return ret != 0; + } + } + public static bool IsSplitNode(this ImGuiDockNodePtr self) + { + byte ret = ImGuiPNative.IsSplitNode(self); + return ret != 0; + } + public static bool IsSplitNode(this ref ImGuiDockNode self) + { + fixed (ImGuiDockNode* pself = &self) + { + byte ret = ImGuiPNative.IsSplitNode((ImGuiDockNode*)pself); + return ret != 0; + } + } + public static bool IsLeafNode(this ImGuiDockNodePtr self) + { + byte ret = ImGuiPNative.IsLeafNode(self); + return ret != 0; + } + public static bool IsLeafNode(this ref ImGuiDockNode self) + { + fixed (ImGuiDockNode* pself = &self) + { + byte ret = ImGuiPNative.IsLeafNode((ImGuiDockNode*)pself); + return ret != 0; + } + } + public static bool IsEmpty(this ImGuiDockNodePtr self) + { + byte ret = ImGuiPNative.IsEmpty(self); + return ret != 0; + } + public static bool IsEmpty(this ref ImGuiDockNode self) + { + fixed (ImGuiDockNode* pself = &self) + { + byte ret = ImGuiPNative.IsEmpty((ImGuiDockNode*)pself); + return ret != 0; + } + } + public static ImRect Rect(this ImGuiDockNodePtr self) + { + ImRect ret; + ImGuiPNative.Rect(&ret, self); + return ret; + } + public static void Rect(ImRectPtr pOut, ImGuiDockNodePtr self) + { + ImGuiPNative.Rect(pOut, self); + } + public static void Rect(ref ImRect pOut, ImGuiDockNodePtr self) + { + fixed (ImRect* ppOut = &pOut) + { + ImGuiPNative.Rect((ImRect*)ppOut, self); + } + } + public static ImRect Rect(this ref ImGuiDockNode self) + { + fixed (ImGuiDockNode* pself = &self) + { + ImRect ret; + ImGuiPNative.Rect(&ret, (ImGuiDockNode*)pself); + return ret; + } + } + public static void Rect(ImRectPtr pOut, ref ImGuiDockNode self) + { + fixed (ImGuiDockNode* pself = &self) + { + ImGuiPNative.Rect(pOut, (ImGuiDockNode*)pself); + } + } + public static void Rect(ref ImRect pOut, ref ImGuiDockNode self) + { + fixed (ImRect* ppOut = &pOut) + { + fixed (ImGuiDockNode* pself = &self) + { + ImGuiPNative.Rect((ImRect*)ppOut, (ImGuiDockNode*)pself); + } + } + } + public static ImRect Rect(this ImGuiWindowPtr self) + { + ImRect ret; + ImGuiPNative.Rect(&ret, self); + return ret; + } + public static void Rect(ImRectPtr pOut, ImGuiWindowPtr self) + { + ImGuiPNative.Rect(pOut, self); + } + public static void Rect(ref ImRect pOut, ImGuiWindowPtr self) + { + fixed (ImRect* ppOut = &pOut) + { + ImGuiPNative.Rect((ImRect*)ppOut, self); + } + } + public static ImRect Rect(this ref ImGuiWindow self) + { + fixed (ImGuiWindow* pself = &self) + { + ImRect ret; + ImGuiPNative.Rect(&ret, (ImGuiWindow*)pself); + return ret; + } + } + public static void Rect(ImRectPtr pOut, ref ImGuiWindow self) + { + fixed (ImGuiWindow* pself = &self) + { + ImGuiPNative.Rect(pOut, (ImGuiWindow*)pself); + } + } + public static void Rect(ref ImRect pOut, ref ImGuiWindow self) + { + fixed (ImRect* ppOut = &pOut) + { + fixed (ImGuiWindow* pself = &self) + { + ImGuiPNative.Rect((ImRect*)ppOut, (ImGuiWindow*)pself); + } + } + } + public static void SetLocalFlags(this ImGuiDockNodePtr self, ImGuiDockNodeFlags flags) + { + ImGuiPNative.SetLocalFlags(self, flags); + } + public static void SetLocalFlags(this ref ImGuiDockNode self, ImGuiDockNodeFlags flags) + { + fixed (ImGuiDockNode* pself = &self) + { + ImGuiPNative.SetLocalFlags((ImGuiDockNode*)pself, flags); + } + } + public static void UpdateMergedFlags(this ImGuiDockNodePtr self) + { + ImGuiPNative.UpdateMergedFlags(self); + } + public static void UpdateMergedFlags(this ref ImGuiDockNode self) + { + fixed (ImGuiDockNode* pself = &self) + { + ImGuiPNative.UpdateMergedFlags((ImGuiDockNode*)pself); + } + } + public static ImGuiDockContextPtr ImGuiDockContext() + { + ImGuiDockContextPtr ret = ImGuiPNative.ImGuiDockContext(); + return ret; + } + public static ImGuiViewportPPtr ImGuiViewportP() + { + ImGuiViewportPPtr ret = ImGuiPNative.ImGuiViewportP(); + return ret; + } + public static void ClearRequestFlags(this ImGuiViewportPPtr self) + { + ImGuiPNative.ClearRequestFlags(self); + } + public static void ClearRequestFlags(this ref ImGuiViewportP self) + { + fixed (ImGuiViewportP* pself = &self) + { + ImGuiPNative.ClearRequestFlags((ImGuiViewportP*)pself); + } + } + public static Vector2 CalcWorkRectPos(this ImGuiViewportPPtr self, Vector2 offMin) + { + Vector2 ret; + ImGuiPNative.CalcWorkRectPos(&ret, self, offMin); + return ret; + } + public static void CalcWorkRectPos(Vector2* pOut, ImGuiViewportPPtr self, Vector2 offMin) + { + ImGuiPNative.CalcWorkRectPos(pOut, self, offMin); + } + public static void CalcWorkRectPos(ref Vector2 pOut, ImGuiViewportPPtr self, Vector2 offMin) + { + fixed (Vector2* ppOut = &pOut) + { + ImGuiPNative.CalcWorkRectPos((Vector2*)ppOut, self, offMin); + } + } + public static Vector2 CalcWorkRectPos(this ref ImGuiViewportP self, Vector2 offMin) + { + fixed (ImGuiViewportP* pself = &self) + { + Vector2 ret; + ImGuiPNative.CalcWorkRectPos(&ret, (ImGuiViewportP*)pself, offMin); + return ret; + } + } + public static void CalcWorkRectPos(Vector2* pOut, ref ImGuiViewportP self, Vector2 offMin) + { + fixed (ImGuiViewportP* pself = &self) + { + ImGuiPNative.CalcWorkRectPos(pOut, (ImGuiViewportP*)pself, offMin); + } + } + public static void CalcWorkRectPos(ref Vector2 pOut, ref ImGuiViewportP self, Vector2 offMin) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImGuiViewportP* pself = &self) + { + ImGuiPNative.CalcWorkRectPos((Vector2*)ppOut, (ImGuiViewportP*)pself, offMin); + } + } + } + public static Vector2 CalcWorkRectSize(this ImGuiViewportPPtr self, Vector2 offMin, Vector2 offMax) + { + Vector2 ret; + ImGuiPNative.CalcWorkRectSize(&ret, self, offMin, offMax); + return ret; + } + public static void CalcWorkRectSize(Vector2* pOut, ImGuiViewportPPtr self, Vector2 offMin, Vector2 offMax) + { + ImGuiPNative.CalcWorkRectSize(pOut, self, offMin, offMax); + } + public static void CalcWorkRectSize(ref Vector2 pOut, ImGuiViewportPPtr self, Vector2 offMin, Vector2 offMax) + { + fixed (Vector2* ppOut = &pOut) + { + ImGuiPNative.CalcWorkRectSize((Vector2*)ppOut, self, offMin, offMax); + } + } + public static Vector2 CalcWorkRectSize(this ref ImGuiViewportP self, Vector2 offMin, Vector2 offMax) + { + fixed (ImGuiViewportP* pself = &self) + { + Vector2 ret; + ImGuiPNative.CalcWorkRectSize(&ret, (ImGuiViewportP*)pself, offMin, offMax); + return ret; + } + } + public static void CalcWorkRectSize(Vector2* pOut, ref ImGuiViewportP self, Vector2 offMin, Vector2 offMax) + { + fixed (ImGuiViewportP* pself = &self) + { + ImGuiPNative.CalcWorkRectSize(pOut, (ImGuiViewportP*)pself, offMin, offMax); + } + } + public static void CalcWorkRectSize(ref Vector2 pOut, ref ImGuiViewportP self, Vector2 offMin, Vector2 offMax) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImGuiViewportP* pself = &self) + { + ImGuiPNative.CalcWorkRectSize((Vector2*)ppOut, (ImGuiViewportP*)pself, offMin, offMax); + } + } + } + public static void UpdateWorkRect(this ImGuiViewportPPtr self) + { + ImGuiPNative.UpdateWorkRect(self); + } + public static void UpdateWorkRect(this ref ImGuiViewportP self) + { + fixed (ImGuiViewportP* pself = &self) + { + ImGuiPNative.UpdateWorkRect((ImGuiViewportP*)pself); + } + } + public static ImRect GetMainRect(this ImGuiViewportPPtr self) + { + ImRect ret; + ImGuiPNative.GetMainRect(&ret, self); + return ret; + } + public static void GetMainRect(ImRectPtr pOut, ImGuiViewportPPtr self) + { + ImGuiPNative.GetMainRect(pOut, self); + } + public static void GetMainRect(ref ImRect pOut, ImGuiViewportPPtr self) + { + fixed (ImRect* ppOut = &pOut) + { + ImGuiPNative.GetMainRect((ImRect*)ppOut, self); + } + } + public static ImRect GetMainRect(this scoped in ImGuiViewportP self) + { + fixed (ImGuiViewportP* pself = &self) + { + ImRect ret; + ImGuiPNative.GetMainRect(&ret, (ImGuiViewportP*)pself); + return ret; + } + } + public static void GetMainRect(ImRectPtr pOut, ref ImGuiViewportP self) + { + fixed (ImGuiViewportP* pself = &self) + { + ImGuiPNative.GetMainRect(pOut, (ImGuiViewportP*)pself); + } + } + public static void GetMainRect(ref ImRect pOut, ref ImGuiViewportP self) + { + fixed (ImRect* ppOut = &pOut) + { + fixed (ImGuiViewportP* pself = &self) + { + ImGuiPNative.GetMainRect((ImRect*)ppOut, (ImGuiViewportP*)pself); + } + } + } + public static ImRect GetWorkRect(this ImGuiViewportPPtr self) + { + ImRect ret; + ImGuiPNative.GetWorkRect(&ret, self); + return ret; + } + public static void GetWorkRect(ImRectPtr pOut, ImGuiViewportPPtr self) + { + ImGuiPNative.GetWorkRect(pOut, self); + } + public static void GetWorkRect(ref ImRect pOut, ImGuiViewportPPtr self) + { + fixed (ImRect* ppOut = &pOut) + { + ImGuiPNative.GetWorkRect((ImRect*)ppOut, self); + } + } + public static ImRect GetWorkRect(this scoped in ImGuiViewportP self) + { + fixed (ImGuiViewportP* pself = &self) + { + ImRect ret; + ImGuiPNative.GetWorkRect(&ret, (ImGuiViewportP*)pself); + return ret; + } + } + public static void GetWorkRect(ImRectPtr pOut, ref ImGuiViewportP self) + { + fixed (ImGuiViewportP* pself = &self) + { + ImGuiPNative.GetWorkRect(pOut, (ImGuiViewportP*)pself); + } + } + public static void GetWorkRect(ref ImRect pOut, ref ImGuiViewportP self) + { + fixed (ImRect* ppOut = &pOut) + { + fixed (ImGuiViewportP* pself = &self) + { + ImGuiPNative.GetWorkRect((ImRect*)ppOut, (ImGuiViewportP*)pself); + } + } + } + public static ImRect GetBuildWorkRect(this ImGuiViewportPPtr self) + { + ImRect ret; + ImGuiPNative.GetBuildWorkRect(&ret, self); + return ret; + } + public static void GetBuildWorkRect(ImRectPtr pOut, ImGuiViewportPPtr self) + { + ImGuiPNative.GetBuildWorkRect(pOut, self); + } + public static void GetBuildWorkRect(ref ImRect pOut, ImGuiViewportPPtr self) + { + fixed (ImRect* ppOut = &pOut) + { + ImGuiPNative.GetBuildWorkRect((ImRect*)ppOut, self); + } + } + public static ImRect GetBuildWorkRect(this scoped in ImGuiViewportP self) + { + fixed (ImGuiViewportP* pself = &self) + { + ImRect ret; + ImGuiPNative.GetBuildWorkRect(&ret, (ImGuiViewportP*)pself); + return ret; + } + } + public static void GetBuildWorkRect(ImRectPtr pOut, ref ImGuiViewportP self) + { + fixed (ImGuiViewportP* pself = &self) + { + ImGuiPNative.GetBuildWorkRect(pOut, (ImGuiViewportP*)pself); + } + } + public static void GetBuildWorkRect(ref ImRect pOut, ref ImGuiViewportP self) + { + fixed (ImRect* ppOut = &pOut) + { + fixed (ImGuiViewportP* pself = &self) + { + ImGuiPNative.GetBuildWorkRect((ImRect*)ppOut, (ImGuiViewportP*)pself); + } + } + } + public static ImGuiWindowSettingsPtr ImGuiWindowSettings() + { + ImGuiWindowSettingsPtr ret = ImGuiPNative.ImGuiWindowSettings(); + return ret; + } + public static ImGuiSettingsHandlerPtr ImGuiSettingsHandler() + { + ImGuiSettingsHandlerPtr ret = ImGuiPNative.ImGuiSettingsHandler(); + return ret; + } + public static ImGuiMetricsConfigPtr ImGuiMetricsConfig() + { + ImGuiMetricsConfigPtr ret = ImGuiPNative.ImGuiMetricsConfig(); + return ret; + } + public static ImGuiStackLevelInfoPtr ImGuiStackLevelInfo() + { + ImGuiStackLevelInfoPtr ret = ImGuiPNative.ImGuiStackLevelInfo(); + return ret; + } + public static ImGuiStackToolPtr ImGuiStackTool() + { + ImGuiStackToolPtr ret = ImGuiPNative.ImGuiStackTool(); + return ret; + } + public static ImGuiContextHookPtr ImGuiContextHook() + { + ImGuiContextHookPtr ret = ImGuiPNative.ImGuiContextHook(); + return ret; + } + public static ImGuiContextPtr ImGuiContext(ImFontAtlasPtr sharedFontAtlas) + { + ImGuiContextPtr ret = ImGuiPNative.ImGuiContext(sharedFontAtlas); + return ret; + } + public static ImGuiContextPtr ImGuiContext(ref ImFontAtlas sharedFontAtlas) + { + fixed (ImFontAtlas* psharedFontAtlas = &sharedFontAtlas) + { + ImGuiContextPtr ret = ImGuiPNative.ImGuiContext((ImFontAtlas*)psharedFontAtlas); + return ret; + } + } + public static uint GetIDFromRectangle(this ImGuiWindowPtr self, ImRect rAbs) + { + uint ret = ImGuiPNative.GetIDFromRectangle(self, rAbs); + return ret; + } + public static uint GetIDFromRectangle(this scoped in ImGuiWindow self, ImRect rAbs) + { + fixed (ImGuiWindow* pself = &self) + { + uint ret = ImGuiPNative.GetIDFromRectangle((ImGuiWindow*)pself, rAbs); + return ret; + } + } + public static float CalcFontSize(this ImGuiWindowPtr self) + { + float ret = ImGuiPNative.CalcFontSize(self); + return ret; + } + public static float CalcFontSize(this ref ImGuiWindow self) + { + fixed (ImGuiWindow* pself = &self) + { + float ret = ImGuiPNative.CalcFontSize((ImGuiWindow*)pself); + return ret; + } + } + public static float TitleBarHeight(this ImGuiWindowPtr self) + { + float ret = ImGuiPNative.TitleBarHeight(self); + return ret; + } + public static float TitleBarHeight(this ref ImGuiWindow self) + { + fixed (ImGuiWindow* pself = &self) + { + float ret = ImGuiPNative.TitleBarHeight((ImGuiWindow*)pself); + return ret; + } + } + public static ImRect TitleBarRect(this ImGuiWindowPtr self) + { + ImRect ret; + ImGuiPNative.TitleBarRect(&ret, self); + return ret; + } + public static void TitleBarRect(ImRectPtr pOut, ImGuiWindowPtr self) + { + ImGuiPNative.TitleBarRect(pOut, self); + } + public static void TitleBarRect(ref ImRect pOut, ImGuiWindowPtr self) + { + fixed (ImRect* ppOut = &pOut) + { + ImGuiPNative.TitleBarRect((ImRect*)ppOut, self); + } + } + public static ImRect TitleBarRect(this ref ImGuiWindow self) + { + fixed (ImGuiWindow* pself = &self) + { + ImRect ret; + ImGuiPNative.TitleBarRect(&ret, (ImGuiWindow*)pself); + return ret; + } + } + public static void TitleBarRect(ImRectPtr pOut, ref ImGuiWindow self) + { + fixed (ImGuiWindow* pself = &self) + { + ImGuiPNative.TitleBarRect(pOut, (ImGuiWindow*)pself); + } + } + public static void TitleBarRect(ref ImRect pOut, ref ImGuiWindow self) + { + fixed (ImRect* ppOut = &pOut) + { + fixed (ImGuiWindow* pself = &self) + { + ImGuiPNative.TitleBarRect((ImRect*)ppOut, (ImGuiWindow*)pself); + } + } + } + public static float MenuBarHeight(this ImGuiWindowPtr self) + { + float ret = ImGuiPNative.MenuBarHeight(self); + return ret; + } + public static float MenuBarHeight(this ref ImGuiWindow self) + { + fixed (ImGuiWindow* pself = &self) + { + float ret = ImGuiPNative.MenuBarHeight((ImGuiWindow*)pself); + return ret; + } + } + public static ImRect MenuBarRect(this ImGuiWindowPtr self) + { + ImRect ret; + ImGuiPNative.MenuBarRect(&ret, self); + return ret; + } + public static void MenuBarRect(ImRectPtr pOut, ImGuiWindowPtr self) + { + ImGuiPNative.MenuBarRect(pOut, self); + } + public static void MenuBarRect(ref ImRect pOut, ImGuiWindowPtr self) + { + fixed (ImRect* ppOut = &pOut) + { + ImGuiPNative.MenuBarRect((ImRect*)ppOut, self); + } + } + public static ImRect MenuBarRect(this ref ImGuiWindow self) + { + fixed (ImGuiWindow* pself = &self) + { + ImRect ret; + ImGuiPNative.MenuBarRect(&ret, (ImGuiWindow*)pself); + return ret; + } + } + public static void MenuBarRect(ImRectPtr pOut, ref ImGuiWindow self) + { + fixed (ImGuiWindow* pself = &self) + { + ImGuiPNative.MenuBarRect(pOut, (ImGuiWindow*)pself); + } + } + public static void MenuBarRect(ref ImRect pOut, ref ImGuiWindow self) + { + fixed (ImRect* ppOut = &pOut) + { + fixed (ImGuiWindow* pself = &self) + { + ImGuiPNative.MenuBarRect((ImRect*)ppOut, (ImGuiWindow*)pself); + } + } + } + public static ImGuiTabItemPtr ImGuiTabItem() + { + ImGuiTabItemPtr ret = ImGuiPNative.ImGuiTabItem(); + return ret; + } + public static ImGuiTabBarPtr ImGuiTabBar() + { + ImGuiTabBarPtr ret = ImGuiPNative.ImGuiTabBar(); + return ret; + } + public static int GetTabOrder(this ImGuiTabBarPtr self, ImGuiTabItemPtr tab) + { + int ret = ImGuiPNative.GetTabOrder(self, tab); + return ret; + } + public static int GetTabOrder(this scoped in ImGuiTabBar self, ImGuiTabItemPtr tab) + { + fixed (ImGuiTabBar* pself = &self) + { + int ret = ImGuiPNative.GetTabOrder((ImGuiTabBar*)pself, tab); + return ret; + } + } + public static int GetTabOrder(this ImGuiTabBarPtr self, ref ImGuiTabItem tab) + { + fixed (ImGuiTabItem* ptab = &tab) + { + int ret = ImGuiPNative.GetTabOrder(self, (ImGuiTabItem*)ptab); + return ret; + } + } + public static int GetTabOrder(this scoped in ImGuiTabBar self, ref ImGuiTabItem tab) + { + fixed (ImGuiTabBar* pself = &self) + { + fixed (ImGuiTabItem* ptab = &tab) + { + int ret = ImGuiPNative.GetTabOrder((ImGuiTabBar*)pself, (ImGuiTabItem*)ptab); + return ret; + } + } + } + public static ImGuiTableColumnPtr ImGuiTableColumn() + { + ImGuiTableColumnPtr ret = ImGuiPNative.ImGuiTableColumn(); + return ret; + } + public static ImGuiTableInstanceDataPtr ImGuiTableInstanceData() + { + ImGuiTableInstanceDataPtr ret = ImGuiPNative.ImGuiTableInstanceData(); + return ret; + } + public static ImGuiTablePtr ImGuiTable() + { + ImGuiTablePtr ret = ImGuiPNative.ImGuiTable(); + return ret; + } + public static ImGuiTableTempDataPtr ImGuiTableTempData() + { + ImGuiTableTempDataPtr ret = ImGuiPNative.ImGuiTableTempData(); + return ret; + } + public static ImGuiTableColumnSettingsPtr ImGuiTableColumnSettings() + { + ImGuiTableColumnSettingsPtr ret = ImGuiPNative.ImGuiTableColumnSettings(); + return ret; + } + public static ImGuiTableSettingsPtr ImGuiTableSettings() + { + ImGuiTableSettingsPtr ret = ImGuiPNative.ImGuiTableSettings(); + return ret; + } + public static ImGuiTableColumnSettingsPtr GetColumnSettings(this ImGuiTableSettingsPtr self) + { + ImGuiTableColumnSettingsPtr ret = ImGuiPNative.GetColumnSettings(self); + return ret; + } + public static ImGuiTableColumnSettingsPtr GetColumnSettings(this scoped in ImGuiTableSettings self) + { + fixed (ImGuiTableSettings* pself = &self) + { + ImGuiTableColumnSettingsPtr ret = ImGuiPNative.GetColumnSettings((ImGuiTableSettings*)pself); + return ret; + } + } + public static ImGuiWindowPtr GetCurrentWindowRead() + { + ImGuiWindowPtr ret = ImGuiPNative.GetCurrentWindowRead(); + return ret; + } + public static ImGuiWindowPtr GetCurrentWindow() + { + ImGuiWindowPtr ret = ImGuiPNative.GetCurrentWindow(); + return ret; + } + public static ImGuiWindowPtr FindWindowByID(uint id) + { + ImGuiWindowPtr ret = ImGuiPNative.FindWindowByID(id); + return ret; + } + public static void UpdateWindowParentAndRootLinks(ImGuiWindowPtr window, ImGuiWindowFlags flags, ImGuiWindowPtr parentWindow) + { + ImGuiPNative.UpdateWindowParentAndRootLinks(window, flags, parentWindow); + } + public static void UpdateWindowParentAndRootLinks(ref ImGuiWindow window, ImGuiWindowFlags flags, ImGuiWindowPtr parentWindow) + { + fixed (ImGuiWindow* pwindow = &window) + { + ImGuiPNative.UpdateWindowParentAndRootLinks((ImGuiWindow*)pwindow, flags, parentWindow); + } + } + public static void UpdateWindowParentAndRootLinks(ImGuiWindowPtr window, ImGuiWindowFlags flags, ref ImGuiWindow parentWindow) + { + fixed (ImGuiWindow* pparentWindow = &parentWindow) + { + ImGuiPNative.UpdateWindowParentAndRootLinks(window, flags, (ImGuiWindow*)pparentWindow); + } + } + public static void UpdateWindowParentAndRootLinks(ref ImGuiWindow window, ImGuiWindowFlags flags, ref ImGuiWindow parentWindow) + { + fixed (ImGuiWindow* pwindow = &window) + { + fixed (ImGuiWindow* pparentWindow = &parentWindow) + { + ImGuiPNative.UpdateWindowParentAndRootLinks((ImGuiWindow*)pwindow, flags, (ImGuiWindow*)pparentWindow); + } + } + } + public static Vector2 CalcWindowNextAutoFitSize(ImGuiWindowPtr window) + { + Vector2 ret; + ImGuiPNative.CalcWindowNextAutoFitSize(&ret, window); + return ret; + } + public static void CalcWindowNextAutoFitSize(Vector2* pOut, ImGuiWindowPtr window) + { + ImGuiPNative.CalcWindowNextAutoFitSize(pOut, window); + } + public static void CalcWindowNextAutoFitSize(ref Vector2 pOut, ImGuiWindowPtr window) + { + fixed (Vector2* ppOut = &pOut) + { + ImGuiPNative.CalcWindowNextAutoFitSize((Vector2*)ppOut, window); + } + } + public static Vector2 CalcWindowNextAutoFitSize(ref ImGuiWindow window) + { + fixed (ImGuiWindow* pwindow = &window) + { + Vector2 ret; + ImGuiPNative.CalcWindowNextAutoFitSize(&ret, (ImGuiWindow*)pwindow); + return ret; + } + } + public static void CalcWindowNextAutoFitSize(Vector2* pOut, ref ImGuiWindow window) + { + fixed (ImGuiWindow* pwindow = &window) + { + ImGuiPNative.CalcWindowNextAutoFitSize(pOut, (ImGuiWindow*)pwindow); + } + } + public static void CalcWindowNextAutoFitSize(ref Vector2 pOut, ref ImGuiWindow window) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImGuiWindow* pwindow = &window) + { + ImGuiPNative.CalcWindowNextAutoFitSize((Vector2*)ppOut, (ImGuiWindow*)pwindow); + } + } + } + public static bool IsWindowChildOf(ImGuiWindowPtr window, ImGuiWindowPtr potentialParent, bool popupHierarchy, bool dockHierarchy) + { + byte ret = ImGuiPNative.IsWindowChildOf(window, potentialParent, popupHierarchy ? (byte)1 : (byte)0, dockHierarchy ? (byte)1 : (byte)0); + return ret != 0; + } + public static bool IsWindowChildOf(ref ImGuiWindow window, ImGuiWindowPtr potentialParent, bool popupHierarchy, bool dockHierarchy) + { + fixed (ImGuiWindow* pwindow = &window) + { + byte ret = ImGuiPNative.IsWindowChildOf((ImGuiWindow*)pwindow, potentialParent, popupHierarchy ? (byte)1 : (byte)0, dockHierarchy ? (byte)1 : (byte)0); + return ret != 0; + } + } + public static bool IsWindowChildOf(ImGuiWindowPtr window, ref ImGuiWindow potentialParent, bool popupHierarchy, bool dockHierarchy) + { + fixed (ImGuiWindow* ppotentialParent = &potentialParent) + { + byte ret = ImGuiPNative.IsWindowChildOf(window, (ImGuiWindow*)ppotentialParent, popupHierarchy ? (byte)1 : (byte)0, dockHierarchy ? (byte)1 : (byte)0); + return ret != 0; + } + } + public static bool IsWindowChildOf(ref ImGuiWindow window, ref ImGuiWindow potentialParent, bool popupHierarchy, bool dockHierarchy) + { + fixed (ImGuiWindow* pwindow = &window) + { + fixed (ImGuiWindow* ppotentialParent = &potentialParent) + { + byte ret = ImGuiPNative.IsWindowChildOf((ImGuiWindow*)pwindow, (ImGuiWindow*)ppotentialParent, popupHierarchy ? (byte)1 : (byte)0, dockHierarchy ? (byte)1 : (byte)0); + return ret != 0; + } + } + } + public static bool IsWindowWithinBeginStackOf(ImGuiWindowPtr window, ImGuiWindowPtr potentialParent) + { + byte ret = ImGuiPNative.IsWindowWithinBeginStackOf(window, potentialParent); + return ret != 0; + } + public static bool IsWindowWithinBeginStackOf(ref ImGuiWindow window, ImGuiWindowPtr potentialParent) + { + fixed (ImGuiWindow* pwindow = &window) + { + byte ret = ImGuiPNative.IsWindowWithinBeginStackOf((ImGuiWindow*)pwindow, potentialParent); + return ret != 0; + } + } + public static bool IsWindowWithinBeginStackOf(ImGuiWindowPtr window, ref ImGuiWindow potentialParent) + { + fixed (ImGuiWindow* ppotentialParent = &potentialParent) + { + byte ret = ImGuiPNative.IsWindowWithinBeginStackOf(window, (ImGuiWindow*)ppotentialParent); + return ret != 0; + } + } + public static bool IsWindowWithinBeginStackOf(ref ImGuiWindow window, ref ImGuiWindow potentialParent) + { + fixed (ImGuiWindow* pwindow = &window) + { + fixed (ImGuiWindow* ppotentialParent = &potentialParent) + { + byte ret = ImGuiPNative.IsWindowWithinBeginStackOf((ImGuiWindow*)pwindow, (ImGuiWindow*)ppotentialParent); + return ret != 0; + } + } + } + public static bool IsWindowAbove(ImGuiWindowPtr potentialAbove, ImGuiWindowPtr potentialBelow) + { + byte ret = ImGuiPNative.IsWindowAbove(potentialAbove, potentialBelow); + return ret != 0; + } + public static bool IsWindowAbove(ref ImGuiWindow potentialAbove, ImGuiWindowPtr potentialBelow) + { + fixed (ImGuiWindow* ppotentialAbove = &potentialAbove) + { + byte ret = ImGuiPNative.IsWindowAbove((ImGuiWindow*)ppotentialAbove, potentialBelow); + return ret != 0; + } + } + public static bool IsWindowAbove(ImGuiWindowPtr potentialAbove, ref ImGuiWindow potentialBelow) + { + fixed (ImGuiWindow* ppotentialBelow = &potentialBelow) + { + byte ret = ImGuiPNative.IsWindowAbove(potentialAbove, (ImGuiWindow*)ppotentialBelow); + return ret != 0; + } + } + public static bool IsWindowAbove(ref ImGuiWindow potentialAbove, ref ImGuiWindow potentialBelow) + { + fixed (ImGuiWindow* ppotentialAbove = &potentialAbove) + { + fixed (ImGuiWindow* ppotentialBelow = &potentialBelow) + { + byte ret = ImGuiPNative.IsWindowAbove((ImGuiWindow*)ppotentialAbove, (ImGuiWindow*)ppotentialBelow); + return ret != 0; + } + } + } + public static bool IsWindowNavFocusable(ImGuiWindowPtr window) + { + byte ret = ImGuiPNative.IsWindowNavFocusable(window); + return ret != 0; + } + public static bool IsWindowNavFocusable(ref ImGuiWindow window) + { + fixed (ImGuiWindow* pwindow = &window) + { + byte ret = ImGuiPNative.IsWindowNavFocusable((ImGuiWindow*)pwindow); + return ret != 0; + } + } + public static void SetWindowPos(ImGuiWindowPtr window, Vector2 pos, ImGuiCond cond) + { + ImGuiPNative.SetWindowPos(window, pos, cond); + } + public static void SetWindowPos(ImGuiWindowPtr window, Vector2 pos) + { + ImGuiPNative.SetWindowPos(window, pos, (ImGuiCond)(0)); + } + public static void SetWindowPos(ref ImGuiWindow window, Vector2 pos, ImGuiCond cond) + { + fixed (ImGuiWindow* pwindow = &window) + { + ImGuiPNative.SetWindowPos((ImGuiWindow*)pwindow, pos, cond); + } + } + public static void SetWindowPos(ref ImGuiWindow window, Vector2 pos) + { + fixed (ImGuiWindow* pwindow = &window) + { + ImGuiPNative.SetWindowPos((ImGuiWindow*)pwindow, pos, (ImGuiCond)(0)); + } + } + public static void SetWindowSize(ImGuiWindowPtr window, Vector2 size, ImGuiCond cond) + { + ImGuiPNative.SetWindowSize(window, size, cond); + } + public static void SetWindowSize(ImGuiWindowPtr window, Vector2 size) + { + ImGuiPNative.SetWindowSize(window, size, (ImGuiCond)(0)); + } + public static void SetWindowSize(ref ImGuiWindow window, Vector2 size, ImGuiCond cond) + { + fixed (ImGuiWindow* pwindow = &window) + { + ImGuiPNative.SetWindowSize((ImGuiWindow*)pwindow, size, cond); + } + } + public static void SetWindowSize(ref ImGuiWindow window, Vector2 size) + { + fixed (ImGuiWindow* pwindow = &window) + { + ImGuiPNative.SetWindowSize((ImGuiWindow*)pwindow, size, (ImGuiCond)(0)); + } + } + public static void SetWindowCollapsed(ImGuiWindowPtr window, bool collapsed, ImGuiCond cond) + { + ImGuiPNative.SetWindowCollapsed(window, collapsed ? (byte)1 : (byte)0, cond); + } + public static void SetWindowCollapsed(ImGuiWindowPtr window, bool collapsed) + { + ImGuiPNative.SetWindowCollapsed(window, collapsed ? (byte)1 : (byte)0, (ImGuiCond)(0)); + } + public static void SetWindowCollapsed(ref ImGuiWindow window, bool collapsed, ImGuiCond cond) + { + fixed (ImGuiWindow* pwindow = &window) + { + ImGuiPNative.SetWindowCollapsed((ImGuiWindow*)pwindow, collapsed ? (byte)1 : (byte)0, cond); + } + } + public static void SetWindowCollapsed(ref ImGuiWindow window, bool collapsed) + { + fixed (ImGuiWindow* pwindow = &window) + { + ImGuiPNative.SetWindowCollapsed((ImGuiWindow*)pwindow, collapsed ? (byte)1 : (byte)0, (ImGuiCond)(0)); + } + } + public static void SetWindowHitTestHole(ImGuiWindowPtr window, Vector2 pos, Vector2 size) + { + ImGuiPNative.SetWindowHitTestHole(window, pos, size); + } + public static void SetWindowHitTestHole(ref ImGuiWindow window, Vector2 pos, Vector2 size) + { + fixed (ImGuiWindow* pwindow = &window) + { + ImGuiPNative.SetWindowHitTestHole((ImGuiWindow*)pwindow, pos, size); + } + } + public static ImRect WindowRectAbsToRel(ImGuiWindowPtr window, ImRect r) + { + ImRect ret; + ImGuiPNative.WindowRectAbsToRel(&ret, window, r); + return ret; + } + public static void WindowRectAbsToRel(ImRectPtr pOut, ImGuiWindowPtr window, ImRect r) + { + ImGuiPNative.WindowRectAbsToRel(pOut, window, r); + } + public static void WindowRectAbsToRel(ref ImRect pOut, ImGuiWindowPtr window, ImRect r) + { + fixed (ImRect* ppOut = &pOut) + { + ImGuiPNative.WindowRectAbsToRel((ImRect*)ppOut, window, r); + } + } + public static ImRect WindowRectAbsToRel(ref ImGuiWindow window, ImRect r) + { + fixed (ImGuiWindow* pwindow = &window) + { + ImRect ret; + ImGuiPNative.WindowRectAbsToRel(&ret, (ImGuiWindow*)pwindow, r); + return ret; + } + } + public static void WindowRectAbsToRel(ImRectPtr pOut, ref ImGuiWindow window, ImRect r) + { + fixed (ImGuiWindow* pwindow = &window) + { + ImGuiPNative.WindowRectAbsToRel(pOut, (ImGuiWindow*)pwindow, r); + } + } + public static void WindowRectAbsToRel(ref ImRect pOut, ref ImGuiWindow window, ImRect r) + { + fixed (ImRect* ppOut = &pOut) + { + fixed (ImGuiWindow* pwindow = &window) + { + ImGuiPNative.WindowRectAbsToRel((ImRect*)ppOut, (ImGuiWindow*)pwindow, r); + } + } + } + public static ImRect WindowRectRelToAbs(ImGuiWindowPtr window, ImRect r) + { + ImRect ret; + ImGuiPNative.WindowRectRelToAbs(&ret, window, r); + return ret; + } + public static void WindowRectRelToAbs(ImRectPtr pOut, ImGuiWindowPtr window, ImRect r) + { + ImGuiPNative.WindowRectRelToAbs(pOut, window, r); + } + public static void WindowRectRelToAbs(ref ImRect pOut, ImGuiWindowPtr window, ImRect r) + { + fixed (ImRect* ppOut = &pOut) + { + ImGuiPNative.WindowRectRelToAbs((ImRect*)ppOut, window, r); + } + } + public static ImRect WindowRectRelToAbs(ref ImGuiWindow window, ImRect r) + { + fixed (ImGuiWindow* pwindow = &window) + { + ImRect ret; + ImGuiPNative.WindowRectRelToAbs(&ret, (ImGuiWindow*)pwindow, r); + return ret; + } + } + public static void WindowRectRelToAbs(ImRectPtr pOut, ref ImGuiWindow window, ImRect r) + { + fixed (ImGuiWindow* pwindow = &window) + { + ImGuiPNative.WindowRectRelToAbs(pOut, (ImGuiWindow*)pwindow, r); + } + } + public static void WindowRectRelToAbs(ref ImRect pOut, ref ImGuiWindow window, ImRect r) + { + fixed (ImRect* ppOut = &pOut) + { + fixed (ImGuiWindow* pwindow = &window) + { + ImGuiPNative.WindowRectRelToAbs((ImRect*)ppOut, (ImGuiWindow*)pwindow, r); + } + } + } + public static void FocusWindow(ImGuiWindowPtr window) + { + ImGuiPNative.FocusWindow(window); + } + public static void FocusWindow(ref ImGuiWindow window) + { + fixed (ImGuiWindow* pwindow = &window) + { + ImGuiPNative.FocusWindow((ImGuiWindow*)pwindow); + } + } + public static void FocusTopMostWindowUnderOne(ImGuiWindowPtr underThisWindow, ImGuiWindowPtr ignoreWindow) + { + ImGuiPNative.FocusTopMostWindowUnderOne(underThisWindow, ignoreWindow); + } + public static void FocusTopMostWindowUnderOne(ref ImGuiWindow underThisWindow, ImGuiWindowPtr ignoreWindow) + { + fixed (ImGuiWindow* punderThisWindow = &underThisWindow) + { + ImGuiPNative.FocusTopMostWindowUnderOne((ImGuiWindow*)punderThisWindow, ignoreWindow); + } + } + public static void FocusTopMostWindowUnderOne(ImGuiWindowPtr underThisWindow, ref ImGuiWindow ignoreWindow) + { + fixed (ImGuiWindow* pignoreWindow = &ignoreWindow) + { + ImGuiPNative.FocusTopMostWindowUnderOne(underThisWindow, (ImGuiWindow*)pignoreWindow); + } + } + public static void FocusTopMostWindowUnderOne(ref ImGuiWindow underThisWindow, ref ImGuiWindow ignoreWindow) + { + fixed (ImGuiWindow* punderThisWindow = &underThisWindow) + { + fixed (ImGuiWindow* pignoreWindow = &ignoreWindow) + { + ImGuiPNative.FocusTopMostWindowUnderOne((ImGuiWindow*)punderThisWindow, (ImGuiWindow*)pignoreWindow); + } + } + } + public static void BringWindowToFocusFront(ImGuiWindowPtr window) + { + ImGuiPNative.BringWindowToFocusFront(window); + } + public static void BringWindowToFocusFront(ref ImGuiWindow window) + { + fixed (ImGuiWindow* pwindow = &window) + { + ImGuiPNative.BringWindowToFocusFront((ImGuiWindow*)pwindow); + } + } + public static void BringWindowToDisplayFront(ImGuiWindowPtr window) + { + ImGuiPNative.BringWindowToDisplayFront(window); + } + public static void BringWindowToDisplayFront(ref ImGuiWindow window) + { + fixed (ImGuiWindow* pwindow = &window) + { + ImGuiPNative.BringWindowToDisplayFront((ImGuiWindow*)pwindow); + } + } + public static void BringWindowToDisplayBack(ImGuiWindowPtr window) + { + ImGuiPNative.BringWindowToDisplayBack(window); + } + public static void BringWindowToDisplayBack(ref ImGuiWindow window) + { + fixed (ImGuiWindow* pwindow = &window) + { + ImGuiPNative.BringWindowToDisplayBack((ImGuiWindow*)pwindow); + } + } + public static void BringWindowToDisplayBehind(ImGuiWindowPtr window, ImGuiWindowPtr aboveWindow) + { + ImGuiPNative.BringWindowToDisplayBehind(window, aboveWindow); + } + public static void BringWindowToDisplayBehind(ref ImGuiWindow window, ImGuiWindowPtr aboveWindow) + { + fixed (ImGuiWindow* pwindow = &window) + { + ImGuiPNative.BringWindowToDisplayBehind((ImGuiWindow*)pwindow, aboveWindow); + } + } + public static void BringWindowToDisplayBehind(ImGuiWindowPtr window, ref ImGuiWindow aboveWindow) + { + fixed (ImGuiWindow* paboveWindow = &aboveWindow) + { + ImGuiPNative.BringWindowToDisplayBehind(window, (ImGuiWindow*)paboveWindow); + } + } + public static void BringWindowToDisplayBehind(ref ImGuiWindow window, ref ImGuiWindow aboveWindow) + { + fixed (ImGuiWindow* pwindow = &window) + { + fixed (ImGuiWindow* paboveWindow = &aboveWindow) + { + ImGuiPNative.BringWindowToDisplayBehind((ImGuiWindow*)pwindow, (ImGuiWindow*)paboveWindow); + } + } + } + public static int FindWindowDisplayIndex(ImGuiWindowPtr window) + { + int ret = ImGuiPNative.FindWindowDisplayIndex(window); + return ret; + } + public static int FindWindowDisplayIndex(ref ImGuiWindow window) + { + fixed (ImGuiWindow* pwindow = &window) + { + int ret = ImGuiPNative.FindWindowDisplayIndex((ImGuiWindow*)pwindow); + return ret; + } + } + public static ImGuiWindowPtr FindBottomMostVisibleWindowWithinBeginStack(ImGuiWindowPtr window) + { + ImGuiWindowPtr ret = ImGuiPNative.FindBottomMostVisibleWindowWithinBeginStack(window); + return ret; + } + public static ImGuiWindowPtr FindBottomMostVisibleWindowWithinBeginStack(ref ImGuiWindow window) + { + fixed (ImGuiWindow* pwindow = &window) + { + ImGuiWindowPtr ret = ImGuiPNative.FindBottomMostVisibleWindowWithinBeginStack((ImGuiWindow*)pwindow); + return ret; + } + } + public static void SetCurrentFont(ImFontPtr font) + { + ImGuiPNative.SetCurrentFont(font); + } + public static void SetCurrentFont(ref ImFont font) + { + fixed (ImFont* pfont = &font) + { + ImGuiPNative.SetCurrentFont((ImFont*)pfont); + } + } + public static ImFontPtr GetDefaultFont() + { + ImFontPtr ret = ImGuiPNative.GetDefaultFont(); + return ret; + } + public static ImDrawListPtr GetForegroundDrawList(ImGuiWindowPtr window) + { + ImDrawListPtr ret = ImGuiPNative.GetForegroundDrawList(window); + return ret; + } + public static ImDrawListPtr GetForegroundDrawList(ref ImGuiWindow window) + { + fixed (ImGuiWindow* pwindow = &window) + { + ImDrawListPtr ret = ImGuiPNative.GetForegroundDrawList((ImGuiWindow*)pwindow); + return ret; + } + } + public static void Initialize() + { + ImGuiPNative.Initialize(); + } + public static void Shutdown() + { + ImGuiPNative.Shutdown(); + } + public static void UpdateInputEvents(bool trickleFastInputs) + { + ImGuiPNative.UpdateInputEvents(trickleFastInputs ? (byte)1 : (byte)0); + } + public static void UpdateHoveredWindowAndCaptureFlags() + { + ImGuiPNative.UpdateHoveredWindowAndCaptureFlags(); + } + public static void StartMouseMovingWindow(ImGuiWindowPtr window) + { + ImGuiPNative.StartMouseMovingWindow(window); + } + public static void StartMouseMovingWindow(ref ImGuiWindow window) + { + fixed (ImGuiWindow* pwindow = &window) + { + ImGuiPNative.StartMouseMovingWindow((ImGuiWindow*)pwindow); + } + } + public static void StartMouseMovingWindowOrNode(ImGuiWindowPtr window, ImGuiDockNodePtr node, bool undockFloatingNode) + { + ImGuiPNative.StartMouseMovingWindowOrNode(window, node, undockFloatingNode ? (byte)1 : (byte)0); + } + public static void StartMouseMovingWindowOrNode(ref ImGuiWindow window, ImGuiDockNodePtr node, bool undockFloatingNode) + { + fixed (ImGuiWindow* pwindow = &window) + { + ImGuiPNative.StartMouseMovingWindowOrNode((ImGuiWindow*)pwindow, node, undockFloatingNode ? (byte)1 : (byte)0); + } + } + public static void StartMouseMovingWindowOrNode(ImGuiWindowPtr window, ref ImGuiDockNode node, bool undockFloatingNode) + { + fixed (ImGuiDockNode* pnode = &node) + { + ImGuiPNative.StartMouseMovingWindowOrNode(window, (ImGuiDockNode*)pnode, undockFloatingNode ? (byte)1 : (byte)0); + } + } + public static void StartMouseMovingWindowOrNode(ref ImGuiWindow window, ref ImGuiDockNode node, bool undockFloatingNode) + { + fixed (ImGuiWindow* pwindow = &window) + { + fixed (ImGuiDockNode* pnode = &node) + { + ImGuiPNative.StartMouseMovingWindowOrNode((ImGuiWindow*)pwindow, (ImGuiDockNode*)pnode, undockFloatingNode ? (byte)1 : (byte)0); + } + } + } + public static void UpdateMouseMovingWindowNewFrame() + { + ImGuiPNative.UpdateMouseMovingWindowNewFrame(); + } + public static void UpdateMouseMovingWindowEndFrame() + { + ImGuiPNative.UpdateMouseMovingWindowEndFrame(); + } + public static uint AddContextHook(ImGuiContextPtr context, ImGuiContextHookPtr hook) + { + uint ret = ImGuiPNative.AddContextHook(context, hook); + return ret; + } + public static uint AddContextHook(ref ImGuiContext context, ImGuiContextHookPtr hook) + { + fixed (ImGuiContext* pcontext = &context) + { + uint ret = ImGuiPNative.AddContextHook((ImGuiContext*)pcontext, hook); + return ret; + } + } + public static uint AddContextHook(ImGuiContextPtr context, ref ImGuiContextHook hook) + { + fixed (ImGuiContextHook* phook = &hook) + { + uint ret = ImGuiPNative.AddContextHook(context, (ImGuiContextHook*)phook); + return ret; + } + } + public static uint AddContextHook(ref ImGuiContext context, ref ImGuiContextHook hook) + { + fixed (ImGuiContext* pcontext = &context) + { + fixed (ImGuiContextHook* phook = &hook) + { + uint ret = ImGuiPNative.AddContextHook((ImGuiContext*)pcontext, (ImGuiContextHook*)phook); + return ret; + } + } + } + public static void RemoveContextHook(ImGuiContextPtr context, uint hookToRemove) + { + ImGuiPNative.RemoveContextHook(context, hookToRemove); + } + public static void RemoveContextHook(ref ImGuiContext context, uint hookToRemove) + { + fixed (ImGuiContext* pcontext = &context) + { + ImGuiPNative.RemoveContextHook((ImGuiContext*)pcontext, hookToRemove); + } + } + public static void CallContextHooks(ImGuiContextPtr context, ImGuiContextHookType type) + { + ImGuiPNative.CallContextHooks(context, type); + } + public static void CallContextHooks(ref ImGuiContext context, ImGuiContextHookType type) + { + fixed (ImGuiContext* pcontext = &context) + { + ImGuiPNative.CallContextHooks((ImGuiContext*)pcontext, type); + } + } + public static void TranslateWindowsInViewport(ImGuiViewportPPtr viewport, Vector2 oldPos, Vector2 newPos) + { + ImGuiPNative.TranslateWindowsInViewport(viewport, oldPos, newPos); + } + public static void TranslateWindowsInViewport(ref ImGuiViewportP viewport, Vector2 oldPos, Vector2 newPos) + { + fixed (ImGuiViewportP* pviewport = &viewport) + { + ImGuiPNative.TranslateWindowsInViewport((ImGuiViewportP*)pviewport, oldPos, newPos); + } + } + public static void ScaleWindowsInViewport(ImGuiViewportPPtr viewport, float scale) + { + ImGuiPNative.ScaleWindowsInViewport(viewport, scale); + } + public static void ScaleWindowsInViewport(ref ImGuiViewportP viewport, float scale) + { + fixed (ImGuiViewportP* pviewport = &viewport) + { + ImGuiPNative.ScaleWindowsInViewport((ImGuiViewportP*)pviewport, scale); + } + } + public static void DestroyPlatformWindow(ImGuiViewportPPtr viewport) + { + ImGuiPNative.DestroyPlatformWindow(viewport); + } + public static void DestroyPlatformWindow(ref ImGuiViewportP viewport) + { + fixed (ImGuiViewportP* pviewport = &viewport) + { + ImGuiPNative.DestroyPlatformWindow((ImGuiViewportP*)pviewport); + } + } + public static void SetWindowViewport(ImGuiWindowPtr window, ImGuiViewportPPtr viewport) + { + ImGuiPNative.SetWindowViewport(window, viewport); + } + public static void SetWindowViewport(ref ImGuiWindow window, ImGuiViewportPPtr viewport) + { + fixed (ImGuiWindow* pwindow = &window) + { + ImGuiPNative.SetWindowViewport((ImGuiWindow*)pwindow, viewport); + } + } + public static void SetWindowViewport(ImGuiWindowPtr window, ref ImGuiViewportP viewport) + { + fixed (ImGuiViewportP* pviewport = &viewport) + { + ImGuiPNative.SetWindowViewport(window, (ImGuiViewportP*)pviewport); + } + } + public static void SetWindowViewport(ref ImGuiWindow window, ref ImGuiViewportP viewport) + { + fixed (ImGuiWindow* pwindow = &window) + { + fixed (ImGuiViewportP* pviewport = &viewport) + { + ImGuiPNative.SetWindowViewport((ImGuiWindow*)pwindow, (ImGuiViewportP*)pviewport); + } + } + } + public static void SetCurrentViewport(ImGuiWindowPtr window, ImGuiViewportPPtr viewport) + { + ImGuiPNative.SetCurrentViewport(window, viewport); + } + public static void SetCurrentViewport(ref ImGuiWindow window, ImGuiViewportPPtr viewport) + { + fixed (ImGuiWindow* pwindow = &window) + { + ImGuiPNative.SetCurrentViewport((ImGuiWindow*)pwindow, viewport); + } + } + public static void SetCurrentViewport(ImGuiWindowPtr window, ref ImGuiViewportP viewport) + { + fixed (ImGuiViewportP* pviewport = &viewport) + { + ImGuiPNative.SetCurrentViewport(window, (ImGuiViewportP*)pviewport); + } + } + public static void SetCurrentViewport(ref ImGuiWindow window, ref ImGuiViewportP viewport) + { + fixed (ImGuiWindow* pwindow = &window) + { + fixed (ImGuiViewportP* pviewport = &viewport) + { + ImGuiPNative.SetCurrentViewport((ImGuiWindow*)pwindow, (ImGuiViewportP*)pviewport); + } + } + } + public static ImGuiPlatformMonitorPtr GetViewportPlatformMonitor(ImGuiViewportPtr viewport) + { + ImGuiPlatformMonitorPtr ret = ImGuiPNative.GetViewportPlatformMonitor(viewport); + return ret; + } + public static ImGuiPlatformMonitorPtr GetViewportPlatformMonitor(ref ImGuiViewport viewport) + { + fixed (ImGuiViewport* pviewport = &viewport) + { + ImGuiPlatformMonitorPtr ret = ImGuiPNative.GetViewportPlatformMonitor((ImGuiViewport*)pviewport); + return ret; + } + } + public static ImGuiViewportPPtr FindHoveredViewportFromPlatformWindowStack(Vector2 mousePlatformPos) + { + ImGuiViewportPPtr ret = ImGuiPNative.FindHoveredViewportFromPlatformWindowStack(mousePlatformPos); + return ret; + } + public static void MarkIniSettingsDirty() + { + ImGuiPNative.MarkIniSettingsDirty(); + } + public static void MarkIniSettingsDirty(ImGuiWindowPtr window) + { + ImGuiPNative.MarkIniSettingsDirty(window); + } + public static void MarkIniSettingsDirty(ref ImGuiWindow window) + { + fixed (ImGuiWindow* pwindow = &window) + { + ImGuiPNative.MarkIniSettingsDirty((ImGuiWindow*)pwindow); + } + } + public static void ClearIniSettings() + { + ImGuiPNative.ClearIniSettings(); + } + public static ImGuiWindowSettingsPtr FindWindowSettings(uint id) + { + ImGuiWindowSettingsPtr ret = ImGuiPNative.FindWindowSettings(id); + return ret; + } + public static void AddSettingsHandler(ImGuiSettingsHandlerPtr handler) + { + ImGuiPNative.AddSettingsHandler(handler); + } + public static void AddSettingsHandler(ref ImGuiSettingsHandler handler) + { + fixed (ImGuiSettingsHandler* phandler = &handler) + { + ImGuiPNative.AddSettingsHandler((ImGuiSettingsHandler*)phandler); + } + } + public static void SetNextWindowScroll(Vector2 scroll) + { + ImGuiPNative.SetNextWindowScroll(scroll); + } + public static void SetScrollX(ImGuiWindowPtr window, float scrollX) + { + ImGuiPNative.SetScrollX(window, scrollX); + } + public static void SetScrollX(ref ImGuiWindow window, float scrollX) + { + fixed (ImGuiWindow* pwindow = &window) + { + ImGuiPNative.SetScrollX((ImGuiWindow*)pwindow, scrollX); + } + } + public static void SetScrollY(ImGuiWindowPtr window, float scrollY) + { + ImGuiPNative.SetScrollY(window, scrollY); + } + public static void SetScrollY(ref ImGuiWindow window, float scrollY) + { + fixed (ImGuiWindow* pwindow = &window) + { + ImGuiPNative.SetScrollY((ImGuiWindow*)pwindow, scrollY); + } + } + public static void SetScrollFromPosX(ImGuiWindowPtr window, float localX, float centerXRatio) + { + ImGuiPNative.SetScrollFromPosX(window, localX, centerXRatio); + } + public static void SetScrollFromPosX(ref ImGuiWindow window, float localX, float centerXRatio) + { + fixed (ImGuiWindow* pwindow = &window) + { + ImGuiPNative.SetScrollFromPosX((ImGuiWindow*)pwindow, localX, centerXRatio); + } + } + public static void SetScrollFromPosY(ImGuiWindowPtr window, float localY, float centerYRatio) + { + ImGuiPNative.SetScrollFromPosY(window, localY, centerYRatio); + } + public static void SetScrollFromPosY(ref ImGuiWindow window, float localY, float centerYRatio) + { + fixed (ImGuiWindow* pwindow = &window) + { + ImGuiPNative.SetScrollFromPosY((ImGuiWindow*)pwindow, localY, centerYRatio); + } + } + public static void ScrollToItem(ImGuiScrollFlags flags) + { + ImGuiPNative.ScrollToItem(flags); + } + public static void ScrollToItem() + { + ImGuiPNative.ScrollToItem((ImGuiScrollFlags)(0)); + } + public static void ScrollToRect(ImGuiWindowPtr window, ImRect rect, ImGuiScrollFlags flags) + { + ImGuiPNative.ScrollToRect(window, rect, flags); + } + public static void ScrollToRect(ImGuiWindowPtr window, ImRect rect) + { + ImGuiPNative.ScrollToRect(window, rect, (ImGuiScrollFlags)(0)); + } + public static void ScrollToRect(ref ImGuiWindow window, ImRect rect, ImGuiScrollFlags flags) + { + fixed (ImGuiWindow* pwindow = &window) + { + ImGuiPNative.ScrollToRect((ImGuiWindow*)pwindow, rect, flags); + } + } + public static void ScrollToRect(ref ImGuiWindow window, ImRect rect) + { + fixed (ImGuiWindow* pwindow = &window) + { + ImGuiPNative.ScrollToRect((ImGuiWindow*)pwindow, rect, (ImGuiScrollFlags)(0)); + } + } + public static Vector2 ScrollToRectEx(ImGuiWindowPtr window, ImRect rect) + { + Vector2 ret; + ImGuiPNative.ScrollToRectEx(&ret, window, rect, (ImGuiScrollFlags)(0)); + return ret; + } + public static Vector2 ScrollToRectEx(ImGuiWindowPtr window, ImRect rect, ImGuiScrollFlags flags) + { + Vector2 ret; + ImGuiPNative.ScrollToRectEx(&ret, window, rect, flags); + return ret; + } + public static void ScrollToRectEx(Vector2* pOut, ImGuiWindowPtr window, ImRect rect, ImGuiScrollFlags flags) + { + ImGuiPNative.ScrollToRectEx(pOut, window, rect, flags); + } + public static void ScrollToRectEx(Vector2* pOut, ImGuiWindowPtr window, ImRect rect) + { + ImGuiPNative.ScrollToRectEx(pOut, window, rect, (ImGuiScrollFlags)(0)); + } + public static void ScrollToRectEx(ref Vector2 pOut, ImGuiWindowPtr window, ImRect rect, ImGuiScrollFlags flags) + { + fixed (Vector2* ppOut = &pOut) + { + ImGuiPNative.ScrollToRectEx((Vector2*)ppOut, window, rect, flags); + } + } + public static void ScrollToRectEx(ref Vector2 pOut, ImGuiWindowPtr window, ImRect rect) + { + fixed (Vector2* ppOut = &pOut) + { + ImGuiPNative.ScrollToRectEx((Vector2*)ppOut, window, rect, (ImGuiScrollFlags)(0)); + } + } + public static Vector2 ScrollToRectEx(ref ImGuiWindow window, ImRect rect) + { + fixed (ImGuiWindow* pwindow = &window) + { + Vector2 ret; + ImGuiPNative.ScrollToRectEx(&ret, (ImGuiWindow*)pwindow, rect, (ImGuiScrollFlags)(0)); + return ret; + } + } + public static Vector2 ScrollToRectEx(ref ImGuiWindow window, ImRect rect, ImGuiScrollFlags flags) + { + fixed (ImGuiWindow* pwindow = &window) + { + Vector2 ret; + ImGuiPNative.ScrollToRectEx(&ret, (ImGuiWindow*)pwindow, rect, flags); + return ret; + } + } + public static void ScrollToRectEx(Vector2* pOut, ref ImGuiWindow window, ImRect rect, ImGuiScrollFlags flags) + { + fixed (ImGuiWindow* pwindow = &window) + { + ImGuiPNative.ScrollToRectEx(pOut, (ImGuiWindow*)pwindow, rect, flags); + } + } + public static void ScrollToRectEx(Vector2* pOut, ref ImGuiWindow window, ImRect rect) + { + fixed (ImGuiWindow* pwindow = &window) + { + ImGuiPNative.ScrollToRectEx(pOut, (ImGuiWindow*)pwindow, rect, (ImGuiScrollFlags)(0)); + } + } + public static void ScrollToRectEx(ref Vector2 pOut, ref ImGuiWindow window, ImRect rect, ImGuiScrollFlags flags) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImGuiWindow* pwindow = &window) + { + ImGuiPNative.ScrollToRectEx((Vector2*)ppOut, (ImGuiWindow*)pwindow, rect, flags); + } + } + } + public static void ScrollToRectEx(ref Vector2 pOut, ref ImGuiWindow window, ImRect rect) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImGuiWindow* pwindow = &window) + { + ImGuiPNative.ScrollToRectEx((Vector2*)ppOut, (ImGuiWindow*)pwindow, rect, (ImGuiScrollFlags)(0)); + } + } + } + public static void ScrollToBringRectIntoView(ImGuiWindowPtr window, ImRect rect) + { + ImGuiPNative.ScrollToBringRectIntoView(window, rect); + } + public static void ScrollToBringRectIntoView(ref ImGuiWindow window, ImRect rect) + { + fixed (ImGuiWindow* pwindow = &window) + { + ImGuiPNative.ScrollToBringRectIntoView((ImGuiWindow*)pwindow, rect); + } + } + public static uint GetItemID() + { + uint ret = ImGuiPNative.GetItemID(); + return ret; + } + public static ImGuiItemStatusFlags GetItemStatusFlags() + { + ImGuiItemStatusFlags ret = ImGuiPNative.GetItemStatusFlags(); + return ret; + } + public static ImGuiItemFlags GetItemFlags() + { + ImGuiItemFlags ret = ImGuiPNative.GetItemFlags(); + return ret; + } + public static uint GetActiveID() + { + uint ret = ImGuiPNative.GetActiveID(); + return ret; + } + public static uint GetFocusID() + { + uint ret = ImGuiPNative.GetFocusID(); + return ret; + } + public static void SetActiveID(uint id, ImGuiWindowPtr window) + { + ImGuiPNative.SetActiveID(id, window); + } + public static void SetActiveID(uint id, ref ImGuiWindow window) + { + fixed (ImGuiWindow* pwindow = &window) + { + ImGuiPNative.SetActiveID(id, (ImGuiWindow*)pwindow); + } + } + public static void SetFocusID(uint id, ImGuiWindowPtr window) + { + ImGuiPNative.SetFocusID(id, window); + } + public static void SetFocusID(uint id, ref ImGuiWindow window) + { + fixed (ImGuiWindow* pwindow = &window) + { + ImGuiPNative.SetFocusID(id, (ImGuiWindow*)pwindow); + } + } + public static void ClearActiveID() + { + ImGuiPNative.ClearActiveID(); + } + public static uint GetHoveredID() + { + uint ret = ImGuiPNative.GetHoveredID(); + return ret; + } + public static void SetHoveredID(uint id) + { + ImGuiPNative.SetHoveredID(id); + } + public static void KeepAliveID(uint id) + { + ImGuiPNative.KeepAliveID(id); + } + public static void MarkItemEdited(uint id) + { + ImGuiPNative.MarkItemEdited(id); + } + public static void PushOverrideID(uint id) + { + ImGuiPNative.PushOverrideID(id); + } + public static void ItemSize(Vector2 size, float textBaselineY) + { + ImGuiPNative.ItemSize(size, textBaselineY); + } + public static void ItemSize(Vector2 size) + { + ImGuiPNative.ItemSize(size, (float)(-1.0f)); + } + public static void ItemSize(ImRect bb, float textBaselineY) + { + ImGuiPNative.ItemSize(bb, textBaselineY); + } + public static void ItemSize(ImRect bb) + { + ImGuiPNative.ItemSize(bb, (float)(-1.0f)); + } + public static bool ItemAdd(ImRect bb, uint id, ImRectPtr navBb, ImGuiItemFlags extraFlags) + { + byte ret = ImGuiPNative.ItemAdd(bb, id, navBb, extraFlags); + return ret != 0; + } + public static bool ItemAdd(ImRect bb, uint id, ImRectPtr navBb) + { + byte ret = ImGuiPNative.ItemAdd(bb, id, navBb, (ImGuiItemFlags)(0)); + return ret != 0; + } + public static bool ItemAdd(ImRect bb, uint id) + { + byte ret = ImGuiPNative.ItemAdd(bb, id, (ImRect*)(default), (ImGuiItemFlags)(0)); + return ret != 0; + } + public static bool ItemAdd(ImRect bb, uint id, ImGuiItemFlags extraFlags) + { + byte ret = ImGuiPNative.ItemAdd(bb, id, (ImRect*)(default), extraFlags); + return ret != 0; + } + public static bool ItemAdd(ImRect bb, uint id, ref ImRect navBb, ImGuiItemFlags extraFlags) + { + fixed (ImRect* pnavBb = &navBb) + { + byte ret = ImGuiPNative.ItemAdd(bb, id, (ImRect*)pnavBb, extraFlags); + return ret != 0; + } + } + public static bool ItemAdd(ImRect bb, uint id, ref ImRect navBb) + { + fixed (ImRect* pnavBb = &navBb) + { + byte ret = ImGuiPNative.ItemAdd(bb, id, (ImRect*)pnavBb, (ImGuiItemFlags)(0)); + return ret != 0; + } + } + public static bool ItemHoverable(ImRect bb, uint id) + { + byte ret = ImGuiPNative.ItemHoverable(bb, id); + return ret != 0; + } + public static bool IsClippedEx(ImRect bb, uint id) + { + byte ret = ImGuiPNative.IsClippedEx(bb, id); + return ret != 0; + } + public static void SetLastItemData(uint itemId, ImGuiItemFlags inFlags, ImGuiItemStatusFlags statusFlags, ImRect itemRect) + { + ImGuiPNative.SetLastItemData(itemId, inFlags, statusFlags, itemRect); + } + public static Vector2 CalcItemSize(Vector2 size, float defaultW, float defaultH) + { + Vector2 ret; + ImGuiPNative.CalcItemSize(&ret, size, defaultW, defaultH); + return ret; + } + public static void CalcItemSize(Vector2* pOut, Vector2 size, float defaultW, float defaultH) + { + ImGuiPNative.CalcItemSize(pOut, size, defaultW, defaultH); + } + public static void CalcItemSize(ref Vector2 pOut, Vector2 size, float defaultW, float defaultH) + { + fixed (Vector2* ppOut = &pOut) + { + ImGuiPNative.CalcItemSize((Vector2*)ppOut, size, defaultW, defaultH); + } + } + public static float CalcWrapWidthForPos(Vector2 pos, float wrapPosX) + { + float ret = ImGuiPNative.CalcWrapWidthForPos(pos, wrapPosX); + return ret; + } + public static void PushMultiItemsWidths(int components, float widthFull) + { + ImGuiPNative.PushMultiItemsWidths(components, widthFull); + } + public static bool IsItemToggledSelection() + { + byte ret = ImGuiPNative.IsItemToggledSelection(); + return ret != 0; + } + public static Vector2 GetContentRegionMaxAbs() + { + Vector2 ret; + ImGuiPNative.GetContentRegionMaxAbs(&ret); + return ret; + } + public static void GetContentRegionMaxAbs(Vector2* pOut) + { + ImGuiPNative.GetContentRegionMaxAbs(pOut); + } + public static void GetContentRegionMaxAbs(ref Vector2 pOut) + { + fixed (Vector2* ppOut = &pOut) + { + ImGuiPNative.GetContentRegionMaxAbs((Vector2*)ppOut); + } + } + public static void ShrinkWidths(ImGuiShrinkWidthItemPtr items, int count, float widthExcess) + { + ImGuiPNative.ShrinkWidths(items, count, widthExcess); + } + public static void ShrinkWidths(ref ImGuiShrinkWidthItem items, int count, float widthExcess) + { + fixed (ImGuiShrinkWidthItem* pitems = &items) + { + ImGuiPNative.ShrinkWidths((ImGuiShrinkWidthItem*)pitems, count, widthExcess); + } + } + public static void PushItemFlag(ImGuiItemFlags option, bool enabled) + { + ImGuiPNative.PushItemFlag(option, enabled ? (byte)1 : (byte)0); + } + public static void PopItemFlag() + { + ImGuiPNative.PopItemFlag(); + } + public static void LogBegin(ImGuiLogType type, int autoOpenDepth) + { + ImGuiPNative.LogBegin(type, autoOpenDepth); + } + public static void LogToBuffer(int autoOpenDepth) + { + ImGuiPNative.LogToBuffer(autoOpenDepth); + } + public static void LogToBuffer() + { + ImGuiPNative.LogToBuffer((int)(-1)); + } + public static void OpenPopupEx(uint id, ImGuiPopupFlags popupFlags) + { + ImGuiPNative.OpenPopupEx(id, popupFlags); + } + public static void OpenPopupEx(uint id) + { + ImGuiPNative.OpenPopupEx(id, (ImGuiPopupFlags)(ImGuiPopupFlags.None)); + } + public static void ClosePopupToLevel(int remaining, bool restoreFocusToWindowUnderPopup) + { + ImGuiPNative.ClosePopupToLevel(remaining, restoreFocusToWindowUnderPopup ? (byte)1 : (byte)0); + } + public static void ClosePopupsOverWindow(ImGuiWindowPtr refWindow, bool restoreFocusToWindowUnderPopup) + { + ImGuiPNative.ClosePopupsOverWindow(refWindow, restoreFocusToWindowUnderPopup ? (byte)1 : (byte)0); + } + public static void ClosePopupsOverWindow(ref ImGuiWindow refWindow, bool restoreFocusToWindowUnderPopup) + { + fixed (ImGuiWindow* prefWindow = &refWindow) + { + ImGuiPNative.ClosePopupsOverWindow((ImGuiWindow*)prefWindow, restoreFocusToWindowUnderPopup ? (byte)1 : (byte)0); + } + } + public static void ClosePopupsExceptModals() + { + ImGuiPNative.ClosePopupsExceptModals(); + } + public static bool IsPopupOpen(uint id, ImGuiPopupFlags popupFlags) + { + byte ret = ImGuiPNative.IsPopupOpen(id, popupFlags); + return ret != 0; + } + public static bool BeginPopupEx(uint id, ImGuiWindowFlags extraFlags) + { + byte ret = ImGuiPNative.BeginPopupEx(id, extraFlags); + return ret != 0; + } + public static void BeginTooltipEx(ImGuiTooltipFlags tooltipFlags, ImGuiWindowFlags extraWindowFlags) + { + ImGuiPNative.BeginTooltipEx(tooltipFlags, extraWindowFlags); + } + public static ImRect GetPopupAllowedExtentRect(ImGuiWindowPtr window) + { + ImRect ret; + ImGuiPNative.GetPopupAllowedExtentRect(&ret, window); + return ret; + } + public static void GetPopupAllowedExtentRect(ImRectPtr pOut, ImGuiWindowPtr window) + { + ImGuiPNative.GetPopupAllowedExtentRect(pOut, window); + } + public static void GetPopupAllowedExtentRect(ref ImRect pOut, ImGuiWindowPtr window) + { + fixed (ImRect* ppOut = &pOut) + { + ImGuiPNative.GetPopupAllowedExtentRect((ImRect*)ppOut, window); + } + } + public static ImRect GetPopupAllowedExtentRect(ref ImGuiWindow window) + { + fixed (ImGuiWindow* pwindow = &window) + { + ImRect ret; + ImGuiPNative.GetPopupAllowedExtentRect(&ret, (ImGuiWindow*)pwindow); + return ret; + } + } + public static void GetPopupAllowedExtentRect(ImRectPtr pOut, ref ImGuiWindow window) + { + fixed (ImGuiWindow* pwindow = &window) + { + ImGuiPNative.GetPopupAllowedExtentRect(pOut, (ImGuiWindow*)pwindow); + } + } + public static void GetPopupAllowedExtentRect(ref ImRect pOut, ref ImGuiWindow window) + { + fixed (ImRect* ppOut = &pOut) + { + fixed (ImGuiWindow* pwindow = &window) + { + ImGuiPNative.GetPopupAllowedExtentRect((ImRect*)ppOut, (ImGuiWindow*)pwindow); + } + } + } + public static ImGuiWindowPtr GetTopMostPopupModal() + { + ImGuiWindowPtr ret = ImGuiPNative.GetTopMostPopupModal(); + return ret; + } + public static ImGuiWindowPtr GetTopMostAndVisiblePopupModal() + { + ImGuiWindowPtr ret = ImGuiPNative.GetTopMostAndVisiblePopupModal(); + return ret; + } + public static Vector2 FindBestWindowPosForPopup(ImGuiWindowPtr window) + { + Vector2 ret; + ImGuiPNative.FindBestWindowPosForPopup(&ret, window); + return ret; + } + public static void FindBestWindowPosForPopup(Vector2* pOut, ImGuiWindowPtr window) + { + ImGuiPNative.FindBestWindowPosForPopup(pOut, window); + } + public static void FindBestWindowPosForPopup(ref Vector2 pOut, ImGuiWindowPtr window) + { + fixed (Vector2* ppOut = &pOut) + { + ImGuiPNative.FindBestWindowPosForPopup((Vector2*)ppOut, window); + } + } + public static Vector2 FindBestWindowPosForPopup(ref ImGuiWindow window) + { + fixed (ImGuiWindow* pwindow = &window) + { + Vector2 ret; + ImGuiPNative.FindBestWindowPosForPopup(&ret, (ImGuiWindow*)pwindow); + return ret; + } + } + public static void FindBestWindowPosForPopup(Vector2* pOut, ref ImGuiWindow window) + { + fixed (ImGuiWindow* pwindow = &window) + { + ImGuiPNative.FindBestWindowPosForPopup(pOut, (ImGuiWindow*)pwindow); + } + } + public static void FindBestWindowPosForPopup(ref Vector2 pOut, ref ImGuiWindow window) + { + fixed (Vector2* ppOut = &pOut) + { + fixed (ImGuiWindow* pwindow = &window) + { + ImGuiPNative.FindBestWindowPosForPopup((Vector2*)ppOut, (ImGuiWindow*)pwindow); + } + } + } + public static Vector2 FindBestWindowPosForPopupEx(Vector2 refPos, Vector2 size, ImGuiDir* lastDir, ImRect rOuter, ImRect rAvoid, ImGuiPopupPositionPolicy policy) + { + Vector2 ret; + ImGuiPNative.FindBestWindowPosForPopupEx(&ret, refPos, size, lastDir, rOuter, rAvoid, policy); + return ret; + } + public static void FindBestWindowPosForPopupEx(Vector2* pOut, Vector2 refPos, Vector2 size, ImGuiDir* lastDir, ImRect rOuter, ImRect rAvoid, ImGuiPopupPositionPolicy policy) + { + ImGuiPNative.FindBestWindowPosForPopupEx(pOut, refPos, size, lastDir, rOuter, rAvoid, policy); + } + public static void FindBestWindowPosForPopupEx(ref Vector2 pOut, Vector2 refPos, Vector2 size, ImGuiDir* lastDir, ImRect rOuter, ImRect rAvoid, ImGuiPopupPositionPolicy policy) + { + fixed (Vector2* ppOut = &pOut) + { + ImGuiPNative.FindBestWindowPosForPopupEx((Vector2*)ppOut, refPos, size, lastDir, rOuter, rAvoid, policy); + } + } + public static bool BeginComboPopup(uint popupId, ImRect bb, ImGuiComboFlags flags) + { + byte ret = ImGuiPNative.BeginComboPopup(popupId, bb, flags); + return ret != 0; + } + public static bool BeginComboPreview() + { + byte ret = ImGuiPNative.BeginComboPreview(); + return ret != 0; + } + public static void EndComboPreview() + { + ImGuiPNative.EndComboPreview(); + } + public static void NavInitWindow(ImGuiWindowPtr window, bool forceReinit) + { + ImGuiPNative.NavInitWindow(window, forceReinit ? (byte)1 : (byte)0); + } + public static void NavInitWindow(ref ImGuiWindow window, bool forceReinit) + { + fixed (ImGuiWindow* pwindow = &window) + { + ImGuiPNative.NavInitWindow((ImGuiWindow*)pwindow, forceReinit ? (byte)1 : (byte)0); + } + } + public static void NavInitRequestApplyResult() + { + ImGuiPNative.NavInitRequestApplyResult(); + } + public static bool NavMoveRequestButNoResultYet() + { + byte ret = ImGuiPNative.NavMoveRequestButNoResultYet(); + return ret != 0; + } + public static void NavMoveRequestSubmit(ImGuiDir moveDir, ImGuiDir clipDir, ImGuiNavMoveFlags moveFlags, ImGuiScrollFlags scrollFlags) + { + ImGuiPNative.NavMoveRequestSubmit(moveDir, clipDir, moveFlags, scrollFlags); + } + public static void NavMoveRequestForward(ImGuiDir moveDir, ImGuiDir clipDir, ImGuiNavMoveFlags moveFlags, ImGuiScrollFlags scrollFlags) + { + ImGuiPNative.NavMoveRequestForward(moveDir, clipDir, moveFlags, scrollFlags); + } + public static void NavMoveRequestResolveWithLastItem(ImGuiNavItemDataPtr result) + { + ImGuiPNative.NavMoveRequestResolveWithLastItem(result); + } + public static void NavMoveRequestResolveWithLastItem(ref ImGuiNavItemData result) + { + fixed (ImGuiNavItemData* presult = &result) + { + ImGuiPNative.NavMoveRequestResolveWithLastItem((ImGuiNavItemData*)presult); + } + } + public static void NavMoveRequestCancel() + { + ImGuiPNative.NavMoveRequestCancel(); + } + public static void NavMoveRequestApplyResult() + { + ImGuiPNative.NavMoveRequestApplyResult(); + } + public static void NavMoveRequestTryWrapping(ImGuiWindowPtr window, ImGuiNavMoveFlags moveFlags) + { + ImGuiPNative.NavMoveRequestTryWrapping(window, moveFlags); + } + public static void NavMoveRequestTryWrapping(ref ImGuiWindow window, ImGuiNavMoveFlags moveFlags) + { + fixed (ImGuiWindow* pwindow = &window) + { + ImGuiPNative.NavMoveRequestTryWrapping((ImGuiWindow*)pwindow, moveFlags); + } + } + public static float GetNavInputAmount(ImGuiNavInput n, ImGuiNavReadMode mode) + { + float ret = ImGuiPNative.GetNavInputAmount(n, mode); + return ret; + } + public static Vector2 GetNavInputAmount2d(ImGuiNavDirSourceFlags dirSources, ImGuiNavReadMode mode) + { + Vector2 ret; + ImGuiPNative.GetNavInputAmount2d(&ret, dirSources, mode, (float)(0.0f), (float)(0.0f)); + return ret; + } + public static Vector2 GetNavInputAmount2d(ImGuiNavDirSourceFlags dirSources, ImGuiNavReadMode mode, float slowFactor) + { + Vector2 ret; + ImGuiPNative.GetNavInputAmount2d(&ret, dirSources, mode, slowFactor, (float)(0.0f)); + return ret; + } + public static void GetNavInputAmount2d(Vector2* pOut, ImGuiNavDirSourceFlags dirSources, ImGuiNavReadMode mode) + { + ImGuiPNative.GetNavInputAmount2d(pOut, dirSources, mode, (float)(0.0f), (float)(0.0f)); + } + public static Vector2 GetNavInputAmount2d(ImGuiNavDirSourceFlags dirSources, ImGuiNavReadMode mode, float slowFactor, float fastFactor) + { + Vector2 ret; + ImGuiPNative.GetNavInputAmount2d(&ret, dirSources, mode, slowFactor, fastFactor); + return ret; + } + public static void GetNavInputAmount2d(Vector2* pOut, ImGuiNavDirSourceFlags dirSources, ImGuiNavReadMode mode, float slowFactor, float fastFactor) + { + ImGuiPNative.GetNavInputAmount2d(pOut, dirSources, mode, slowFactor, fastFactor); + } + public static void GetNavInputAmount2d(Vector2* pOut, ImGuiNavDirSourceFlags dirSources, ImGuiNavReadMode mode, float slowFactor) + { + ImGuiPNative.GetNavInputAmount2d(pOut, dirSources, mode, slowFactor, (float)(0.0f)); + } + public static void GetNavInputAmount2d(ref Vector2 pOut, ImGuiNavDirSourceFlags dirSources, ImGuiNavReadMode mode, float slowFactor, float fastFactor) + { + fixed (Vector2* ppOut = &pOut) + { + ImGuiPNative.GetNavInputAmount2d((Vector2*)ppOut, dirSources, mode, slowFactor, fastFactor); + } + } + public static void GetNavInputAmount2d(ref Vector2 pOut, ImGuiNavDirSourceFlags dirSources, ImGuiNavReadMode mode, float slowFactor) + { + fixed (Vector2* ppOut = &pOut) + { + ImGuiPNative.GetNavInputAmount2d((Vector2*)ppOut, dirSources, mode, slowFactor, (float)(0.0f)); + } + } + public static void GetNavInputAmount2d(ref Vector2 pOut, ImGuiNavDirSourceFlags dirSources, ImGuiNavReadMode mode) + { + fixed (Vector2* ppOut = &pOut) + { + ImGuiPNative.GetNavInputAmount2d((Vector2*)ppOut, dirSources, mode, (float)(0.0f), (float)(0.0f)); + } + } + public static int CalcTypematicRepeatAmount(float t0, float t1, float repeatDelay, float repeatRate) + { + int ret = ImGuiPNative.CalcTypematicRepeatAmount(t0, t1, repeatDelay, repeatRate); + return ret; + } + public static void ActivateItem(uint id) + { + ImGuiPNative.ActivateItem(id); + } + public static void SetNavWindow(ImGuiWindowPtr window) + { + ImGuiPNative.SetNavWindow(window); + } + public static void SetNavWindow(ref ImGuiWindow window) + { + fixed (ImGuiWindow* pwindow = &window) + { + ImGuiPNative.SetNavWindow((ImGuiWindow*)pwindow); + } + } + public static void SetNavID(uint id, ImGuiNavLayer navLayer, uint focusScopeId, ImRect rectRel) + { + ImGuiPNative.SetNavID(id, navLayer, focusScopeId, rectRel); + } + public static void PushFocusScope(uint id) + { + ImGuiPNative.PushFocusScope(id); + } + public static void PopFocusScope() + { + ImGuiPNative.PopFocusScope(); + } + public static uint GetFocusedFocusScope() + { + uint ret = ImGuiPNative.GetFocusedFocusScope(); + return ret; + } + public static uint GetFocusScope() + { + uint ret = ImGuiPNative.GetFocusScope(); + return ret; + } + public static bool IsNamedKey(ImGuiKey key) + { + byte ret = ImGuiPNative.IsNamedKey(key); + return ret != 0; + } + public static bool IsLegacyKey(ImGuiKey key) + { + byte ret = ImGuiPNative.IsLegacyKey(key); + return ret != 0; + } + public static bool IsGamepadKey(ImGuiKey key) + { + byte ret = ImGuiPNative.IsGamepadKey(key); + return ret != 0; + } + public static ImGuiKeyDataPtr GetKeyData(ImGuiKey key) + { + ImGuiKeyDataPtr ret = ImGuiPNative.GetKeyData(key); + return ret; + } + public static void SetItemUsingMouseWheel() + { + ImGuiPNative.SetItemUsingMouseWheel(); + } + public static void SetActiveIdUsingNavAndKeys() + { + ImGuiPNative.SetActiveIdUsingNavAndKeys(); + } + public static bool IsActiveIdUsingNavDir(ImGuiDir dir) + { + byte ret = ImGuiPNative.IsActiveIdUsingNavDir(dir); + return ret != 0; + } + public static bool IsActiveIdUsingNavInput(ImGuiNavInput input) + { + byte ret = ImGuiPNative.IsActiveIdUsingNavInput(input); + return ret != 0; + } + public static bool IsActiveIdUsingKey(ImGuiKey key) + { + byte ret = ImGuiPNative.IsActiveIdUsingKey(key); + return ret != 0; + } + public static void SetActiveIdUsingKey(ImGuiKey key) + { + ImGuiPNative.SetActiveIdUsingKey(key); + } + public static bool IsMouseDragPastThreshold(ImGuiMouseButton button, float lockThreshold) + { + byte ret = ImGuiPNative.IsMouseDragPastThreshold(button, lockThreshold); + return ret != 0; + } + public static bool IsMouseDragPastThreshold(ImGuiMouseButton button) + { + byte ret = ImGuiPNative.IsMouseDragPastThreshold(button, (float)(-1.0f)); + return ret != 0; + } + public static bool IsNavInputDown(ImGuiNavInput n) + { + byte ret = ImGuiPNative.IsNavInputDown(n); + return ret != 0; + } + public static bool IsNavInputTest(ImGuiNavInput n, ImGuiNavReadMode rm) + { + byte ret = ImGuiPNative.IsNavInputTest(n, rm); + return ret != 0; + } + public static ImGuiModFlags GetMergedModFlags() + { + ImGuiModFlags ret = ImGuiPNative.GetMergedModFlags(); + return ret; + } + public static bool IsKeyPressedMap(ImGuiKey key, bool repeat) + { + byte ret = ImGuiPNative.IsKeyPressedMap(key, repeat ? (byte)1 : (byte)0); + return ret != 0; + } + public static bool IsKeyPressedMap(ImGuiKey key) + { + byte ret = ImGuiPNative.IsKeyPressedMap(key, (byte)(1)); + return ret != 0; + } + public static void DockContextInitialize(ImGuiContextPtr ctx) + { + ImGuiPNative.DockContextInitialize(ctx); + } + public static void DockContextInitialize(ref ImGuiContext ctx) + { + fixed (ImGuiContext* pctx = &ctx) + { + ImGuiPNative.DockContextInitialize((ImGuiContext*)pctx); + } + } + public static void DockContextShutdown(ImGuiContextPtr ctx) + { + ImGuiPNative.DockContextShutdown(ctx); + } + public static void DockContextShutdown(ref ImGuiContext ctx) + { + fixed (ImGuiContext* pctx = &ctx) + { + ImGuiPNative.DockContextShutdown((ImGuiContext*)pctx); + } + } + public static void DockContextClearNodes(ImGuiContextPtr ctx, uint rootId, bool clearSettingsRefs) + { + ImGuiPNative.DockContextClearNodes(ctx, rootId, clearSettingsRefs ? (byte)1 : (byte)0); + } + public static void DockContextClearNodes(ref ImGuiContext ctx, uint rootId, bool clearSettingsRefs) + { + fixed (ImGuiContext* pctx = &ctx) + { + ImGuiPNative.DockContextClearNodes((ImGuiContext*)pctx, rootId, clearSettingsRefs ? (byte)1 : (byte)0); + } + } + public static void DockContextRebuildNodes(ImGuiContextPtr ctx) + { + ImGuiPNative.DockContextRebuildNodes(ctx); + } + public static void DockContextRebuildNodes(ref ImGuiContext ctx) + { + fixed (ImGuiContext* pctx = &ctx) + { + ImGuiPNative.DockContextRebuildNodes((ImGuiContext*)pctx); + } + } + public static void DockContextNewFrameUpdateUndocking(ImGuiContextPtr ctx) + { + ImGuiPNative.DockContextNewFrameUpdateUndocking(ctx); + } + public static void DockContextNewFrameUpdateUndocking(ref ImGuiContext ctx) + { + fixed (ImGuiContext* pctx = &ctx) + { + ImGuiPNative.DockContextNewFrameUpdateUndocking((ImGuiContext*)pctx); + } + } + public static void DockContextNewFrameUpdateDocking(ImGuiContextPtr ctx) + { + ImGuiPNative.DockContextNewFrameUpdateDocking(ctx); + } + public static void DockContextNewFrameUpdateDocking(ref ImGuiContext ctx) + { + fixed (ImGuiContext* pctx = &ctx) + { + ImGuiPNative.DockContextNewFrameUpdateDocking((ImGuiContext*)pctx); + } + } + public static void DockContextEndFrame(ImGuiContextPtr ctx) + { + ImGuiPNative.DockContextEndFrame(ctx); + } + public static void DockContextEndFrame(ref ImGuiContext ctx) + { + fixed (ImGuiContext* pctx = &ctx) + { + ImGuiPNative.DockContextEndFrame((ImGuiContext*)pctx); + } + } + public static uint DockContextGenNodeID(ImGuiContextPtr ctx) + { + uint ret = ImGuiPNative.DockContextGenNodeID(ctx); + return ret; + } + public static uint DockContextGenNodeID(ref ImGuiContext ctx) + { + fixed (ImGuiContext* pctx = &ctx) + { + uint ret = ImGuiPNative.DockContextGenNodeID((ImGuiContext*)pctx); + return ret; + } + } + public static void DockContextQueueDock(ImGuiContextPtr ctx, ImGuiWindowPtr target, ImGuiDockNodePtr targetNode, ImGuiWindowPtr payload, ImGuiDir splitDir, float splitRatio, bool splitOuter) + { + ImGuiPNative.DockContextQueueDock(ctx, target, targetNode, payload, splitDir, splitRatio, splitOuter ? (byte)1 : (byte)0); + } + public static void DockContextQueueDock(ref ImGuiContext ctx, ImGuiWindowPtr target, ImGuiDockNodePtr targetNode, ImGuiWindowPtr payload, ImGuiDir splitDir, float splitRatio, bool splitOuter) + { + fixed (ImGuiContext* pctx = &ctx) + { + ImGuiPNative.DockContextQueueDock((ImGuiContext*)pctx, target, targetNode, payload, splitDir, splitRatio, splitOuter ? (byte)1 : (byte)0); + } + } + public static void DockContextQueueDock(ImGuiContextPtr ctx, ref ImGuiWindow target, ImGuiDockNodePtr targetNode, ImGuiWindowPtr payload, ImGuiDir splitDir, float splitRatio, bool splitOuter) + { + fixed (ImGuiWindow* ptarget = &target) + { + ImGuiPNative.DockContextQueueDock(ctx, (ImGuiWindow*)ptarget, targetNode, payload, splitDir, splitRatio, splitOuter ? (byte)1 : (byte)0); + } + } + public static void DockContextQueueDock(ref ImGuiContext ctx, ref ImGuiWindow target, ImGuiDockNodePtr targetNode, ImGuiWindowPtr payload, ImGuiDir splitDir, float splitRatio, bool splitOuter) + { + fixed (ImGuiContext* pctx = &ctx) + { + fixed (ImGuiWindow* ptarget = &target) + { + ImGuiPNative.DockContextQueueDock((ImGuiContext*)pctx, (ImGuiWindow*)ptarget, targetNode, payload, splitDir, splitRatio, splitOuter ? (byte)1 : (byte)0); + } + } + } + public static void DockContextQueueDock(ImGuiContextPtr ctx, ImGuiWindowPtr target, ref ImGuiDockNode targetNode, ImGuiWindowPtr payload, ImGuiDir splitDir, float splitRatio, bool splitOuter) + { + fixed (ImGuiDockNode* ptargetNode = &targetNode) + { + ImGuiPNative.DockContextQueueDock(ctx, target, (ImGuiDockNode*)ptargetNode, payload, splitDir, splitRatio, splitOuter ? (byte)1 : (byte)0); + } + } + public static void DockContextQueueDock(ref ImGuiContext ctx, ImGuiWindowPtr target, ref ImGuiDockNode targetNode, ImGuiWindowPtr payload, ImGuiDir splitDir, float splitRatio, bool splitOuter) + { + fixed (ImGuiContext* pctx = &ctx) + { + fixed (ImGuiDockNode* ptargetNode = &targetNode) + { + ImGuiPNative.DockContextQueueDock((ImGuiContext*)pctx, target, (ImGuiDockNode*)ptargetNode, payload, splitDir, splitRatio, splitOuter ? (byte)1 : (byte)0); + } + } + } + public static void DockContextQueueDock(ImGuiContextPtr ctx, ref ImGuiWindow target, ref ImGuiDockNode targetNode, ImGuiWindowPtr payload, ImGuiDir splitDir, float splitRatio, bool splitOuter) + { + fixed (ImGuiWindow* ptarget = &target) + { + fixed (ImGuiDockNode* ptargetNode = &targetNode) + { + ImGuiPNative.DockContextQueueDock(ctx, (ImGuiWindow*)ptarget, (ImGuiDockNode*)ptargetNode, payload, splitDir, splitRatio, splitOuter ? (byte)1 : (byte)0); + } + } + } + public static void DockContextQueueDock(ref ImGuiContext ctx, ref ImGuiWindow target, ref ImGuiDockNode targetNode, ImGuiWindowPtr payload, ImGuiDir splitDir, float splitRatio, bool splitOuter) + { + fixed (ImGuiContext* pctx = &ctx) + { + fixed (ImGuiWindow* ptarget = &target) + { + fixed (ImGuiDockNode* ptargetNode = &targetNode) + { + ImGuiPNative.DockContextQueueDock((ImGuiContext*)pctx, (ImGuiWindow*)ptarget, (ImGuiDockNode*)ptargetNode, payload, splitDir, splitRatio, splitOuter ? (byte)1 : (byte)0); + } + } + } + } + public static void DockContextQueueDock(ImGuiContextPtr ctx, ImGuiWindowPtr target, ImGuiDockNodePtr targetNode, ref ImGuiWindow payload, ImGuiDir splitDir, float splitRatio, bool splitOuter) + { + fixed (ImGuiWindow* ppayload = &payload) + { + ImGuiPNative.DockContextQueueDock(ctx, target, targetNode, (ImGuiWindow*)ppayload, splitDir, splitRatio, splitOuter ? (byte)1 : (byte)0); + } + } + public static void DockContextQueueDock(ref ImGuiContext ctx, ImGuiWindowPtr target, ImGuiDockNodePtr targetNode, ref ImGuiWindow payload, ImGuiDir splitDir, float splitRatio, bool splitOuter) + { + fixed (ImGuiContext* pctx = &ctx) + { + fixed (ImGuiWindow* ppayload = &payload) + { + ImGuiPNative.DockContextQueueDock((ImGuiContext*)pctx, target, targetNode, (ImGuiWindow*)ppayload, splitDir, splitRatio, splitOuter ? (byte)1 : (byte)0); + } + } + } + public static void DockContextQueueDock(ImGuiContextPtr ctx, ref ImGuiWindow target, ImGuiDockNodePtr targetNode, ref ImGuiWindow payload, ImGuiDir splitDir, float splitRatio, bool splitOuter) + { + fixed (ImGuiWindow* ptarget = &target) + { + fixed (ImGuiWindow* ppayload = &payload) + { + ImGuiPNative.DockContextQueueDock(ctx, (ImGuiWindow*)ptarget, targetNode, (ImGuiWindow*)ppayload, splitDir, splitRatio, splitOuter ? (byte)1 : (byte)0); + } + } + } + public static void DockContextQueueDock(ref ImGuiContext ctx, ref ImGuiWindow target, ImGuiDockNodePtr targetNode, ref ImGuiWindow payload, ImGuiDir splitDir, float splitRatio, bool splitOuter) + { + fixed (ImGuiContext* pctx = &ctx) + { + fixed (ImGuiWindow* ptarget = &target) + { + fixed (ImGuiWindow* ppayload = &payload) + { + ImGuiPNative.DockContextQueueDock((ImGuiContext*)pctx, (ImGuiWindow*)ptarget, targetNode, (ImGuiWindow*)ppayload, splitDir, splitRatio, splitOuter ? (byte)1 : (byte)0); + } + } + } + } + public static void DockContextQueueDock(ImGuiContextPtr ctx, ImGuiWindowPtr target, ref ImGuiDockNode targetNode, ref ImGuiWindow payload, ImGuiDir splitDir, float splitRatio, bool splitOuter) + { + fixed (ImGuiDockNode* ptargetNode = &targetNode) + { + fixed (ImGuiWindow* ppayload = &payload) + { + ImGuiPNative.DockContextQueueDock(ctx, target, (ImGuiDockNode*)ptargetNode, (ImGuiWindow*)ppayload, splitDir, splitRatio, splitOuter ? (byte)1 : (byte)0); + } + } + } + public static void DockContextQueueDock(ref ImGuiContext ctx, ImGuiWindowPtr target, ref ImGuiDockNode targetNode, ref ImGuiWindow payload, ImGuiDir splitDir, float splitRatio, bool splitOuter) + { + fixed (ImGuiContext* pctx = &ctx) + { + fixed (ImGuiDockNode* ptargetNode = &targetNode) + { + fixed (ImGuiWindow* ppayload = &payload) + { + ImGuiPNative.DockContextQueueDock((ImGuiContext*)pctx, target, (ImGuiDockNode*)ptargetNode, (ImGuiWindow*)ppayload, splitDir, splitRatio, splitOuter ? (byte)1 : (byte)0); + } + } + } + } + public static void DockContextQueueDock(ImGuiContextPtr ctx, ref ImGuiWindow target, ref ImGuiDockNode targetNode, ref ImGuiWindow payload, ImGuiDir splitDir, float splitRatio, bool splitOuter) + { + fixed (ImGuiWindow* ptarget = &target) + { + fixed (ImGuiDockNode* ptargetNode = &targetNode) + { + fixed (ImGuiWindow* ppayload = &payload) + { + ImGuiPNative.DockContextQueueDock(ctx, (ImGuiWindow*)ptarget, (ImGuiDockNode*)ptargetNode, (ImGuiWindow*)ppayload, splitDir, splitRatio, splitOuter ? (byte)1 : (byte)0); + } + } + } + } + public static void DockContextQueueDock(ref ImGuiContext ctx, ref ImGuiWindow target, ref ImGuiDockNode targetNode, ref ImGuiWindow payload, ImGuiDir splitDir, float splitRatio, bool splitOuter) + { + fixed (ImGuiContext* pctx = &ctx) + { + fixed (ImGuiWindow* ptarget = &target) + { + fixed (ImGuiDockNode* ptargetNode = &targetNode) + { + fixed (ImGuiWindow* ppayload = &payload) + { + ImGuiPNative.DockContextQueueDock((ImGuiContext*)pctx, (ImGuiWindow*)ptarget, (ImGuiDockNode*)ptargetNode, (ImGuiWindow*)ppayload, splitDir, splitRatio, splitOuter ? (byte)1 : (byte)0); + } + } + } + } + } + public static void DockContextQueueUndockWindow(ImGuiContextPtr ctx, ImGuiWindowPtr window) + { + ImGuiPNative.DockContextQueueUndockWindow(ctx, window); + } + public static void DockContextQueueUndockWindow(ref ImGuiContext ctx, ImGuiWindowPtr window) + { + fixed (ImGuiContext* pctx = &ctx) + { + ImGuiPNative.DockContextQueueUndockWindow((ImGuiContext*)pctx, window); + } + } + public static void DockContextQueueUndockWindow(ImGuiContextPtr ctx, ref ImGuiWindow window) + { + fixed (ImGuiWindow* pwindow = &window) + { + ImGuiPNative.DockContextQueueUndockWindow(ctx, (ImGuiWindow*)pwindow); + } + } + public static void DockContextQueueUndockWindow(ref ImGuiContext ctx, ref ImGuiWindow window) + { + fixed (ImGuiContext* pctx = &ctx) + { + fixed (ImGuiWindow* pwindow = &window) + { + ImGuiPNative.DockContextQueueUndockWindow((ImGuiContext*)pctx, (ImGuiWindow*)pwindow); + } + } + } + public static void DockContextQueueUndockNode(ImGuiContextPtr ctx, ImGuiDockNodePtr node) + { + ImGuiPNative.DockContextQueueUndockNode(ctx, node); + } + public static void DockContextQueueUndockNode(ref ImGuiContext ctx, ImGuiDockNodePtr node) + { + fixed (ImGuiContext* pctx = &ctx) + { + ImGuiPNative.DockContextQueueUndockNode((ImGuiContext*)pctx, node); + } + } + public static void DockContextQueueUndockNode(ImGuiContextPtr ctx, ref ImGuiDockNode node) + { + fixed (ImGuiDockNode* pnode = &node) + { + ImGuiPNative.DockContextQueueUndockNode(ctx, (ImGuiDockNode*)pnode); + } + } + public static void DockContextQueueUndockNode(ref ImGuiContext ctx, ref ImGuiDockNode node) + { + fixed (ImGuiContext* pctx = &ctx) + { + fixed (ImGuiDockNode* pnode = &node) + { + ImGuiPNative.DockContextQueueUndockNode((ImGuiContext*)pctx, (ImGuiDockNode*)pnode); + } + } + } + public static bool DockContextCalcDropPosForDocking(ImGuiWindowPtr target, ImGuiDockNodePtr targetNode, ImGuiWindowPtr payload, ImGuiDir splitDir, bool splitOuter, Vector2* outPos) + { + byte ret = ImGuiPNative.DockContextCalcDropPosForDocking(target, targetNode, payload, splitDir, splitOuter ? (byte)1 : (byte)0, outPos); + return ret != 0; + } + public static bool DockContextCalcDropPosForDocking(ref ImGuiWindow target, ImGuiDockNodePtr targetNode, ImGuiWindowPtr payload, ImGuiDir splitDir, bool splitOuter, Vector2* outPos) + { + fixed (ImGuiWindow* ptarget = &target) + { + byte ret = ImGuiPNative.DockContextCalcDropPosForDocking((ImGuiWindow*)ptarget, targetNode, payload, splitDir, splitOuter ? (byte)1 : (byte)0, outPos); + return ret != 0; + } + } + public static bool DockContextCalcDropPosForDocking(ImGuiWindowPtr target, ref ImGuiDockNode targetNode, ImGuiWindowPtr payload, ImGuiDir splitDir, bool splitOuter, Vector2* outPos) + { + fixed (ImGuiDockNode* ptargetNode = &targetNode) + { + byte ret = ImGuiPNative.DockContextCalcDropPosForDocking(target, (ImGuiDockNode*)ptargetNode, payload, splitDir, splitOuter ? (byte)1 : (byte)0, outPos); + return ret != 0; + } + } + public static bool DockContextCalcDropPosForDocking(ref ImGuiWindow target, ref ImGuiDockNode targetNode, ImGuiWindowPtr payload, ImGuiDir splitDir, bool splitOuter, Vector2* outPos) + { + fixed (ImGuiWindow* ptarget = &target) + { + fixed (ImGuiDockNode* ptargetNode = &targetNode) + { + byte ret = ImGuiPNative.DockContextCalcDropPosForDocking((ImGuiWindow*)ptarget, (ImGuiDockNode*)ptargetNode, payload, splitDir, splitOuter ? (byte)1 : (byte)0, outPos); + return ret != 0; + } + } + } + public static bool DockContextCalcDropPosForDocking(ImGuiWindowPtr target, ImGuiDockNodePtr targetNode, ref ImGuiWindow payload, ImGuiDir splitDir, bool splitOuter, Vector2* outPos) + { + fixed (ImGuiWindow* ppayload = &payload) + { + byte ret = ImGuiPNative.DockContextCalcDropPosForDocking(target, targetNode, (ImGuiWindow*)ppayload, splitDir, splitOuter ? (byte)1 : (byte)0, outPos); + return ret != 0; + } + } + public static bool DockContextCalcDropPosForDocking(ref ImGuiWindow target, ImGuiDockNodePtr targetNode, ref ImGuiWindow payload, ImGuiDir splitDir, bool splitOuter, Vector2* outPos) + { + fixed (ImGuiWindow* ptarget = &target) + { + fixed (ImGuiWindow* ppayload = &payload) + { + byte ret = ImGuiPNative.DockContextCalcDropPosForDocking((ImGuiWindow*)ptarget, targetNode, (ImGuiWindow*)ppayload, splitDir, splitOuter ? (byte)1 : (byte)0, outPos); + return ret != 0; + } + } + } + public static bool DockContextCalcDropPosForDocking(ImGuiWindowPtr target, ref ImGuiDockNode targetNode, ref ImGuiWindow payload, ImGuiDir splitDir, bool splitOuter, Vector2* outPos) + { + fixed (ImGuiDockNode* ptargetNode = &targetNode) + { + fixed (ImGuiWindow* ppayload = &payload) + { + byte ret = ImGuiPNative.DockContextCalcDropPosForDocking(target, (ImGuiDockNode*)ptargetNode, (ImGuiWindow*)ppayload, splitDir, splitOuter ? (byte)1 : (byte)0, outPos); + return ret != 0; + } + } + } + public static bool DockContextCalcDropPosForDocking(ref ImGuiWindow target, ref ImGuiDockNode targetNode, ref ImGuiWindow payload, ImGuiDir splitDir, bool splitOuter, Vector2* outPos) + { + fixed (ImGuiWindow* ptarget = &target) + { + fixed (ImGuiDockNode* ptargetNode = &targetNode) + { + fixed (ImGuiWindow* ppayload = &payload) + { + byte ret = ImGuiPNative.DockContextCalcDropPosForDocking((ImGuiWindow*)ptarget, (ImGuiDockNode*)ptargetNode, (ImGuiWindow*)ppayload, splitDir, splitOuter ? (byte)1 : (byte)0, outPos); + return ret != 0; + } + } + } + } + public static bool DockContextCalcDropPosForDocking(ImGuiWindowPtr target, ImGuiDockNodePtr targetNode, ImGuiWindowPtr payload, ImGuiDir splitDir, bool splitOuter, ref Vector2 outPos) + { + fixed (Vector2* poutPos = &outPos) + { + byte ret = ImGuiPNative.DockContextCalcDropPosForDocking(target, targetNode, payload, splitDir, splitOuter ? (byte)1 : (byte)0, (Vector2*)poutPos); + return ret != 0; + } + } + public static bool DockContextCalcDropPosForDocking(ref ImGuiWindow target, ImGuiDockNodePtr targetNode, ImGuiWindowPtr payload, ImGuiDir splitDir, bool splitOuter, ref Vector2 outPos) + { + fixed (ImGuiWindow* ptarget = &target) + { + fixed (Vector2* poutPos = &outPos) + { + byte ret = ImGuiPNative.DockContextCalcDropPosForDocking((ImGuiWindow*)ptarget, targetNode, payload, splitDir, splitOuter ? (byte)1 : (byte)0, (Vector2*)poutPos); + return ret != 0; + } + } + } + public static bool DockContextCalcDropPosForDocking(ImGuiWindowPtr target, ref ImGuiDockNode targetNode, ImGuiWindowPtr payload, ImGuiDir splitDir, bool splitOuter, ref Vector2 outPos) + { + fixed (ImGuiDockNode* ptargetNode = &targetNode) + { + fixed (Vector2* poutPos = &outPos) + { + byte ret = ImGuiPNative.DockContextCalcDropPosForDocking(target, (ImGuiDockNode*)ptargetNode, payload, splitDir, splitOuter ? (byte)1 : (byte)0, (Vector2*)poutPos); + return ret != 0; + } + } + } + public static bool DockContextCalcDropPosForDocking(ref ImGuiWindow target, ref ImGuiDockNode targetNode, ImGuiWindowPtr payload, ImGuiDir splitDir, bool splitOuter, ref Vector2 outPos) + { + fixed (ImGuiWindow* ptarget = &target) + { + fixed (ImGuiDockNode* ptargetNode = &targetNode) + { + fixed (Vector2* poutPos = &outPos) + { + byte ret = ImGuiPNative.DockContextCalcDropPosForDocking((ImGuiWindow*)ptarget, (ImGuiDockNode*)ptargetNode, payload, splitDir, splitOuter ? (byte)1 : (byte)0, (Vector2*)poutPos); + return ret != 0; + } + } + } + } + public static bool DockContextCalcDropPosForDocking(ImGuiWindowPtr target, ImGuiDockNodePtr targetNode, ref ImGuiWindow payload, ImGuiDir splitDir, bool splitOuter, ref Vector2 outPos) + { + fixed (ImGuiWindow* ppayload = &payload) + { + fixed (Vector2* poutPos = &outPos) + { + byte ret = ImGuiPNative.DockContextCalcDropPosForDocking(target, targetNode, (ImGuiWindow*)ppayload, splitDir, splitOuter ? (byte)1 : (byte)0, (Vector2*)poutPos); + return ret != 0; + } + } + } + public static bool DockContextCalcDropPosForDocking(ref ImGuiWindow target, ImGuiDockNodePtr targetNode, ref ImGuiWindow payload, ImGuiDir splitDir, bool splitOuter, ref Vector2 outPos) + { + fixed (ImGuiWindow* ptarget = &target) + { + fixed (ImGuiWindow* ppayload = &payload) + { + fixed (Vector2* poutPos = &outPos) + { + byte ret = ImGuiPNative.DockContextCalcDropPosForDocking((ImGuiWindow*)ptarget, targetNode, (ImGuiWindow*)ppayload, splitDir, splitOuter ? (byte)1 : (byte)0, (Vector2*)poutPos); + return ret != 0; + } + } + } + } + public static bool DockContextCalcDropPosForDocking(ImGuiWindowPtr target, ref ImGuiDockNode targetNode, ref ImGuiWindow payload, ImGuiDir splitDir, bool splitOuter, ref Vector2 outPos) + { + fixed (ImGuiDockNode* ptargetNode = &targetNode) + { + fixed (ImGuiWindow* ppayload = &payload) + { + fixed (Vector2* poutPos = &outPos) + { + byte ret = ImGuiPNative.DockContextCalcDropPosForDocking(target, (ImGuiDockNode*)ptargetNode, (ImGuiWindow*)ppayload, splitDir, splitOuter ? (byte)1 : (byte)0, (Vector2*)poutPos); + return ret != 0; + } + } + } + } + public static bool DockContextCalcDropPosForDocking(ref ImGuiWindow target, ref ImGuiDockNode targetNode, ref ImGuiWindow payload, ImGuiDir splitDir, bool splitOuter, ref Vector2 outPos) + { + fixed (ImGuiWindow* ptarget = &target) + { + fixed (ImGuiDockNode* ptargetNode = &targetNode) + { + fixed (ImGuiWindow* ppayload = &payload) + { + fixed (Vector2* poutPos = &outPos) + { + byte ret = ImGuiPNative.DockContextCalcDropPosForDocking((ImGuiWindow*)ptarget, (ImGuiDockNode*)ptargetNode, (ImGuiWindow*)ppayload, splitDir, splitOuter ? (byte)1 : (byte)0, (Vector2*)poutPos); + return ret != 0; + } + } + } + } + } + public static bool DockNodeBeginAmendTabBar(ImGuiDockNodePtr node) + { + byte ret = ImGuiPNative.DockNodeBeginAmendTabBar(node); + return ret != 0; + } + public static bool DockNodeBeginAmendTabBar(ref ImGuiDockNode node) + { + fixed (ImGuiDockNode* pnode = &node) + { + byte ret = ImGuiPNative.DockNodeBeginAmendTabBar((ImGuiDockNode*)pnode); + return ret != 0; + } + } + public static void DockNodeEndAmendTabBar() + { + ImGuiPNative.DockNodeEndAmendTabBar(); + } + public static ImGuiDockNodePtr DockNodeGetRootNode(ImGuiDockNodePtr node) + { + ImGuiDockNodePtr ret = ImGuiPNative.DockNodeGetRootNode(node); + return ret; + } + public static ImGuiDockNodePtr DockNodeGetRootNode(ref ImGuiDockNode node) + { + fixed (ImGuiDockNode* pnode = &node) + { + ImGuiDockNodePtr ret = ImGuiPNative.DockNodeGetRootNode((ImGuiDockNode*)pnode); + return ret; + } + } + public static bool DockNodeIsInHierarchyOf(ImGuiDockNodePtr node, ImGuiDockNodePtr parent) + { + byte ret = ImGuiPNative.DockNodeIsInHierarchyOf(node, parent); + return ret != 0; + } + public static bool DockNodeIsInHierarchyOf(ref ImGuiDockNode node, ImGuiDockNodePtr parent) + { + fixed (ImGuiDockNode* pnode = &node) + { + byte ret = ImGuiPNative.DockNodeIsInHierarchyOf((ImGuiDockNode*)pnode, parent); + return ret != 0; + } + } + public static bool DockNodeIsInHierarchyOf(ImGuiDockNodePtr node, ref ImGuiDockNode parent) + { + fixed (ImGuiDockNode* pparent = &parent) + { + byte ret = ImGuiPNative.DockNodeIsInHierarchyOf(node, (ImGuiDockNode*)pparent); + return ret != 0; + } + } + public static bool DockNodeIsInHierarchyOf(ref ImGuiDockNode node, ref ImGuiDockNode parent) + { + fixed (ImGuiDockNode* pnode = &node) + { + fixed (ImGuiDockNode* pparent = &parent) + { + byte ret = ImGuiPNative.DockNodeIsInHierarchyOf((ImGuiDockNode*)pnode, (ImGuiDockNode*)pparent); + return ret != 0; + } + } + } + public static int DockNodeGetDepth(ImGuiDockNodePtr node) + { + int ret = ImGuiPNative.DockNodeGetDepth(node); + return ret; + } + public static int DockNodeGetDepth(ref ImGuiDockNode node) + { + fixed (ImGuiDockNode* pnode = &node) + { + int ret = ImGuiPNative.DockNodeGetDepth((ImGuiDockNode*)pnode); + return ret; + } + } + public static uint DockNodeGetWindowMenuButtonId(ImGuiDockNodePtr node) + { + uint ret = ImGuiPNative.DockNodeGetWindowMenuButtonId(node); + return ret; + } + public static uint DockNodeGetWindowMenuButtonId(ref ImGuiDockNode node) + { + fixed (ImGuiDockNode* pnode = &node) + { + uint ret = ImGuiPNative.DockNodeGetWindowMenuButtonId((ImGuiDockNode*)pnode); + return ret; + } + } + public static ImGuiDockNodePtr GetWindowDockNode() + { + ImGuiDockNodePtr ret = ImGuiPNative.GetWindowDockNode(); + return ret; + } + public static bool GetWindowAlwaysWantOwnTabBar(ImGuiWindowPtr window) + { + byte ret = ImGuiPNative.GetWindowAlwaysWantOwnTabBar(window); + return ret != 0; + } + public static bool GetWindowAlwaysWantOwnTabBar(ref ImGuiWindow window) + { + fixed (ImGuiWindow* pwindow = &window) + { + byte ret = ImGuiPNative.GetWindowAlwaysWantOwnTabBar((ImGuiWindow*)pwindow); + return ret != 0; + } + } + public static void BeginDocked(ImGuiWindowPtr window, bool* pOpen) + { + ImGuiPNative.BeginDocked(window, pOpen); + } + public static void BeginDocked(ref ImGuiWindow window, bool* pOpen) + { + fixed (ImGuiWindow* pwindow = &window) + { + ImGuiPNative.BeginDocked((ImGuiWindow*)pwindow, pOpen); + } + } + public static void BeginDocked(ImGuiWindowPtr window, ref bool pOpen) + { + fixed (bool* ppOpen = &pOpen) + { + ImGuiPNative.BeginDocked(window, (bool*)ppOpen); + } + } + public static void BeginDocked(ref ImGuiWindow window, ref bool pOpen) + { + fixed (ImGuiWindow* pwindow = &window) + { + fixed (bool* ppOpen = &pOpen) + { + ImGuiPNative.BeginDocked((ImGuiWindow*)pwindow, (bool*)ppOpen); + } + } + } + public static void BeginDockableDragDropSource(ImGuiWindowPtr window) + { + ImGuiPNative.BeginDockableDragDropSource(window); + } + public static void BeginDockableDragDropSource(ref ImGuiWindow window) + { + fixed (ImGuiWindow* pwindow = &window) + { + ImGuiPNative.BeginDockableDragDropSource((ImGuiWindow*)pwindow); + } + } + public static void BeginDockableDragDropTarget(ImGuiWindowPtr window) + { + ImGuiPNative.BeginDockableDragDropTarget(window); + } + public static void BeginDockableDragDropTarget(ref ImGuiWindow window) + { + fixed (ImGuiWindow* pwindow = &window) + { + ImGuiPNative.BeginDockableDragDropTarget((ImGuiWindow*)pwindow); + } + } + public static void SetWindowDock(ImGuiWindowPtr window, uint dockId, ImGuiCond cond) + { + ImGuiPNative.SetWindowDock(window, dockId, cond); + } + public static void SetWindowDock(ref ImGuiWindow window, uint dockId, ImGuiCond cond) + { + fixed (ImGuiWindow* pwindow = &window) + { + ImGuiPNative.SetWindowDock((ImGuiWindow*)pwindow, dockId, cond); + } + } + public static ImGuiDockNodePtr DockBuilderGetNode(uint nodeId) + { + ImGuiDockNodePtr ret = ImGuiPNative.DockBuilderGetNode(nodeId); + return ret; + } + public static ImGuiDockNodePtr DockBuilderGetCentralNode(uint nodeId) + { + ImGuiDockNodePtr ret = ImGuiPNative.DockBuilderGetCentralNode(nodeId); + return ret; + } + public static uint DockBuilderAddNode(uint nodeId, ImGuiDockNodeFlags flags) + { + uint ret = ImGuiPNative.DockBuilderAddNode(nodeId, flags); + return ret; + } + public static uint DockBuilderAddNode(uint nodeId) + { + uint ret = ImGuiPNative.DockBuilderAddNode(nodeId, (ImGuiDockNodeFlags)(0)); + return ret; + } + public static uint DockBuilderAddNode() + { + uint ret = ImGuiPNative.DockBuilderAddNode((uint)(0), (ImGuiDockNodeFlags)(0)); + return ret; + } + public static uint DockBuilderAddNode(ImGuiDockNodeFlags flags) + { + uint ret = ImGuiPNative.DockBuilderAddNode((uint)(0), flags); + return ret; + } + public static void DockBuilderRemoveNode(uint nodeId) + { + ImGuiPNative.DockBuilderRemoveNode(nodeId); + } + public static void DockBuilderRemoveNodeDockedWindows(uint nodeId, bool clearSettingsRefs) + { + ImGuiPNative.DockBuilderRemoveNodeDockedWindows(nodeId, clearSettingsRefs ? (byte)1 : (byte)0); + } + public static void DockBuilderRemoveNodeDockedWindows(uint nodeId) + { + ImGuiPNative.DockBuilderRemoveNodeDockedWindows(nodeId, (byte)(1)); + } + public static void DockBuilderRemoveNodeChildNodes(uint nodeId) + { + ImGuiPNative.DockBuilderRemoveNodeChildNodes(nodeId); + } + public static void DockBuilderSetNodePos(uint nodeId, Vector2 pos) + { + ImGuiPNative.DockBuilderSetNodePos(nodeId, pos); + } + public static void DockBuilderSetNodeSize(uint nodeId, Vector2 size) + { + ImGuiPNative.DockBuilderSetNodeSize(nodeId, size); + } + public static uint DockBuilderSplitNode(uint nodeId, ImGuiDir splitDir, float sizeRatioForNodeAtDir, uint* outIdAtDir, uint* outIdAtOppositeDir) + { + uint ret = ImGuiPNative.DockBuilderSplitNode(nodeId, splitDir, sizeRatioForNodeAtDir, outIdAtDir, outIdAtOppositeDir); + return ret; + } + public static void DockBuilderCopyDockSpace(uint srcDockspaceId, uint dstDockspaceId, ImVector>* inWindowRemapPairs) + { + ImGuiPNative.DockBuilderCopyDockSpace(srcDockspaceId, dstDockspaceId, inWindowRemapPairs); + } + public static void DockBuilderCopyDockSpace(uint srcDockspaceId, uint dstDockspaceId, ref ImVector> inWindowRemapPairs) + { + fixed (ImVector>* pinWindowRemapPairs = &inWindowRemapPairs) + { + ImGuiPNative.DockBuilderCopyDockSpace(srcDockspaceId, dstDockspaceId, (ImVector>*)pinWindowRemapPairs); + } + } + public static void DockBuilderCopyNode(uint srcNodeId, uint dstNodeId, ImVector* outNodeRemapPairs) + { + ImGuiPNative.DockBuilderCopyNode(srcNodeId, dstNodeId, outNodeRemapPairs); + } + public static void DockBuilderCopyNode(uint srcNodeId, uint dstNodeId, ref ImVector outNodeRemapPairs) + { + fixed (ImVector* poutNodeRemapPairs = &outNodeRemapPairs) + { + ImGuiPNative.DockBuilderCopyNode(srcNodeId, dstNodeId, (ImVector*)poutNodeRemapPairs); + } + } + public static void DockBuilderFinish(uint nodeId) + { + ImGuiPNative.DockBuilderFinish(nodeId); + } + public static bool IsDragDropActive() + { + byte ret = ImGuiPNative.IsDragDropActive(); + return ret != 0; + } + public static bool BeginDragDropTargetCustom(ImRect bb, uint id) + { + byte ret = ImGuiPNative.BeginDragDropTargetCustom(bb, id); + return ret != 0; + } + public static void ClearDragDrop() + { + ImGuiPNative.ClearDragDrop(); + } + public static bool IsDragDropPayloadBeingAccepted() + { + byte ret = ImGuiPNative.IsDragDropPayloadBeingAccepted(); + return ret != 0; + } + public static void SetWindowClipRectBeforeSetChannel(ImGuiWindowPtr window, ImRect clipRect) + { + ImGuiPNative.SetWindowClipRectBeforeSetChannel(window, clipRect); + } + public static void SetWindowClipRectBeforeSetChannel(ref ImGuiWindow window, ImRect clipRect) + { + fixed (ImGuiWindow* pwindow = &window) + { + ImGuiPNative.SetWindowClipRectBeforeSetChannel((ImGuiWindow*)pwindow, clipRect); + } + } + public static void EndColumns() + { + ImGuiPNative.EndColumns(); + } + public static void PushColumnClipRect(int columnIndex) + { + ImGuiPNative.PushColumnClipRect(columnIndex); + } + public static void PushColumnsBackground() + { + ImGuiPNative.PushColumnsBackground(); + } + public static void PopColumnsBackground() + { + ImGuiPNative.PopColumnsBackground(); + } + public static ImGuiOldColumnsPtr FindOrCreateColumns(ImGuiWindowPtr window, uint id) + { + ImGuiOldColumnsPtr ret = ImGuiPNative.FindOrCreateColumns(window, id); + return ret; + } + public static ImGuiOldColumnsPtr FindOrCreateColumns(ref ImGuiWindow window, uint id) + { + fixed (ImGuiWindow* pwindow = &window) + { + ImGuiOldColumnsPtr ret = ImGuiPNative.FindOrCreateColumns((ImGuiWindow*)pwindow, id); + return ret; + } + } + public static float GetColumnOffsetFromNorm(ImGuiOldColumnsPtr columns, float offsetNorm) + { + float ret = ImGuiPNative.GetColumnOffsetFromNorm(columns, offsetNorm); + return ret; + } + public static float GetColumnOffsetFromNorm(ref ImGuiOldColumns columns, float offsetNorm) + { + fixed (ImGuiOldColumns* pcolumns = &columns) + { + float ret = ImGuiPNative.GetColumnOffsetFromNorm((ImGuiOldColumns*)pcolumns, offsetNorm); + return ret; + } + } + public static float GetColumnNormFromOffset(ImGuiOldColumnsPtr columns, float offset) + { + float ret = ImGuiPNative.GetColumnNormFromOffset(columns, offset); + return ret; + } + public static float GetColumnNormFromOffset(ref ImGuiOldColumns columns, float offset) + { + fixed (ImGuiOldColumns* pcolumns = &columns) + { + float ret = ImGuiPNative.GetColumnNormFromOffset((ImGuiOldColumns*)pcolumns, offset); + return ret; + } + } + public static void TableOpenContextMenu(int columnN) + { + ImGuiPNative.TableOpenContextMenu(columnN); + } + public static void TableOpenContextMenu() + { + ImGuiPNative.TableOpenContextMenu((int)(-1)); + } + public static void TableSetColumnWidth(int columnN, float width) + { + ImGuiPNative.TableSetColumnWidth(columnN, width); + } + public static void TableSetColumnSortDirection(int columnN, ImGuiSortDirection sortDirection, bool appendToSortSpecs) + { + ImGuiPNative.TableSetColumnSortDirection(columnN, sortDirection, appendToSortSpecs ? (byte)1 : (byte)0); + } + public static int TableGetHoveredColumn() + { + int ret = ImGuiPNative.TableGetHoveredColumn(); + return ret; + } + public static float TableGetHeaderRowHeight() + { + float ret = ImGuiPNative.TableGetHeaderRowHeight(); + return ret; + } + public static void TablePushBackgroundChannel() + { + ImGuiPNative.TablePushBackgroundChannel(); + } + public static void TablePopBackgroundChannel() + { + ImGuiPNative.TablePopBackgroundChannel(); + } + public static ImGuiTablePtr GetCurrentTable() + { + ImGuiTablePtr ret = ImGuiPNative.GetCurrentTable(); + return ret; + } + public static ImGuiTablePtr TableFindByID(uint id) + { + ImGuiTablePtr ret = ImGuiPNative.TableFindByID(id); + return ret; + } + public static void TableBeginInitMemory(ImGuiTablePtr table, int columnsCount) + { + ImGuiPNative.TableBeginInitMemory(table, columnsCount); + } + public static void TableBeginInitMemory(ref ImGuiTable table, int columnsCount) + { + fixed (ImGuiTable* ptable = &table) + { + ImGuiPNative.TableBeginInitMemory((ImGuiTable*)ptable, columnsCount); + } + } + public static void TableBeginApplyRequests(ImGuiTablePtr table) + { + ImGuiPNative.TableBeginApplyRequests(table); + } + public static void TableBeginApplyRequests(ref ImGuiTable table) + { + fixed (ImGuiTable* ptable = &table) + { + ImGuiPNative.TableBeginApplyRequests((ImGuiTable*)ptable); + } + } + public static void TableSetupDrawChannels(ImGuiTablePtr table) + { + ImGuiPNative.TableSetupDrawChannels(table); + } + public static void TableSetupDrawChannels(ref ImGuiTable table) + { + fixed (ImGuiTable* ptable = &table) + { + ImGuiPNative.TableSetupDrawChannels((ImGuiTable*)ptable); + } + } + public static void TableUpdateLayout(ImGuiTablePtr table) + { + ImGuiPNative.TableUpdateLayout(table); + } + public static void TableUpdateLayout(ref ImGuiTable table) + { + fixed (ImGuiTable* ptable = &table) + { + ImGuiPNative.TableUpdateLayout((ImGuiTable*)ptable); + } + } + public static void TableUpdateBorders(ImGuiTablePtr table) + { + ImGuiPNative.TableUpdateBorders(table); + } + public static void TableUpdateBorders(ref ImGuiTable table) + { + fixed (ImGuiTable* ptable = &table) + { + ImGuiPNative.TableUpdateBorders((ImGuiTable*)ptable); + } + } + public static void TableUpdateColumnsWeightFromWidth(ImGuiTablePtr table) + { + ImGuiPNative.TableUpdateColumnsWeightFromWidth(table); + } + public static void TableUpdateColumnsWeightFromWidth(ref ImGuiTable table) + { + fixed (ImGuiTable* ptable = &table) + { + ImGuiPNative.TableUpdateColumnsWeightFromWidth((ImGuiTable*)ptable); + } + } + public static void TableDrawBorders(ImGuiTablePtr table) + { + ImGuiPNative.TableDrawBorders(table); + } + public static void TableDrawBorders(ref ImGuiTable table) + { + fixed (ImGuiTable* ptable = &table) + { + ImGuiPNative.TableDrawBorders((ImGuiTable*)ptable); + } + } + public static void TableDrawContextMenu(ImGuiTablePtr table) + { + ImGuiPNative.TableDrawContextMenu(table); + } + public static void TableDrawContextMenu(ref ImGuiTable table) + { + fixed (ImGuiTable* ptable = &table) + { + ImGuiPNative.TableDrawContextMenu((ImGuiTable*)ptable); + } + } + public static void TableMergeDrawChannels(ImGuiTablePtr table) + { + ImGuiPNative.TableMergeDrawChannels(table); + } + public static void TableMergeDrawChannels(ref ImGuiTable table) + { + fixed (ImGuiTable* ptable = &table) + { + ImGuiPNative.TableMergeDrawChannels((ImGuiTable*)ptable); + } + } + public static ImGuiTableInstanceDataPtr TableGetInstanceData(ImGuiTablePtr table, int instanceNo) + { + ImGuiTableInstanceDataPtr ret = ImGuiPNative.TableGetInstanceData(table, instanceNo); + return ret; + } + public static ImGuiTableInstanceDataPtr TableGetInstanceData(ref ImGuiTable table, int instanceNo) + { + fixed (ImGuiTable* ptable = &table) + { + ImGuiTableInstanceDataPtr ret = ImGuiPNative.TableGetInstanceData((ImGuiTable*)ptable, instanceNo); + return ret; + } + } + public static void TableSortSpecsSanitize(ImGuiTablePtr table) + { + ImGuiPNative.TableSortSpecsSanitize(table); + } + public static void TableSortSpecsSanitize(ref ImGuiTable table) + { + fixed (ImGuiTable* ptable = &table) + { + ImGuiPNative.TableSortSpecsSanitize((ImGuiTable*)ptable); + } + } + public static void TableSortSpecsBuild(ImGuiTablePtr table) + { + ImGuiPNative.TableSortSpecsBuild(table); + } + public static void TableSortSpecsBuild(ref ImGuiTable table) + { + fixed (ImGuiTable* ptable = &table) + { + ImGuiPNative.TableSortSpecsBuild((ImGuiTable*)ptable); + } + } + public static ImGuiSortDirection TableGetColumnNextSortDirection(ImGuiTableColumnPtr column) + { + ImGuiSortDirection ret = ImGuiPNative.TableGetColumnNextSortDirection(column); + return ret; + } + public static ImGuiSortDirection TableGetColumnNextSortDirection(ref ImGuiTableColumn column) + { + fixed (ImGuiTableColumn* pcolumn = &column) + { + ImGuiSortDirection ret = ImGuiPNative.TableGetColumnNextSortDirection((ImGuiTableColumn*)pcolumn); + return ret; + } + } + public static void TableFixColumnSortDirection(ImGuiTablePtr table, ImGuiTableColumnPtr column) + { + ImGuiPNative.TableFixColumnSortDirection(table, column); + } + public static void TableFixColumnSortDirection(ref ImGuiTable table, ImGuiTableColumnPtr column) + { + fixed (ImGuiTable* ptable = &table) + { + ImGuiPNative.TableFixColumnSortDirection((ImGuiTable*)ptable, column); + } + } + public static void TableFixColumnSortDirection(ImGuiTablePtr table, ref ImGuiTableColumn column) + { + fixed (ImGuiTableColumn* pcolumn = &column) + { + ImGuiPNative.TableFixColumnSortDirection(table, (ImGuiTableColumn*)pcolumn); + } + } + public static void TableFixColumnSortDirection(ref ImGuiTable table, ref ImGuiTableColumn column) + { + fixed (ImGuiTable* ptable = &table) + { + fixed (ImGuiTableColumn* pcolumn = &column) + { + ImGuiPNative.TableFixColumnSortDirection((ImGuiTable*)ptable, (ImGuiTableColumn*)pcolumn); + } + } + } + public static float TableGetColumnWidthAuto(ImGuiTablePtr table, ImGuiTableColumnPtr column) + { + float ret = ImGuiPNative.TableGetColumnWidthAuto(table, column); + return ret; + } + public static float TableGetColumnWidthAuto(ref ImGuiTable table, ImGuiTableColumnPtr column) + { + fixed (ImGuiTable* ptable = &table) + { + float ret = ImGuiPNative.TableGetColumnWidthAuto((ImGuiTable*)ptable, column); + return ret; + } + } + public static float TableGetColumnWidthAuto(ImGuiTablePtr table, ref ImGuiTableColumn column) + { + fixed (ImGuiTableColumn* pcolumn = &column) + { + float ret = ImGuiPNative.TableGetColumnWidthAuto(table, (ImGuiTableColumn*)pcolumn); + return ret; + } + } + public static float TableGetColumnWidthAuto(ref ImGuiTable table, ref ImGuiTableColumn column) + { + fixed (ImGuiTable* ptable = &table) + { + fixed (ImGuiTableColumn* pcolumn = &column) + { + float ret = ImGuiPNative.TableGetColumnWidthAuto((ImGuiTable*)ptable, (ImGuiTableColumn*)pcolumn); + return ret; + } + } + } + public static void TableBeginRow(ImGuiTablePtr table) + { + ImGuiPNative.TableBeginRow(table); + } + public static void TableBeginRow(ref ImGuiTable table) + { + fixed (ImGuiTable* ptable = &table) + { + ImGuiPNative.TableBeginRow((ImGuiTable*)ptable); + } + } + public static void TableEndRow(ImGuiTablePtr table) + { + ImGuiPNative.TableEndRow(table); + } + public static void TableEndRow(ref ImGuiTable table) + { + fixed (ImGuiTable* ptable = &table) + { + ImGuiPNative.TableEndRow((ImGuiTable*)ptable); + } + } + public static void TableBeginCell(ImGuiTablePtr table, int columnN) + { + ImGuiPNative.TableBeginCell(table, columnN); + } + public static void TableBeginCell(ref ImGuiTable table, int columnN) + { + fixed (ImGuiTable* ptable = &table) + { + ImGuiPNative.TableBeginCell((ImGuiTable*)ptable, columnN); + } + } + public static void TableEndCell(ImGuiTablePtr table) + { + ImGuiPNative.TableEndCell(table); + } + public static void TableEndCell(ref ImGuiTable table) + { + fixed (ImGuiTable* ptable = &table) + { + ImGuiPNative.TableEndCell((ImGuiTable*)ptable); + } + } + public static ImRect TableGetCellBgRect(ImGuiTablePtr table, int columnN) + { + ImRect ret; + ImGuiPNative.TableGetCellBgRect(&ret, table, columnN); + return ret; + } + public static void TableGetCellBgRect(ImRectPtr pOut, ImGuiTablePtr table, int columnN) + { + ImGuiPNative.TableGetCellBgRect(pOut, table, columnN); + } + public static void TableGetCellBgRect(ref ImRect pOut, ImGuiTablePtr table, int columnN) + { + fixed (ImRect* ppOut = &pOut) + { + ImGuiPNative.TableGetCellBgRect((ImRect*)ppOut, table, columnN); + } + } + public static ImRect TableGetCellBgRect(ref ImGuiTable table, int columnN) + { + fixed (ImGuiTable* ptable = &table) + { + ImRect ret; + ImGuiPNative.TableGetCellBgRect(&ret, (ImGuiTable*)ptable, columnN); + return ret; + } + } + public static void TableGetCellBgRect(ImRectPtr pOut, ref ImGuiTable table, int columnN) + { + fixed (ImGuiTable* ptable = &table) + { + ImGuiPNative.TableGetCellBgRect(pOut, (ImGuiTable*)ptable, columnN); + } + } + public static void TableGetCellBgRect(ref ImRect pOut, ref ImGuiTable table, int columnN) + { + fixed (ImRect* ppOut = &pOut) + { + fixed (ImGuiTable* ptable = &table) + { + ImGuiPNative.TableGetCellBgRect((ImRect*)ppOut, (ImGuiTable*)ptable, columnN); + } + } + } + public static uint TableGetColumnResizeID(ImGuiTablePtr table, int columnN, int instanceNo) + { + uint ret = ImGuiPNative.TableGetColumnResizeID(table, columnN, instanceNo); + return ret; + } + public static uint TableGetColumnResizeID(ImGuiTablePtr table, int columnN) + { + uint ret = ImGuiPNative.TableGetColumnResizeID(table, columnN, (int)(0)); + return ret; + } + public static uint TableGetColumnResizeID(ref ImGuiTable table, int columnN, int instanceNo) + { + fixed (ImGuiTable* ptable = &table) + { + uint ret = ImGuiPNative.TableGetColumnResizeID((ImGuiTable*)ptable, columnN, instanceNo); + return ret; + } + } + public static uint TableGetColumnResizeID(ref ImGuiTable table, int columnN) + { + fixed (ImGuiTable* ptable = &table) + { + uint ret = ImGuiPNative.TableGetColumnResizeID((ImGuiTable*)ptable, columnN, (int)(0)); + return ret; + } + } + public static float TableGetMaxColumnWidth(ImGuiTablePtr table, int columnN) + { + float ret = ImGuiPNative.TableGetMaxColumnWidth(table, columnN); + return ret; + } + public static float TableGetMaxColumnWidth(ref ImGuiTable table, int columnN) + { + fixed (ImGuiTable* ptable = &table) + { + float ret = ImGuiPNative.TableGetMaxColumnWidth((ImGuiTable*)ptable, columnN); + return ret; + } + } + public static void TableSetColumnWidthAutoSingle(ImGuiTablePtr table, int columnN) + { + ImGuiPNative.TableSetColumnWidthAutoSingle(table, columnN); + } + public static void TableSetColumnWidthAutoSingle(ref ImGuiTable table, int columnN) + { + fixed (ImGuiTable* ptable = &table) + { + ImGuiPNative.TableSetColumnWidthAutoSingle((ImGuiTable*)ptable, columnN); + } + } + public static void TableSetColumnWidthAutoAll(ImGuiTablePtr table) + { + ImGuiPNative.TableSetColumnWidthAutoAll(table); + } + public static void TableSetColumnWidthAutoAll(ref ImGuiTable table) + { + fixed (ImGuiTable* ptable = &table) + { + ImGuiPNative.TableSetColumnWidthAutoAll((ImGuiTable*)ptable); + } + } + public static void TableRemove(ImGuiTablePtr table) + { + ImGuiPNative.TableRemove(table); + } + public static void TableRemove(ref ImGuiTable table) + { + fixed (ImGuiTable* ptable = &table) + { + ImGuiPNative.TableRemove((ImGuiTable*)ptable); + } + } + public static void TableGcCompactTransientBuffers(ImGuiTablePtr table) + { + ImGuiPNative.TableGcCompactTransientBuffers(table); + } + public static void TableGcCompactTransientBuffers(ref ImGuiTable table) + { + fixed (ImGuiTable* ptable = &table) + { + ImGuiPNative.TableGcCompactTransientBuffers((ImGuiTable*)ptable); + } + } + public static void TableGcCompactTransientBuffers(ImGuiTableTempDataPtr table) + { + ImGuiPNative.TableGcCompactTransientBuffers(table); + } + public static void TableGcCompactTransientBuffers(ref ImGuiTableTempData table) + { + fixed (ImGuiTableTempData* ptable = &table) + { + ImGuiPNative.TableGcCompactTransientBuffers((ImGuiTableTempData*)ptable); + } + } + public static void TableGcCompactSettings() + { + ImGuiPNative.TableGcCompactSettings(); + } + public static void TableLoadSettings(ImGuiTablePtr table) + { + ImGuiPNative.TableLoadSettings(table); + } + public static void TableLoadSettings(ref ImGuiTable table) + { + fixed (ImGuiTable* ptable = &table) + { + ImGuiPNative.TableLoadSettings((ImGuiTable*)ptable); + } + } + public static void TableSaveSettings(ImGuiTablePtr table) + { + ImGuiPNative.TableSaveSettings(table); + } + public static void TableSaveSettings(ref ImGuiTable table) + { + fixed (ImGuiTable* ptable = &table) + { + ImGuiPNative.TableSaveSettings((ImGuiTable*)ptable); + } + } + public static void TableResetSettings(ImGuiTablePtr table) + { + ImGuiPNative.TableResetSettings(table); + } + public static void TableResetSettings(ref ImGuiTable table) + { + fixed (ImGuiTable* ptable = &table) + { + ImGuiPNative.TableResetSettings((ImGuiTable*)ptable); + } + } + public static ImGuiTableSettingsPtr TableGetBoundSettings(ImGuiTablePtr table) + { + ImGuiTableSettingsPtr ret = ImGuiPNative.TableGetBoundSettings(table); + return ret; + } + public static ImGuiTableSettingsPtr TableGetBoundSettings(ref ImGuiTable table) + { + fixed (ImGuiTable* ptable = &table) + { + ImGuiTableSettingsPtr ret = ImGuiPNative.TableGetBoundSettings((ImGuiTable*)ptable); + return ret; + } + } + public static void TableSettingsAddSettingsHandler() + { + ImGuiPNative.TableSettingsAddSettingsHandler(); + } + public static ImGuiTableSettingsPtr TableSettingsCreate(uint id, int columnsCount) + { + ImGuiTableSettingsPtr ret = ImGuiPNative.TableSettingsCreate(id, columnsCount); + return ret; + } + public static ImGuiTableSettingsPtr TableSettingsFindByID(uint id) + { + ImGuiTableSettingsPtr ret = ImGuiPNative.TableSettingsFindByID(id); + return ret; + } + public static bool BeginTabBarEx(ImGuiTabBarPtr tabBar, ImRect bb, ImGuiTabBarFlags flags, ImGuiDockNodePtr dockNode) + { + byte ret = ImGuiPNative.BeginTabBarEx(tabBar, bb, flags, dockNode); + return ret != 0; + } + public static bool BeginTabBarEx(ref ImGuiTabBar tabBar, ImRect bb, ImGuiTabBarFlags flags, ImGuiDockNodePtr dockNode) + { + fixed (ImGuiTabBar* ptabBar = &tabBar) + { + byte ret = ImGuiPNative.BeginTabBarEx((ImGuiTabBar*)ptabBar, bb, flags, dockNode); + return ret != 0; + } + } + public static bool BeginTabBarEx(ImGuiTabBarPtr tabBar, ImRect bb, ImGuiTabBarFlags flags, ref ImGuiDockNode dockNode) + { + fixed (ImGuiDockNode* pdockNode = &dockNode) + { + byte ret = ImGuiPNative.BeginTabBarEx(tabBar, bb, flags, (ImGuiDockNode*)pdockNode); + return ret != 0; + } + } + public static bool BeginTabBarEx(ref ImGuiTabBar tabBar, ImRect bb, ImGuiTabBarFlags flags, ref ImGuiDockNode dockNode) + { + fixed (ImGuiTabBar* ptabBar = &tabBar) + { + fixed (ImGuiDockNode* pdockNode = &dockNode) + { + byte ret = ImGuiPNative.BeginTabBarEx((ImGuiTabBar*)ptabBar, bb, flags, (ImGuiDockNode*)pdockNode); + return ret != 0; + } + } + } + public static ImGuiTabItemPtr TabBarFindTabByID(ImGuiTabBarPtr tabBar, uint tabId) + { + ImGuiTabItemPtr ret = ImGuiPNative.TabBarFindTabByID(tabBar, tabId); + return ret; + } + public static ImGuiTabItemPtr TabBarFindTabByID(ref ImGuiTabBar tabBar, uint tabId) + { + fixed (ImGuiTabBar* ptabBar = &tabBar) + { + ImGuiTabItemPtr ret = ImGuiPNative.TabBarFindTabByID((ImGuiTabBar*)ptabBar, tabId); + return ret; + } + } + public static ImGuiTabItemPtr TabBarFindMostRecentlySelectedTabForActiveWindow(ImGuiTabBarPtr tabBar) + { + ImGuiTabItemPtr ret = ImGuiPNative.TabBarFindMostRecentlySelectedTabForActiveWindow(tabBar); + return ret; + } + public static ImGuiTabItemPtr TabBarFindMostRecentlySelectedTabForActiveWindow(ref ImGuiTabBar tabBar) + { + fixed (ImGuiTabBar* ptabBar = &tabBar) + { + ImGuiTabItemPtr ret = ImGuiPNative.TabBarFindMostRecentlySelectedTabForActiveWindow((ImGuiTabBar*)ptabBar); + return ret; + } + } + public static void TabBarAddTab(ImGuiTabBarPtr tabBar, ImGuiTabItemFlags tabFlags, ImGuiWindowPtr window) + { + ImGuiPNative.TabBarAddTab(tabBar, tabFlags, window); + } + public static void TabBarAddTab(ref ImGuiTabBar tabBar, ImGuiTabItemFlags tabFlags, ImGuiWindowPtr window) + { + fixed (ImGuiTabBar* ptabBar = &tabBar) + { + ImGuiPNative.TabBarAddTab((ImGuiTabBar*)ptabBar, tabFlags, window); + } + } + public static void TabBarAddTab(ImGuiTabBarPtr tabBar, ImGuiTabItemFlags tabFlags, ref ImGuiWindow window) + { + fixed (ImGuiWindow* pwindow = &window) + { + ImGuiPNative.TabBarAddTab(tabBar, tabFlags, (ImGuiWindow*)pwindow); + } + } + public static void TabBarAddTab(ref ImGuiTabBar tabBar, ImGuiTabItemFlags tabFlags, ref ImGuiWindow window) + { + fixed (ImGuiTabBar* ptabBar = &tabBar) + { + fixed (ImGuiWindow* pwindow = &window) + { + ImGuiPNative.TabBarAddTab((ImGuiTabBar*)ptabBar, tabFlags, (ImGuiWindow*)pwindow); + } + } + } + public static void TabBarRemoveTab(ImGuiTabBarPtr tabBar, uint tabId) + { + ImGuiPNative.TabBarRemoveTab(tabBar, tabId); + } + public static void TabBarRemoveTab(ref ImGuiTabBar tabBar, uint tabId) + { + fixed (ImGuiTabBar* ptabBar = &tabBar) + { + ImGuiPNative.TabBarRemoveTab((ImGuiTabBar*)ptabBar, tabId); + } + } + public static void TabBarCloseTab(ImGuiTabBarPtr tabBar, ImGuiTabItemPtr tab) + { + ImGuiPNative.TabBarCloseTab(tabBar, tab); + } + public static void TabBarCloseTab(ref ImGuiTabBar tabBar, ImGuiTabItemPtr tab) + { + fixed (ImGuiTabBar* ptabBar = &tabBar) + { + ImGuiPNative.TabBarCloseTab((ImGuiTabBar*)ptabBar, tab); + } + } + public static void TabBarCloseTab(ImGuiTabBarPtr tabBar, ref ImGuiTabItem tab) + { + fixed (ImGuiTabItem* ptab = &tab) + { + ImGuiPNative.TabBarCloseTab(tabBar, (ImGuiTabItem*)ptab); + } + } + public static void TabBarCloseTab(ref ImGuiTabBar tabBar, ref ImGuiTabItem tab) + { + fixed (ImGuiTabBar* ptabBar = &tabBar) + { + fixed (ImGuiTabItem* ptab = &tab) + { + ImGuiPNative.TabBarCloseTab((ImGuiTabBar*)ptabBar, (ImGuiTabItem*)ptab); + } + } + } + public static void TabBarQueueReorder(ImGuiTabBarPtr tabBar, ImGuiTabItemPtr tab, int offset) + { + ImGuiPNative.TabBarQueueReorder(tabBar, tab, offset); + } + public static void TabBarQueueReorder(ref ImGuiTabBar tabBar, ImGuiTabItemPtr tab, int offset) + { + fixed (ImGuiTabBar* ptabBar = &tabBar) + { + ImGuiPNative.TabBarQueueReorder((ImGuiTabBar*)ptabBar, tab, offset); + } + } + public static void TabBarQueueReorder(ImGuiTabBarPtr tabBar, ref ImGuiTabItem tab, int offset) + { + fixed (ImGuiTabItem* ptab = &tab) + { + ImGuiPNative.TabBarQueueReorder(tabBar, (ImGuiTabItem*)ptab, offset); + } + } + public static void TabBarQueueReorder(ref ImGuiTabBar tabBar, ref ImGuiTabItem tab, int offset) + { + fixed (ImGuiTabBar* ptabBar = &tabBar) + { + fixed (ImGuiTabItem* ptab = &tab) + { + ImGuiPNative.TabBarQueueReorder((ImGuiTabBar*)ptabBar, (ImGuiTabItem*)ptab, offset); + } + } + } + public static void TabBarQueueReorderFromMousePos(ImGuiTabBarPtr tabBar, ImGuiTabItemPtr tab, Vector2 mousePos) + { + ImGuiPNative.TabBarQueueReorderFromMousePos(tabBar, tab, mousePos); + } + public static void TabBarQueueReorderFromMousePos(ref ImGuiTabBar tabBar, ImGuiTabItemPtr tab, Vector2 mousePos) + { + fixed (ImGuiTabBar* ptabBar = &tabBar) + { + ImGuiPNative.TabBarQueueReorderFromMousePos((ImGuiTabBar*)ptabBar, tab, mousePos); + } + } + public static void TabBarQueueReorderFromMousePos(ImGuiTabBarPtr tabBar, ref ImGuiTabItem tab, Vector2 mousePos) + { + fixed (ImGuiTabItem* ptab = &tab) + { + ImGuiPNative.TabBarQueueReorderFromMousePos(tabBar, (ImGuiTabItem*)ptab, mousePos); + } + } + public static void TabBarQueueReorderFromMousePos(ref ImGuiTabBar tabBar, ref ImGuiTabItem tab, Vector2 mousePos) + { + fixed (ImGuiTabBar* ptabBar = &tabBar) + { + fixed (ImGuiTabItem* ptab = &tab) + { + ImGuiPNative.TabBarQueueReorderFromMousePos((ImGuiTabBar*)ptabBar, (ImGuiTabItem*)ptab, mousePos); + } + } + } + public static bool TabBarProcessReorder(ImGuiTabBarPtr tabBar) + { + byte ret = ImGuiPNative.TabBarProcessReorder(tabBar); + return ret != 0; + } + public static bool TabBarProcessReorder(ref ImGuiTabBar tabBar) + { + fixed (ImGuiTabBar* ptabBar = &tabBar) + { + byte ret = ImGuiPNative.TabBarProcessReorder((ImGuiTabBar*)ptabBar); + return ret != 0; + } + } + public static void TabItemBackground(ImDrawListPtr drawList, ImRect bb, ImGuiTabItemFlags flags, uint col) + { + ImGuiPNative.TabItemBackground(drawList, bb, flags, col); + } + public static void TabItemBackground(ref ImDrawList drawList, ImRect bb, ImGuiTabItemFlags flags, uint col) + { + fixed (ImDrawList* pdrawList = &drawList) + { + ImGuiPNative.TabItemBackground((ImDrawList*)pdrawList, bb, flags, col); + } + } + public static void RenderFrame(Vector2 pMin, Vector2 pMax, uint fillCol, bool border, float rounding) + { + ImGuiPNative.RenderFrame(pMin, pMax, fillCol, border ? (byte)1 : (byte)0, rounding); + } + public static void RenderFrame(Vector2 pMin, Vector2 pMax, uint fillCol, bool border) + { + ImGuiPNative.RenderFrame(pMin, pMax, fillCol, border ? (byte)1 : (byte)0, (float)(0.0f)); + } + public static void RenderFrame(Vector2 pMin, Vector2 pMax, uint fillCol) + { + ImGuiPNative.RenderFrame(pMin, pMax, fillCol, (byte)(1), (float)(0.0f)); + } + public static void RenderFrame(Vector2 pMin, Vector2 pMax, uint fillCol, float rounding) + { + ImGuiPNative.RenderFrame(pMin, pMax, fillCol, (byte)(1), rounding); + } + public static void RenderFrameBorder(Vector2 pMin, Vector2 pMax, float rounding) + { + ImGuiPNative.RenderFrameBorder(pMin, pMax, rounding); + } + public static void RenderFrameBorder(Vector2 pMin, Vector2 pMax) + { + ImGuiPNative.RenderFrameBorder(pMin, pMax, (float)(0.0f)); + } + public static void RenderColorRectWithAlphaCheckerboard(ImDrawListPtr drawList, Vector2 pMin, Vector2 pMax, uint fillCol, float gridStep, Vector2 gridOff, float rounding, ImDrawFlags flags) + { + ImGuiPNative.RenderColorRectWithAlphaCheckerboard(drawList, pMin, pMax, fillCol, gridStep, gridOff, rounding, flags); + } + public static void RenderColorRectWithAlphaCheckerboard(ImDrawListPtr drawList, Vector2 pMin, Vector2 pMax, uint fillCol, float gridStep, Vector2 gridOff, float rounding) + { + ImGuiPNative.RenderColorRectWithAlphaCheckerboard(drawList, pMin, pMax, fillCol, gridStep, gridOff, rounding, (ImDrawFlags)(0)); + } + public static void RenderColorRectWithAlphaCheckerboard(ImDrawListPtr drawList, Vector2 pMin, Vector2 pMax, uint fillCol, float gridStep, Vector2 gridOff) + { + ImGuiPNative.RenderColorRectWithAlphaCheckerboard(drawList, pMin, pMax, fillCol, gridStep, gridOff, (float)(0.0f), (ImDrawFlags)(0)); + } + public static void RenderColorRectWithAlphaCheckerboard(ImDrawListPtr drawList, Vector2 pMin, Vector2 pMax, uint fillCol, float gridStep, Vector2 gridOff, ImDrawFlags flags) + { + ImGuiPNative.RenderColorRectWithAlphaCheckerboard(drawList, pMin, pMax, fillCol, gridStep, gridOff, (float)(0.0f), flags); + } + public static void RenderColorRectWithAlphaCheckerboard(ref ImDrawList drawList, Vector2 pMin, Vector2 pMax, uint fillCol, float gridStep, Vector2 gridOff, float rounding, ImDrawFlags flags) + { + fixed (ImDrawList* pdrawList = &drawList) + { + ImGuiPNative.RenderColorRectWithAlphaCheckerboard((ImDrawList*)pdrawList, pMin, pMax, fillCol, gridStep, gridOff, rounding, flags); + } + } + public static void RenderColorRectWithAlphaCheckerboard(ref ImDrawList drawList, Vector2 pMin, Vector2 pMax, uint fillCol, float gridStep, Vector2 gridOff, float rounding) + { + fixed (ImDrawList* pdrawList = &drawList) + { + ImGuiPNative.RenderColorRectWithAlphaCheckerboard((ImDrawList*)pdrawList, pMin, pMax, fillCol, gridStep, gridOff, rounding, (ImDrawFlags)(0)); + } + } + public static void RenderColorRectWithAlphaCheckerboard(ref ImDrawList drawList, Vector2 pMin, Vector2 pMax, uint fillCol, float gridStep, Vector2 gridOff) + { + fixed (ImDrawList* pdrawList = &drawList) + { + ImGuiPNative.RenderColorRectWithAlphaCheckerboard((ImDrawList*)pdrawList, pMin, pMax, fillCol, gridStep, gridOff, (float)(0.0f), (ImDrawFlags)(0)); + } + } + public static void RenderColorRectWithAlphaCheckerboard(ref ImDrawList drawList, Vector2 pMin, Vector2 pMax, uint fillCol, float gridStep, Vector2 gridOff, ImDrawFlags flags) + { + fixed (ImDrawList* pdrawList = &drawList) + { + ImGuiPNative.RenderColorRectWithAlphaCheckerboard((ImDrawList*)pdrawList, pMin, pMax, fillCol, gridStep, gridOff, (float)(0.0f), flags); + } + } + public static void RenderNavHighlight(ImRect bb, uint id, ImGuiNavHighlightFlags flags) + { + ImGuiPNative.RenderNavHighlight(bb, id, flags); + } + public static void RenderNavHighlight(ImRect bb, uint id) + { + ImGuiPNative.RenderNavHighlight(bb, id, (ImGuiNavHighlightFlags)(ImGuiNavHighlightFlags.TypeDefault)); + } + public static void RenderMouseCursor(Vector2 pos, float scale, ImGuiMouseCursor mouseCursor, uint colFill, uint colBorder, uint colShadow) + { + ImGuiPNative.RenderMouseCursor(pos, scale, mouseCursor, colFill, colBorder, colShadow); + } + public static void RenderArrow(ImDrawListPtr drawList, Vector2 pos, uint col, ImGuiDir dir, float scale) + { + ImGuiPNative.RenderArrow(drawList, pos, col, dir, scale); + } + public static void RenderArrow(ImDrawListPtr drawList, Vector2 pos, uint col, ImGuiDir dir) + { + ImGuiPNative.RenderArrow(drawList, pos, col, dir, (float)(1.0f)); + } + public static void RenderArrow(ref ImDrawList drawList, Vector2 pos, uint col, ImGuiDir dir, float scale) + { + fixed (ImDrawList* pdrawList = &drawList) + { + ImGuiPNative.RenderArrow((ImDrawList*)pdrawList, pos, col, dir, scale); + } + } + public static void RenderArrow(ref ImDrawList drawList, Vector2 pos, uint col, ImGuiDir dir) + { + fixed (ImDrawList* pdrawList = &drawList) + { + ImGuiPNative.RenderArrow((ImDrawList*)pdrawList, pos, col, dir, (float)(1.0f)); + } + } + public static void RenderBullet(ImDrawListPtr drawList, Vector2 pos, uint col) + { + ImGuiPNative.RenderBullet(drawList, pos, col); + } + public static void RenderBullet(ref ImDrawList drawList, Vector2 pos, uint col) + { + fixed (ImDrawList* pdrawList = &drawList) + { + ImGuiPNative.RenderBullet((ImDrawList*)pdrawList, pos, col); + } + } + public static void RenderCheckMark(ImDrawListPtr drawList, Vector2 pos, uint col, float sz) + { + ImGuiPNative.RenderCheckMark(drawList, pos, col, sz); + } + public static void RenderCheckMark(ref ImDrawList drawList, Vector2 pos, uint col, float sz) + { + fixed (ImDrawList* pdrawList = &drawList) + { + ImGuiPNative.RenderCheckMark((ImDrawList*)pdrawList, pos, col, sz); + } + } + public static void RenderArrowPointingAt(ImDrawListPtr drawList, Vector2 pos, Vector2 halfSz, ImGuiDir direction, uint col) + { + ImGuiPNative.RenderArrowPointingAt(drawList, pos, halfSz, direction, col); + } + public static void RenderArrowPointingAt(ref ImDrawList drawList, Vector2 pos, Vector2 halfSz, ImGuiDir direction, uint col) + { + fixed (ImDrawList* pdrawList = &drawList) + { + ImGuiPNative.RenderArrowPointingAt((ImDrawList*)pdrawList, pos, halfSz, direction, col); + } + } + public static void RenderArrowDockMenu(ImDrawListPtr drawList, Vector2 pMin, float sz, uint col) + { + ImGuiPNative.RenderArrowDockMenu(drawList, pMin, sz, col); + } + public static void RenderArrowDockMenu(ref ImDrawList drawList, Vector2 pMin, float sz, uint col) + { + fixed (ImDrawList* pdrawList = &drawList) + { + ImGuiPNative.RenderArrowDockMenu((ImDrawList*)pdrawList, pMin, sz, col); + } + } + public static void RenderRectFilledRangeH(ImDrawListPtr drawList, ImRect rect, uint col, float xStartNorm, float xEndNorm, float rounding) + { + ImGuiPNative.RenderRectFilledRangeH(drawList, rect, col, xStartNorm, xEndNorm, rounding); + } + public static void RenderRectFilledRangeH(ref ImDrawList drawList, ImRect rect, uint col, float xStartNorm, float xEndNorm, float rounding) + { + fixed (ImDrawList* pdrawList = &drawList) + { + ImGuiPNative.RenderRectFilledRangeH((ImDrawList*)pdrawList, rect, col, xStartNorm, xEndNorm, rounding); + } + } + public static void RenderRectFilledWithHole(ImDrawListPtr drawList, ImRect outer, ImRect inner, uint col, float rounding) + { + ImGuiPNative.RenderRectFilledWithHole(drawList, outer, inner, col, rounding); + } + public static void RenderRectFilledWithHole(ref ImDrawList drawList, ImRect outer, ImRect inner, uint col, float rounding) + { + fixed (ImDrawList* pdrawList = &drawList) + { + ImGuiPNative.RenderRectFilledWithHole((ImDrawList*)pdrawList, outer, inner, col, rounding); + } + } + public static ImDrawFlags CalcRoundingFlagsForRectInRect(ImRect rIn, ImRect rOuter, float threshold) + { + ImDrawFlags ret = ImGuiPNative.CalcRoundingFlagsForRectInRect(rIn, rOuter, threshold); + return ret; + } + public static bool CloseButton(uint id, Vector2 pos) + { + byte ret = ImGuiPNative.CloseButton(id, pos); + return ret != 0; + } + public static bool CollapseButton(uint id, Vector2 pos, ImGuiDockNodePtr dockNode) + { + byte ret = ImGuiPNative.CollapseButton(id, pos, dockNode); + return ret != 0; + } + public static bool CollapseButton(uint id, Vector2 pos, ref ImGuiDockNode dockNode) + { + fixed (ImGuiDockNode* pdockNode = &dockNode) + { + byte ret = ImGuiPNative.CollapseButton(id, pos, (ImGuiDockNode*)pdockNode); + return ret != 0; + } + } + public static void Scrollbar(ImGuiAxis axis) + { + ImGuiPNative.Scrollbar(axis); + } + public static bool ScrollbarEx(ImRect bb, uint id, ImGuiAxis axis, long* pScrollV, long availV, long contentsV, ImDrawFlags flags) + { + byte ret = ImGuiPNative.ScrollbarEx(bb, id, axis, pScrollV, availV, contentsV, flags); + return ret != 0; + } + public static bool ImageButtonEx(uint id, ImTextureID textureId, Vector2 size, Vector2 uv0, Vector2 uv1, Vector2 padding, Vector4 bgCol, Vector4 tintCol) + { + byte ret = ImGuiPNative.ImageButtonEx(id, textureId, size, uv0, uv1, padding, bgCol, tintCol); + return ret != 0; + } + public static ImRect GetWindowScrollbarRect(ImGuiWindowPtr window, ImGuiAxis axis) + { + ImRect ret; + ImGuiPNative.GetWindowScrollbarRect(&ret, window, axis); + return ret; + } + public static void GetWindowScrollbarRect(ImRectPtr pOut, ImGuiWindowPtr window, ImGuiAxis axis) + { + ImGuiPNative.GetWindowScrollbarRect(pOut, window, axis); + } + public static void GetWindowScrollbarRect(ref ImRect pOut, ImGuiWindowPtr window, ImGuiAxis axis) + { + fixed (ImRect* ppOut = &pOut) + { + ImGuiPNative.GetWindowScrollbarRect((ImRect*)ppOut, window, axis); + } + } + public static ImRect GetWindowScrollbarRect(ref ImGuiWindow window, ImGuiAxis axis) + { + fixed (ImGuiWindow* pwindow = &window) + { + ImRect ret; + ImGuiPNative.GetWindowScrollbarRect(&ret, (ImGuiWindow*)pwindow, axis); + return ret; + } + } + public static void GetWindowScrollbarRect(ImRectPtr pOut, ref ImGuiWindow window, ImGuiAxis axis) + { + fixed (ImGuiWindow* pwindow = &window) + { + ImGuiPNative.GetWindowScrollbarRect(pOut, (ImGuiWindow*)pwindow, axis); + } + } + public static void GetWindowScrollbarRect(ref ImRect pOut, ref ImGuiWindow window, ImGuiAxis axis) + { + fixed (ImRect* ppOut = &pOut) + { + fixed (ImGuiWindow* pwindow = &window) + { + ImGuiPNative.GetWindowScrollbarRect((ImRect*)ppOut, (ImGuiWindow*)pwindow, axis); + } + } + } + public static uint GetWindowScrollbarID(ImGuiWindowPtr window, ImGuiAxis axis) + { + uint ret = ImGuiPNative.GetWindowScrollbarID(window, axis); + return ret; + } + public static uint GetWindowScrollbarID(ref ImGuiWindow window, ImGuiAxis axis) + { + fixed (ImGuiWindow* pwindow = &window) + { + uint ret = ImGuiPNative.GetWindowScrollbarID((ImGuiWindow*)pwindow, axis); + return ret; + } + } + public static uint GetWindowResizeCornerID(ImGuiWindowPtr window, int n) + { + uint ret = ImGuiPNative.GetWindowResizeCornerID(window, n); + return ret; + } + public static uint GetWindowResizeCornerID(ref ImGuiWindow window, int n) + { + fixed (ImGuiWindow* pwindow = &window) + { + uint ret = ImGuiPNative.GetWindowResizeCornerID((ImGuiWindow*)pwindow, n); + return ret; + } + } + public static uint GetWindowResizeBorderID(ImGuiWindowPtr window, ImGuiDir dir) + { + uint ret = ImGuiPNative.GetWindowResizeBorderID(window, dir); + return ret; + } + public static uint GetWindowResizeBorderID(ref ImGuiWindow window, ImGuiDir dir) + { + fixed (ImGuiWindow* pwindow = &window) + { + uint ret = ImGuiPNative.GetWindowResizeBorderID((ImGuiWindow*)pwindow, dir); + return ret; + } + } + public static void SeparatorEx(ImGuiSeparatorFlags flags) + { + ImGuiPNative.SeparatorEx(flags); + } + public static bool ButtonBehavior(ImRect bb, uint id, bool* outHovered, bool* outHeld, ImGuiButtonFlags flags) + { + byte ret = ImGuiPNative.ButtonBehavior(bb, id, outHovered, outHeld, flags); + return ret != 0; + } + public static bool ButtonBehavior(ImRect bb, uint id, bool* outHovered, bool* outHeld) + { + byte ret = ImGuiPNative.ButtonBehavior(bb, id, outHovered, outHeld, (ImGuiButtonFlags)(0)); + return ret != 0; + } + public static bool ButtonBehavior(ImRect bb, uint id, ref bool outHovered, bool* outHeld, ImGuiButtonFlags flags) + { + fixed (bool* poutHovered = &outHovered) + { + byte ret = ImGuiPNative.ButtonBehavior(bb, id, (bool*)poutHovered, outHeld, flags); + return ret != 0; + } + } + public static bool ButtonBehavior(ImRect bb, uint id, ref bool outHovered, bool* outHeld) + { + fixed (bool* poutHovered = &outHovered) + { + byte ret = ImGuiPNative.ButtonBehavior(bb, id, (bool*)poutHovered, outHeld, (ImGuiButtonFlags)(0)); + return ret != 0; + } + } + public static bool ButtonBehavior(ImRect bb, uint id, bool* outHovered, ref bool outHeld, ImGuiButtonFlags flags) + { + fixed (bool* poutHeld = &outHeld) + { + byte ret = ImGuiPNative.ButtonBehavior(bb, id, outHovered, (bool*)poutHeld, flags); + return ret != 0; + } + } + public static bool ButtonBehavior(ImRect bb, uint id, bool* outHovered, ref bool outHeld) + { + fixed (bool* poutHeld = &outHeld) + { + byte ret = ImGuiPNative.ButtonBehavior(bb, id, outHovered, (bool*)poutHeld, (ImGuiButtonFlags)(0)); + return ret != 0; + } + } + public static bool ButtonBehavior(ImRect bb, uint id, ref bool outHovered, ref bool outHeld, ImGuiButtonFlags flags) + { + fixed (bool* poutHovered = &outHovered) + { + fixed (bool* poutHeld = &outHeld) + { + byte ret = ImGuiPNative.ButtonBehavior(bb, id, (bool*)poutHovered, (bool*)poutHeld, flags); + return ret != 0; + } + } + } + public static bool ButtonBehavior(ImRect bb, uint id, ref bool outHovered, ref bool outHeld) + { + fixed (bool* poutHovered = &outHovered) + { + fixed (bool* poutHeld = &outHeld) + { + byte ret = ImGuiPNative.ButtonBehavior(bb, id, (bool*)poutHovered, (bool*)poutHeld, (ImGuiButtonFlags)(0)); + return ret != 0; + } + } + } + public static bool SplitterBehavior(ImRect bb, uint id, ImGuiAxis axis, float* size1, float* size2, float minsize1, float minsize2, float hoverExtend, float hoverVisibilityDelay, uint bgCol) + { + byte ret = ImGuiPNative.SplitterBehavior(bb, id, axis, size1, size2, minsize1, minsize2, hoverExtend, hoverVisibilityDelay, bgCol); + return ret != 0; + } + public static bool SplitterBehavior(ImRect bb, uint id, ImGuiAxis axis, float* size1, float* size2, float minsize1, float minsize2, float hoverExtend, float hoverVisibilityDelay) + { + byte ret = ImGuiPNative.SplitterBehavior(bb, id, axis, size1, size2, minsize1, minsize2, hoverExtend, hoverVisibilityDelay, (uint)(0)); + return ret != 0; + } + public static bool SplitterBehavior(ImRect bb, uint id, ImGuiAxis axis, float* size1, float* size2, float minsize1, float minsize2, float hoverExtend) + { + byte ret = ImGuiPNative.SplitterBehavior(bb, id, axis, size1, size2, minsize1, minsize2, hoverExtend, (float)(0.0f), (uint)(0)); + return ret != 0; + } + public static bool SplitterBehavior(ImRect bb, uint id, ImGuiAxis axis, float* size1, float* size2, float minsize1, float minsize2) + { + byte ret = ImGuiPNative.SplitterBehavior(bb, id, axis, size1, size2, minsize1, minsize2, (float)(0.0f), (float)(0.0f), (uint)(0)); + return ret != 0; + } + public static bool SplitterBehavior(ImRect bb, uint id, ImGuiAxis axis, float* size1, float* size2, float minsize1, float minsize2, float hoverExtend, uint bgCol) + { + byte ret = ImGuiPNative.SplitterBehavior(bb, id, axis, size1, size2, minsize1, minsize2, hoverExtend, (float)(0.0f), bgCol); + return ret != 0; + } + public static bool SplitterBehavior(ImRect bb, uint id, ImGuiAxis axis, float* size1, float* size2, float minsize1, float minsize2, uint bgCol) + { + byte ret = ImGuiPNative.SplitterBehavior(bb, id, axis, size1, size2, minsize1, minsize2, (float)(0.0f), (float)(0.0f), bgCol); + return ret != 0; + } + public static bool SplitterBehavior(ImRect bb, uint id, ImGuiAxis axis, ref float size1, float* size2, float minsize1, float minsize2, float hoverExtend, float hoverVisibilityDelay, uint bgCol) + { + fixed (float* psize1 = &size1) + { + byte ret = ImGuiPNative.SplitterBehavior(bb, id, axis, (float*)psize1, size2, minsize1, minsize2, hoverExtend, hoverVisibilityDelay, bgCol); + return ret != 0; + } + } + public static bool SplitterBehavior(ImRect bb, uint id, ImGuiAxis axis, ref float size1, float* size2, float minsize1, float minsize2, float hoverExtend, float hoverVisibilityDelay) + { + fixed (float* psize1 = &size1) + { + byte ret = ImGuiPNative.SplitterBehavior(bb, id, axis, (float*)psize1, size2, minsize1, minsize2, hoverExtend, hoverVisibilityDelay, (uint)(0)); + return ret != 0; + } + } + public static bool SplitterBehavior(ImRect bb, uint id, ImGuiAxis axis, ref float size1, float* size2, float minsize1, float minsize2, float hoverExtend) + { + fixed (float* psize1 = &size1) + { + byte ret = ImGuiPNative.SplitterBehavior(bb, id, axis, (float*)psize1, size2, minsize1, minsize2, hoverExtend, (float)(0.0f), (uint)(0)); + return ret != 0; + } + } + public static bool SplitterBehavior(ImRect bb, uint id, ImGuiAxis axis, ref float size1, float* size2, float minsize1, float minsize2) + { + fixed (float* psize1 = &size1) + { + byte ret = ImGuiPNative.SplitterBehavior(bb, id, axis, (float*)psize1, size2, minsize1, minsize2, (float)(0.0f), (float)(0.0f), (uint)(0)); + return ret != 0; + } + } + public static bool SplitterBehavior(ImRect bb, uint id, ImGuiAxis axis, ref float size1, float* size2, float minsize1, float minsize2, float hoverExtend, uint bgCol) + { + fixed (float* psize1 = &size1) + { + byte ret = ImGuiPNative.SplitterBehavior(bb, id, axis, (float*)psize1, size2, minsize1, minsize2, hoverExtend, (float)(0.0f), bgCol); + return ret != 0; + } + } + public static bool SplitterBehavior(ImRect bb, uint id, ImGuiAxis axis, ref float size1, float* size2, float minsize1, float minsize2, uint bgCol) + { + fixed (float* psize1 = &size1) + { + byte ret = ImGuiPNative.SplitterBehavior(bb, id, axis, (float*)psize1, size2, minsize1, minsize2, (float)(0.0f), (float)(0.0f), bgCol); + return ret != 0; + } + } + public static bool SplitterBehavior(ImRect bb, uint id, ImGuiAxis axis, float* size1, ref float size2, float minsize1, float minsize2, float hoverExtend, float hoverVisibilityDelay, uint bgCol) + { + fixed (float* psize2 = &size2) + { + byte ret = ImGuiPNative.SplitterBehavior(bb, id, axis, size1, (float*)psize2, minsize1, minsize2, hoverExtend, hoverVisibilityDelay, bgCol); + return ret != 0; + } + } + public static bool SplitterBehavior(ImRect bb, uint id, ImGuiAxis axis, float* size1, ref float size2, float minsize1, float minsize2, float hoverExtend, float hoverVisibilityDelay) + { + fixed (float* psize2 = &size2) + { + byte ret = ImGuiPNative.SplitterBehavior(bb, id, axis, size1, (float*)psize2, minsize1, minsize2, hoverExtend, hoverVisibilityDelay, (uint)(0)); + return ret != 0; + } + } + public static bool SplitterBehavior(ImRect bb, uint id, ImGuiAxis axis, float* size1, ref float size2, float minsize1, float minsize2, float hoverExtend) + { + fixed (float* psize2 = &size2) + { + byte ret = ImGuiPNative.SplitterBehavior(bb, id, axis, size1, (float*)psize2, minsize1, minsize2, hoverExtend, (float)(0.0f), (uint)(0)); + return ret != 0; + } + } + public static bool SplitterBehavior(ImRect bb, uint id, ImGuiAxis axis, float* size1, ref float size2, float minsize1, float minsize2) + { + fixed (float* psize2 = &size2) + { + byte ret = ImGuiPNative.SplitterBehavior(bb, id, axis, size1, (float*)psize2, minsize1, minsize2, (float)(0.0f), (float)(0.0f), (uint)(0)); + return ret != 0; + } + } + public static bool SplitterBehavior(ImRect bb, uint id, ImGuiAxis axis, float* size1, ref float size2, float minsize1, float minsize2, float hoverExtend, uint bgCol) + { + fixed (float* psize2 = &size2) + { + byte ret = ImGuiPNative.SplitterBehavior(bb, id, axis, size1, (float*)psize2, minsize1, minsize2, hoverExtend, (float)(0.0f), bgCol); + return ret != 0; + } + } + public static bool SplitterBehavior(ImRect bb, uint id, ImGuiAxis axis, float* size1, ref float size2, float minsize1, float minsize2, uint bgCol) + { + fixed (float* psize2 = &size2) + { + byte ret = ImGuiPNative.SplitterBehavior(bb, id, axis, size1, (float*)psize2, minsize1, minsize2, (float)(0.0f), (float)(0.0f), bgCol); + return ret != 0; + } + } + public static bool SplitterBehavior(ImRect bb, uint id, ImGuiAxis axis, ref float size1, ref float size2, float minsize1, float minsize2, float hoverExtend, float hoverVisibilityDelay, uint bgCol) + { + fixed (float* psize1 = &size1) + { + fixed (float* psize2 = &size2) + { + byte ret = ImGuiPNative.SplitterBehavior(bb, id, axis, (float*)psize1, (float*)psize2, minsize1, minsize2, hoverExtend, hoverVisibilityDelay, bgCol); + return ret != 0; + } + } + } + public static bool SplitterBehavior(ImRect bb, uint id, ImGuiAxis axis, ref float size1, ref float size2, float minsize1, float minsize2, float hoverExtend, float hoverVisibilityDelay) + { + fixed (float* psize1 = &size1) + { + fixed (float* psize2 = &size2) + { + byte ret = ImGuiPNative.SplitterBehavior(bb, id, axis, (float*)psize1, (float*)psize2, minsize1, minsize2, hoverExtend, hoverVisibilityDelay, (uint)(0)); + return ret != 0; + } + } + } + public static bool SplitterBehavior(ImRect bb, uint id, ImGuiAxis axis, ref float size1, ref float size2, float minsize1, float minsize2, float hoverExtend) + { + fixed (float* psize1 = &size1) + { + fixed (float* psize2 = &size2) + { + byte ret = ImGuiPNative.SplitterBehavior(bb, id, axis, (float*)psize1, (float*)psize2, minsize1, minsize2, hoverExtend, (float)(0.0f), (uint)(0)); + return ret != 0; + } + } + } + public static bool SplitterBehavior(ImRect bb, uint id, ImGuiAxis axis, ref float size1, ref float size2, float minsize1, float minsize2) + { + fixed (float* psize1 = &size1) + { + fixed (float* psize2 = &size2) + { + byte ret = ImGuiPNative.SplitterBehavior(bb, id, axis, (float*)psize1, (float*)psize2, minsize1, minsize2, (float)(0.0f), (float)(0.0f), (uint)(0)); + return ret != 0; + } + } + } + public static bool SplitterBehavior(ImRect bb, uint id, ImGuiAxis axis, ref float size1, ref float size2, float minsize1, float minsize2, float hoverExtend, uint bgCol) + { + fixed (float* psize1 = &size1) + { + fixed (float* psize2 = &size2) + { + byte ret = ImGuiPNative.SplitterBehavior(bb, id, axis, (float*)psize1, (float*)psize2, minsize1, minsize2, hoverExtend, (float)(0.0f), bgCol); + return ret != 0; + } + } + } + public static bool SplitterBehavior(ImRect bb, uint id, ImGuiAxis axis, ref float size1, ref float size2, float minsize1, float minsize2, uint bgCol) + { + fixed (float* psize1 = &size1) + { + fixed (float* psize2 = &size2) + { + byte ret = ImGuiPNative.SplitterBehavior(bb, id, axis, (float*)psize1, (float*)psize2, minsize1, minsize2, (float)(0.0f), (float)(0.0f), bgCol); + return ret != 0; + } + } + } + public static bool TreeNodeBehaviorIsOpen(uint id, ImGuiTreeNodeFlags flags) + { + byte ret = ImGuiPNative.TreeNodeBehaviorIsOpen(id, flags); + return ret != 0; + } + public static bool TreeNodeBehaviorIsOpen(uint id) + { + byte ret = ImGuiPNative.TreeNodeBehaviorIsOpen(id, (ImGuiTreeNodeFlags)(0)); + return ret != 0; + } + public static void TreePushOverrideID(uint id) + { + ImGuiPNative.TreePushOverrideID(id); + } + public static ImGuiDataTypeInfoPtr DataTypeGetInfo(ImGuiDataType dataType) + { + ImGuiDataTypeInfoPtr ret = ImGuiPNative.DataTypeGetInfo(dataType); + return ret; + } + public static void DataTypeApplyOp(ImGuiDataType dataType, int op, void* output, void* arg1, void* arg2) + { + ImGuiPNative.DataTypeApplyOp(dataType, op, output, arg1, arg2); + } + public static int DataTypeCompare(ImGuiDataType dataType, void* arg1, void* arg2) + { + int ret = ImGuiPNative.DataTypeCompare(dataType, arg1, arg2); + return ret; + } + public static bool DataTypeClamp(ImGuiDataType dataType, void* pData, void* pMin, void* pMax) + { + byte ret = ImGuiPNative.DataTypeClamp(dataType, pData, pMin, pMax); + return ret != 0; + } + public static bool TempInputIsActive(uint id) + { + byte ret = ImGuiPNative.TempInputIsActive(id); + return ret != 0; + } + public static ImGuiInputTextStatePtr GetInputTextState(uint id) + { + ImGuiInputTextStatePtr ret = ImGuiPNative.GetInputTextState(id); + return ret; + } + public static void ShadeVertsLinearColorGradientKeepAlpha(ImDrawListPtr drawList, int vertStartIdx, int vertEndIdx, Vector2 gradientp0, Vector2 gradientp1, uint col0, uint col1) + { + ImGuiPNative.ShadeVertsLinearColorGradientKeepAlpha(drawList, vertStartIdx, vertEndIdx, gradientp0, gradientp1, col0, col1); + } + public static void ShadeVertsLinearColorGradientKeepAlpha(ref ImDrawList drawList, int vertStartIdx, int vertEndIdx, Vector2 gradientp0, Vector2 gradientp1, uint col0, uint col1) + { + fixed (ImDrawList* pdrawList = &drawList) + { + ImGuiPNative.ShadeVertsLinearColorGradientKeepAlpha((ImDrawList*)pdrawList, vertStartIdx, vertEndIdx, gradientp0, gradientp1, col0, col1); + } + } + public static void ShadeVertsLinearUV(ImDrawListPtr drawList, int vertStartIdx, int vertEndIdx, Vector2 a, Vector2 b, Vector2 uvA, Vector2 uvB, bool clamp) + { + ImGuiPNative.ShadeVertsLinearUV(drawList, vertStartIdx, vertEndIdx, a, b, uvA, uvB, clamp ? (byte)1 : (byte)0); + } + public static void ShadeVertsLinearUV(ref ImDrawList drawList, int vertStartIdx, int vertEndIdx, Vector2 a, Vector2 b, Vector2 uvA, Vector2 uvB, bool clamp) + { + fixed (ImDrawList* pdrawList = &drawList) + { + ImGuiPNative.ShadeVertsLinearUV((ImDrawList*)pdrawList, vertStartIdx, vertEndIdx, a, b, uvA, uvB, clamp ? (byte)1 : (byte)0); + } + } + public static void GcCompactTransientMiscBuffers() + { + ImGuiPNative.GcCompactTransientMiscBuffers(); + } + public static void GcCompactTransientWindowBuffers(ImGuiWindowPtr window) + { + ImGuiPNative.GcCompactTransientWindowBuffers(window); + } + public static void GcCompactTransientWindowBuffers(ref ImGuiWindow window) + { + fixed (ImGuiWindow* pwindow = &window) + { + ImGuiPNative.GcCompactTransientWindowBuffers((ImGuiWindow*)pwindow); + } + } + public static void GcAwakeTransientWindowBuffers(ImGuiWindowPtr window) + { + ImGuiPNative.GcAwakeTransientWindowBuffers(window); + } + public static void GcAwakeTransientWindowBuffers(ref ImGuiWindow window) + { + fixed (ImGuiWindow* pwindow = &window) + { + ImGuiPNative.GcAwakeTransientWindowBuffers((ImGuiWindow*)pwindow); + } + } + public static void ErrorCheckEndFrameRecover(ImGuiErrorLogCallback logCallback, void* userData) + { + ImGuiPNative.ErrorCheckEndFrameRecover(logCallback, userData); + } + public static void ErrorCheckEndFrameRecover(ImGuiErrorLogCallback logCallback) + { + ImGuiPNative.ErrorCheckEndFrameRecover(logCallback, (void*)(default)); + } + public static void ErrorCheckEndWindowRecover(ImGuiErrorLogCallback logCallback, void* userData) + { + ImGuiPNative.ErrorCheckEndWindowRecover(logCallback, userData); + } + public static void ErrorCheckEndWindowRecover(ImGuiErrorLogCallback logCallback) + { + ImGuiPNative.ErrorCheckEndWindowRecover(logCallback, (void*)(default)); + } + public static void DebugDrawItemRect(uint col) + { + ImGuiPNative.DebugDrawItemRect(col); + } + public static void DebugDrawItemRect() + { + ImGuiPNative.DebugDrawItemRect((uint)(4278190335)); + } + public static void DebugStartItemPicker() + { + ImGuiPNative.DebugStartItemPicker(); + } + public static void ShowFontAtlas(ImFontAtlasPtr atlas) + { + ImGuiPNative.ShowFontAtlas(atlas); + } + public static void ShowFontAtlas(ref ImFontAtlas atlas) + { + fixed (ImFontAtlas* patlas = &atlas) + { + ImGuiPNative.ShowFontAtlas((ImFontAtlas*)patlas); + } + } + public static void DebugHookIdInfo(uint id, ImGuiDataType dataType, void* dataId, void* dataIdEnd) + { + ImGuiPNative.DebugHookIdInfo(id, dataType, dataId, dataIdEnd); + } + public static void DebugNodeColumns(ImGuiOldColumnsPtr columns) + { + ImGuiPNative.DebugNodeColumns(columns); + } + public static void DebugNodeColumns(ref ImGuiOldColumns columns) + { + fixed (ImGuiOldColumns* pcolumns = &columns) + { + ImGuiPNative.DebugNodeColumns((ImGuiOldColumns*)pcolumns); + } + } + public static void DebugNodeDrawCmdShowMeshAndBoundingBox(ImDrawListPtr outDrawList, ImDrawListPtr drawList, ImDrawCmdPtr drawCmd, bool showMesh, bool showAabb) + { + ImGuiPNative.DebugNodeDrawCmdShowMeshAndBoundingBox(outDrawList, drawList, drawCmd, showMesh ? (byte)1 : (byte)0, showAabb ? (byte)1 : (byte)0); + } + public static void DebugNodeDrawCmdShowMeshAndBoundingBox(ref ImDrawList outDrawList, ImDrawListPtr drawList, ImDrawCmdPtr drawCmd, bool showMesh, bool showAabb) + { + fixed (ImDrawList* poutDrawList = &outDrawList) + { + ImGuiPNative.DebugNodeDrawCmdShowMeshAndBoundingBox((ImDrawList*)poutDrawList, drawList, drawCmd, showMesh ? (byte)1 : (byte)0, showAabb ? (byte)1 : (byte)0); + } + } + public static void DebugNodeDrawCmdShowMeshAndBoundingBox(ImDrawListPtr outDrawList, ref ImDrawList drawList, ImDrawCmdPtr drawCmd, bool showMesh, bool showAabb) + { + fixed (ImDrawList* pdrawList = &drawList) + { + ImGuiPNative.DebugNodeDrawCmdShowMeshAndBoundingBox(outDrawList, (ImDrawList*)pdrawList, drawCmd, showMesh ? (byte)1 : (byte)0, showAabb ? (byte)1 : (byte)0); + } + } + public static void DebugNodeDrawCmdShowMeshAndBoundingBox(ref ImDrawList outDrawList, ref ImDrawList drawList, ImDrawCmdPtr drawCmd, bool showMesh, bool showAabb) + { + fixed (ImDrawList* poutDrawList = &outDrawList) + { + fixed (ImDrawList* pdrawList = &drawList) + { + ImGuiPNative.DebugNodeDrawCmdShowMeshAndBoundingBox((ImDrawList*)poutDrawList, (ImDrawList*)pdrawList, drawCmd, showMesh ? (byte)1 : (byte)0, showAabb ? (byte)1 : (byte)0); + } + } + } + public static void DebugNodeDrawCmdShowMeshAndBoundingBox(ImDrawListPtr outDrawList, ImDrawListPtr drawList, ref ImDrawCmd drawCmd, bool showMesh, bool showAabb) + { + fixed (ImDrawCmd* pdrawCmd = &drawCmd) + { + ImGuiPNative.DebugNodeDrawCmdShowMeshAndBoundingBox(outDrawList, drawList, (ImDrawCmd*)pdrawCmd, showMesh ? (byte)1 : (byte)0, showAabb ? (byte)1 : (byte)0); + } + } + public static void DebugNodeDrawCmdShowMeshAndBoundingBox(ref ImDrawList outDrawList, ImDrawListPtr drawList, ref ImDrawCmd drawCmd, bool showMesh, bool showAabb) + { + fixed (ImDrawList* poutDrawList = &outDrawList) + { + fixed (ImDrawCmd* pdrawCmd = &drawCmd) + { + ImGuiPNative.DebugNodeDrawCmdShowMeshAndBoundingBox((ImDrawList*)poutDrawList, drawList, (ImDrawCmd*)pdrawCmd, showMesh ? (byte)1 : (byte)0, showAabb ? (byte)1 : (byte)0); + } + } + } + public static void DebugNodeDrawCmdShowMeshAndBoundingBox(ImDrawListPtr outDrawList, ref ImDrawList drawList, ref ImDrawCmd drawCmd, bool showMesh, bool showAabb) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (ImDrawCmd* pdrawCmd = &drawCmd) + { + ImGuiPNative.DebugNodeDrawCmdShowMeshAndBoundingBox(outDrawList, (ImDrawList*)pdrawList, (ImDrawCmd*)pdrawCmd, showMesh ? (byte)1 : (byte)0, showAabb ? (byte)1 : (byte)0); + } + } + } + public static void DebugNodeDrawCmdShowMeshAndBoundingBox(ref ImDrawList outDrawList, ref ImDrawList drawList, ref ImDrawCmd drawCmd, bool showMesh, bool showAabb) + { + fixed (ImDrawList* poutDrawList = &outDrawList) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (ImDrawCmd* pdrawCmd = &drawCmd) + { + ImGuiPNative.DebugNodeDrawCmdShowMeshAndBoundingBox((ImDrawList*)poutDrawList, (ImDrawList*)pdrawList, (ImDrawCmd*)pdrawCmd, showMesh ? (byte)1 : (byte)0, showAabb ? (byte)1 : (byte)0); + } + } + } + } + public static void DebugNodeFont(ImFontPtr font) + { + ImGuiPNative.DebugNodeFont(font); + } + public static void DebugNodeFont(ref ImFont font) + { + fixed (ImFont* pfont = &font) + { + ImGuiPNative.DebugNodeFont((ImFont*)pfont); + } + } + public static void DebugNodeFontGlyph(ImFontPtr font, ImFontGlyphPtr glyph) + { + ImGuiPNative.DebugNodeFontGlyph(font, glyph); + } + public static void DebugNodeFontGlyph(ref ImFont font, ImFontGlyphPtr glyph) + { + fixed (ImFont* pfont = &font) + { + ImGuiPNative.DebugNodeFontGlyph((ImFont*)pfont, glyph); + } + } + public static void DebugNodeFontGlyph(ImFontPtr font, ref ImFontGlyph glyph) + { + fixed (ImFontGlyph* pglyph = &glyph) + { + ImGuiPNative.DebugNodeFontGlyph(font, (ImFontGlyph*)pglyph); + } + } + public static void DebugNodeFontGlyph(ref ImFont font, ref ImFontGlyph glyph) + { + fixed (ImFont* pfont = &font) + { + fixed (ImFontGlyph* pglyph = &glyph) + { + ImGuiPNative.DebugNodeFontGlyph((ImFont*)pfont, (ImFontGlyph*)pglyph); + } + } + } + public static void DebugNodeTable(ImGuiTablePtr table) + { + ImGuiPNative.DebugNodeTable(table); + } + public static void DebugNodeTable(ref ImGuiTable table) + { + fixed (ImGuiTable* ptable = &table) + { + ImGuiPNative.DebugNodeTable((ImGuiTable*)ptable); + } + } + public static void DebugNodeTableSettings(ImGuiTableSettingsPtr settings) + { + ImGuiPNative.DebugNodeTableSettings(settings); + } + public static void DebugNodeTableSettings(ref ImGuiTableSettings settings) + { + fixed (ImGuiTableSettings* psettings = &settings) + { + ImGuiPNative.DebugNodeTableSettings((ImGuiTableSettings*)psettings); + } + } + public static void DebugNodeInputTextState(ImGuiInputTextStatePtr state) + { + ImGuiPNative.DebugNodeInputTextState(state); + } + public static void DebugNodeInputTextState(ref ImGuiInputTextState state) + { + fixed (ImGuiInputTextState* pstate = &state) + { + ImGuiPNative.DebugNodeInputTextState((ImGuiInputTextState*)pstate); + } + } + public static void DebugNodeWindowSettings(ImGuiWindowSettingsPtr settings) + { + ImGuiPNative.DebugNodeWindowSettings(settings); + } + public static void DebugNodeWindowSettings(ref ImGuiWindowSettings settings) + { + fixed (ImGuiWindowSettings* psettings = &settings) + { + ImGuiPNative.DebugNodeWindowSettings((ImGuiWindowSettings*)psettings); + } + } + public static void DebugNodeWindowsListByBeginStackParent(ImGuiWindowPtrPtr windows, int windowsSize, ImGuiWindowPtr parentInBeginStack) + { + ImGuiPNative.DebugNodeWindowsListByBeginStackParent(windows, windowsSize, parentInBeginStack); + } + public static void DebugNodeWindowsListByBeginStackParent(ref ImGuiWindow* windows, int windowsSize, ImGuiWindowPtr parentInBeginStack) + { + fixed (ImGuiWindow** pwindows = &windows) + { + ImGuiPNative.DebugNodeWindowsListByBeginStackParent((ImGuiWindow**)pwindows, windowsSize, parentInBeginStack); + } + } + public static void DebugNodeWindowsListByBeginStackParent(ImGuiWindowPtrPtr windows, int windowsSize, ref ImGuiWindow parentInBeginStack) + { + fixed (ImGuiWindow* pparentInBeginStack = &parentInBeginStack) + { + ImGuiPNative.DebugNodeWindowsListByBeginStackParent(windows, windowsSize, (ImGuiWindow*)pparentInBeginStack); + } + } + public static void DebugNodeWindowsListByBeginStackParent(ref ImGuiWindow* windows, int windowsSize, ref ImGuiWindow parentInBeginStack) + { + fixed (ImGuiWindow** pwindows = &windows) + { + fixed (ImGuiWindow* pparentInBeginStack = &parentInBeginStack) + { + ImGuiPNative.DebugNodeWindowsListByBeginStackParent((ImGuiWindow**)pwindows, windowsSize, (ImGuiWindow*)pparentInBeginStack); + } + } + } + public static void DebugNodeViewport(ImGuiViewportPPtr viewport) + { + ImGuiPNative.DebugNodeViewport(viewport); + } + public static void DebugNodeViewport(ref ImGuiViewportP viewport) + { + fixed (ImGuiViewportP* pviewport = &viewport) + { + ImGuiPNative.DebugNodeViewport((ImGuiViewportP*)pviewport); + } + } + public static void DebugRenderViewportThumbnail(ImDrawListPtr drawList, ImGuiViewportPPtr viewport, ImRect bb) + { + ImGuiPNative.DebugRenderViewportThumbnail(drawList, viewport, bb); + } + public static void DebugRenderViewportThumbnail(ref ImDrawList drawList, ImGuiViewportPPtr viewport, ImRect bb) + { + fixed (ImDrawList* pdrawList = &drawList) + { + ImGuiPNative.DebugRenderViewportThumbnail((ImDrawList*)pdrawList, viewport, bb); + } + } + public static void DebugRenderViewportThumbnail(ImDrawListPtr drawList, ref ImGuiViewportP viewport, ImRect bb) + { + fixed (ImGuiViewportP* pviewport = &viewport) + { + ImGuiPNative.DebugRenderViewportThumbnail(drawList, (ImGuiViewportP*)pviewport, bb); + } + } + public static void DebugRenderViewportThumbnail(ref ImDrawList drawList, ref ImGuiViewportP viewport, ImRect bb) + { + fixed (ImDrawList* pdrawList = &drawList) + { + fixed (ImGuiViewportP* pviewport = &viewport) + { + ImGuiPNative.DebugRenderViewportThumbnail((ImDrawList*)pdrawList, (ImGuiViewportP*)pviewport, bb); + } + } + } + public static ImFontBuilderIOPtr ImFontAtlasGetBuilderForStbTruetype() + { + ImFontBuilderIOPtr ret = ImGuiPNative.ImFontAtlasGetBuilderForStbTruetype(); + return ret; + } + public static void ImFontAtlasBuildInit(ImFontAtlasPtr atlas) + { + ImGuiPNative.ImFontAtlasBuildInit(atlas); + } + public static void ImFontAtlasBuildInit(ref ImFontAtlas atlas) + { + fixed (ImFontAtlas* patlas = &atlas) + { + ImGuiPNative.ImFontAtlasBuildInit((ImFontAtlas*)patlas); + } + } + public static void ImFontAtlasBuildSetupFont(ImFontAtlasPtr atlas, ImFontPtr font, ImFontConfigPtr fontConfig, float ascent, float descent) + { + ImGuiPNative.ImFontAtlasBuildSetupFont(atlas, font, fontConfig, ascent, descent); + } + public static void ImFontAtlasBuildSetupFont(ref ImFontAtlas atlas, ImFontPtr font, ImFontConfigPtr fontConfig, float ascent, float descent) + { + fixed (ImFontAtlas* patlas = &atlas) + { + ImGuiPNative.ImFontAtlasBuildSetupFont((ImFontAtlas*)patlas, font, fontConfig, ascent, descent); + } + } + public static void ImFontAtlasBuildSetupFont(ImFontAtlasPtr atlas, ref ImFont font, ImFontConfigPtr fontConfig, float ascent, float descent) + { + fixed (ImFont* pfont = &font) + { + ImGuiPNative.ImFontAtlasBuildSetupFont(atlas, (ImFont*)pfont, fontConfig, ascent, descent); + } + } + public static void ImFontAtlasBuildSetupFont(ref ImFontAtlas atlas, ref ImFont font, ImFontConfigPtr fontConfig, float ascent, float descent) + { + fixed (ImFontAtlas* patlas = &atlas) + { + fixed (ImFont* pfont = &font) + { + ImGuiPNative.ImFontAtlasBuildSetupFont((ImFontAtlas*)patlas, (ImFont*)pfont, fontConfig, ascent, descent); + } + } + } + public static void ImFontAtlasBuildSetupFont(ImFontAtlasPtr atlas, ImFontPtr font, ref ImFontConfig fontConfig, float ascent, float descent) + { + fixed (ImFontConfig* pfontConfig = &fontConfig) + { + ImGuiPNative.ImFontAtlasBuildSetupFont(atlas, font, (ImFontConfig*)pfontConfig, ascent, descent); + } + } + public static void ImFontAtlasBuildSetupFont(ref ImFontAtlas atlas, ImFontPtr font, ref ImFontConfig fontConfig, float ascent, float descent) + { + fixed (ImFontAtlas* patlas = &atlas) + { + fixed (ImFontConfig* pfontConfig = &fontConfig) + { + ImGuiPNative.ImFontAtlasBuildSetupFont((ImFontAtlas*)patlas, font, (ImFontConfig*)pfontConfig, ascent, descent); + } + } + } + public static void ImFontAtlasBuildSetupFont(ImFontAtlasPtr atlas, ref ImFont font, ref ImFontConfig fontConfig, float ascent, float descent) + { + fixed (ImFont* pfont = &font) + { + fixed (ImFontConfig* pfontConfig = &fontConfig) + { + ImGuiPNative.ImFontAtlasBuildSetupFont(atlas, (ImFont*)pfont, (ImFontConfig*)pfontConfig, ascent, descent); + } + } + } + public static void ImFontAtlasBuildSetupFont(ref ImFontAtlas atlas, ref ImFont font, ref ImFontConfig fontConfig, float ascent, float descent) + { + fixed (ImFontAtlas* patlas = &atlas) + { + fixed (ImFont* pfont = &font) + { + fixed (ImFontConfig* pfontConfig = &fontConfig) + { + ImGuiPNative.ImFontAtlasBuildSetupFont((ImFontAtlas*)patlas, (ImFont*)pfont, (ImFontConfig*)pfontConfig, ascent, descent); + } + } + } + } + public static void ImFontAtlasBuildFinish(ImFontAtlasPtr atlas) + { + ImGuiPNative.ImFontAtlasBuildFinish(atlas); + } + public static void ImFontAtlasBuildFinish(ref ImFontAtlas atlas) + { + fixed (ImFontAtlas* patlas = &atlas) + { + ImGuiPNative.ImFontAtlasBuildFinish((ImFontAtlas*)patlas); + } + } + public static void ImFontAtlasBuildMultiplyCalcLookupTable(byte* outTable, float inMultiplyFactor, float gammaFactor) + { + ImGuiPNative.ImFontAtlasBuildMultiplyCalcLookupTable(outTable, inMultiplyFactor, gammaFactor); + } + public static void ImFontAtlasBuildMultiplyCalcLookupTable(ref byte outTable, float inMultiplyFactor, float gammaFactor) + { + fixed (byte* poutTable = &outTable) + { + ImGuiPNative.ImFontAtlasBuildMultiplyCalcLookupTable((byte*)poutTable, inMultiplyFactor, gammaFactor); + } + } + public static void ImFontAtlasBuildMultiplyCalcLookupTable(ReadOnlySpan outTable, float inMultiplyFactor, float gammaFactor) + { + fixed (byte* poutTable = outTable) + { + ImGuiPNative.ImFontAtlasBuildMultiplyCalcLookupTable((byte*)poutTable, inMultiplyFactor, gammaFactor); + } + } +} +// DISCARDED: internal static byte ArrowButtonExNative(byte* strId, ImGuiDir dir, Vector2 sizeArg, ImGuiButtonFlags flags) +// DISCARDED: internal static byte BeginChildExNative(byte* name, uint id, Vector2 sizeArg, byte border, ImGuiWindowFlags flags) +// DISCARDED: internal static void BeginColumnsNative(byte* strId, int count, ImGuiOldColumnFlags flags) +// DISCARDED: internal static byte BeginMenuExNative(byte* label, byte* icon, byte enabled) +// DISCARDED: internal static byte BeginTableExNative(byte* name, uint id, int columnsCount, ImGuiTableFlags flags, Vector2 outerSize, float innerWidth) +// DISCARDED: internal static byte BeginViewportSideBarNative(byte* name, ImGuiViewport* viewport, ImGuiDir dir, float size, ImGuiWindowFlags windowFlags) +// DISCARDED: internal static byte ButtonExNative(byte* label, Vector2 sizeArg, ImGuiButtonFlags flags) +// DISCARDED: internal static byte CheckboxFlagsNative(byte* label, long* flags, long flagsValue) +// DISCARDED: internal static byte CheckboxFlagsNative(byte* label, ulong* flags, ulong flagsValue) +// DISCARDED: internal static void ColorEditOptionsPopupNative(float* col, ImGuiColorEditFlags flags) +// DISCARDED: internal static void ColorPickerOptionsPopupNative(float* refCol, ImGuiColorEditFlags flags) +// DISCARDED: internal static void ColorTooltipNative(byte* text, float* col, ImGuiColorEditFlags flags) +// DISCARDED: internal static ImGuiWindowSettings* CreateNewWindowSettingsNative(byte* name) +// DISCARDED: internal static void Custom_StbTextMakeUndoReplaceNative(ImGuiInputTextState* str, int where, int oldLength, int newLength) +// DISCARDED: internal static void Custom_StbTextUndoNative(ImGuiInputTextState* str) +// DISCARDED: internal static byte DataTypeApplyFromTextNative(byte* buf, ImGuiDataType dataType, void* pData, byte* format) +// DISCARDED: internal static void DebugLogNative(byte* fmt) +// DISCARDED: internal static void DebugLogVNative(byte* fmt, nuint args) +// DISCARDED: internal static void DebugNodeDockNodeNative(ImGuiDockNode* node, byte* label) +// DISCARDED: internal static void DebugNodeDrawListNative(ImGuiWindow* window, ImGuiViewportP* viewport, ImDrawList* drawList, byte* label) +// DISCARDED: internal static void DebugNodeStorageNative(ImGuiStorage* storage, byte* label) +// DISCARDED: internal static void DebugNodeTabBarNative(ImGuiTabBar* tabBar, byte* label) +// DISCARDED: internal static void DebugNodeWindowNative(ImGuiWindow* window, byte* label) +// DISCARDED: internal static void DebugNodeWindowsListNative(ImVector* windows, byte* label) +// DISCARDED: internal static void DockBuilderCopyWindowSettingsNative(byte* srcName, byte* dstName) +// DISCARDED: internal static void DockBuilderDockWindowNative(byte* windowName, uint nodeId) +// DISCARDED: internal static byte DragBehaviorNative(uint id, ImGuiDataType dataType, void* pV, float vSpeed, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) +// DISCARDED: internal static ImGuiWindowSettings* FindOrCreateWindowSettingsNative(byte* name) +// DISCARDED: internal static byte* FindRenderedTextEndNative(byte* text, byte* textEnd) +// DISCARDED: FindRenderedTextEndS +// DISCARDED: internal static ImGuiSettingsHandler* FindSettingsHandlerNative(byte* typeName) +// DISCARDED: internal static ImGuiWindow* FindWindowByNameNative(byte* name) +// DISCARDED: internal static uint GetColumnsIDNative(byte* strId, int count) +// DISCARDED: internal static uint GetIDNative(ImGuiWindow* self, byte* str, byte* strEnd) +// DISCARDED: internal static uint GetIDNative(ImGuiWindow* self, void* ptr) +// DISCARDED: internal static uint GetIDNative(ImGuiWindow* self, int n) +// DISCARDED: internal static uint GetIDWithSeedNative(byte* strIdBegin, byte* strIdEnd, uint seed) +// DISCARDED: internal static byte* GetNameNative(ImGuiWindowSettings* self) +// DISCARDED: GetNameS +// DISCARDED: internal static byte* GetNavInputNameNative(ImGuiNavInput n) +// DISCARDED: GetNavInputNameS +// DISCARDED: internal static byte* GetTabNameNative(ImGuiTabBar* self, ImGuiTabItem* tab) +// DISCARDED: GetTabNameS +// DISCARDED: internal static void* ImFileLoadToMemoryNative(byte* filename, byte* mode, nuint* outFileSize, int paddingBytes) +// DISCARDED: internal static ImFileHandle ImFileOpenNative(byte* filename, byte* mode) +// DISCARDED: internal static void ImFontAtlasBuildMultiplyRectAlpha8Native(byte* table, byte* pixels, int x, int y, int w, int h, int stride) +// DISCARDED: internal static void ImFontAtlasBuildRender32bppRectFromStringNative(ImFontAtlas* atlas, int textureIndex, int x, int y, int w, int h, byte* inStr, byte inMarkerChar, uint inMarkerPixelValue) +// DISCARDED: internal static void ImFontAtlasBuildRender8bppRectFromStringNative(ImFontAtlas* atlas, int textureIndex, int x, int y, int w, int h, byte* inStr, byte inMarkerChar, byte inMarkerPixelValue) +// DISCARDED: internal static void ImFormatStringToTempBufferNative(byte** outBuf, byte** outBufEnd, byte* fmt) +// DISCARDED: internal static void ImFormatStringToTempBufferVNative(byte** outBuf, byte** outBufEnd, byte* fmt, nuint args) +// DISCARDED: internal static ImGuiWindow* ImGuiWindowNative(ImGuiContext* context, byte* name) +// DISCARDED: internal static uint ImHashDataNative(void* data, nuint dataSize, uint seed) +// DISCARDED: internal static uint ImHashStrNative(byte* data, nuint dataSize, uint seed) +// DISCARDED: internal static byte* ImParseFormatFindEndNative(byte* format) +// DISCARDED: ImParseFormatFindEndS +// DISCARDED: internal static byte* ImParseFormatFindStartNative(byte* format) +// DISCARDED: ImParseFormatFindStartS +// DISCARDED: internal static int ImParseFormatPrecisionNative(byte* format, int defaultValue) +// DISCARDED: internal static void ImParseFormatSanitizeForPrintingNative(byte* fmtIn, byte* fmtOut, nuint fmtOutSize) +// DISCARDED: internal static byte* ImParseFormatSanitizeForScanningNative(byte* fmtIn, byte* fmtOut, nuint fmtOutSize) +// DISCARDED: ImParseFormatSanitizeForScanningS +// DISCARDED: internal static byte* ImStrchrRangeNative(byte* strBegin, byte* strEnd, byte c) +// DISCARDED: ImStrchrRangeS +// DISCARDED: internal static byte* ImStrdupNative(byte* str) +// DISCARDED: internal static byte* ImStrdupcpyNative(byte* dst, nuint* pDstSize, byte* str) +// DISCARDED: ImStrdupcpyS +// DISCARDED: ImStrdupS +// DISCARDED: internal static byte* ImStreolRangeNative(byte* str, byte* strEnd) +// DISCARDED: ImStreolRangeS +// DISCARDED: internal static int ImStricmpNative(byte* str1, byte* str2) +// DISCARDED: internal static byte* ImStristrNative(byte* haystack, byte* haystackEnd, byte* needle, byte* needleEnd) +// DISCARDED: ImStristrS +// DISCARDED: internal static int ImStrlenWNative(ushort* str) +// DISCARDED: internal static void ImStrncpyNative(byte* dst, byte* src, nuint count) +// DISCARDED: internal static int ImStrnicmpNative(byte* str1, byte* str2, nuint count) +// DISCARDED: internal static byte* ImStrSkipBlankNative(byte* str) +// DISCARDED: ImStrSkipBlankS +// DISCARDED: internal static void ImStrTrimBlanksNative(byte* str) +// DISCARDED: internal static int ImTextCharFromUtf8Native(uint* outChar, byte* inText, byte* inTextEnd) +// DISCARDED: internal static byte* ImTextCharToUtf8Native(byte* outBuf, uint c) +// DISCARDED: ImTextCharToUtf8S +// DISCARDED: internal static int ImTextCountCharsFromUtf8Native(byte* inText, byte* inTextEnd) +// DISCARDED: internal static int ImTextCountUtf8BytesFromCharNative(byte* inText, byte* inTextEnd) +// DISCARDED: internal static void LogRenderedTextNative(Vector2* refPos, byte* text, byte* textEnd) +// DISCARDED: internal static void LogSetNextTextDecorationNative(byte* prefix, byte* suffix) +// DISCARDED: internal static byte MenuItemExNative(byte* label, byte* icon, byte* shortcut, byte selected, byte enabled) +// DISCARDED: internal static int PlotExNative(ImGuiPlotType plotType, byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 frameSize) +// DISCARDED: internal static void RemoveSettingsHandlerNative(byte* typeName) +// DISCARDED: internal static void RenderTextNative(Vector2 pos, byte* text, byte* textEnd, byte hideTextAfterHash) +// DISCARDED: internal static void RenderTextClippedNative(Vector2 posMin, Vector2 posMax, byte* text, byte* textEnd, Vector2* textSizeIfKnown, Vector2 align, ImRect* clipRect) +// DISCARDED: internal static void RenderTextClippedExNative(ImDrawList* drawList, Vector2 posMin, Vector2 posMax, byte* text, byte* textEnd, Vector2* textSizeIfKnown, Vector2 align, ImRect* clipRect) +// DISCARDED: internal static void RenderTextEllipsisNative(ImDrawList* drawList, Vector2 posMin, Vector2 posMax, float clipMaxX, float ellipsisMaxX, byte* text, byte* textEnd, Vector2* textSizeIfKnown) +// DISCARDED: internal static void RenderTextWrappedNative(Vector2 pos, byte* text, byte* textEnd, float wrapWidth) +// DISCARDED: internal static byte SliderBehaviorNative(ImRect bb, uint id, ImGuiDataType dataType, void* pV, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags, ImRect* outGrabBb) +// DISCARDED: internal static void TabItemCalcSizeNative(Vector2* pOut, byte* label, byte hasCloseButton) +// DISCARDED: internal static byte TabItemExNative(ImGuiTabBar* tabBar, byte* label, bool* pOpen, ImGuiTabItemFlags flags, ImGuiWindow* dockedWindow) +// DISCARDED: internal static void TabItemLabelAndCloseButtonNative(ImDrawList* drawList, ImRect bb, ImGuiTabItemFlags flags, Vector2 framePadding, byte* label, uint tabId, uint closeButtonId, byte isContentsVisible, bool* outJustClosed, bool* outTextClipped) +// DISCARDED: internal static byte* TableGetColumnNameNative(ImGuiTable* table, int columnN) +// DISCARDED: TableGetColumnNameS +// DISCARDED: internal static byte TempInputScalarNative(ImRect bb, uint id, byte* label, ImGuiDataType dataType, void* pData, byte* format, void* pClampMin, void* pClampMax) +// DISCARDED: internal static void TextExNative(byte* text, byte* textEnd, ImGuiTextFlags flags) +// DISCARDED: internal static byte TreeNodeBehaviorNative(uint id, ImGuiTreeNodeFlags flags, byte* label, byte* labelEnd) + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Internals/Functions/ImGuiPNative.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Internals/Functions/ImGuiPNative.gen.cs new file mode 100644 index 000000000..20093f7a0 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Internals/Functions/ImGuiPNative.gen.cs @@ -0,0 +1,4068 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial class ImGuiPNative +{ + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static uint ImHashData(void* data, nuint dataSize, uint seed) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[688])(data, dataSize, seed); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static uint ImHashStr(byte* data, nuint dataSize, uint seed) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[689])(data, dataSize, seed); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ImQsort(void* baseValue, nuint count, nuint sizeOfElement, delegate*, int> compareFunc) + { + + ((delegate* unmanaged[Cdecl], int>, void>)ImGuiP.funcTable[690])(baseValue, count, sizeOfElement, compareFunc); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static uint ImAlphaBlendColors(uint colA, uint colB) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[691])(colA, colB); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte ImIsPowerOfTwo(int v) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[692])(v); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte ImIsPowerOfTwo(ulong v) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[693])(v); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static int ImUpperPowerOfTwo(int v) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[694])(v); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static int ImStricmp(byte* str1, byte* str2) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[695])(str1, str2); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static int ImStrnicmp(byte* str1, byte* str2, nuint count) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[696])(str1, str2, count); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ImStrncpy(byte* dst, byte* src, nuint count) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[697])(dst, src, count); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte* ImStrdup(byte* str) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[698])(str); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte* ImStrdupcpy(byte* dst, nuint* pDstSize, byte* str) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[699])(dst, pDstSize, str); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte* ImStrchrRange(byte* strBegin, byte* strEnd, byte c) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[700])(strBegin, strEnd, c); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static int ImStrlenW(ushort* str) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[701])(str); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte* ImStreolRange(byte* str, byte* strEnd) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[702])(str, strEnd); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ushort* ImStrbolW(ushort* bufMidLine, ushort* bufBegin) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[703])(bufMidLine, bufBegin); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte* ImStristr(byte* haystack, byte* haystackEnd, byte* needle, byte* needleEnd) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[704])(haystack, haystackEnd, needle, needleEnd); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ImStrTrimBlanks(byte* str) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[705])(str); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte* ImStrSkipBlank(byte* str) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[706])(str); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte ImCharIsBlankA(byte c) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[707])(c); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte ImCharIsBlankW(uint c) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[708])(c); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ImFormatStringToTempBuffer(byte** outBuf, byte** outBufEnd, byte* fmt) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[709])(outBuf, outBufEnd, fmt); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ImFormatStringToTempBufferV(byte** outBuf, byte** outBufEnd, byte* fmt, nuint args) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[710])(outBuf, outBufEnd, fmt, args); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte* ImParseFormatFindStart(byte* format) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[711])(format); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte* ImParseFormatFindEnd(byte* format) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[712])(format); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ImParseFormatSanitizeForPrinting(byte* fmtIn, byte* fmtOut, nuint fmtOutSize) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[713])(fmtIn, fmtOut, fmtOutSize); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte* ImParseFormatSanitizeForScanning(byte* fmtIn, byte* fmtOut, nuint fmtOutSize) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[714])(fmtIn, fmtOut, fmtOutSize); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static int ImParseFormatPrecision(byte* format, int defaultValue) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[715])(format, defaultValue); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte* ImTextCharToUtf8(byte* outBuf, uint c) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[716])(outBuf, c); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static int ImTextCharFromUtf8(uint* outChar, byte* inText, byte* inTextEnd) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[717])(outChar, inText, inTextEnd); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static int ImTextCountCharsFromUtf8(byte* inText, byte* inTextEnd) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[718])(inText, inTextEnd); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static int ImTextCountUtf8BytesFromChar(byte* inText, byte* inTextEnd) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[719])(inText, inTextEnd); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static int ImTextCountUtf8BytesFromStr(ushort* inText, ushort* inTextEnd) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[720])(inText, inTextEnd); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImFileHandle ImFileOpen(byte* filename, byte* mode) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[721])(filename, mode); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte ImFileClose(ImFileHandle file) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[722])(file); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ulong ImFileGetSize(ImFileHandle file) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[723])(file); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ulong ImFileRead(void* data, ulong size, ulong count, ImFileHandle file) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[724])(data, size, count, file); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ulong ImFileWrite(void* data, ulong size, ulong count, ImFileHandle file) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[725])(data, size, count, file); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void* ImFileLoadToMemory(byte* filename, byte* mode, nuint* outFileSize, int paddingBytes) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[726])(filename, mode, outFileSize, paddingBytes); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static float ImPow(float x, float y) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[727])(x, y); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static double ImPow(double x, double y) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[728])(x, y); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static float ImLog(float x) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[729])(x); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static double ImLog(double x) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[730])(x); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static int ImAbs(int x) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[731])(x); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static float ImAbs(float x) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[732])(x); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static double ImAbs(double x) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[733])(x); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static float ImSign(float x) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[734])(x); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static double ImSign(double x) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[735])(x); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static float ImRsqrt(float x) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[736])(x); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static double ImRsqrt(double x) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[737])(x); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ImMin(Vector2* pOut, Vector2 lhs, Vector2 rhs) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[738])(pOut, lhs, rhs); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ImMax(Vector2* pOut, Vector2 lhs, Vector2 rhs) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[739])(pOut, lhs, rhs); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ImClamp(Vector2* pOut, Vector2 v, Vector2 mn, Vector2 mx) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[740])(pOut, v, mn, mx); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ImLerp(Vector2* pOut, Vector2 a, Vector2 b, float t) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[741])(pOut, a, b, t); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ImLerp(Vector2* pOut, Vector2 a, Vector2 b, Vector2 t) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[742])(pOut, a, b, t); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ImLerp(Vector4* pOut, Vector4 a, Vector4 b, float t) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[743])(pOut, a, b, t); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static float ImSaturate(float f) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[744])(f); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static float ImLengthSqr(Vector2 lhs) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[745])(lhs); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static float ImLengthSqr(Vector4 lhs) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[746])(lhs); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static float ImInvLength(Vector2 lhs, float failValue) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[747])(lhs, failValue); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static float ImFloor(float f) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[748])(f); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ImFloor(Vector2* pOut, Vector2 v) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[750])(pOut, v); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static float ImFloorSigned(float f) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[749])(f); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ImFloorSigned(Vector2* pOut, Vector2 v) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[751])(pOut, v); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static int ImModPositive(int a, int b) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[752])(a, b); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static float ImDot(Vector2 a, Vector2 b) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[753])(a, b); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ImRotate(Vector2* pOut, Vector2 v, float cosA, float sinA) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[754])(pOut, v, cosA, sinA); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static float ImLinearSweep(float current, float target, float speed) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[755])(current, target, speed); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ImMul(Vector2* pOut, Vector2 lhs, Vector2 rhs) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[756])(pOut, lhs, rhs); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte ImIsFloatAboveGuaranteedIntegerPrecision(float f) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[757])(f); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ImBezierCubicCalc(Vector2* pOut, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, float t) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[758])(pOut, p1, p2, p3, p4, t); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ImBezierCubicClosestPoint(Vector2* pOut, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 p, int numSegments) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[759])(pOut, p1, p2, p3, p4, p, numSegments); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ImBezierCubicClosestPointCasteljau(Vector2* pOut, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 p, float tessTol) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[760])(pOut, p1, p2, p3, p4, p, tessTol); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ImBezierQuadraticCalc(Vector2* pOut, Vector2 p1, Vector2 p2, Vector2 p3, float t) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[761])(pOut, p1, p2, p3, t); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ImLineClosestPoint(Vector2* pOut, Vector2 a, Vector2 b, Vector2 p) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[762])(pOut, a, b, p); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte ImTriangleContainsPoint(Vector2 a, Vector2 b, Vector2 c, Vector2 p) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[763])(a, b, c, p); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ImTriangleClosestPoint(Vector2* pOut, Vector2 a, Vector2 b, Vector2 c, Vector2 p) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[764])(pOut, a, b, c, p); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ImTriangleBarycentricCoords(Vector2 a, Vector2 b, Vector2 c, Vector2 p, float* outU, float* outV, float* outW) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[765])(a, b, c, p, outU, outV, outW); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static float ImTriangleArea(Vector2 a, Vector2 b, Vector2 c) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[766])(a, b, c); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiDir ImGetDirQuadrantFromDelta(float dx, float dy) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[767])(dx, dy); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImVec1* ImVec1() + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[768])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImVec1* ImVec1(float x) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[769])(x); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImVec2Ih* ImVec2ih() + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[770])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImVec2Ih* ImVec2ih(short x, short y) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[771])(x, y); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImVec2Ih* ImVec2ih(Vector2 rhs) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[772])(rhs); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImRect* ImRect() + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[773])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImRect* ImRect(Vector2 min, Vector2 max) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[774])(min, max); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImRect* ImRect(Vector4 v) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[775])(v); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImRect* ImRect(float x1, float y1, float x2, float y2) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[776])(x1, y1, x2, y2); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void GetCenter(Vector2* pOut, ImRect* self) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[777])(pOut, self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void GetSize(Vector2* pOut, ImRect* self) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[778])(pOut, self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static float GetWidth(ImRect* self) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[779])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static float GetHeight(ImRect* self) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[780])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static float GetArea(ImRect* self) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[781])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void GetTL(Vector2* pOut, ImRect* self) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[782])(pOut, self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void GetTR(Vector2* pOut, ImRect* self) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[783])(pOut, self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void GetBL(Vector2* pOut, ImRect* self) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[784])(pOut, self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void GetBR(Vector2* pOut, ImRect* self) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[785])(pOut, self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte Contains(ImRect* self, Vector2 p) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[786])(self, p); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte Contains(ImRect* self, ImRect r) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[787])(self, r); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte Overlaps(ImRect* self, ImRect r) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[788])(self, r); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Add(ImRect* self, Vector2 p) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[789])(self, p); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Add(ImRect* self, ImRect r) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[790])(self, r); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Expand(ImRect* self, float amount) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[791])(self, amount); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Expand(ImRect* self, Vector2 amount) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[792])(self, amount); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Translate(ImRect* self, Vector2 d) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[793])(self, d); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void TranslateX(ImRect* self, float dx) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[794])(self, dx); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void TranslateY(ImRect* self, float dy) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[795])(self, dy); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ClipWith(ImRect* self, ImRect r) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[796])(self, r); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ClipWithFull(ImRect* self, ImRect r) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[797])(self, r); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Floor(ImRect* self) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[798])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte IsInverted(ImRect* self) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[799])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ToVec4(Vector4* pOut, ImRect* self) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[800])(pOut, self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte ImBitArrayTestBit(uint* arr, int n) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[801])(arr, n); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ImBitArrayClearBit(uint* arr, int n) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[802])(arr, n); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ImBitArraySetBit(uint* arr, int n) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[803])(arr, n); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ImBitArraySetBitRange(uint* arr, int n, int n2) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[804])(arr, n, n2); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Create(ImBitVector* self, int sz) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[805])(self, sz); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Clear(ImBitVector* self) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[806])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Clear(ImDrawDataBuilder* self) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[812])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Clear(ImGuiNavItemData* self) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[855])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte TestBit(ImBitVector* self, int n) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[807])(self, n); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetBit(ImBitVector* self, int n) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[808])(self, n); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ClearBit(ImBitVector* self, int n) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[809])(self, n); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImDrawListSharedData* ImDrawListSharedData() + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[810])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetCircleTessellationMaxError(ImDrawListSharedData* self, float maxError) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[811])(self, maxError); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ClearFreeMemory(ImDrawDataBuilder* self) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[813])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ClearFreeMemory(ImGuiInputTextState* self) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[826])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static int GetDrawListCount(ImDrawDataBuilder* self) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[814])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void FlattenIntoSingleLayer(ImDrawDataBuilder* self) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[815])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiStyleMod* ImGuiStyleMod(ImGuiStyleVar idx, int v) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[816])(idx, v); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiStyleMod* ImGuiStyleMod(ImGuiStyleVar idx, float v) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[817])(idx, v); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiStyleMod* ImGuiStyleMod(ImGuiStyleVar idx, Vector2 v) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[818])(idx, v); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiComboPreviewData* ImGuiComboPreviewData() + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[819])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiMenuColumns* ImGuiMenuColumns() + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[820])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Update(ImGuiMenuColumns* self, float spacing, byte windowReappearing) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[821])(self, spacing, windowReappearing); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static float DeclColumns(ImGuiMenuColumns* self, float wIcon, float wLabel, float wShortcut, float wMark) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[822])(self, wIcon, wLabel, wShortcut, wMark); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void CalcNextTotalWidth(ImGuiMenuColumns* self, byte updateOffsets) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[823])(self, updateOffsets); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiInputTextState* ImGuiInputTextState() + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[824])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ClearText(ImGuiInputTextState* self) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[825])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static int GetUndoAvailCount(ImGuiInputTextState* self) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[827])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static int GetRedoAvailCount(ImGuiInputTextState* self) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[828])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void OnKeyPressed(ImGuiInputTextState* self, int key) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[829])(self, key); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void CursorAnimReset(ImGuiInputTextState* self) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[830])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void CursorClamp(ImGuiInputTextState* self) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[831])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte HasSelection(ImGuiInputTextState* self) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[832])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ClearSelection(ImGuiInputTextState* self) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[833])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static int GetCursorPos(ImGuiInputTextState* self) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[834])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static int GetSelectionStart(ImGuiInputTextState* self) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[835])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static int GetSelectionEnd(ImGuiInputTextState* self) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[836])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SelectAll(ImGuiInputTextState* self) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[837])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiPopupData* ImGuiPopupData() + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[838])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiNextWindowData* ImGuiNextWindowData() + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[839])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ClearFlags(ImGuiNextWindowData* self) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[840])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ClearFlags(ImGuiNextItemData* self) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[842])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiNextItemData* ImGuiNextItemData() + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[841])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiLastItemData* ImGuiLastItemData() + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[843])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiStackSizes* ImGuiStackSizes() + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[844])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetToCurrentState(ImGuiStackSizes* self) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[845])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void CompareWithCurrentState(ImGuiStackSizes* self) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[846])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiPtrOrIndex* ImGuiPtrOrIndex(void* ptr) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[847])(ptr); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiPtrOrIndex* ImGuiPtrOrIndex(int index) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[848])(index); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiInputEvent* ImGuiInputEvent() + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[849])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiListClipperRange FromIndices(int min, int max) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[850])(min, max); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiListClipperRange FromPositions(float y1, float y2, int offMin, int offMax) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[851])(y1, y2, offMin, offMax); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiListClipperData* ImGuiListClipperData() + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[852])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Reset(ImGuiListClipperData* self, ImGuiListClipper* clipper) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[853])(self, clipper); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiNavItemData* ImGuiNavItemData() + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[854])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiOldColumnData* ImGuiOldColumnData() + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[856])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiOldColumns* ImGuiOldColumns() + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[857])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiDockNode* ImGuiDockNode(uint id) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[858])(id); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Destroy(ImGuiDockNode* self) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[859])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Destroy(ImGuiViewportP* self) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[874])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Destroy(ImGuiWindow* self) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[891])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Destroy(ImGuiTable* self) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[909])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte IsRootNode(ImGuiDockNode* self) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[860])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte IsDockSpace(ImGuiDockNode* self) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[861])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte IsFloatingNode(ImGuiDockNode* self) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[862])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte IsCentralNode(ImGuiDockNode* self) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[863])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte IsHiddenTabBar(ImGuiDockNode* self) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[864])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte IsNoTabBar(ImGuiDockNode* self) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[865])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte IsSplitNode(ImGuiDockNode* self) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[866])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte IsLeafNode(ImGuiDockNode* self) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[867])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte IsEmpty(ImGuiDockNode* self) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[868])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Rect(ImRect* pOut, ImGuiDockNode* self) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[869])(pOut, self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Rect(ImRect* pOut, ImGuiWindow* self) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[896])(pOut, self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetLocalFlags(ImGuiDockNode* self, ImGuiDockNodeFlags flags) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[870])(self, flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void UpdateMergedFlags(ImGuiDockNode* self) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[871])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiDockContext* ImGuiDockContext() + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[872])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiViewportP* ImGuiViewportP() + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[873])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ClearRequestFlags(ImGuiViewportP* self) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[875])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void CalcWorkRectPos(Vector2* pOut, ImGuiViewportP* self, Vector2 offMin) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[876])(pOut, self, offMin); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void CalcWorkRectSize(Vector2* pOut, ImGuiViewportP* self, Vector2 offMin, Vector2 offMax) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[877])(pOut, self, offMin, offMax); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void UpdateWorkRect(ImGuiViewportP* self) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[878])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void GetMainRect(ImRect* pOut, ImGuiViewportP* self) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[879])(pOut, self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void GetWorkRect(ImRect* pOut, ImGuiViewportP* self) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[880])(pOut, self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void GetBuildWorkRect(ImRect* pOut, ImGuiViewportP* self) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[881])(pOut, self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiWindowSettings* ImGuiWindowSettings() + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[882])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte* GetName(ImGuiWindowSettings* self) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[883])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiSettingsHandler* ImGuiSettingsHandler() + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[884])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiMetricsConfig* ImGuiMetricsConfig() + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[885])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiStackLevelInfo* ImGuiStackLevelInfo() + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[886])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiStackTool* ImGuiStackTool() + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[887])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiContextHook* ImGuiContextHook() + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[888])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiContext* ImGuiContext(ImFontAtlas* sharedFontAtlas) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[889])(sharedFontAtlas); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiWindow* ImGuiWindow(ImGuiContext* context, byte* name) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[890])(context, name); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static uint GetID(ImGuiWindow* self, byte* str, byte* strEnd) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[892])(self, str, strEnd); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static uint GetID(ImGuiWindow* self, void* ptr) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[893])(self, ptr); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static uint GetID(ImGuiWindow* self, int n) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[894])(self, n); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static uint GetIDFromRectangle(ImGuiWindow* self, ImRect rAbs) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[895])(self, rAbs); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static float CalcFontSize(ImGuiWindow* self) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[897])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static float TitleBarHeight(ImGuiWindow* self) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[898])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void TitleBarRect(ImRect* pOut, ImGuiWindow* self) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[899])(pOut, self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static float MenuBarHeight(ImGuiWindow* self) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[900])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void MenuBarRect(ImRect* pOut, ImGuiWindow* self) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[901])(pOut, self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiTabItem* ImGuiTabItem() + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[902])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiTabBar* ImGuiTabBar() + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[903])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static int GetTabOrder(ImGuiTabBar* self, ImGuiTabItem* tab) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[904])(self, tab); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte* GetTabName(ImGuiTabBar* self, ImGuiTabItem* tab) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[905])(self, tab); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiTableColumn* ImGuiTableColumn() + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[906])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiTableInstanceData* ImGuiTableInstanceData() + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[907])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiTable* ImGuiTable() + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[908])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiTableTempData* ImGuiTableTempData() + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[910])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiTableColumnSettings* ImGuiTableColumnSettings() + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[911])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiTableSettings* ImGuiTableSettings() + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[912])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiTableColumnSettings* GetColumnSettings(ImGuiTableSettings* self) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[913])(self); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiWindow* GetCurrentWindowRead() + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[914])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiWindow* GetCurrentWindow() + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[915])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiWindow* FindWindowByID(uint id) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[916])(id); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiWindow* FindWindowByName(byte* name) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[917])(name); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void UpdateWindowParentAndRootLinks(ImGuiWindow* window, ImGuiWindowFlags flags, ImGuiWindow* parentWindow) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[918])(window, flags, parentWindow); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void CalcWindowNextAutoFitSize(Vector2* pOut, ImGuiWindow* window) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[919])(pOut, window); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte IsWindowChildOf(ImGuiWindow* window, ImGuiWindow* potentialParent, byte popupHierarchy, byte dockHierarchy) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[920])(window, potentialParent, popupHierarchy, dockHierarchy); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte IsWindowWithinBeginStackOf(ImGuiWindow* window, ImGuiWindow* potentialParent) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[921])(window, potentialParent); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte IsWindowAbove(ImGuiWindow* potentialAbove, ImGuiWindow* potentialBelow) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[922])(potentialAbove, potentialBelow); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte IsWindowNavFocusable(ImGuiWindow* window) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[923])(window); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetWindowPos(ImGuiWindow* window, Vector2 pos, ImGuiCond cond) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[924])(window, pos, cond); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetWindowSize(ImGuiWindow* window, Vector2 size, ImGuiCond cond) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[925])(window, size, cond); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetWindowCollapsed(ImGuiWindow* window, byte collapsed, ImGuiCond cond) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[926])(window, collapsed, cond); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetWindowHitTestHole(ImGuiWindow* window, Vector2 pos, Vector2 size) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[927])(window, pos, size); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void WindowRectAbsToRel(ImRect* pOut, ImGuiWindow* window, ImRect r) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[928])(pOut, window, r); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void WindowRectRelToAbs(ImRect* pOut, ImGuiWindow* window, ImRect r) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[929])(pOut, window, r); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void FocusWindow(ImGuiWindow* window) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[930])(window); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void FocusTopMostWindowUnderOne(ImGuiWindow* underThisWindow, ImGuiWindow* ignoreWindow) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[931])(underThisWindow, ignoreWindow); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void BringWindowToFocusFront(ImGuiWindow* window) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[932])(window); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void BringWindowToDisplayFront(ImGuiWindow* window) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[933])(window); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void BringWindowToDisplayBack(ImGuiWindow* window) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[934])(window); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void BringWindowToDisplayBehind(ImGuiWindow* window, ImGuiWindow* aboveWindow) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[935])(window, aboveWindow); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static int FindWindowDisplayIndex(ImGuiWindow* window) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[936])(window); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiWindow* FindBottomMostVisibleWindowWithinBeginStack(ImGuiWindow* window) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[937])(window); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetCurrentFont(ImFont* font) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[938])(font); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImFont* GetDefaultFont() + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[939])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImDrawList* GetForegroundDrawList(ImGuiWindow* window) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[940])(window); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Initialize() + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[941])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Shutdown() + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[942])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void UpdateInputEvents(byte trickleFastInputs) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[943])(trickleFastInputs); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void UpdateHoveredWindowAndCaptureFlags() + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[944])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void StartMouseMovingWindow(ImGuiWindow* window) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[945])(window); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void StartMouseMovingWindowOrNode(ImGuiWindow* window, ImGuiDockNode* node, byte undockFloatingNode) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[946])(window, node, undockFloatingNode); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void UpdateMouseMovingWindowNewFrame() + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[947])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void UpdateMouseMovingWindowEndFrame() + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[948])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static uint AddContextHook(ImGuiContext* context, ImGuiContextHook* hook) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[949])(context, hook); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void RemoveContextHook(ImGuiContext* context, uint hookToRemove) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[950])(context, hookToRemove); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void CallContextHooks(ImGuiContext* context, ImGuiContextHookType type) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[951])(context, type); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void TranslateWindowsInViewport(ImGuiViewportP* viewport, Vector2 oldPos, Vector2 newPos) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[952])(viewport, oldPos, newPos); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ScaleWindowsInViewport(ImGuiViewportP* viewport, float scale) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[953])(viewport, scale); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void DestroyPlatformWindow(ImGuiViewportP* viewport) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[954])(viewport); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetWindowViewport(ImGuiWindow* window, ImGuiViewportP* viewport) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[955])(window, viewport); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetCurrentViewport(ImGuiWindow* window, ImGuiViewportP* viewport) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[956])(window, viewport); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiPlatformMonitor* GetViewportPlatformMonitor(ImGuiViewport* viewport) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[957])(viewport); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiViewportP* FindHoveredViewportFromPlatformWindowStack(Vector2 mousePlatformPos) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[958])(mousePlatformPos); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void MarkIniSettingsDirty() + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[959])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void MarkIniSettingsDirty(ImGuiWindow* window) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[960])(window); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ClearIniSettings() + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[961])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiWindowSettings* CreateNewWindowSettings(byte* name) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[962])(name); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiWindowSettings* FindWindowSettings(uint id) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[963])(id); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiWindowSettings* FindOrCreateWindowSettings(byte* name) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[964])(name); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void AddSettingsHandler(ImGuiSettingsHandler* handler) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[965])(handler); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void RemoveSettingsHandler(byte* typeName) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[966])(typeName); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiSettingsHandler* FindSettingsHandler(byte* typeName) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[967])(typeName); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetNextWindowScroll(Vector2 scroll) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[968])(scroll); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetScrollX(ImGuiWindow* window, float scrollX) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[969])(window, scrollX); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetScrollY(ImGuiWindow* window, float scrollY) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[970])(window, scrollY); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetScrollFromPosX(ImGuiWindow* window, float localX, float centerXRatio) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[971])(window, localX, centerXRatio); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetScrollFromPosY(ImGuiWindow* window, float localY, float centerYRatio) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[972])(window, localY, centerYRatio); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ScrollToItem(ImGuiScrollFlags flags) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[973])(flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ScrollToRect(ImGuiWindow* window, ImRect rect, ImGuiScrollFlags flags) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[974])(window, rect, flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ScrollToRectEx(Vector2* pOut, ImGuiWindow* window, ImRect rect, ImGuiScrollFlags flags) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[975])(pOut, window, rect, flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ScrollToBringRectIntoView(ImGuiWindow* window, ImRect rect) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[976])(window, rect); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static uint GetItemID() + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[977])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiItemStatusFlags GetItemStatusFlags() + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[978])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiItemFlags GetItemFlags() + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[979])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static uint GetActiveID() + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[980])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static uint GetFocusID() + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[981])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetActiveID(uint id, ImGuiWindow* window) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[982])(id, window); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetFocusID(uint id, ImGuiWindow* window) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[983])(id, window); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ClearActiveID() + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[984])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static uint GetHoveredID() + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[985])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetHoveredID(uint id) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[986])(id); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void KeepAliveID(uint id) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[987])(id); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void MarkItemEdited(uint id) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[988])(id); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void PushOverrideID(uint id) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[989])(id); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static uint GetIDWithSeed(byte* strIdBegin, byte* strIdEnd, uint seed) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[990])(strIdBegin, strIdEnd, seed); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ItemSize(Vector2 size, float textBaselineY) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[991])(size, textBaselineY); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ItemSize(ImRect bb, float textBaselineY) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[992])(bb, textBaselineY); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte ItemAdd(ImRect bb, uint id, ImRect* navBb, ImGuiItemFlags extraFlags) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[993])(bb, id, navBb, extraFlags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte ItemHoverable(ImRect bb, uint id) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[994])(bb, id); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte IsClippedEx(ImRect bb, uint id) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[995])(bb, id); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetLastItemData(uint itemId, ImGuiItemFlags inFlags, ImGuiItemStatusFlags statusFlags, ImRect itemRect) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[996])(itemId, inFlags, statusFlags, itemRect); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void CalcItemSize(Vector2* pOut, Vector2 size, float defaultW, float defaultH) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[997])(pOut, size, defaultW, defaultH); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static float CalcWrapWidthForPos(Vector2 pos, float wrapPosX) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[998])(pos, wrapPosX); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void PushMultiItemsWidths(int components, float widthFull) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[999])(components, widthFull); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte IsItemToggledSelection() + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1000])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void GetContentRegionMaxAbs(Vector2* pOut) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1001])(pOut); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ShrinkWidths(ImGuiShrinkWidthItem* items, int count, float widthExcess) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1002])(items, count, widthExcess); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void PushItemFlag(ImGuiItemFlags option, byte enabled) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1003])(option, enabled); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void PopItemFlag() + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1004])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void LogBegin(ImGuiLogType type, int autoOpenDepth) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1005])(type, autoOpenDepth); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void LogToBuffer(int autoOpenDepth) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1006])(autoOpenDepth); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void LogRenderedText(Vector2* refPos, byte* text, byte* textEnd) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1007])(refPos, text, textEnd); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void LogSetNextTextDecoration(byte* prefix, byte* suffix) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1008])(prefix, suffix); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte BeginChildEx(byte* name, uint id, Vector2 sizeArg, byte border, ImGuiWindowFlags flags) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1009])(name, id, sizeArg, border, flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void OpenPopupEx(uint id, ImGuiPopupFlags popupFlags) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1010])(id, popupFlags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ClosePopupToLevel(int remaining, byte restoreFocusToWindowUnderPopup) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1011])(remaining, restoreFocusToWindowUnderPopup); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ClosePopupsOverWindow(ImGuiWindow* refWindow, byte restoreFocusToWindowUnderPopup) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1012])(refWindow, restoreFocusToWindowUnderPopup); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ClosePopupsExceptModals() + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1013])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte IsPopupOpen(uint id, ImGuiPopupFlags popupFlags) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1014])(id, popupFlags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte BeginPopupEx(uint id, ImGuiWindowFlags extraFlags) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1015])(id, extraFlags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void BeginTooltipEx(ImGuiTooltipFlags tooltipFlags, ImGuiWindowFlags extraWindowFlags) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1016])(tooltipFlags, extraWindowFlags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void GetPopupAllowedExtentRect(ImRect* pOut, ImGuiWindow* window) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1017])(pOut, window); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiWindow* GetTopMostPopupModal() + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1018])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiWindow* GetTopMostAndVisiblePopupModal() + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1019])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void FindBestWindowPosForPopup(Vector2* pOut, ImGuiWindow* window) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1020])(pOut, window); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void FindBestWindowPosForPopupEx(Vector2* pOut, Vector2 refPos, Vector2 size, ImGuiDir* lastDir, ImRect rOuter, ImRect rAvoid, ImGuiPopupPositionPolicy policy) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1021])(pOut, refPos, size, lastDir, rOuter, rAvoid, policy); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte BeginViewportSideBar(byte* name, ImGuiViewport* viewport, ImGuiDir dir, float size, ImGuiWindowFlags windowFlags) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1022])(name, viewport, dir, size, windowFlags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte BeginMenuEx(byte* label, byte* icon, byte enabled) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1023])(label, icon, enabled); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte MenuItemEx(byte* label, byte* icon, byte* shortcut, byte selected, byte enabled) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1024])(label, icon, shortcut, selected, enabled); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte BeginComboPopup(uint popupId, ImRect bb, ImGuiComboFlags flags) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1025])(popupId, bb, flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte BeginComboPreview() + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1026])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void EndComboPreview() + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1027])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void NavInitWindow(ImGuiWindow* window, byte forceReinit) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1028])(window, forceReinit); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void NavInitRequestApplyResult() + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1029])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte NavMoveRequestButNoResultYet() + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1030])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void NavMoveRequestSubmit(ImGuiDir moveDir, ImGuiDir clipDir, ImGuiNavMoveFlags moveFlags, ImGuiScrollFlags scrollFlags) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1031])(moveDir, clipDir, moveFlags, scrollFlags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void NavMoveRequestForward(ImGuiDir moveDir, ImGuiDir clipDir, ImGuiNavMoveFlags moveFlags, ImGuiScrollFlags scrollFlags) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1032])(moveDir, clipDir, moveFlags, scrollFlags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void NavMoveRequestResolveWithLastItem(ImGuiNavItemData* result) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1033])(result); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void NavMoveRequestCancel() + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1034])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void NavMoveRequestApplyResult() + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1035])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void NavMoveRequestTryWrapping(ImGuiWindow* window, ImGuiNavMoveFlags moveFlags) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1036])(window, moveFlags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte* GetNavInputName(ImGuiNavInput n) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1037])(n); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static float GetNavInputAmount(ImGuiNavInput n, ImGuiNavReadMode mode) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1038])(n, mode); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void GetNavInputAmount2d(Vector2* pOut, ImGuiNavDirSourceFlags dirSources, ImGuiNavReadMode mode, float slowFactor, float fastFactor) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1039])(pOut, dirSources, mode, slowFactor, fastFactor); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static int CalcTypematicRepeatAmount(float t0, float t1, float repeatDelay, float repeatRate) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1040])(t0, t1, repeatDelay, repeatRate); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ActivateItem(uint id) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1041])(id); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetNavWindow(ImGuiWindow* window) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1042])(window); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetNavID(uint id, ImGuiNavLayer navLayer, uint focusScopeId, ImRect rectRel) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1043])(id, navLayer, focusScopeId, rectRel); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void PushFocusScope(uint id) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1044])(id); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void PopFocusScope() + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1045])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static uint GetFocusedFocusScope() + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1046])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static uint GetFocusScope() + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1047])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte IsNamedKey(ImGuiKey key) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1048])(key); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte IsLegacyKey(ImGuiKey key) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1049])(key); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte IsGamepadKey(ImGuiKey key) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1050])(key); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiKeyData* GetKeyData(ImGuiKey key) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1051])(key); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetItemUsingMouseWheel() + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1052])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetActiveIdUsingNavAndKeys() + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1053])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte IsActiveIdUsingNavDir(ImGuiDir dir) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1054])(dir); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte IsActiveIdUsingNavInput(ImGuiNavInput input) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1055])(input); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte IsActiveIdUsingKey(ImGuiKey key) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1056])(key); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetActiveIdUsingKey(ImGuiKey key) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1057])(key); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte IsMouseDragPastThreshold(ImGuiMouseButton button, float lockThreshold) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1058])(button, lockThreshold); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte IsNavInputDown(ImGuiNavInput n) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1059])(n); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte IsNavInputTest(ImGuiNavInput n, ImGuiNavReadMode rm) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1060])(n, rm); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiModFlags GetMergedModFlags() + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1061])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte IsKeyPressedMap(ImGuiKey key, byte repeat) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1062])(key, repeat); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void DockContextInitialize(ImGuiContext* ctx) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1063])(ctx); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void DockContextShutdown(ImGuiContext* ctx) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1064])(ctx); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void DockContextClearNodes(ImGuiContext* ctx, uint rootId, byte clearSettingsRefs) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1065])(ctx, rootId, clearSettingsRefs); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void DockContextRebuildNodes(ImGuiContext* ctx) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1066])(ctx); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void DockContextNewFrameUpdateUndocking(ImGuiContext* ctx) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1067])(ctx); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void DockContextNewFrameUpdateDocking(ImGuiContext* ctx) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1068])(ctx); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void DockContextEndFrame(ImGuiContext* ctx) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1069])(ctx); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static uint DockContextGenNodeID(ImGuiContext* ctx) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1070])(ctx); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void DockContextQueueDock(ImGuiContext* ctx, ImGuiWindow* target, ImGuiDockNode* targetNode, ImGuiWindow* payload, ImGuiDir splitDir, float splitRatio, byte splitOuter) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1071])(ctx, target, targetNode, payload, splitDir, splitRatio, splitOuter); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void DockContextQueueUndockWindow(ImGuiContext* ctx, ImGuiWindow* window) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1072])(ctx, window); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void DockContextQueueUndockNode(ImGuiContext* ctx, ImGuiDockNode* node) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1073])(ctx, node); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte DockContextCalcDropPosForDocking(ImGuiWindow* target, ImGuiDockNode* targetNode, ImGuiWindow* payload, ImGuiDir splitDir, byte splitOuter, Vector2* outPos) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1074])(target, targetNode, payload, splitDir, splitOuter, outPos); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte DockNodeBeginAmendTabBar(ImGuiDockNode* node) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1075])(node); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void DockNodeEndAmendTabBar() + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1076])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiDockNode* DockNodeGetRootNode(ImGuiDockNode* node) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1077])(node); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte DockNodeIsInHierarchyOf(ImGuiDockNode* node, ImGuiDockNode* parent) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1078])(node, parent); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static int DockNodeGetDepth(ImGuiDockNode* node) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1079])(node); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static uint DockNodeGetWindowMenuButtonId(ImGuiDockNode* node) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1080])(node); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiDockNode* GetWindowDockNode() + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1081])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte GetWindowAlwaysWantOwnTabBar(ImGuiWindow* window) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1082])(window); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void BeginDocked(ImGuiWindow* window, bool* pOpen) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1083])(window, pOpen); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void BeginDockableDragDropSource(ImGuiWindow* window) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1084])(window); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void BeginDockableDragDropTarget(ImGuiWindow* window) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1085])(window); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetWindowDock(ImGuiWindow* window, uint dockId, ImGuiCond cond) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1086])(window, dockId, cond); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void DockBuilderDockWindow(byte* windowName, uint nodeId) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1087])(windowName, nodeId); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiDockNode* DockBuilderGetNode(uint nodeId) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1088])(nodeId); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiDockNode* DockBuilderGetCentralNode(uint nodeId) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1089])(nodeId); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static uint DockBuilderAddNode(uint nodeId, ImGuiDockNodeFlags flags) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1090])(nodeId, flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void DockBuilderRemoveNode(uint nodeId) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1091])(nodeId); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void DockBuilderRemoveNodeDockedWindows(uint nodeId, byte clearSettingsRefs) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1092])(nodeId, clearSettingsRefs); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void DockBuilderRemoveNodeChildNodes(uint nodeId) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1093])(nodeId); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void DockBuilderSetNodePos(uint nodeId, Vector2 pos) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1094])(nodeId, pos); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void DockBuilderSetNodeSize(uint nodeId, Vector2 size) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1095])(nodeId, size); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static uint DockBuilderSplitNode(uint nodeId, ImGuiDir splitDir, float sizeRatioForNodeAtDir, uint* outIdAtDir, uint* outIdAtOppositeDir) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1096])(nodeId, splitDir, sizeRatioForNodeAtDir, outIdAtDir, outIdAtOppositeDir); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void DockBuilderCopyDockSpace(uint srcDockspaceId, uint dstDockspaceId, ImVector>* inWindowRemapPairs) + { + + ((delegate* unmanaged[Cdecl]>*, void>)ImGuiP.funcTable[1097])(srcDockspaceId, dstDockspaceId, inWindowRemapPairs); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void DockBuilderCopyNode(uint srcNodeId, uint dstNodeId, ImVector* outNodeRemapPairs) + { + + ((delegate* unmanaged[Cdecl]*, void>)ImGuiP.funcTable[1098])(srcNodeId, dstNodeId, outNodeRemapPairs); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void DockBuilderCopyWindowSettings(byte* srcName, byte* dstName) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1099])(srcName, dstName); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void DockBuilderFinish(uint nodeId) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1100])(nodeId); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte IsDragDropActive() + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1101])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte BeginDragDropTargetCustom(ImRect bb, uint id) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1102])(bb, id); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ClearDragDrop() + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1103])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte IsDragDropPayloadBeingAccepted() + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1104])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SetWindowClipRectBeforeSetChannel(ImGuiWindow* window, ImRect clipRect) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1105])(window, clipRect); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void BeginColumns(byte* strId, int count, ImGuiOldColumnFlags flags) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1106])(strId, count, flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void EndColumns() + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1107])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void PushColumnClipRect(int columnIndex) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1108])(columnIndex); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void PushColumnsBackground() + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1109])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void PopColumnsBackground() + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1110])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static uint GetColumnsID(byte* strId, int count) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1111])(strId, count); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiOldColumns* FindOrCreateColumns(ImGuiWindow* window, uint id) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1112])(window, id); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static float GetColumnOffsetFromNorm(ImGuiOldColumns* columns, float offsetNorm) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1113])(columns, offsetNorm); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static float GetColumnNormFromOffset(ImGuiOldColumns* columns, float offset) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1114])(columns, offset); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void TableOpenContextMenu(int columnN) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1115])(columnN); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void TableSetColumnWidth(int columnN, float width) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1116])(columnN, width); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void TableSetColumnSortDirection(int columnN, ImGuiSortDirection sortDirection, byte appendToSortSpecs) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1117])(columnN, sortDirection, appendToSortSpecs); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static int TableGetHoveredColumn() + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1118])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static float TableGetHeaderRowHeight() + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1119])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void TablePushBackgroundChannel() + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1120])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void TablePopBackgroundChannel() + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1121])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiTable* GetCurrentTable() + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1122])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiTable* TableFindByID(uint id) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1123])(id); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte BeginTableEx(byte* name, uint id, int columnsCount, ImGuiTableFlags flags, Vector2 outerSize, float innerWidth) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1124])(name, id, columnsCount, flags, outerSize, innerWidth); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void TableBeginInitMemory(ImGuiTable* table, int columnsCount) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1125])(table, columnsCount); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void TableBeginApplyRequests(ImGuiTable* table) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1126])(table); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void TableSetupDrawChannels(ImGuiTable* table) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1127])(table); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void TableUpdateLayout(ImGuiTable* table) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1128])(table); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void TableUpdateBorders(ImGuiTable* table) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1129])(table); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void TableUpdateColumnsWeightFromWidth(ImGuiTable* table) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1130])(table); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void TableDrawBorders(ImGuiTable* table) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1131])(table); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void TableDrawContextMenu(ImGuiTable* table) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1132])(table); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void TableMergeDrawChannels(ImGuiTable* table) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1133])(table); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiTableInstanceData* TableGetInstanceData(ImGuiTable* table, int instanceNo) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1134])(table, instanceNo); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void TableSortSpecsSanitize(ImGuiTable* table) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1135])(table); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void TableSortSpecsBuild(ImGuiTable* table) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1136])(table); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiSortDirection TableGetColumnNextSortDirection(ImGuiTableColumn* column) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1137])(column); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void TableFixColumnSortDirection(ImGuiTable* table, ImGuiTableColumn* column) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1138])(table, column); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static float TableGetColumnWidthAuto(ImGuiTable* table, ImGuiTableColumn* column) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1139])(table, column); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void TableBeginRow(ImGuiTable* table) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1140])(table); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void TableEndRow(ImGuiTable* table) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1141])(table); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void TableBeginCell(ImGuiTable* table, int columnN) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1142])(table, columnN); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void TableEndCell(ImGuiTable* table) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1143])(table); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void TableGetCellBgRect(ImRect* pOut, ImGuiTable* table, int columnN) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1144])(pOut, table, columnN); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte* TableGetColumnName(ImGuiTable* table, int columnN) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1145])(table, columnN); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static uint TableGetColumnResizeID(ImGuiTable* table, int columnN, int instanceNo) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1146])(table, columnN, instanceNo); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static float TableGetMaxColumnWidth(ImGuiTable* table, int columnN) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1147])(table, columnN); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void TableSetColumnWidthAutoSingle(ImGuiTable* table, int columnN) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1148])(table, columnN); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void TableSetColumnWidthAutoAll(ImGuiTable* table) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1149])(table); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void TableRemove(ImGuiTable* table) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1150])(table); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void TableGcCompactTransientBuffers(ImGuiTable* table) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1151])(table); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void TableGcCompactTransientBuffers(ImGuiTableTempData* table) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1152])(table); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void TableGcCompactSettings() + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1153])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void TableLoadSettings(ImGuiTable* table) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1154])(table); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void TableSaveSettings(ImGuiTable* table) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1155])(table); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void TableResetSettings(ImGuiTable* table) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1156])(table); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiTableSettings* TableGetBoundSettings(ImGuiTable* table) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1157])(table); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void TableSettingsAddSettingsHandler() + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1158])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiTableSettings* TableSettingsCreate(uint id, int columnsCount) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1159])(id, columnsCount); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiTableSettings* TableSettingsFindByID(uint id) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1160])(id); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte BeginTabBarEx(ImGuiTabBar* tabBar, ImRect bb, ImGuiTabBarFlags flags, ImGuiDockNode* dockNode) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1161])(tabBar, bb, flags, dockNode); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiTabItem* TabBarFindTabByID(ImGuiTabBar* tabBar, uint tabId) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1162])(tabBar, tabId); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiTabItem* TabBarFindMostRecentlySelectedTabForActiveWindow(ImGuiTabBar* tabBar) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1163])(tabBar); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void TabBarAddTab(ImGuiTabBar* tabBar, ImGuiTabItemFlags tabFlags, ImGuiWindow* window) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1164])(tabBar, tabFlags, window); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void TabBarRemoveTab(ImGuiTabBar* tabBar, uint tabId) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1165])(tabBar, tabId); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void TabBarCloseTab(ImGuiTabBar* tabBar, ImGuiTabItem* tab) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1166])(tabBar, tab); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void TabBarQueueReorder(ImGuiTabBar* tabBar, ImGuiTabItem* tab, int offset) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1167])(tabBar, tab, offset); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void TabBarQueueReorderFromMousePos(ImGuiTabBar* tabBar, ImGuiTabItem* tab, Vector2 mousePos) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1168])(tabBar, tab, mousePos); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte TabBarProcessReorder(ImGuiTabBar* tabBar) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1169])(tabBar); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte TabItemEx(ImGuiTabBar* tabBar, byte* label, bool* pOpen, ImGuiTabItemFlags flags, ImGuiWindow* dockedWindow) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1170])(tabBar, label, pOpen, flags, dockedWindow); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void TabItemCalcSize(Vector2* pOut, byte* label, byte hasCloseButton) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1171])(pOut, label, hasCloseButton); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void TabItemBackground(ImDrawList* drawList, ImRect bb, ImGuiTabItemFlags flags, uint col) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1172])(drawList, bb, flags, col); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void TabItemLabelAndCloseButton(ImDrawList* drawList, ImRect bb, ImGuiTabItemFlags flags, Vector2 framePadding, byte* label, uint tabId, uint closeButtonId, byte isContentsVisible, bool* outJustClosed, bool* outTextClipped) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1173])(drawList, bb, flags, framePadding, label, tabId, closeButtonId, isContentsVisible, outJustClosed, outTextClipped); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void RenderText(Vector2 pos, byte* text, byte* textEnd, byte hideTextAfterHash) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1174])(pos, text, textEnd, hideTextAfterHash); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void RenderTextWrapped(Vector2 pos, byte* text, byte* textEnd, float wrapWidth) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1175])(pos, text, textEnd, wrapWidth); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void RenderTextClipped(Vector2 posMin, Vector2 posMax, byte* text, byte* textEnd, Vector2* textSizeIfKnown, Vector2 align, ImRect* clipRect) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1176])(posMin, posMax, text, textEnd, textSizeIfKnown, align, clipRect); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void RenderTextClippedEx(ImDrawList* drawList, Vector2 posMin, Vector2 posMax, byte* text, byte* textEnd, Vector2* textSizeIfKnown, Vector2 align, ImRect* clipRect) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1177])(drawList, posMin, posMax, text, textEnd, textSizeIfKnown, align, clipRect); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void RenderTextEllipsis(ImDrawList* drawList, Vector2 posMin, Vector2 posMax, float clipMaxX, float ellipsisMaxX, byte* text, byte* textEnd, Vector2* textSizeIfKnown) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1178])(drawList, posMin, posMax, clipMaxX, ellipsisMaxX, text, textEnd, textSizeIfKnown); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void RenderFrame(Vector2 pMin, Vector2 pMax, uint fillCol, byte border, float rounding) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1179])(pMin, pMax, fillCol, border, rounding); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void RenderFrameBorder(Vector2 pMin, Vector2 pMax, float rounding) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1180])(pMin, pMax, rounding); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void RenderColorRectWithAlphaCheckerboard(ImDrawList* drawList, Vector2 pMin, Vector2 pMax, uint fillCol, float gridStep, Vector2 gridOff, float rounding, ImDrawFlags flags) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1181])(drawList, pMin, pMax, fillCol, gridStep, gridOff, rounding, flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void RenderNavHighlight(ImRect bb, uint id, ImGuiNavHighlightFlags flags) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1182])(bb, id, flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte* FindRenderedTextEnd(byte* text, byte* textEnd) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1183])(text, textEnd); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void RenderMouseCursor(Vector2 pos, float scale, ImGuiMouseCursor mouseCursor, uint colFill, uint colBorder, uint colShadow) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1184])(pos, scale, mouseCursor, colFill, colBorder, colShadow); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void RenderArrow(ImDrawList* drawList, Vector2 pos, uint col, ImGuiDir dir, float scale) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1185])(drawList, pos, col, dir, scale); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void RenderBullet(ImDrawList* drawList, Vector2 pos, uint col) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1186])(drawList, pos, col); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void RenderCheckMark(ImDrawList* drawList, Vector2 pos, uint col, float sz) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1187])(drawList, pos, col, sz); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void RenderArrowPointingAt(ImDrawList* drawList, Vector2 pos, Vector2 halfSz, ImGuiDir direction, uint col) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1188])(drawList, pos, halfSz, direction, col); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void RenderArrowDockMenu(ImDrawList* drawList, Vector2 pMin, float sz, uint col) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1189])(drawList, pMin, sz, col); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void RenderRectFilledRangeH(ImDrawList* drawList, ImRect rect, uint col, float xStartNorm, float xEndNorm, float rounding) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1190])(drawList, rect, col, xStartNorm, xEndNorm, rounding); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void RenderRectFilledWithHole(ImDrawList* drawList, ImRect outer, ImRect inner, uint col, float rounding) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1191])(drawList, outer, inner, col, rounding); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImDrawFlags CalcRoundingFlagsForRectInRect(ImRect rIn, ImRect rOuter, float threshold) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1192])(rIn, rOuter, threshold); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void TextEx(byte* text, byte* textEnd, ImGuiTextFlags flags) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1193])(text, textEnd, flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte ButtonEx(byte* label, Vector2 sizeArg, ImGuiButtonFlags flags) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1194])(label, sizeArg, flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte CloseButton(uint id, Vector2 pos) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1195])(id, pos); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte CollapseButton(uint id, Vector2 pos, ImGuiDockNode* dockNode) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1196])(id, pos, dockNode); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte ArrowButtonEx(byte* strId, ImGuiDir dir, Vector2 sizeArg, ImGuiButtonFlags flags) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1197])(strId, dir, sizeArg, flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Scrollbar(ImGuiAxis axis) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1198])(axis); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte ScrollbarEx(ImRect bb, uint id, ImGuiAxis axis, long* pScrollV, long availV, long contentsV, ImDrawFlags flags) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1199])(bb, id, axis, pScrollV, availV, contentsV, flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte ImageButtonEx(uint id, ImTextureID textureId, Vector2 size, Vector2 uv0, Vector2 uv1, Vector2 padding, Vector4 bgCol, Vector4 tintCol) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1200])(id, textureId, size, uv0, uv1, padding, bgCol, tintCol); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void GetWindowScrollbarRect(ImRect* pOut, ImGuiWindow* window, ImGuiAxis axis) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1201])(pOut, window, axis); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static uint GetWindowScrollbarID(ImGuiWindow* window, ImGuiAxis axis) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1202])(window, axis); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static uint GetWindowResizeCornerID(ImGuiWindow* window, int n) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1203])(window, n); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static uint GetWindowResizeBorderID(ImGuiWindow* window, ImGuiDir dir) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1204])(window, dir); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void SeparatorEx(ImGuiSeparatorFlags flags) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1205])(flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte CheckboxFlags(byte* label, long* flags, long flagsValue) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1206])(label, flags, flagsValue); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte CheckboxFlags(byte* label, ulong* flags, ulong flagsValue) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1207])(label, flags, flagsValue); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte ButtonBehavior(ImRect bb, uint id, bool* outHovered, bool* outHeld, ImGuiButtonFlags flags) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1208])(bb, id, outHovered, outHeld, flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte DragBehavior(uint id, ImGuiDataType dataType, void* pV, float vSpeed, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1209])(id, dataType, pV, vSpeed, pMin, pMax, format, flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte SliderBehavior(ImRect bb, uint id, ImGuiDataType dataType, void* pV, void* pMin, void* pMax, byte* format, ImGuiSliderFlags flags, ImRect* outGrabBb) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1210])(bb, id, dataType, pV, pMin, pMax, format, flags, outGrabBb); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte SplitterBehavior(ImRect bb, uint id, ImGuiAxis axis, float* size1, float* size2, float minsize1, float minsize2, float hoverExtend, float hoverVisibilityDelay, uint bgCol) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1211])(bb, id, axis, size1, size2, minsize1, minsize2, hoverExtend, hoverVisibilityDelay, bgCol); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte TreeNodeBehavior(uint id, ImGuiTreeNodeFlags flags, byte* label, byte* labelEnd) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1212])(id, flags, label, labelEnd); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte TreeNodeBehaviorIsOpen(uint id, ImGuiTreeNodeFlags flags) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1213])(id, flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void TreePushOverrideID(uint id) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1214])(id); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiDataTypeInfo* DataTypeGetInfo(ImGuiDataType dataType) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1215])(dataType); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void DataTypeApplyOp(ImGuiDataType dataType, int op, void* output, void* arg1, void* arg2) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1216])(dataType, op, output, arg1, arg2); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte DataTypeApplyFromText(byte* buf, ImGuiDataType dataType, void* pData, byte* format) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1217])(buf, dataType, pData, format); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static int DataTypeCompare(ImGuiDataType dataType, void* arg1, void* arg2) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1218])(dataType, arg1, arg2); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte DataTypeClamp(ImGuiDataType dataType, void* pData, void* pMin, void* pMax) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1219])(dataType, pData, pMin, pMax); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte TempInputScalar(ImRect bb, uint id, byte* label, ImGuiDataType dataType, void* pData, byte* format, void* pClampMin, void* pClampMax) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1220])(bb, id, label, dataType, pData, format, pClampMin, pClampMax); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte TempInputIsActive(uint id) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1221])(id); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImGuiInputTextState* GetInputTextState(uint id) + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1222])(id); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Custom_StbTextMakeUndoReplace(ImGuiInputTextState* str, int where, int oldLength, int newLength) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1223])(str, where, oldLength, newLength); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void Custom_StbTextUndo(ImGuiInputTextState* str) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1224])(str); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ColorTooltip(byte* text, float* col, ImGuiColorEditFlags flags) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1225])(text, col, flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ColorEditOptionsPopup(float* col, ImGuiColorEditFlags flags) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1226])(col, flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ColorPickerOptionsPopup(float* refCol, ImGuiColorEditFlags flags) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1227])(refCol, flags); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static int PlotEx(ImGuiPlotType plotType, byte* label, delegate*, void*, int, int, byte*, float, float, Vector2, float> valuesGetter, void* data, int valuesCount, int valuesOffset, byte* overlayText, float scaleMin, float scaleMax, Vector2 frameSize) + { + + return ((delegate* unmanaged[Cdecl], void*, int, int, byte*, float, float, Vector2, float>, void*, int, int, byte*, float, float, Vector2, int>)ImGuiP.funcTable[1228])(plotType, label, valuesGetter, data, valuesCount, valuesOffset, overlayText, scaleMin, scaleMax, frameSize); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ShadeVertsLinearColorGradientKeepAlpha(ImDrawList* drawList, int vertStartIdx, int vertEndIdx, Vector2 gradientp0, Vector2 gradientp1, uint col0, uint col1) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1229])(drawList, vertStartIdx, vertEndIdx, gradientp0, gradientp1, col0, col1); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ShadeVertsLinearUV(ImDrawList* drawList, int vertStartIdx, int vertEndIdx, Vector2 a, Vector2 b, Vector2 uvA, Vector2 uvB, byte clamp) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1230])(drawList, vertStartIdx, vertEndIdx, a, b, uvA, uvB, clamp); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void GcCompactTransientMiscBuffers() + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1231])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void GcCompactTransientWindowBuffers(ImGuiWindow* window) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1232])(window); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void GcAwakeTransientWindowBuffers(ImGuiWindow* window) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1233])(window); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void DebugLog(byte* fmt) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1234])(fmt); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void DebugLogV(byte* fmt, nuint args) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1235])(fmt, args); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ErrorCheckEndFrameRecover(ImGuiErrorLogCallback logCallback, void* userData) + { + + ((delegate* unmanaged[Cdecl], void*, void>)ImGuiP.funcTable[1236])((delegate*)Utils.GetFunctionPointerForDelegate(logCallback), userData); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ErrorCheckEndWindowRecover(ImGuiErrorLogCallback logCallback, void* userData) + { + + ((delegate* unmanaged[Cdecl], void*, void>)ImGuiP.funcTable[1237])((delegate*)Utils.GetFunctionPointerForDelegate(logCallback), userData); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void DebugDrawItemRect(uint col) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1238])(col); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void DebugStartItemPicker() + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1239])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ShowFontAtlas(ImFontAtlas* atlas) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1240])(atlas); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void DebugHookIdInfo(uint id, ImGuiDataType dataType, void* dataId, void* dataIdEnd) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1241])(id, dataType, dataId, dataIdEnd); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void DebugNodeColumns(ImGuiOldColumns* columns) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1242])(columns); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void DebugNodeDockNode(ImGuiDockNode* node, byte* label) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1243])(node, label); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void DebugNodeDrawList(ImGuiWindow* window, ImGuiViewportP* viewport, ImDrawList* drawList, byte* label) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1244])(window, viewport, drawList, label); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void DebugNodeDrawCmdShowMeshAndBoundingBox(ImDrawList* outDrawList, ImDrawList* drawList, ImDrawCmd* drawCmd, byte showMesh, byte showAabb) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1245])(outDrawList, drawList, drawCmd, showMesh, showAabb); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void DebugNodeFont(ImFont* font) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1246])(font); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void DebugNodeFontGlyph(ImFont* font, ImFontGlyph* glyph) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1247])(font, glyph); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void DebugNodeStorage(ImGuiStorage* storage, byte* label) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1248])(storage, label); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void DebugNodeTabBar(ImGuiTabBar* tabBar, byte* label) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1249])(tabBar, label); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void DebugNodeTable(ImGuiTable* table) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1250])(table); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void DebugNodeTableSettings(ImGuiTableSettings* settings) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1251])(settings); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void DebugNodeInputTextState(ImGuiInputTextState* state) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1252])(state); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void DebugNodeWindow(ImGuiWindow* window, byte* label) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1253])(window, label); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void DebugNodeWindowSettings(ImGuiWindowSettings* settings) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1254])(settings); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void DebugNodeWindowsList(ImVector* windows, byte* label) + { + + ((delegate* unmanaged[Cdecl]*, byte*, void>)ImGuiP.funcTable[1255])(windows, label); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void DebugNodeWindowsListByBeginStackParent(ImGuiWindow** windows, int windowsSize, ImGuiWindow* parentInBeginStack) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1256])(windows, windowsSize, parentInBeginStack); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void DebugNodeViewport(ImGuiViewportP* viewport) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1257])(viewport); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void DebugRenderViewportThumbnail(ImDrawList* drawList, ImGuiViewportP* viewport, ImRect bb) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1258])(drawList, viewport, bb); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static ImFontBuilderIO* ImFontAtlasGetBuilderForStbTruetype() + { + + return ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1259])(); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ImFontAtlasBuildInit(ImFontAtlas* atlas) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1260])(atlas); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ImFontAtlasBuildSetupFont(ImFontAtlas* atlas, ImFont* font, ImFontConfig* fontConfig, float ascent, float descent) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1261])(atlas, font, fontConfig, ascent, descent); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ImFontAtlasBuildFinish(ImFontAtlas* atlas) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1263])(atlas); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ImFontAtlasBuildRender8bppRectFromString(ImFontAtlas* atlas, int textureIndex, int x, int y, int w, int h, byte* inStr, byte inMarkerChar, byte inMarkerPixelValue) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1264])(atlas, textureIndex, x, y, w, h, inStr, inMarkerChar, inMarkerPixelValue); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ImFontAtlasBuildRender32bppRectFromString(ImFontAtlas* atlas, int textureIndex, int x, int y, int w, int h, byte* inStr, byte inMarkerChar, uint inMarkerPixelValue) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1265])(atlas, textureIndex, x, y, w, h, inStr, inMarkerChar, inMarkerPixelValue); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ImFontAtlasBuildMultiplyCalcLookupTable(byte* outTable, float inMultiplyFactor, float gammaFactor) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1266])(outTable, inMultiplyFactor, gammaFactor); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static void ImFontAtlasBuildMultiplyRectAlpha8(byte* table, byte* pixels, int x, int y, int w, int h, int stride) + { + + ((delegate* unmanaged[Cdecl])ImGuiP.funcTable[1267])(table, pixels, x, y, w, h, stride); + + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Manual/Functions.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Manual/Functions.gen.cs new file mode 100644 index 000000000..aa67c41a1 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Manual/Functions.gen.cs @@ -0,0 +1,51 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +/* Functions.000.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.001.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.002.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.003.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.004.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} +/* Functions.005.cs */ +namespace Dalamud.Bindings.ImGui +{ + public unsafe partial class ImGui + { + } +} diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Manual/Functions/ImGui.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Manual/Functions/ImGui.gen.cs new file mode 100644 index 000000000..02a8e833b --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Manual/Functions/ImGui.gen.cs @@ -0,0 +1,27 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial class ImGui +{ +} +// DISCARDED: internal static int DataTypeFormatStringNative(byte* buf, int bufSize, ImGuiDataType dataType, void* pData, byte* format) +// DISCARDED: internal static int ImFormatStringNative(byte* buf, nuint bufSize, byte* fmt) +// DISCARDED: internal static int ImFormatStringVNative(byte* buf, nuint bufSize, byte* fmt, nuint args) +// DISCARDED: internal static byte* ImParseFormatTrimDecorationsNative(byte* format, byte* buf, nuint bufSize) +// DISCARDED: ImParseFormatTrimDecorationsS +// DISCARDED: internal static int ImTextStrFromUtf8Native(ushort* outBuf, int outBufSize, byte* inText, byte* inTextEnd, byte** inRemaining) +// DISCARDED: internal static int ImTextStrToUtf8Native(byte* outBuf, int outBufSize, ushort* inText, ushort* inTextEnd) +// DISCARDED: internal static byte InputTextNative(byte* label, byte* buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) +// DISCARDED: internal static byte InputTextExNative(byte* label, byte* hint, byte* buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) +// DISCARDED: internal static byte InputTextMultilineNative(byte* label, byte* buf, nuint bufSize, Vector2 size, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) +// DISCARDED: internal static byte InputTextWithHintNative(byte* label, byte* hint, byte* buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) +// DISCARDED: internal static byte TempInputTextNative(ImRect bb, uint id, byte* label, byte* buf, int bufSize, ImGuiInputTextFlags flags) + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Manual/Functions/ImGuiNative.gen.cs b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Manual/Functions/ImGuiNative.gen.cs new file mode 100644 index 000000000..92632fb9e --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/Generated/Manual/Functions/ImGuiNative.gen.cs @@ -0,0 +1,92 @@ +// + +using HexaGen.Runtime; +using System; +using System.Diagnostics; +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial class ImGuiNative +{ + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte InputText(byte* label, byte* buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) + { + + return ((delegate* unmanaged[Cdecl], void*, byte>)ImGui.funcTable[1268])(label, buf, bufSize, flags, (delegate*)Utils.GetFunctionPointerForDelegate(callback), userData); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte InputTextMultiline(byte* label, byte* buf, nuint bufSize, Vector2 size, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) + { + + return ((delegate* unmanaged[Cdecl], void*, byte>)ImGui.funcTable[1269])(label, buf, bufSize, size, flags, (delegate*)Utils.GetFunctionPointerForDelegate(callback), userData); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte InputTextWithHint(byte* label, byte* hint, byte* buf, nuint bufSize, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) + { + + return ((delegate* unmanaged[Cdecl], void*, byte>)ImGui.funcTable[1270])(label, hint, buf, bufSize, flags, (delegate*)Utils.GetFunctionPointerForDelegate(callback), userData); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static int ImFormatString(byte* buf, nuint bufSize, byte* fmt) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[1271])(buf, bufSize, fmt); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static int ImFormatStringV(byte* buf, nuint bufSize, byte* fmt, nuint args) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[1272])(buf, bufSize, fmt, args); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte* ImParseFormatTrimDecorations(byte* format, byte* buf, nuint bufSize) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[1273])(format, buf, bufSize); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static int ImTextStrToUtf8(byte* outBuf, int outBufSize, ushort* inText, ushort* inTextEnd) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[1274])(outBuf, outBufSize, inText, inTextEnd); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static int ImTextStrFromUtf8(ushort* outBuf, int outBufSize, byte* inText, byte* inTextEnd, byte** inRemaining) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[1275])(outBuf, outBufSize, inText, inTextEnd, inRemaining); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static int DataTypeFormatString(byte* buf, int bufSize, ImGuiDataType dataType, void* pData, byte* format) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[1276])(buf, bufSize, dataType, pData, format); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte InputTextEx(byte* label, byte* hint, byte* buf, int bufSize, Vector2 sizeArg, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* userData) + { + + return ((delegate* unmanaged[Cdecl], void*, byte>)ImGui.funcTable[1277])(label, hint, buf, bufSize, sizeArg, flags, (delegate*)Utils.GetFunctionPointerForDelegate(callback), userData); + + } + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public static byte TempInputText(ImRect bb, uint id, byte* label, byte* buf, int bufSize, ImGuiInputTextFlags flags) + { + + return ((delegate* unmanaged[Cdecl])ImGui.funcTable[1278])(bb, id, label, buf, bufSize, flags); + + } +} + diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/ImDrawCallbackEnum.cs b/imgui/Dalamud.Bindings.ImGui/Custom/ImDrawCallbackEnum.cs new file mode 100644 index 000000000..732cd3c71 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/ImDrawCallbackEnum.cs @@ -0,0 +1,15 @@ +namespace Dalamud.Bindings.ImGui; + +public enum ImDrawCallbackEnum : long +{ + Empty, + + /// + /// Special Draw callback value to request renderer backend to reset the graphics/render state. + /// The renderer backend needs to handle this special value, otherwise it will crash trying to call a function at + /// this address. This is useful for example if you submitted callbacks which you know have altered the render + /// state, and you want it to be restored. It is not done by default because they are many perfectly useful way of + /// altering render state for imgui contents (e.g. changing shader/blending settings before an Image call). + /// + ResetRenderState = ImGui.ImDrawCallbackResetRenderState, +} diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/ImDrawList.Custom.cs b/imgui/Dalamud.Bindings.ImGui/Custom/ImDrawList.Custom.cs new file mode 100644 index 000000000..97087aa82 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/ImDrawList.Custom.cs @@ -0,0 +1,48 @@ +using System.Numerics; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImDrawList +{ + public void AddText(Vector2 pos, uint col, ImU8String text) + { + fixed (ImDrawList* thisPtr = &this) + ImGui.AddText(thisPtr, pos, col, text); + } + + public void AddText( + ImFontPtr font, float fontSize, Vector2 pos, uint col, ImU8String text, float wrapWidth, + scoped in Vector4 cpuFineClipRect) + { + fixed (ImDrawList* thisPtr = &this) + ImGui.AddText(thisPtr, font, fontSize, pos, col, text, wrapWidth, cpuFineClipRect); + } + + public void AddText( + ImFontPtr font, float fontSize, Vector2 pos, uint col, ImU8String text, float wrapWidth = 0f) + { + fixed (ImDrawList* thisPtr = &this) + ImGui.AddText(thisPtr, font, fontSize, pos, col, text, wrapWidth); + } +} + +public partial struct ImDrawListPtr +{ + public void AddText(Vector2 pos, uint col, ImU8String text) => ImGui.AddText(this, pos, col, text); + + public void AddText( + ImFontPtr font, float fontSize, Vector2 pos, uint col, ImU8String text, float wrapWidth, + scoped in Vector4 cpuFineClipRect) => ImGui.AddText( + this, + font, + fontSize, + pos, + col, + text, + wrapWidth, + cpuFineClipRect); + + public void AddText( + ImFontPtr font, float fontSize, Vector2 pos, uint col, ImU8String text, float wrapWidth = 0f) => + ImGui.AddText(this, font, fontSize, pos, col, text, wrapWidth); +} diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/ImFont.Custom.cs b/imgui/Dalamud.Bindings.ImGui/Custom/ImFont.Custom.cs new file mode 100644 index 000000000..4d0368018 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/ImFont.Custom.cs @@ -0,0 +1,38 @@ +using System.Numerics; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImFont +{ + public readonly int CalcWordWrapPositionA(float scale, ReadOnlySpan text, float wrapWidth) + { + fixed (ImFont* thisPtr = &this) return ImGui.CalcWordWrapPositionA(thisPtr, scale, text, wrapWidth); + } + + public readonly void RenderText( + ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ImU8String text, + float wrapWidth = 0.0f, bool cpuFineClip = false) + { + fixed (ImFont* thisPtr = + &this) ImGui.RenderText(thisPtr, drawList, size, pos, col, clipRect, text, wrapWidth, cpuFineClip); + } +} + +public partial struct ImFontPtr +{ + public readonly int CalcWordWrapPositionA(float scale, ImU8String text, float wrapWidth) => + ImGui.CalcWordWrapPositionA(this, scale, text, wrapWidth); + + public readonly void RenderText( + ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, ImU8String text, + float wrapWidth = 0.0f, bool cpuFineClip = false) => ImGui.RenderText( + this, + drawList, + size, + pos, + col, + clipRect, + text, + wrapWidth, + cpuFineClip); +} diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/ImFontAtlas.Custom.cs b/imgui/Dalamud.Bindings.ImGui/Custom/ImFontAtlas.Custom.cs new file mode 100644 index 000000000..f6295ccd5 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/ImFontAtlas.Custom.cs @@ -0,0 +1,78 @@ +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImFontAtlas +{ + public ImFontPtr AddFontFromFileTTF( + ImU8String filename, float sizePixels, ImFontConfigPtr fontCfg = default, ushort* glyphRanges = null) + { + fixed (ImFontAtlas* thisPtr = &this) + return ImGui.AddFontFromFileTTF(thisPtr, filename, sizePixels, fontCfg, glyphRanges); + } + + public ImFontPtr AddFontFromMemoryCompressedBase85TTF( + ImU8String compressedFontDatabase85, float sizePixels, ImFontConfigPtr fontCfg = default, + ushort* glyphRanges = null) + { + fixed (ImFontAtlas* thisPtr = &this) + { + return ImGui.AddFontFromMemoryCompressedBase85TTF( + thisPtr, + compressedFontDatabase85, + sizePixels, + fontCfg, + glyphRanges); + } + } + + public ImFontPtr AddFontFromMemoryCompressedTTF( + ReadOnlySpan compressedFontData, float sizePixels, ImFontConfigPtr fontCfg = default, + ushort* glyphRanges = null) + { + fixed (ImFontAtlas* thisPtr = &this) + { + return ImGui.AddFontFromMemoryCompressedTTF( + thisPtr, + compressedFontData, + sizePixels, + fontCfg, + glyphRanges); + } + } + + public ImFontPtr AddFontFromMemoryTTF( + ReadOnlySpan fontData, float sizePixels, ImFontConfigPtr fontCfg = default, + ushort* glyphRanges = null) + { + fixed (ImFontAtlas* thisPtr = &this) + { + return ImGui.AddFontFromMemoryTTF( + thisPtr, + fontData, + sizePixels, + fontCfg, + glyphRanges); + } + } +} + +public unsafe partial struct ImFontAtlasPtr +{ + public ImFontPtr AddFontFromFileTTF( + ImU8String filename, float sizePixels, ImFontConfigPtr fontCfg = default, ushort* glyphRanges = null) => + ImGui.AddFontFromFileTTF(this, filename, sizePixels, fontCfg, glyphRanges); + + public ImFontPtr AddFontFromMemoryCompressedBase85TTF( + ImU8String compressedFontDatabase85, float sizePixels, ImFontConfigPtr fontCfg = default, + ushort* glyphRanges = null) => + ImGui.AddFontFromMemoryCompressedBase85TTF(this, compressedFontDatabase85, sizePixels, fontCfg, glyphRanges); + + public ImFontPtr AddFontFromMemoryCompressedTTF( + ReadOnlySpan compressedFontData, float sizePixels, ImFontConfigPtr fontCfg = default, + ushort* glyphRanges = null) => + ImGui.AddFontFromMemoryCompressedTTF(this, compressedFontData, sizePixels, fontCfg, glyphRanges); + + public ImFontPtr AddFontFromMemoryTTF( + ReadOnlySpan fontData, float sizePixels, ImFontConfigPtr fontCfg = default, + ushort* glyphRanges = null) => + ImGui.AddFontFromMemoryTTF(this, fontData, sizePixels, fontCfg, glyphRanges); +} diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/ImFontGlyphRangesBuilder.Custom.cs b/imgui/Dalamud.Bindings.ImGui/Custom/ImFontGlyphRangesBuilder.Custom.cs new file mode 100644 index 000000000..196a61c76 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/ImFontGlyphRangesBuilder.Custom.cs @@ -0,0 +1,14 @@ +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImFontGlyphRangesBuilder +{ + public void AddText(ImU8String text) + { + fixed (ImFontGlyphRangesBuilder* thisPtr = &this) ImGui.AddText(thisPtr, text); + } +} + +public partial struct ImFontGlyphRangesBuilderPtr +{ + public void AddText(ImU8String text) => ImGui.AddText(this, text); +} diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/ImGui.ColorEditPicker.cs b/imgui/Dalamud.Bindings.ImGui/Custom/ImGui.ColorEditPicker.cs new file mode 100644 index 000000000..655083627 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/ImGui.ColorEditPicker.cs @@ -0,0 +1,81 @@ +using System.Diagnostics.CodeAnalysis; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui; + +[SuppressMessage("ReSharper", "InconsistentNaming")] +public static unsafe partial class ImGui +{ + public static bool ColorEdit3( + ImU8String label, scoped ref Vector3 col, ImGuiColorEditFlags flags = ImGuiColorEditFlags.None) + { + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + fixed (Vector3* colPtr = &col) + { + var res = ImGuiNative.ColorEdit3(labelPtr, &colPtr->X, flags) != 0; + label.Dispose(); + return res; + } + } + + public static bool ColorEdit4( + ImU8String label, scoped ref Vector4 col, ImGuiColorEditFlags flags = ImGuiColorEditFlags.None) + { + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + fixed (Vector4* colPtr = &col) + { + var res = ImGuiNative.ColorEdit4(labelPtr, &colPtr->X, flags) != 0; + label.Dispose(); + return res; + } + } + + public static bool ColorPicker3( + ImU8String label, scoped ref Vector3 col, ImGuiColorEditFlags flags = ImGuiColorEditFlags.None) + { + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + fixed (Vector3* colPtr = &col) + { + var res = ImGuiNative.ColorPicker3(labelPtr, &colPtr->X, flags) != 0; + label.Dispose(); + return res; + } + } + + public static bool ColorPicker4( + ImU8String label, scoped ref Vector4 col, ImGuiColorEditFlags flags = ImGuiColorEditFlags.None) + { + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + fixed (Vector4* colPtr = &col) + { + var res = ImGuiNative.ColorPicker4(labelPtr, &colPtr->X, flags, null) != 0; + label.Dispose(); + return res; + } + } + + public static bool ColorPicker4( + ImU8String label, scoped ref Vector4 col, ImGuiColorEditFlags flags, scoped in Vector4 refCol) + { + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + fixed (Vector4* colPtr = &col) + fixed (Vector4* refColPtr = &refCol) + { + var res = ImGuiNative.ColorPicker4(labelPtr, &colPtr->X, flags, &refColPtr->X) != 0; + label.Dispose(); + return res; + } + } + + public static bool ColorPicker4(ImU8String label, scoped ref Vector4 col, scoped in Vector4 refCol) + { + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + fixed (Vector4* colPtr = &col) + fixed (Vector4* refColPtr = &refCol) + { + var res = ImGuiNative.ColorPicker4(labelPtr, &colPtr->X, ImGuiColorEditFlags.None, &refColPtr->X) != 0; + label.Dispose(); + return res; + } + } +} diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/ImGui.ComboAndList.cs b/imgui/Dalamud.Bindings.ImGui/Custom/ImGui.ComboAndList.cs new file mode 100644 index 000000000..603019d7d --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/ImGui.ComboAndList.cs @@ -0,0 +1,384 @@ +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +[SuppressMessage("ReSharper", "InconsistentNaming")] +public static unsafe partial class ImGui +{ + public delegate ImU8String PopulateAutoUtf8BufferDelegate(int index); + + public delegate ImU8String PopulateAutoUtf8BufferInContextDelegate(scoped in T context, int index) + where T : allows ref struct; + + public delegate ImU8String PopulateAutoUtf8BufferRefContextDelegate(scoped ref T context, int index) + where T : allows ref struct; + + [OverloadResolutionPriority(2)] + public static bool Combo( + ImU8String label, ref int currentItem, ReadOnlySpan items, int popupMaxHeightInItems = -1) => + Combo( + label, + ref currentItem, + static (scoped in ReadOnlySpan items, int index) => items[index], + items, + items.Length, + popupMaxHeightInItems); + + [OverloadResolutionPriority(3)] + public static bool Combo( + ImU8String label, ref int currentItem, scoped in T items, int popupMaxHeightInItems = -1) + where T : IList => + Combo( + label, + ref currentItem, + static (scoped in T items, int index) => items[index], + items, + items.Count, + popupMaxHeightInItems); + + [OverloadResolutionPriority(4)] + public static bool Combo( + ImU8String label, ref int currentItem, IReadOnlyList items, int popupMaxHeightInItems = -1) => + Combo( + label, + ref currentItem, + static (scoped in IReadOnlyList items, int index) => items[index], + items, + items.Count, + popupMaxHeightInItems); + + [OverloadResolutionPriority(5)] + public static bool Combo( + ImU8String label, ref int currentItem, ReadOnlySpan items, Func toString, + int popupMaxHeightInItems = -1) + { + var tmp = PointerTuple.CreateFixed(ref items, ref toString); + return Combo( + label, + ref currentItem, + static (scoped in PointerTuple, Func> items, int index) => + items.Item2(items.Item1[index]), + tmp, + items.Length, + popupMaxHeightInItems); + } + + [OverloadResolutionPriority(6)] + public static bool Combo( + ImU8String label, ref int currentItem, scoped in TList items, Func toString, + int popupMaxHeightInItems = -1) + where TList : IList => + Combo( + label, + ref currentItem, + static (scoped in (TList, Func) items, int index) => items.Item2(items.Item1[index]), + (items, toString), + items.Count, + popupMaxHeightInItems); + + [OverloadResolutionPriority(7)] + public static bool Combo( + ImU8String label, ref int currentItem, IReadOnlyList items, Func toString, + int popupMaxHeightInItems = -1) => + Combo( + label, + ref currentItem, + static (scoped in (IReadOnlyList, Func) items, int index) => items.Item2(items.Item1[index]), + (items, toString), + items.Count, + popupMaxHeightInItems); + + [OverloadResolutionPriority(1)] + public static bool Combo( + ImU8String label, ref int currentItem, ImU8String itemsSeparatedByZeros, int popupMaxHeightInItems = -1) + { + if (!itemsSeparatedByZeros.Span.EndsWith("\0\0"u8)) + itemsSeparatedByZeros.AppendFormatted("\0\0"u8); + + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + fixed (int* currentItemPtr = ¤tItem) + fixed (byte* itemsSeparatedByZerosPtr = itemsSeparatedByZeros.Span) + { + var r = ImGuiNative.Combo(labelPtr, currentItemPtr, itemsSeparatedByZerosPtr, popupMaxHeightInItems) != 0; + label.Dispose(); + itemsSeparatedByZeros.Dispose(); + return r; + } + } + + public static bool Combo( + ImU8String label, ref int currentItem, PopulateAutoUtf8BufferInContextDelegate itemsGetter, + scoped in TContext context, int itemsCount, int popupMaxHeightInItems = -1) + where TContext : allows ref struct + { + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + fixed (int* currentItemPtr = ¤tItem) +#pragma warning disable CS8500 // This takes the address of, gets the size of, or declares a pointer to a managed type + fixed (TContext* contextPtr = &context) + { + ImU8String textBuffer = default; + var dataBuffer = PointerTuple.Create(&itemsGetter, &textBuffer, contextPtr); +#pragma warning restore CS8500 // This takes the address of, gets the size of, or declares a pointer to a managed type + var r = ImGuiNative.Combo( + labelPtr, + currentItemPtr, + (delegate*, void*, int, int, bool>) + (nint)(delegate* unmanaged)&PopulateUtf8BufferInContextStatic, + &dataBuffer, + itemsCount, + popupMaxHeightInItems) != 0; + label.Dispose(); + textBuffer.Dispose(); + return r; + } + } + + public static bool Combo( + ImU8String label, ref int currentItem, PopulateAutoUtf8BufferRefContextDelegate itemsGetter, + scoped ref TContext context, int itemsCount, int popupMaxHeightInItems = -1) + where TContext : allows ref struct + { + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + fixed (int* currentItemPtr = ¤tItem) +#pragma warning disable CS8500 // This takes the address of, gets the size of, or declares a pointer to a managed type + fixed (TContext* contextPtr = &context) + { + ImU8String textBuffer = default; + var dataBuffer = PointerTuple.Create(&itemsGetter, &textBuffer, contextPtr); +#pragma warning restore CS8500 // This takes the address of, gets the size of, or declares a pointer to a managed type + var r = ImGuiNative.Combo( + labelPtr, + currentItemPtr, + (delegate*, void*, int, int, bool>) + (nint)(delegate* unmanaged)&PopulateUtf8BufferRefContextStatic, + &dataBuffer, + itemsCount, + popupMaxHeightInItems) != 0; + label.Dispose(); + textBuffer.Dispose(); + return r; + } + } + + public static bool Combo( + ImU8String label, ref int currentItem, PopulateAutoUtf8BufferDelegate itemsGetter, int itemsCount, + int popupMaxHeightInItems = -1) + { + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + fixed (int* currentItemPtr = ¤tItem) +#pragma warning disable CS8500 // This takes the address of, gets the size of, or declares a pointer to a managed type + { + ImU8String textBuffer = default; + var dataBuffer = PointerTuple.Create(&itemsGetter, &textBuffer); +#pragma warning restore CS8500 // This takes the address of, gets the size of, or declares a pointer to a managed type + var r = ImGuiNative.Combo( + labelPtr, + currentItemPtr, + (delegate*, void*, int, int, bool>) + (nint)(delegate* unmanaged)&PopulateUtf8BufferStatic, + &dataBuffer, + itemsCount, + popupMaxHeightInItems) != 0; + label.Dispose(); + textBuffer.Dispose(); + return r; + } + } + + [OverloadResolutionPriority(2)] + public static bool ListBox( + ImU8String label, ref int currentItem, ReadOnlySpan items, int heightInItems = -1) => + ListBox( + label, + ref currentItem, + static (scoped in ReadOnlySpan items, int index) => items[index], + items, + items.Length, + heightInItems); + + [OverloadResolutionPriority(3)] + public static bool ListBox(ImU8String label, ref int currentItem, scoped in T items, int heightInItems = -1) + where T : IList => + ListBox( + label, + ref currentItem, + static (scoped in T items, int index) => items[index], + items, + items.Count, + heightInItems); + + [OverloadResolutionPriority(4)] + public static bool ListBox( + ImU8String label, ref int currentItem, IReadOnlyList items, int heightInItems = -1) => + ListBox( + label, + ref currentItem, + static (scoped in IReadOnlyList items, int index) => items[index], + items, + items.Count, + heightInItems); + + [OverloadResolutionPriority(5)] + public static bool ListBox( + ImU8String label, ref int currentItem, ReadOnlySpan items, Func toString, + int heightInItems = -1) + { + var tmp = PointerTuple.CreateFixed(ref items, ref toString); + return ListBox( + label, + ref currentItem, + static (scoped in PointerTuple, Func> items, int index) => + items.Item2(items.Item1[index]), + tmp, + items.Length, + heightInItems); + } + + [OverloadResolutionPriority(6)] + public static bool ListBox( + ImU8String label, ref int currentItem, scoped in TList items, Func toString, + int heightInItems = -1) + where TList : IList => + ListBox( + label, + ref currentItem, + static (scoped in (TList, Func) items, int index) => items.Item2(items.Item1[index]), + (items, toString), + items.Count, + heightInItems); + + [OverloadResolutionPriority(7)] + public static bool ListBox( + ImU8String label, ref int currentItem, IReadOnlyList items, Func toString, + int heightInItems = -1) => + ListBox( + label, + ref currentItem, + static (scoped in (IReadOnlyList, Func) items, int index) => items.Item2(items.Item1[index]), + (items, toString), + items.Count, + heightInItems); + + public static bool ListBox( + ImU8String label, ref int currentItem, PopulateAutoUtf8BufferRefContextDelegate itemsGetter, + scoped ref TContext context, int itemsCount, int heightInItems = -1) + where TContext : allows ref struct + { + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + fixed (int* currentItemPtr = ¤tItem) +#pragma warning disable CS8500 // This takes the address of, gets the size of, or declares a pointer to a managed type + fixed (TContext* contextPtr = &context) + { + ImU8String textBuffer = default; + var dataBuffer = PointerTuple.Create(&itemsGetter, &textBuffer, contextPtr); +#pragma warning restore CS8500 // This takes the address of, gets the size of, or declares a pointer to a managed type + var r = ImGuiNative.ListBox( + labelPtr, + currentItemPtr, + (delegate*, void*, int, int, bool>) + (nint)(delegate* unmanaged)&PopulateUtf8BufferRefContextStatic, + &dataBuffer, + itemsCount, + heightInItems) != 0; + label.Dispose(); + textBuffer.Dispose(); + return r; + } + } + + public static bool ListBox( + ImU8String label, ref int currentItem, PopulateAutoUtf8BufferInContextDelegate itemsGetter, + scoped in TContext context, int itemsCount, int heightInItems = -1) + where TContext : allows ref struct + { + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + fixed (int* currentItemPtr = ¤tItem) +#pragma warning disable CS8500 // This takes the address of, gets the size of, or declares a pointer to a managed type + fixed (TContext* contextPtr = &context) + { + ImU8String textBuffer = default; + var dataBuffer = PointerTuple.Create(&itemsGetter, &textBuffer, contextPtr); +#pragma warning restore CS8500 // This takes the address of, gets the size of, or declares a pointer to a managed type + var r = ImGuiNative.ListBox( + labelPtr, + currentItemPtr, + (delegate*, void*, int, int, bool>) + (nint)(delegate* unmanaged)&PopulateUtf8BufferInContextStatic, + &dataBuffer, + itemsCount, + heightInItems) != 0; + label.Dispose(); + textBuffer.Dispose(); + return r; + } + } + + public static bool ListBox( + ImU8String label, ref int currentItem, PopulateAutoUtf8BufferDelegate itemsGetter, int itemsCount, + int heightInItems = -1) + { + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + fixed (int* currentItemPtr = ¤tItem) +#pragma warning disable CS8500 // This takes the address of, gets the size of, or declares a pointer to a managed type + { + ImU8String textBuffer = default; + var dataBuffer = PointerTuple.Create(&itemsGetter, &textBuffer); +#pragma warning restore CS8500 // This takes the address of, gets the size of, or declares a pointer to a managed type + var r = ImGuiNative.ListBox( + labelPtr, + currentItemPtr, + (delegate*, void*, int, int, bool>) + (nint)(delegate* unmanaged)&PopulateUtf8BufferStatic, + &dataBuffer, + itemsCount, + heightInItems) != 0; + label.Dispose(); + textBuffer.Dispose(); + return r; + } + } + + [UnmanagedCallersOnly] + private static bool PopulateUtf8BufferRefContextStatic(void* data, int index, byte** text) + { +#pragma warning disable CS8500 // This takes the address of, gets the size of, or declares a pointer to a managed type + ref var s = ref PointerTuple.From, ImU8String, object>(data); + s.Item2.Dispose(); + s.Item2 = s.Item1.Invoke(ref s.Item3, index); + if (s.Item2.IsNull) + return false; + *text = (byte*)Unsafe.AsPointer(ref Unsafe.AsRef(in s.Item2.Span[0])); + return true; +#pragma warning restore CS8500 // This takes the address of, gets the size of, or declares a pointer to a managed type + } + + [UnmanagedCallersOnly] + private static bool PopulateUtf8BufferInContextStatic(void* data, int index, byte** text) + { +#pragma warning disable CS8500 // This takes the address of, gets the size of, or declares a pointer to a managed type + ref var s = ref PointerTuple.From, ImU8String, object>(data); + s.Item2.Dispose(); + s.Item2 = s.Item1.Invoke(s.Item3, index); + if (s.Item2.IsNull) + return false; + *text = (byte*)Unsafe.AsPointer(ref Unsafe.AsRef(in s.Item2.Span[0])); + return true; +#pragma warning restore CS8500 // This takes the address of, gets the size of, or declares a pointer to a managed type + } + + [UnmanagedCallersOnly] + private static bool PopulateUtf8BufferStatic(void* data, int index, byte** text) + { +#pragma warning disable CS8500 // This takes the address of, gets the size of, or declares a pointer to a managed type + ref var s = ref PointerTuple.From(data); + s.Item2.Dispose(); + s.Item2 = s.Item1.Invoke(index); + if (s.Item2.IsNull) + return false; + *text = (byte*)Unsafe.AsPointer(ref Unsafe.AsRef(in s.Item2.Span[0])); + return true; +#pragma warning restore CS8500 // This takes the address of, gets the size of, or declares a pointer to a managed type + } +} diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/ImGui.Custom.cs b/imgui/Dalamud.Bindings.ImGui/Custom/ImGui.Custom.cs new file mode 100644 index 000000000..6e3420f49 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/ImGui.Custom.cs @@ -0,0 +1,66 @@ +namespace Dalamud.Bindings.ImGui; + +public unsafe partial class ImGui +{ + public static int GetImGuiDataTypeSize(ImGuiDataType dataType) => dataType switch + { + ImGuiDataType.S8 => sizeof(sbyte), + ImGuiDataType.U8 => sizeof(byte), + ImGuiDataType.S16 => sizeof(short), + ImGuiDataType.U16 => sizeof(ushort), + ImGuiDataType.S32 => sizeof(int), + ImGuiDataType.U32 => sizeof(uint), + ImGuiDataType.S64 => sizeof(long), + ImGuiDataType.U64 => sizeof(ulong), + ImGuiDataType.Float => sizeof(float), + ImGuiDataType.Double => sizeof(double), + _ => throw new ArgumentOutOfRangeException(nameof(dataType), dataType, null) + }; + + public static ImGuiDataType GetImGuiDataType(Type type) + { + if (type == typeof(sbyte)) return ImGuiDataType.S8; + if (type == typeof(byte)) return ImGuiDataType.U8; + if (type == typeof(short)) return ImGuiDataType.S16; + if (type == typeof(ushort)) return ImGuiDataType.U16; + if (type == typeof(int)) return ImGuiDataType.S32; + if (type == typeof(uint)) return ImGuiDataType.U32; + if (type == typeof(long)) return ImGuiDataType.S64; + if (type == typeof(ulong)) return ImGuiDataType.U64; + if (type == typeof(float)) return ImGuiDataType.Float; + if (type == typeof(double)) return ImGuiDataType.Double; + throw new ArgumentOutOfRangeException(nameof(type), type, null); + } + + public static ImGuiDataType GetImGuiDataType() => GetImGuiDataType(typeof(T)); + + public static string GetFormatSpecifier(ImGuiDataType dataType) => dataType switch + { + ImGuiDataType.S8 => "%hhd", + ImGuiDataType.U8 => "%hhu", + ImGuiDataType.S16 => "%hd", + ImGuiDataType.U16 => "%hu", + ImGuiDataType.S32 => "%d", + ImGuiDataType.U32 => "%u", + ImGuiDataType.S64 => "%I64d", + ImGuiDataType.U64 => "%I64u", + ImGuiDataType.Float => "%f", + ImGuiDataType.Double => "%lf", + _ => throw new ArgumentOutOfRangeException(nameof(dataType), dataType, null) + }; + + public static ReadOnlySpan GetFormatSpecifierU8(ImGuiDataType dataType) => dataType switch + { + ImGuiDataType.S8 => "%hhd"u8, + ImGuiDataType.U8 => "%hhu"u8, + ImGuiDataType.S16 => "%hd"u8, + ImGuiDataType.U16 => "%hu"u8, + ImGuiDataType.S32 => "%d"u8, + ImGuiDataType.U32 => "%u"u8, + ImGuiDataType.S64 => "%I64d"u8, + ImGuiDataType.U64 => "%I64u"u8, + ImGuiDataType.Float => "%f"u8, + ImGuiDataType.Double => "%lf"u8, + _ => throw new ArgumentOutOfRangeException(nameof(dataType), dataType, null) + }; +} diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/ImGui.DragScalar.cs b/imgui/Dalamud.Bindings.ImGui/Custom/ImGui.DragScalar.cs new file mode 100644 index 000000000..13c06ad2b --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/ImGui.DragScalar.cs @@ -0,0 +1,457 @@ +using System.Diagnostics.CodeAnalysis; +using System.Numerics; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +[SuppressMessage("ReSharper", "InconsistentNaming")] +public static unsafe partial class ImGui +{ + public static bool DragSByte( + ImU8String label, scoped ref sbyte v, float vSpeed = 1.0f, sbyte vMin = 0, sbyte vMax = 0, + ImU8String format = default, ImGuiSliderFlags flags = ImGuiSliderFlags.None) => DragScalar( + label, + ImGuiDataType.S8, + ref v, + vSpeed, + vMin, + vMax, + format.MoveOrDefault("%hhd"u8), + flags); + + public static bool DragSByte( + ImU8String label, Span v, float vSpeed = 1.0f, sbyte vMin = 0, sbyte vMax = 0, + ImU8String format = default, ImGuiSliderFlags flags = ImGuiSliderFlags.None) => DragScalar( + label, + ImGuiDataType.S8, + v, + vSpeed, + vMin, + vMax, + format.MoveOrDefault("%hhd"u8), + flags); + + public static bool DragByte( + ImU8String label, scoped ref byte v, float vSpeed = 1.0f, byte vMin = 0, byte vMax = 0, + ImU8String format = default, ImGuiSliderFlags flags = ImGuiSliderFlags.None) => DragScalar( + label, + ImGuiDataType.U8, + ref v, + vSpeed, + vMin, + vMax, + format.MoveOrDefault("%hhu"u8), + flags); + + public static bool DragByte( + ImU8String label, Span v, float vSpeed = 1.0f, byte vMin = 0, byte vMax = 0, + ImU8String format = default, ImGuiSliderFlags flags = ImGuiSliderFlags.None) => DragScalar( + label, + ImGuiDataType.U8, + v, + vSpeed, + vMin, + vMax, + format.MoveOrDefault("%hhu"u8), + flags); + + public static bool DragShort( + ImU8String label, scoped ref short v, float vSpeed = 1.0f, short vMin = 0, short vMax = 0, + ImU8String format = default, ImGuiSliderFlags flags = ImGuiSliderFlags.None) => DragScalar( + label, + ImGuiDataType.S16, + ref v, + vSpeed, + vMin, + vMax, + format.MoveOrDefault("%hd"u8), + flags); + + public static bool DragShort( + ImU8String label, Span v, float vSpeed = 1.0f, short vMin = 0, short vMax = 0, + ImU8String format = default, ImGuiSliderFlags flags = ImGuiSliderFlags.None) => DragScalar( + label, + ImGuiDataType.S16, + v, + vSpeed, + vMin, + vMax, + format.MoveOrDefault("%hd"u8), + flags); + + public static bool DragUShort( + ImU8String label, scoped ref ushort v, float vSpeed = 1.0f, ushort vMin = 0, ushort vMax = 0, + ImU8String format = default, ImGuiSliderFlags flags = ImGuiSliderFlags.None) => DragScalar( + label, + ImGuiDataType.U16, + ref v, + vSpeed, + vMin, + vMax, + format.MoveOrDefault("%hu"u8), + flags); + + public static bool DragUShort( + ImU8String label, Span v, float vSpeed = 1.0f, ushort vMin = 0, ushort vMax = 0, + ImU8String format = default, ImGuiSliderFlags flags = ImGuiSliderFlags.None) => DragScalar( + label, + ImGuiDataType.U16, + v, + vSpeed, + vMin, + vMax, + format.MoveOrDefault("%hu"u8), + flags); + + public static bool DragInt( + ImU8String label, scoped ref int v, float vSpeed = 1.0f, int vMin = 0, int vMax = 0, + ImU8String format = default, ImGuiSliderFlags flags = ImGuiSliderFlags.None) => DragScalar( + label, + ImGuiDataType.S32, + ref v, + vSpeed, + vMin, + vMax, + format.MoveOrDefault("%d"u8), + flags); + + public static bool DragInt( + ImU8String label, Span v, float vSpeed = 1.0f, int vMin = 0, + int vMax = 0, ImU8String format = default, + ImGuiSliderFlags flags = ImGuiSliderFlags.None) => DragScalar( + label, + ImGuiDataType.S32, + v, + vSpeed, + vMin, + vMax, + format.MoveOrDefault("%d"u8), + flags); + + public static bool DragUInt( + ImU8String label, scoped ref uint v, float vSpeed = 1.0f, uint vMin = 0, + uint vMax = 0, ImU8String format = default, + ImGuiSliderFlags flags = ImGuiSliderFlags.None) => DragScalar( + label, + ImGuiDataType.U32, + ref v, + vSpeed, + vMin, + vMax, + format.MoveOrDefault("%u"u8), + flags); + + public static bool DragUInt( + ImU8String label, Span v, float vSpeed = 1.0f, uint vMin = 0, + uint vMax = 0, ImU8String format = default, + ImGuiSliderFlags flags = ImGuiSliderFlags.None) => DragScalar( + label, + ImGuiDataType.U32, + v, + vSpeed, + vMin, + vMax, + format.MoveOrDefault("%u"u8), + flags); + + public static bool DragLong( + ImU8String label, scoped ref long v, float vSpeed = 1.0f, long vMin = 0, + long vMax = 0, ImU8String format = default, + ImGuiSliderFlags flags = ImGuiSliderFlags.None) => DragScalar( + label, + ImGuiDataType.S64, + ref v, + vSpeed, + vMin, + vMax, + format.MoveOrDefault("%I64d"u8), + flags); + + public static bool DragLong( + ImU8String label, Span v, float vSpeed = 1.0f, long vMin = 0, + long vMax = 0, ImU8String format = default, + ImGuiSliderFlags flags = ImGuiSliderFlags.None) => DragScalar( + label, + ImGuiDataType.S64, + v, + vSpeed, + vMin, + vMax, + format.MoveOrDefault("%I64d"u8), + flags); + + public static bool DragULong( + ImU8String label, scoped ref ulong v, float vSpeed = 1.0f, + ulong vMin = 0, ulong vMax = 0, ImU8String format = default, + ImGuiSliderFlags flags = ImGuiSliderFlags.None) => DragScalar( + label, + ImGuiDataType.U64, + ref v, + vSpeed, + vMin, + vMax, + format.MoveOrDefault("%I64u"u8), + flags); + + public static bool DragULong( + ImU8String label, Span v, float vSpeed = 1.0f, ulong vMin = 0, + ulong vMax = 0, ImU8String format = default, + ImGuiSliderFlags flags = ImGuiSliderFlags.None) => DragScalar( + label, + ImGuiDataType.U64, + v, + vSpeed, + vMin, + vMax, + format.MoveOrDefault("%I64u"u8), + flags); + + public static bool DragFloat( + ImU8String label, scoped ref float v, float vSpeed = 1.0f, + float vMin = 0.0f, float vMax = 0.0f, ImU8String format = default, + ImGuiSliderFlags flags = ImGuiSliderFlags.None) => DragScalar( + label, + ImGuiDataType.Float, + ref v, + vSpeed, + vMin, + vMax, + format.MoveOrDefault("%.3f"u8), + flags); + + public static bool DragFloat( + ImU8String label, Span v, float vSpeed = 1.0f, float vMin = 0.0f, + float vMax = 0.0f, ImU8String format = default, + ImGuiSliderFlags flags = ImGuiSliderFlags.None) => DragScalar( + label, + ImGuiDataType.Float, + v, + vSpeed, + vMin, + vMax, + format.MoveOrDefault("%.3f"u8), + flags); + + public static bool DragFloat2( + ImU8String label, scoped ref Vector2 v, float vSpeed = 1.0f, + float vMin = 0.0f, float vMax = 0.0f, ImU8String format = default, + ImGuiSliderFlags flags = ImGuiSliderFlags.None) => DragScalar( + label, + ImGuiDataType.Float, + MemoryMarshal.Cast(new(ref v)), + vSpeed, + vMin, + vMax, + format.MoveOrDefault("%.3f"u8), + flags); + + public static bool DragFloat3( + ImU8String label, scoped ref Vector3 v, float vSpeed = 1.0f, + float vMin = 0.0f, float vMax = 0.0f, ImU8String format = default, + ImGuiSliderFlags flags = ImGuiSliderFlags.None) => DragScalar( + label, + ImGuiDataType.Float, + MemoryMarshal.Cast(new(ref v)), + vSpeed, + vMin, + vMax, + format.MoveOrDefault("%.3f"u8), + flags); + + public static bool DragFloat4( + ImU8String label, scoped ref Vector4 v, float vSpeed = 1.0f, + float vMin = 0.0f, float vMax = 0.0f, ImU8String format = default, + ImGuiSliderFlags flags = ImGuiSliderFlags.None) => DragScalar( + label, + ImGuiDataType.Float, + MemoryMarshal.Cast(new(ref v)), + vSpeed, + vMin, + vMax, + format.MoveOrDefault("%.3f"u8), + flags); + + public static bool DragDouble( + ImU8String label, scoped ref double v, float vSpeed = 1.0f, + double vMin = 0.0f, double vMax = 0.0f, ImU8String format = default, + ImGuiSliderFlags flags = ImGuiSliderFlags.None) => DragScalar( + label, + ImGuiDataType.Double, + ref v, + vSpeed, + vMin, + vMax, + format.MoveOrDefault("%.3f"u8), + flags); + + public static bool DragDouble( + ImU8String label, Span v, float vSpeed = 1.0f, + double vMin = 0.0f, double vMax = 0.0f, ImU8String format = default, + ImGuiSliderFlags flags = ImGuiSliderFlags.None) => DragScalar( + label, + ImGuiDataType.Double, + v, + vSpeed, + vMin, + vMax, + format.MoveOrDefault("%.3f"u8), + flags); + + public static bool DragScalar( + ImU8String label, ImGuiDataType dataType, scoped ref T v, float vSpeed, + scoped in T vMin, scoped in T vMax, ImU8String format = default, + ImGuiSliderFlags flags = ImGuiSliderFlags.None) where T : unmanaged, IBinaryNumber + { + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + fixed (byte* formatPtr = &format.GetPinnableNullTerminatedReference()) + fixed (T* vPtr = &v) + fixed (T* vMinPtr = &vMin) + fixed (T* vMaxPtr = &vMax) + { + var res = ImGuiNative.DragScalar(labelPtr, dataType, vPtr, vSpeed, vMinPtr, vMaxPtr, formatPtr, flags) != 0; + label.Dispose(); + format.Dispose(); + return res; + } + } + + public static bool DragScalar( + ImU8String label, ImGuiDataType dataType, Span v, float vSpeed, + scoped in T vMin, scoped in T vMax, ImU8String format = default, + ImGuiSliderFlags flags = ImGuiSliderFlags.None) where T : unmanaged, IBinaryNumber + { + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + fixed (byte* formatPtr = &format.GetPinnableNullTerminatedReference()) + fixed (T* vPtr = v) + fixed (T* vMinPtr = &vMin) + fixed (T* vMaxPtr = &vMax) + { + var res = ImGuiNative.DragScalarN( + labelPtr, + dataType, + vPtr, + v.Length, + vSpeed, + vMinPtr, + vMaxPtr, + formatPtr, + flags) != 0; + label.Dispose(); + format.Dispose(); + return res; + } + } + + public static bool DragScalar( + ImU8String label, scoped ref T v, float vSpeed, + scoped in T vMin, scoped in T vMax, ImU8String format = default, + ImGuiSliderFlags flags = ImGuiSliderFlags.None) where T : unmanaged, IBinaryNumber + { + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + fixed (byte* formatPtr = &format.GetPinnableNullTerminatedReference()) + fixed (T* vPtr = &v) + fixed (T* vMinPtr = &vMin) + fixed (T* vMaxPtr = &vMax) + { + var res = ImGuiNative.DragScalar( + labelPtr, + GetImGuiDataType(), + vPtr, + vSpeed, + vMinPtr, + vMaxPtr, + formatPtr, + flags) != 0; + label.Dispose(); + format.Dispose(); + return res; + } + } + + public static bool DragScalar( + ImU8String label, Span v, float vSpeed, + scoped in T vMin, scoped in T vMax, ImU8String format = default, + ImGuiSliderFlags flags = ImGuiSliderFlags.None) where T : unmanaged, IBinaryNumber + { + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + fixed (byte* formatPtr = &format.GetPinnableNullTerminatedReference()) + fixed (T* vPtr = v) + fixed (T* vMinPtr = &vMin) + fixed (T* vMaxPtr = &vMax) + { + var res = ImGuiNative.DragScalarN( + labelPtr, + GetImGuiDataType(), + vPtr, + v.Length, + vSpeed, + vMinPtr, + vMaxPtr, + formatPtr, + flags) != 0; + label.Dispose(); + format.Dispose(); + return res; + } + } + + public static bool DragFloatRange2( + ImU8String label, scoped ref float vCurrentMin, + scoped ref float vCurrentMax, float vSpeed = 1.0f, float vMin = 0.0f, float vMax = 0.0f, + ImU8String format = default, + ImU8String formatMax = default, + ImGuiSliderFlags flags = ImGuiSliderFlags.None) + { + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + fixed (float* vCurrentMinPtr = &vCurrentMin) + fixed (float* vCurrentMaxPtr = &vCurrentMax) + fixed (byte* formatPtr = &format.GetPinnableNullTerminatedReference("%.3f"u8)) + fixed (byte* formatMaxPtr = &formatMax.GetPinnableNullTerminatedReference()) + { + var res = ImGuiNative.DragFloatRange2( + labelPtr, + vCurrentMinPtr, + vCurrentMaxPtr, + vSpeed, + vMin, + vMax, + formatPtr, + formatMaxPtr, + flags); + label.Dispose(); + format.Dispose(); + formatMax.Dispose(); + return res != 0; + } + } + + public static bool DragIntRange2( + ImU8String label, scoped ref int vCurrentMin, + scoped ref int vCurrentMax, float vSpeed = 1.0f, int vMin = 0, int vMax = 0, + ImU8String format = default, + ImU8String formatMax = default, + ImGuiSliderFlags flags = ImGuiSliderFlags.None) + { + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + fixed (int* vCurrentMinPtr = &vCurrentMin) + fixed (int* vCurrentMaxPtr = &vCurrentMax) + fixed (byte* formatPtr = &format.GetPinnableNullTerminatedReference("%d"u8)) + fixed (byte* formatMaxPtr = &formatMax.GetPinnableNullTerminatedReference()) + { + var res = ImGuiNative.DragIntRange2( + labelPtr, + vCurrentMinPtr, + vCurrentMaxPtr, + vSpeed, + vMin, + vMax, + formatPtr, + formatMaxPtr, + flags); + label.Dispose(); + format.Dispose(); + formatMax.Dispose(); + return res != 0; + } + } +} diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/ImGui.InputScalar.cs b/imgui/Dalamud.Bindings.ImGui/Custom/ImGui.InputScalar.cs new file mode 100644 index 000000000..7138d8a92 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/ImGui.InputScalar.cs @@ -0,0 +1,366 @@ +using System.Diagnostics.CodeAnalysis; +using System.Numerics; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +[SuppressMessage("ReSharper", "InconsistentNaming")] +public static unsafe partial class ImGui +{ + public static bool InputSByte( + ImU8String label, scoped ref sbyte data, sbyte step = 0, sbyte stepFast = 0, + ImU8String format = default, ImGuiInputTextFlags flags = ImGuiInputTextFlags.None) => InputScalar( + label, + ImGuiDataType.S8, + ref data, + step, + stepFast, + format.MoveOrDefault("%hhd"u8), + flags); + + public static bool InputSByte( + ImU8String label, Span data, sbyte step = 0, sbyte stepFast = 0, ImU8String format = default, + ImGuiInputTextFlags flags = ImGuiInputTextFlags.None) => InputScalar( + label, + ImGuiDataType.S8, + data, + step, + stepFast, + format.MoveOrDefault("%hhd"u8), + flags); + + public static bool InputByte( + ImU8String label, scoped ref byte data, byte step = 0, byte stepFast = 0, ImU8String format = default, + ImGuiInputTextFlags flags = ImGuiInputTextFlags.None) => InputScalar( + label, + ImGuiDataType.U8, + ref data, + step, + stepFast, + format.MoveOrDefault("%hhu"u8), + flags); + + public static bool InputByte( + ImU8String label, Span data, byte step = 0, byte stepFast = 0, ImU8String format = default, + ImGuiInputTextFlags flags = ImGuiInputTextFlags.None) => InputScalar( + label, + ImGuiDataType.U8, + data, + step, + stepFast, + format.MoveOrDefault("%hhu"u8), + flags); + + public static bool InputShort( + ImU8String label, scoped ref short data, short step = 0, short stepFast = 0, + ImU8String format = default, ImGuiInputTextFlags flags = ImGuiInputTextFlags.None) => InputScalar( + label, + ImGuiDataType.S16, + ref data, + step, + stepFast, + format.MoveOrDefault("%hd"u8), + flags); + + public static bool InputShort( + ImU8String label, Span data, short step = 0, short stepFast = 0, ImU8String format = default, + ImGuiInputTextFlags flags = ImGuiInputTextFlags.None) => InputScalar( + label, + ImGuiDataType.S16, + data, + step, + stepFast, + format.MoveOrDefault("%hd"u8), + flags); + + public static bool InputUShort( + ImU8String label, scoped ref ushort data, ushort step = 0, ushort stepFast = 0, + ImU8String format = default, ImGuiInputTextFlags flags = ImGuiInputTextFlags.None) => InputScalar( + label, + ImGuiDataType.U16, + ref data, + step, + stepFast, + format.MoveOrDefault("%hu"u8), + flags); + + public static bool InputUShort( + ImU8String label, Span data, ushort step = 0, ushort stepFast = 0, ImU8String format = default, + ImGuiInputTextFlags flags = ImGuiInputTextFlags.None) => InputScalar( + label, + ImGuiDataType.U16, + data, + step, + stepFast, + format.MoveOrDefault("%hu"u8), + flags); + + public static bool InputInt( + ImU8String label, scoped ref int data, int step = 0, int stepFast = 0, ImU8String format = default, + ImGuiInputTextFlags flags = ImGuiInputTextFlags.None) => InputScalar( + label, + ImGuiDataType.S32, + ref data, + step, + stepFast, + format.MoveOrDefault("%d"u8), + flags); + + public static bool InputInt( + ImU8String label, Span data, int step = 0, int stepFast = 0, ImU8String format = default, + ImGuiInputTextFlags flags = ImGuiInputTextFlags.None) => InputScalar( + label, + ImGuiDataType.S32, + data, + step, + stepFast, + format.MoveOrDefault("%d"u8), + flags); + + public static bool InputUInt( + ImU8String label, scoped ref uint data, uint step = 0, uint stepFast = 0, ImU8String format = default, + ImGuiInputTextFlags flags = ImGuiInputTextFlags.None) => InputScalar( + label, + ImGuiDataType.U32, + ref data, + step, + stepFast, + format.MoveOrDefault("%u"u8), + flags); + + public static bool InputUInt( + ImU8String label, Span data, uint step = 0, uint stepFast = 0, ImU8String format = default, + ImGuiInputTextFlags flags = ImGuiInputTextFlags.None) => InputScalar( + label, + ImGuiDataType.U32, + data, + step, + stepFast, + format.MoveOrDefault("%u"u8), + flags); + + public static bool InputLong( + ImU8String label, scoped ref long data, long step = 0, long stepFast = 0, ImU8String format = default, + ImGuiInputTextFlags flags = ImGuiInputTextFlags.None) => InputScalar( + label, + ImGuiDataType.S64, + ref data, + step, + stepFast, + format.MoveOrDefault("%I64d"u8), + flags); + + public static bool InputLong( + ImU8String label, Span data, long step = 0, long stepFast = 0, ImU8String format = default, + ImGuiInputTextFlags flags = ImGuiInputTextFlags.None) => InputScalar( + label, + ImGuiDataType.S64, + data, + step, + stepFast, + format.MoveOrDefault("%I64d"u8), + flags); + + public static bool InputULong( + ImU8String label, scoped ref ulong data, ulong step = 0, ulong stepFast = 0, + ImU8String format = default, ImGuiInputTextFlags flags = ImGuiInputTextFlags.None) => InputScalar( + label, + ImGuiDataType.U64, + ref data, + step, + stepFast, + format.MoveOrDefault("%I64u"u8), + flags); + + public static bool InputULong( + ImU8String label, Span data, ulong step = 0, ulong stepFast = 0, ImU8String format = default, + ImGuiInputTextFlags flags = ImGuiInputTextFlags.None) => InputScalar( + label, + ImGuiDataType.U64, + data, + step, + stepFast, + format.MoveOrDefault("%I64u"u8), + flags); + + public static bool InputFloat( + ImU8String label, scoped ref float data, float step = 0.0f, + float stepFast = 0.0f, + ImU8String format = default, + ImGuiInputTextFlags flags = ImGuiInputTextFlags.None) => + InputScalar(label, ImGuiDataType.Float, ref data, step, stepFast, format.MoveOrDefault("%.3f"u8), flags); + + public static bool InputFloat( + ImU8String label, Span data, float step = 0.0f, + float stepFast = 0.0f, + ImU8String format = default, + ImGuiInputTextFlags flags = ImGuiInputTextFlags.None) => + InputScalar(label, ImGuiDataType.Float, data, step, stepFast, format.MoveOrDefault("%.3f"u8), flags); + + public static bool InputFloat2( + ImU8String label, scoped ref Vector2 data, float step = 0.0f, + float stepFast = 0.0f, + ImU8String format = default, + ImGuiInputTextFlags flags = ImGuiInputTextFlags.None) => + InputScalar( + label, + ImGuiDataType.Float, + MemoryMarshal.Cast(new(ref data)), + step, + stepFast, + format.MoveOrDefault("%.3f"u8), + flags); + + public static bool InputFloat3( + ImU8String label, scoped ref Vector3 data, float step = 0.0f, + float stepFast = 0.0f, + ImU8String format = default, + ImGuiInputTextFlags flags = ImGuiInputTextFlags.None) => + InputScalar( + label, + ImGuiDataType.Float, + MemoryMarshal.Cast(new(ref data)), + step, + stepFast, + format.MoveOrDefault("%.3f"u8), + flags); + + public static bool InputFloat4( + ImU8String label, scoped ref Vector4 data, float step = 0.0f, + float stepFast = 0.0f, + ImU8String format = default, + ImGuiInputTextFlags flags = ImGuiInputTextFlags.None) => + InputScalar( + label, + ImGuiDataType.Float, + MemoryMarshal.Cast(new(ref data)), + step, + stepFast, + format.MoveOrDefault("%.3f"u8), + flags); + + public static bool InputDouble( + ImU8String label, scoped ref double data, double step = 0.0f, + double stepFast = 0.0f, + ImU8String format = default, + ImGuiInputTextFlags flags = ImGuiInputTextFlags.None) => + InputScalar(label, ImGuiDataType.Double, ref data, step, stepFast, format.MoveOrDefault("%.3f"u8), flags); + + public static bool InputDouble( + ImU8String label, Span data, double step = 0.0f, + double stepFast = 0.0f, + ImU8String format = default, + ImGuiInputTextFlags flags = ImGuiInputTextFlags.None) => + InputScalar(label, ImGuiDataType.Double, data, step, stepFast, format.MoveOrDefault("%.3f"u8), flags); + + public static bool InputScalar( + ImU8String label, ImGuiDataType dataType, scoped ref T data, + scoped in T step, scoped in T stepFast, + ImU8String format = default, + ImGuiInputTextFlags flags = ImGuiInputTextFlags.None) + where T : unmanaged, IBinaryNumber + { + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + fixed (byte* formatPtr = &format.GetPinnableNullTerminatedReference()) + fixed (T* dataPtr = &data) + fixed (T* stepPtr = &step) + fixed (T* stepFastPtr = &stepFast) + { + var res = ImGuiNative.InputScalar( + labelPtr, + dataType, + dataPtr, + stepPtr, + stepFastPtr, + formatPtr, + flags) != 0; + label.Dispose(); + format.Dispose(); + return res; + } + } + + public static bool InputScalar( + ImU8String label, ImGuiDataType dataType, Span data, + scoped in T step, scoped in T stepFast, + ImU8String format = default, + ImGuiInputTextFlags flags = ImGuiInputTextFlags.None) + where T : unmanaged, IBinaryNumber + { + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + fixed (byte* formatPtr = &format.GetPinnableNullTerminatedReference()) + fixed (T* dataPtr = data) + fixed (T* stepPtr = &step) + fixed (T* stepFastPtr = &stepFast) + { + var res = ImGuiNative.InputScalarN( + labelPtr, + dataType, + dataPtr, + data.Length, + stepPtr, + stepFastPtr, + formatPtr, + flags) != 0; + label.Dispose(); + format.Dispose(); + return res; + } + } + + public static bool InputScalar( + ImU8String label, scoped ref T data, + scoped in T step, scoped in T stepFast, + ImU8String format = default, + ImGuiInputTextFlags flags = ImGuiInputTextFlags.None) + where T : unmanaged, IBinaryNumber + { + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + fixed (byte* formatPtr = &format.GetPinnableNullTerminatedReference()) + fixed (T* dataPtr = &data) + fixed (T* stepPtr = &step) + fixed (T* stepFastPtr = &stepFast) + { + var res = ImGuiNative.InputScalar( + labelPtr, + GetImGuiDataType(), + dataPtr, + stepPtr, + stepFastPtr, + formatPtr, + flags) != 0; + label.Dispose(); + format.Dispose(); + return res; + } + } + + public static bool InputScalar( + ImU8String label, Span data, + scoped in T step, scoped in T stepFast, + ImU8String format = default, + ImGuiInputTextFlags flags = ImGuiInputTextFlags.None) + where T : unmanaged, IBinaryNumber + { + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + fixed (byte* formatPtr = &format.GetPinnableNullTerminatedReference()) + fixed (T* dataPtr = data) + fixed (T* stepPtr = &step) + fixed (T* stepFastPtr = &stepFast) + { + var res = ImGuiNative.InputScalarN( + labelPtr, + GetImGuiDataType(), + dataPtr, + data.Length, + stepPtr, + stepFastPtr, + formatPtr, + flags) != 0; + label.Dispose(); + format.Dispose(); + return res; + } + } + +} diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/ImGui.Manual.cs b/imgui/Dalamud.Bindings.ImGui/Custom/ImGui.Manual.cs new file mode 100644 index 000000000..7b0aefe97 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/ImGui.Manual.cs @@ -0,0 +1,463 @@ +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using System.Text; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial class ImGui +{ + public static Span DataTypeFormatString( + Span buf, ImGuiDataType dataType, T data, ImU8String format = default) + where T : unmanaged, IBinaryNumber + { + if (format.IsEmpty) + format = GetFormatSpecifierU8(dataType); + + if (sizeof(T) != GetImGuiDataTypeSize(dataType)) + { + throw new ArgumentOutOfRangeException( + nameof(dataType), + dataType, + $"Type indicated by {nameof(dataType)} does not match the type of {nameof(data)}."); + } + + fixed (byte* bufPtr = buf) + fixed (byte* formatPtr = &format.GetPinnableNullTerminatedReference()) + { + var len = ImGuiNative.DataTypeFormatString(bufPtr, buf.Length, dataType, &data, formatPtr); + format.Dispose(); + return buf[..len]; + } + } + + public static Span DataTypeFormatString(Span buf, T data, ImU8String format = default) + where T : unmanaged, IBinaryNumber => DataTypeFormatString(buf, GetImGuiDataType(), data, format); + + public static Span ImParseFormatTrimDecorations(ImU8String format, Span buf) + { + fixed (byte* formatPtr = &format.GetPinnableNullTerminatedReference()) + fixed (byte* bufPtr = buf) + ImGuiNative.ImParseFormatTrimDecorations(formatPtr, bufPtr, (nuint)buf.Length); + format.Dispose(); + var nul = buf.IndexOf((byte)0); + return nul == -1 ? buf : buf[..nul]; + } + + public static int ImTextStrFromUtf8( + Span outBuf, ReadOnlySpan inText, out ReadOnlySpan inRemaining) + { + fixed (char* outBufPtr = outBuf) + fixed (byte* inTextPtr = inText) + { + byte* inRemainingPtr; + var r = ImGuiNative.ImTextStrFromUtf8( + (ushort*)outBufPtr, + outBuf.Length, + inTextPtr, + inTextPtr + inText.Length, + &inRemainingPtr); + inRemaining = inText[(int)(inRemainingPtr - inTextPtr)..]; + return r; + } + } + + public static Span ImTextStrToUtf8(Span outBuf, ReadOnlySpan inText) + { + fixed (byte* outBufPtr = outBuf) + fixed (char* inTextPtr = inText) + { + return outBuf[..ImGuiNative.ImTextStrToUtf8( + outBufPtr, + outBuf.Length, + (ushort*)inTextPtr, + (ushort*)inTextPtr + inText.Length)]; + } + } + + public delegate int ImGuiInputTextCallbackDelegate(scoped ref ImGuiInputTextCallbackData data); + + public delegate int ImGuiInputTextCallbackRefContextDelegate( + scoped ref ImGuiInputTextCallbackData data, scoped ref TContext context); + + public delegate int ImGuiInputTextCallbackInContextDelegate( + scoped ref ImGuiInputTextCallbackData data, scoped in TContext context); + + public static bool InputText( + ImU8String label, Span buf, ImGuiInputTextFlags flags = ImGuiInputTextFlags.None, + ImGuiInputTextCallbackDelegate? callback = null) + { + if ((flags & (ImGuiInputTextFlags)ImGuiInputTextFlagsPrivate.Multiline) != ImGuiInputTextFlags.None) + throw new ArgumentOutOfRangeException(nameof(flags), flags, "Multiline must not be set"); + return InputTextEx(label, default, buf, default, flags, callback); + } + + public static bool InputText( + ImU8String label, Span buf, ImGuiInputTextFlags flags, + ImGuiInputTextCallbackRefContextDelegate callback, scoped ref TContext context) + { + if ((flags & (ImGuiInputTextFlags)ImGuiInputTextFlagsPrivate.Multiline) != ImGuiInputTextFlags.None) + throw new ArgumentOutOfRangeException(nameof(flags), flags, "Multiline must not be set"); + return InputTextEx(label, default, buf, default, flags, callback, ref context); + } + + public static bool InputText( + ImU8String label, Span buf, ImGuiInputTextFlags flags, + ImGuiInputTextCallbackInContextDelegate callback, scoped in TContext context) + { + if ((flags & (ImGuiInputTextFlags)ImGuiInputTextFlagsPrivate.Multiline) != ImGuiInputTextFlags.None) + throw new ArgumentOutOfRangeException(nameof(flags), flags, "Multiline must not be set"); + return InputTextEx(label, default, buf, default, flags, callback, in context); + } + + public static bool InputText( + ImU8String label, scoped ref string buf, int maxLength = ImU8String.AllocFreeBufferSize, + ImGuiInputTextFlags flags = ImGuiInputTextFlags.None, + ImGuiInputTextCallbackDelegate? callback = null) + { + var t = new ImU8String(buf); + t.Reserve(maxLength + 1); + var r = InputText(label, t.Buffer[..(maxLength + 1)], flags, callback); + var i = t.Buffer.IndexOf((byte)0); + buf = Encoding.UTF8.GetString(i == -1 ? t.Buffer : t.Buffer[..i]); + t.Dispose(); + return r; + } + + public static bool InputText( + ImU8String label, scoped ref string buf, int maxLength, ImGuiInputTextFlags flags, + ImGuiInputTextCallbackRefContextDelegate callback, scoped ref TContext context) + { + var t = new ImU8String(buf); + t.Reserve(maxLength + 1); + var r = InputText(label, t.Buffer[..(maxLength + 1)], flags, callback, ref context); + var i = t.Buffer.IndexOf((byte)0); + buf = Encoding.UTF8.GetString(i == -1 ? t.Buffer : t.Buffer[..i]); + t.Dispose(); + return r; + } + + public static bool InputText( + ImU8String label, scoped ref string buf, int maxLength, ImGuiInputTextFlags flags, + ImGuiInputTextCallbackInContextDelegate callback, scoped in TContext context) + { + var t = new ImU8String(buf); + t.Reserve(maxLength + 1); + var r = InputText(label, t.Buffer[..(maxLength + 1)], flags, callback, in context); + var i = t.Buffer.IndexOf((byte)0); + buf = Encoding.UTF8.GetString(i == -1 ? t.Buffer : t.Buffer[..i]); + t.Dispose(); + return r; + } + + public static bool InputTextEx( + ImU8String label, ImU8String hint, Span buf, Vector2 sizeArg = default, + ImGuiInputTextFlags flags = ImGuiInputTextFlags.None, ImGuiInputTextCallbackDelegate? callback = null) + { + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + fixed (byte* hintPtr = &hint.GetPinnableNullTerminatedReference()) + fixed (byte* bufPtr = buf) +#pragma warning disable CS8500 // This takes the address of, gets the size of, or declares a pointer to a managed type + { + var dataBuffer = PointerTuple.Create(&callback); +#pragma warning restore CS8500 // This takes the address of, gets the size of, or declares a pointer to a managed type + var r = ImGuiNative.InputTextEx( + labelPtr, + hintPtr, + bufPtr, + buf.Length, + sizeArg, + flags, + callback == null ? null : &InputTextCallbackStatic, + callback == null ? null : &dataBuffer) != 0; + label.Dispose(); + hint.Dispose(); + return r; + } + } + + public static bool InputTextEx( + ImU8String label, ImU8String hint, Span buf, Vector2 sizeArg, ImGuiInputTextFlags flags, + ImGuiInputTextCallbackRefContextDelegate callback, scoped ref TContext context) + { + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + fixed (byte* hintPtr = &hint.GetPinnableNullTerminatedReference()) + fixed (byte* bufPtr = buf) +#pragma warning disable CS8500 // This takes the address of, gets the size of, or declares a pointer to a managed type + fixed (TContext* contextPtr = &context) + { + var dataBuffer = PointerTuple.Create(&callback, contextPtr); +#pragma warning restore CS8500 // This takes the address of, gets the size of, or declares a pointer to a managed type + var r = ImGuiNative.InputTextEx( + labelPtr, + hintPtr, + bufPtr, + buf.Length, + sizeArg, + flags, + &InputTextCallbackRefContextStatic, + &dataBuffer) != 0; + label.Dispose(); + hint.Dispose(); + return r; + } + } + + public static bool InputTextEx( + ImU8String label, ImU8String hint, Span buf, Vector2 sizeArg, ImGuiInputTextFlags flags, + ImGuiInputTextCallbackInContextDelegate callback, scoped in TContext context) + { + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + fixed (byte* hintPtr = &hint.GetPinnableNullTerminatedReference()) + fixed (byte* bufPtr = buf) +#pragma warning disable CS8500 // This takes the address of, gets the size of, or declares a pointer to a managed type + fixed (TContext* contextPtr = &context) + { + var dataBuffer = PointerTuple.Create(&callback, contextPtr); +#pragma warning restore CS8500 // This takes the address of, gets the size of, or declares a pointer to a managed type + var r = ImGuiNative.InputTextEx( + labelPtr, + hintPtr, + bufPtr, + buf.Length, + sizeArg, + flags, + &InputTextCallbackInContextStatic, + &dataBuffer) != 0; + label.Dispose(); + hint.Dispose(); + return r; + } + } + + public static bool InputTextEx( + ImU8String label, ImU8String hint, scoped ref string buf, int maxLength = ImU8String.AllocFreeBufferSize, + Vector2 sizeArg = default, + ImGuiInputTextFlags flags = ImGuiInputTextFlags.None, + ImGuiInputTextCallbackDelegate? callback = null) + { + var t = new ImU8String(buf); + t.Reserve(maxLength + 1); + var r = InputTextEx(label, hint, t.Buffer[..(maxLength + 1)], sizeArg, flags, callback); + var i = t.Buffer.IndexOf((byte)0); + buf = Encoding.UTF8.GetString(i == -1 ? t.Buffer : t.Buffer[..i]); + t.Dispose(); + return r; + } + + public static bool InputTextEx( + ImU8String label, ImU8String hint, scoped ref string buf, int maxLength, Vector2 sizeArg, + ImGuiInputTextFlags flags, + ImGuiInputTextCallbackRefContextDelegate callback, scoped ref TContext context) + { + var t = new ImU8String(buf); + t.Reserve(maxLength + 1); + var r = InputTextEx(label, hint, t.Buffer[..(maxLength + 1)], sizeArg, flags, callback, ref context); + var i = t.Buffer.IndexOf((byte)0); + buf = Encoding.UTF8.GetString(i == -1 ? t.Buffer : t.Buffer[..i]); + t.Dispose(); + return r; + } + + public static bool InputTextEx( + ImU8String label, ImU8String hint, scoped ref string buf, int maxLength, Vector2 sizeArg, + ImGuiInputTextFlags flags, + ImGuiInputTextCallbackInContextDelegate callback, scoped in TContext context) + { + var t = new ImU8String(buf); + t.Reserve(maxLength + 1); + var r = InputTextEx(label, hint, t.Buffer[..(maxLength + 1)], sizeArg, flags, callback, in context); + var i = t.Buffer.IndexOf((byte)0); + buf = Encoding.UTF8.GetString(i == -1 ? t.Buffer : t.Buffer[..i]); + t.Dispose(); + return r; + } + + public static bool InputTextMultiline( + ImU8String label, Span buf, Vector2 size = default, ImGuiInputTextFlags flags = ImGuiInputTextFlags.None, + ImGuiInputTextCallbackDelegate? callback = null) => + InputTextEx( + label, + default, + buf, + size, + flags | (ImGuiInputTextFlags)ImGuiInputTextFlagsPrivate.Multiline, + callback); + + public static bool InputTextMultiline( + ImU8String label, Span buf, Vector2 size, ImGuiInputTextFlags flags, + ImGuiInputTextCallbackRefContextDelegate callback, scoped ref TContext context) => + InputTextEx( + label, + default, + buf, + size, + flags | (ImGuiInputTextFlags)ImGuiInputTextFlagsPrivate.Multiline, + callback, + ref context); + + public static bool InputTextMultiline( + ImU8String label, Span buf, Vector2 size, ImGuiInputTextFlags flags, + ImGuiInputTextCallbackInContextDelegate callback, scoped in TContext context) => + InputTextEx( + label, + default, + buf, + size, + flags | (ImGuiInputTextFlags)ImGuiInputTextFlagsPrivate.Multiline, + callback, + in context); + + public static bool InputTextMultiline( + ImU8String label, scoped ref string buf, int maxLength = ImU8String.AllocFreeBufferSize, Vector2 size = default, + ImGuiInputTextFlags flags = ImGuiInputTextFlags.None, + ImGuiInputTextCallbackDelegate? callback = null) + { + var t = new ImU8String(buf); + t.Reserve(maxLength + 1); + var r = InputTextMultiline(label, t.Buffer[..(maxLength + 1)], size, flags, callback); + var i = t.Buffer.IndexOf((byte)0); + buf = Encoding.UTF8.GetString(i == -1 ? t.Buffer : t.Buffer[..i]); + t.Dispose(); + return r; + } + + public static bool InputTextMultiline( + ImU8String label, scoped ref string buf, int maxLength, Vector2 size, ImGuiInputTextFlags flags, + ImGuiInputTextCallbackRefContextDelegate callback, scoped ref TContext context) + { + var t = new ImU8String(buf); + t.Reserve(maxLength + 1); + var r = InputTextMultiline(label, t.Buffer[..(maxLength + 1)], size, flags, callback, ref context); + var i = t.Buffer.IndexOf((byte)0); + buf = Encoding.UTF8.GetString(i == -1 ? t.Buffer : t.Buffer[..i]); + t.Dispose(); + return r; + } + + public static bool InputTextMultiline( + ImU8String label, scoped ref string buf, int maxLength, Vector2 size, ImGuiInputTextFlags flags, + ImGuiInputTextCallbackInContextDelegate callback, scoped in TContext context) + { + var t = new ImU8String(buf); + t.Reserve(maxLength + 1); + var r = InputTextMultiline(label, t.Buffer[..(maxLength + 1)], size, flags, callback, in context); + var i = t.Buffer.IndexOf((byte)0); + buf = Encoding.UTF8.GetString(i == -1 ? t.Buffer : t.Buffer[..i]); + t.Dispose(); + return r; + } + + public static bool InputTextWithHint( + ImU8String label, ImU8String hint, Span buf, ImGuiInputTextFlags flags = ImGuiInputTextFlags.None, + ImGuiInputTextCallbackDelegate? callback = null) + { + if ((flags & (ImGuiInputTextFlags)ImGuiInputTextFlagsPrivate.Multiline) != ImGuiInputTextFlags.None) + throw new ArgumentOutOfRangeException(nameof(flags), flags, "Multiline must not be set"); + return InputTextEx(label, hint, buf, default, flags, callback); + } + + public static bool InputTextWithHint( + ImU8String label, ImU8String hint, Span buf, ImGuiInputTextFlags flags, + ImGuiInputTextCallbackRefContextDelegate callback, scoped ref TContext context) + { + if ((flags & (ImGuiInputTextFlags)ImGuiInputTextFlagsPrivate.Multiline) != ImGuiInputTextFlags.None) + throw new ArgumentOutOfRangeException(nameof(flags), flags, "Multiline must not be set"); + return InputTextEx(label, hint, buf, default, flags, callback, ref context); + } + + public static bool InputTextWithHint( + ImU8String label, ImU8String hint, Span buf, ImGuiInputTextFlags flags, + ImGuiInputTextCallbackInContextDelegate callback, scoped in TContext context) + { + if ((flags & (ImGuiInputTextFlags)ImGuiInputTextFlagsPrivate.Multiline) != ImGuiInputTextFlags.None) + throw new ArgumentOutOfRangeException(nameof(flags), flags, "Multiline must not be set"); + return InputTextEx(label, hint, buf, default, flags, callback, in context); + } + + public static bool InputTextWithHint( + ImU8String label, ImU8String hint, scoped ref string buf, int maxLength = ImU8String.AllocFreeBufferSize, + ImGuiInputTextFlags flags = ImGuiInputTextFlags.None, + ImGuiInputTextCallbackDelegate? callback = null) + { + var t = new ImU8String(buf); + t.Reserve(maxLength + 1); + var r = InputTextWithHint(label, hint, t.Buffer[..(maxLength + 1)], flags, callback); + var i = t.Buffer.IndexOf((byte)0); + buf = Encoding.UTF8.GetString(i == -1 ? t.Buffer : t.Buffer[..i]); + t.Dispose(); + return r; + } + + public static bool InputTextWithHint( + ImU8String label, ImU8String hint, scoped ref string buf, int maxLength, ImGuiInputTextFlags flags, + ImGuiInputTextCallbackRefContextDelegate callback, scoped ref TContext context) + { + var t = new ImU8String(buf); + t.Reserve(maxLength + 1); + var r = InputTextWithHint(label, hint, t.Buffer[..(maxLength + 1)], flags, callback, ref context); + var i = t.Buffer.IndexOf((byte)0); + buf = Encoding.UTF8.GetString(i == -1 ? t.Buffer : t.Buffer[..i]); + t.Dispose(); + return r; + } + + public static bool InputTextWithHint( + ImU8String label, ImU8String hint, scoped ref string buf, int maxLength, ImGuiInputTextFlags flags, + ImGuiInputTextCallbackInContextDelegate callback, scoped in TContext context) + { + var t = new ImU8String(buf); + t.Reserve(maxLength + 1); + var r = InputTextWithHint(label, hint, t.Buffer[..(maxLength + 1)], flags, callback, in context); + var i = t.Buffer.IndexOf((byte)0); + buf = Encoding.UTF8.GetString(i == -1 ? t.Buffer : t.Buffer[..i]); + t.Dispose(); + return r; + } + + public static bool TempInputText( + ImRect bb, uint id, ImU8String label, Span buf, ImGuiInputTextFlags flags = ImGuiInputTextFlags.None) + { + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + fixed (byte* bufPtr = buf) + { + var r = ImGuiNative.TempInputText(bb, id, labelPtr, bufPtr, buf.Length, flags) != 0; + label.Dispose(); + return r; + } + } + + public static bool TempInputText( + ImRect bb, uint id, ImU8String label, scoped ref string buf, int maxLength = ImU8String.AllocFreeBufferSize, + ImGuiInputTextFlags flags = ImGuiInputTextFlags.None) + { + var t = new ImU8String(buf); + t.Reserve(maxLength + 1); + var r = TempInputText(bb, id, label, t.Buffer[..(maxLength + 1)], flags); + var i = t.Buffer.IndexOf((byte)0); + buf = Encoding.UTF8.GetString(i == -1 ? t.Buffer : t.Buffer[..i]); + t.Dispose(); + return r; + } + + [UnmanagedCallersOnly(CallConvs = [typeof(CallConvCdecl)])] + private static int InputTextCallbackStatic(ImGuiInputTextCallbackData* data) + { + ref var dvps = ref PointerTuple.From(data->UserData); + return dvps.Item1.Invoke(ref *data); + } + + [UnmanagedCallersOnly(CallConvs = [typeof(CallConvCdecl)])] + private static int InputTextCallbackRefContextStatic(ImGuiInputTextCallbackData* data) + { + ref var dvps = ref PointerTuple.From, object>(data->UserData); + return dvps.Item1.Invoke(ref *data, ref dvps.Item2); + } + + [UnmanagedCallersOnly(CallConvs = [typeof(CallConvCdecl)])] + private static int InputTextCallbackInContextStatic(ImGuiInputTextCallbackData* data) + { + ref var dvps = ref PointerTuple.From, object>(data->UserData); + return dvps.Item1.Invoke(ref *data, in dvps.Item2); + } +} diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/ImGui.Misc.cs b/imgui/Dalamud.Bindings.ImGui/Custom/ImGui.Misc.cs new file mode 100644 index 000000000..957d72789 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/ImGui.Misc.cs @@ -0,0 +1,150 @@ +using System.Diagnostics.CodeAnalysis; +using System.Text; + +namespace Dalamud.Bindings.ImGui; + +[SuppressMessage("ReSharper", "InconsistentNaming")] +public static unsafe partial class ImGui +{ + public static void AddCallback( + ImDrawListPtr self, delegate* callback, void* callbackData = null) => + ImGuiNative.AddCallback(self, (delegate*)callback, callbackData); + + public static void AddCallback( + ImDrawListPtr self, delegate* callback, void* callbackData = null) => + ImGuiNative.AddCallback(self, (delegate*)callback, callbackData); + + public static void AddCallback(ImDrawListPtr self, ImDrawCallbackEnum presetCallback) + { + if (!Enum.IsDefined(presetCallback)) + throw new ArgumentOutOfRangeException(nameof(presetCallback), presetCallback, null); + ImGuiNative.AddCallback(self, (delegate*)(nint)presetCallback); + } + + public static ImGuiPayloadPtr AcceptDragDropPayload( + ImU8String type, ImGuiDragDropFlags flags = ImGuiDragDropFlags.None) + { + fixed (byte* typePtr = &type.GetPinnableNullTerminatedReference()) + { + var r = ImGuiNative.AcceptDragDropPayload(typePtr, flags); + type.Dispose(); + return r; + } + } + + public static ImFontPtr AddFontFromFileTTF( + ImFontAtlasPtr self, ImU8String filename, float sizePixels, ImFontConfigPtr fontCfg = default, + ushort* glyphRanges = null) + { + fixed (byte* filenamePtr = &filename.GetPinnableNullTerminatedReference()) + { + var r = ImGuiNative.AddFontFromFileTTF(self, filenamePtr, sizePixels, fontCfg, glyphRanges); + filename.Dispose(); + return r; + } + } + + public static ImFontPtr AddFontFromMemoryCompressedBase85TTF( + ImFontAtlasPtr self, ImU8String compressedFontDatabase85, float sizePixels, + ImFontConfigPtr fontCfg = default, ushort* glyphRanges = null) + { + fixed (byte* compressedFontDatabase85Ptr = &compressedFontDatabase85.GetPinnableNullTerminatedReference()) + { + var r = ImGuiNative.AddFontFromMemoryCompressedBase85TTF( + self, + compressedFontDatabase85Ptr, + sizePixels, + fontCfg, + glyphRanges); + compressedFontDatabase85.Dispose(); + return r; + } + } + + public static ImFontPtr AddFontFromMemoryCompressedTTF( + ImFontAtlasPtr self, ReadOnlySpan compressedFontData, float sizePixels, ImFontConfigPtr fontCfg = default, + ushort* glyphRanges = null) + { + fixed (byte* compressedFontPtr = compressedFontData) + return ImGuiNative.AddFontFromMemoryCompressedTTF( + self, + compressedFontPtr, + compressedFontData.Length, + sizePixels, + fontCfg, + glyphRanges); + } + + public static ImFontPtr AddFontFromMemoryTTF( + ImFontAtlasPtr self, ReadOnlySpan fontData, float sizePixels, ImFontConfigPtr fontCfg = default, + ushort* glyphRanges = null) + { + fixed (byte* fontDataPtr = fontData) + return ImGuiNative.AddFontFromMemoryTTF( + self, + fontDataPtr, + fontData.Length, + sizePixels, + fontCfg, + glyphRanges); + } + + public static void AddInputCharacter(ImGuiIOPtr self, char c) => ImGuiNative.AddInputCharacter(self, c); + public static void AddInputCharacter(ImGuiIOPtr self, Rune c) => ImGuiNative.AddInputCharacter(self, (uint)c.Value); + public static void AddInputCharacters(ImGuiIOPtr self, ImU8String str) + { + fixed (byte* strPtr = &str.GetPinnableNullTerminatedReference()) + ImGuiNative.AddInputCharactersUTF8(self.Handle, strPtr); + str.Dispose(); + } + + public static ref bool GetBoolRef(ImGuiStoragePtr self, uint key, bool defaultValue = false) => + ref *ImGuiNative.GetBoolRef(self.Handle, key, defaultValue ? (byte)1 : (byte)0); + + public static ref float GetFloatRef(ImGuiStoragePtr self, uint key, float defaultValue = 0.0f) => + ref *ImGuiNative.GetFloatRef(self.Handle, key, defaultValue); + + public static ref int GetIntRef(ImGuiStoragePtr self, uint key, int defaultValue = 0) => + ref *ImGuiNative.GetIntRef(self.Handle, key, defaultValue); + + public static ref void* GetVoidPtrRef(ImGuiStoragePtr self, uint key, void* defaultValue = null) => + ref *ImGuiNative.GetVoidPtrRef(self.Handle, key, defaultValue); + + public static ref T* GetPtrRef(ImGuiStoragePtr self, uint key, T* defaultValue = null) where T : unmanaged => + ref *(T**)ImGuiNative.GetVoidPtrRef(self.Handle, key, defaultValue); + + public static ref T GetRef(ImGuiStoragePtr self, uint key, T defaultValue = default) where T : unmanaged + { + if (sizeof(T) > sizeof(void*)) throw new ArgumentOutOfRangeException(nameof(T), typeof(T), null); + return ref *(T*)ImGuiNative.GetVoidPtrRef(self.Handle, key, *(void**)&defaultValue); + } + + public static uint GetID(ImU8String strId) + { + fixed (byte* strIdPtr = strId.Span) + { + var r = ImGuiNative.GetID(strIdPtr, strIdPtr + strId.Length); + strId.Dispose(); + return r; + } + } + + public static uint GetID(nint ptrId) => ImGuiNative.GetID((void*)ptrId); + public static uint GetID(nuint ptrId) => ImGuiNative.GetID((void*)ptrId); + public static uint GetID(void* ptrId) => ImGuiNative.GetID(ptrId); + + public static void PushID(ImU8String strId) + { + fixed (byte* strIdPtr = strId.Span) + { + ImGuiNative.PushID(strIdPtr, strIdPtr + strId.Length); + strId.Dispose(); + } + } + + public static void PushID(nint ptrId) => ImGuiNative.PushID((void*)ptrId); + public static void PushID(nuint ptrId) => ImGuiNative.PushID((void*)ptrId); + + public static void PushID(void* ptrId) => + ImGuiNative.PushID(ptrId); +} diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/ImGui.Plot.cs b/imgui/Dalamud.Bindings.ImGui/Custom/ImGui.Plot.cs new file mode 100644 index 000000000..69b3b7dbe --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/ImGui.Plot.cs @@ -0,0 +1,268 @@ +using System.Diagnostics.CodeAnalysis; +using System.Numerics; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +[SuppressMessage("ReSharper", "InconsistentNaming")] +public static unsafe partial class ImGui +{ + public delegate float GetFloatDelegate(int index); + + public delegate float GetFloatInContextDelegate(scoped in T context, int index) where T : allows ref struct; + + public delegate float GetFloatRefContextDelegate(scoped ref T context, int index) where T : allows ref struct; + + public static void PlotHistogram( + ImU8String label, ReadOnlySpan values, int valuesOffset = 0, ImU8String overlayText = default, + float scaleMin = float.MaxValue, float scaleMax = float.MaxValue, Vector2 graphSize = default, + int stride = sizeof(float)) + { + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + fixed (float* valuesPtr = values) + fixed (byte* overlayTextPtr = &overlayText.GetPinnableNullTerminatedReference()) + { + ImGuiNative.PlotHistogram( + labelPtr, + valuesPtr, + values.Length, + valuesOffset, + overlayTextPtr, + scaleMin, + scaleMax, + graphSize, + stride); + } + + label.Dispose(); + overlayText.Dispose(); + } + + public static void PlotHistogram( + ImU8String label, GetFloatRefContextDelegate valuesGetter, scoped ref TContext context, + int valuesCount, + int valuesOffset = 0, ImU8String overlayText = default, float scaleMin = float.MaxValue, + float scaleMax = float.MaxValue, Vector2 graphSize = default) + { + var dataBuffer = stackalloc void*[2]; + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + fixed (byte* overlayTextPtr = &overlayText.GetPinnableNullTerminatedReference()) +#pragma warning disable CS8500 // This takes the address of, gets the size of, or declares a pointer to a managed type + fixed (TContext* contextPtr = &context) + { + dataBuffer[0] = &valuesGetter; + dataBuffer[1] = contextPtr; +#pragma warning restore CS8500 // This takes the address of, gets the size of, or declares a pointer to a managed type + ImGuiNative.PlotHistogram( + labelPtr, + (delegate*, void*, int, int, byte*, float, float, Vector2, float>) + (nint)(delegate* unmanaged)&GetFloatRefContextStatic, + dataBuffer, + valuesCount, + valuesOffset, + overlayTextPtr, + scaleMin, + scaleMax, + graphSize); + } + + label.Dispose(); + overlayText.Dispose(); + } + + public static void PlotHistogram( + ImU8String label, GetFloatInContextDelegate valuesGetter, scoped in TContext context, int valuesCount, + int valuesOffset = 0, ImU8String overlayText = default, float scaleMin = float.MaxValue, + float scaleMax = float.MaxValue, Vector2 graphSize = default) + { + var dataBuffer = stackalloc void*[2]; + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + fixed (byte* overlayTextPtr = &overlayText.GetPinnableNullTerminatedReference()) +#pragma warning disable CS8500 // This takes the address of, gets the size of, or declares a pointer to a managed type + fixed (TContext* contextPtr = &context) + { + dataBuffer[0] = &valuesGetter; + dataBuffer[1] = contextPtr; +#pragma warning restore CS8500 // This takes the address of, gets the size of, or declares a pointer to a managed type + ImGuiNative.PlotHistogram( + labelPtr, + (delegate*, void*, int, int, byte*, float, float, Vector2, float>) + (nint)(delegate* unmanaged)&GetFloatInContextStatic, + dataBuffer, + valuesCount, + valuesOffset, + overlayTextPtr, + scaleMin, + scaleMax, + graphSize); + } + + label.Dispose(); + overlayText.Dispose(); + } + + public static void PlotHistogram( + ImU8String label, GetFloatDelegate valuesGetter, int valuesCount, + int valuesOffset = 0, ImU8String overlayText = default, float scaleMin = float.MaxValue, + float scaleMax = float.MaxValue, Vector2 graphSize = default) + { + var dataBuffer = stackalloc void*[1]; + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + fixed (byte* overlayTextPtr = &overlayText.GetPinnableNullTerminatedReference()) +#pragma warning disable CS8500 // This takes the address of, gets the size of, or declares a pointer to a managed type + { + dataBuffer[0] = &valuesGetter; +#pragma warning restore CS8500 // This takes the address of, gets the size of, or declares a pointer to a managed type + ImGuiNative.PlotHistogram( + labelPtr, + (delegate*, void*, int, int, byte*, float, float, Vector2, float>) + (nint)(delegate* unmanaged)&GetFloatStatic, + dataBuffer, + valuesCount, + valuesOffset, + overlayTextPtr, + scaleMin, + scaleMax, + graphSize); + } + + label.Dispose(); + overlayText.Dispose(); + } + + public static void PlotLines( + ImU8String label, ReadOnlySpan values, int valuesOffset = 0, ImU8String overlayText = default, + float scaleMin = float.MaxValue, float scaleMax = float.MaxValue, Vector2 graphSize = default, + int stride = sizeof(float)) + { + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + fixed (float* valuesPtr = values) + fixed (byte* overlayTextPtr = &overlayText.GetPinnableNullTerminatedReference()) + { + ImGuiNative.PlotLines( + labelPtr, + valuesPtr, + values.Length, + valuesOffset, + overlayTextPtr, + scaleMin, + scaleMax, + graphSize, + stride); + } + + label.Dispose(); + overlayText.Dispose(); + } + + public static void PlotLines( + ImU8String label, GetFloatInContextDelegate valuesGetter, scoped in TContext context, int valuesCount, + int valuesOffset = 0, ImU8String overlayText = default, float scaleMin = float.MaxValue, + float scaleMax = float.MaxValue, Vector2 graphSize = default) + { + var dataBuffer = stackalloc void*[2]; + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + fixed (byte* overlayTextPtr = &overlayText.GetPinnableNullTerminatedReference()) +#pragma warning disable CS8500 // This takes the address of, gets the size of, or declares a pointer to a managed type + fixed (TContext* contextPtr = &context) + { + dataBuffer[0] = &valuesGetter; + dataBuffer[1] = contextPtr; +#pragma warning restore CS8500 // This takes the address of, gets the size of, or declares a pointer to a managed type + ImGuiNative.PlotLines( + labelPtr, + (delegate*, void*, int, int, byte*, float, float, Vector2, float>) + (nint)(delegate* unmanaged)&GetFloatInContextStatic, + dataBuffer, + valuesCount, + valuesOffset, + overlayTextPtr, + scaleMin, + scaleMax, + graphSize); + } + + label.Dispose(); + overlayText.Dispose(); + } + + public static void PlotLines( + ImU8String label, GetFloatRefContextDelegate valuesGetter, scoped in TContext context, + int valuesCount, + int valuesOffset = 0, ImU8String overlayText = default, float scaleMin = float.MaxValue, + float scaleMax = float.MaxValue, Vector2 graphSize = default) + { + var dataBuffer = stackalloc void*[2]; + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + fixed (byte* overlayTextPtr = &overlayText.GetPinnableNullTerminatedReference()) +#pragma warning disable CS8500 // This takes the address of, gets the size of, or declares a pointer to a managed type + fixed (TContext* contextPtr = &context) + { + dataBuffer[0] = &valuesGetter; + dataBuffer[1] = contextPtr; +#pragma warning restore CS8500 // This takes the address of, gets the size of, or declares a pointer to a managed type + ImGuiNative.PlotLines( + labelPtr, + (delegate*, void*, int, int, byte*, float, float, Vector2, float>) + (nint)(delegate* unmanaged)&GetFloatRefContextStatic, + dataBuffer, + valuesCount, + valuesOffset, + overlayTextPtr, + scaleMin, + scaleMax, + graphSize); + } + + label.Dispose(); + overlayText.Dispose(); + } + + public static void PlotLines( + ImU8String label, GetFloatDelegate valuesGetter, int valuesCount, + int valuesOffset = 0, ImU8String overlayText = default, float scaleMin = float.MaxValue, + float scaleMax = float.MaxValue, Vector2 graphSize = default) + { + var dataBuffer = stackalloc void*[1]; + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + fixed (byte* overlayTextPtr = &overlayText.GetPinnableNullTerminatedReference()) +#pragma warning disable CS8500 // This takes the address of, gets the size of, or declares a pointer to a managed type + { + dataBuffer[0] = &valuesGetter; +#pragma warning restore CS8500 // This takes the address of, gets the size of, or declares a pointer to a managed type + ImGuiNative.PlotLines( + labelPtr, + (delegate*, void*, int, int, byte*, float, float, Vector2, float>) + (nint)(delegate* unmanaged)&GetFloatStatic, + dataBuffer, + valuesCount, + valuesOffset, + overlayTextPtr, + scaleMin, + scaleMax, + graphSize); + } + + label.Dispose(); + overlayText.Dispose(); + } + +#pragma warning disable CS8500 // This takes the address of, gets the size of, or declares a pointer to a managed type + [UnmanagedCallersOnly] + internal static float GetFloatRefContextStatic(void* data, int index) + { + ref var pt = ref PointerTuple.From, object>(data); + return pt.Item1.Invoke(ref pt.Item2, index); + } + + [UnmanagedCallersOnly] + internal static float GetFloatInContextStatic(void* data, int index) + { + ref var pt = ref PointerTuple.From, object>(data); + return pt.Item1.Invoke(pt.Item2, index); + } + + [UnmanagedCallersOnly] + internal static float GetFloatStatic(void* data, int index) => + PointerTuple.From(data).Item1.Invoke(index); +} diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/ImGui.SliderScalar.cs b/imgui/Dalamud.Bindings.ImGui/Custom/ImGui.SliderScalar.cs new file mode 100644 index 000000000..e37eaec65 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/ImGui.SliderScalar.cs @@ -0,0 +1,474 @@ +using System.Diagnostics.CodeAnalysis; +using System.Numerics; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +[SuppressMessage("ReSharper", "InconsistentNaming")] +public static unsafe partial class ImGui +{ + public static bool SliderSByte( + ImU8String label, scoped ref sbyte v, sbyte vMin = 0, sbyte vMax = 0, ImU8String format = default, + ImGuiSliderFlags flags = ImGuiSliderFlags.None) => SliderScalar( + label, + ImGuiDataType.S8, + ref v, + vMin, + vMax, + format.MoveOrDefault("%hhd"u8), + flags); + + public static bool SliderSByte( + ImU8String label, Span v, sbyte vMin = 0, sbyte vMax = 0, ImU8String format = default, + ImGuiSliderFlags flags = ImGuiSliderFlags.None) => SliderScalar( + label, + ImGuiDataType.S8, + v, + vMin, + vMax, + format.MoveOrDefault("%hhd"u8), + flags); + + public static bool SliderByte( + ImU8String label, scoped ref byte v, byte vMin = 0, byte vMax = 0, ImU8String format = default, + ImGuiSliderFlags flags = ImGuiSliderFlags.None) => SliderScalar( + label, + ImGuiDataType.U8, + ref v, + vMin, + vMax, + format.MoveOrDefault("%hhu"u8), + flags); + + public static bool SliderByte( + ImU8String label, Span v, byte vMin = 0, byte vMax = 0, ImU8String format = default, + ImGuiSliderFlags flags = ImGuiSliderFlags.None) => SliderScalar( + label, + ImGuiDataType.U8, + v, + vMin, + vMax, + format.MoveOrDefault("%hhu"u8), + flags); + + public static bool SliderShort( + ImU8String label, scoped ref short v, short vMin = 0, short vMax = 0, ImU8String format = default, + ImGuiSliderFlags flags = ImGuiSliderFlags.None) => SliderScalar( + label, + ImGuiDataType.S16, + ref v, + vMin, + vMax, + format.MoveOrDefault("%hd"u8), + flags); + + public static bool SliderShort( + ImU8String label, Span v, short vMin = 0, short vMax = 0, ImU8String format = default, + ImGuiSliderFlags flags = ImGuiSliderFlags.None) => SliderScalar( + label, + ImGuiDataType.S16, + v, + vMin, + vMax, + format.MoveOrDefault("%hd"u8), + flags); + + public static bool SliderUShort( + ImU8String label, scoped ref ushort v, ushort vMin = 0, ushort vMax = 0, ImU8String format = default, + ImGuiSliderFlags flags = ImGuiSliderFlags.None) => SliderScalar( + label, + ImGuiDataType.U16, + ref v, + vMin, + vMax, + format.MoveOrDefault("%hu"u8), + flags); + + public static bool SliderUShort( + ImU8String label, Span v, ushort vMin = 0, ushort vMax = 0, ImU8String format = default, + ImGuiSliderFlags flags = ImGuiSliderFlags.None) => SliderScalar( + label, + ImGuiDataType.U16, + v, + vMin, + vMax, + format.MoveOrDefault("%hu"u8), + flags); + + public static bool SliderInt( + ImU8String label, scoped ref int v, int vMin = 0, int vMax = 0, ImU8String format = default, + ImGuiSliderFlags flags = ImGuiSliderFlags.None) => SliderScalar( + label, + ImGuiDataType.S32, + ref v, + vMin, + vMax, + format.MoveOrDefault("%d"u8), + flags); + + public static bool SliderInt( + ImU8String label, Span v, int vMin = 0, int vMax = 0, ImU8String format = default, + ImGuiSliderFlags flags = ImGuiSliderFlags.None) => SliderScalar( + label, + ImGuiDataType.S32, + v, + vMin, + vMax, + format.MoveOrDefault("%d"u8), + flags); + + public static bool SliderUInt( + ImU8String label, scoped ref uint v, uint vMin = 0, uint vMax = 0, ImU8String format = default, + ImGuiSliderFlags flags = ImGuiSliderFlags.None) => SliderScalar( + label, + ImGuiDataType.U32, + ref v, + vMin, + vMax, + format.MoveOrDefault("%u"u8), + flags); + + public static bool SliderUInt( + ImU8String label, Span v, uint vMin = 0, uint vMax = 0, ImU8String format = default, + ImGuiSliderFlags flags = ImGuiSliderFlags.None) => SliderScalar( + label, + ImGuiDataType.U32, + v, + vMin, + vMax, + format.MoveOrDefault("%u"u8), + flags); + + public static bool SliderLong( + ImU8String label, scoped ref long v, long vMin = 0, long vMax = 0, ImU8String format = default, + ImGuiSliderFlags flags = ImGuiSliderFlags.None) => SliderScalar( + label, + ImGuiDataType.S64, + ref v, + vMin, + vMax, + format.MoveOrDefault("%I64d"u8), + flags); + + public static bool SliderLong( + ImU8String label, Span v, long vMin = 0, long vMax = 0, ImU8String format = default, + ImGuiSliderFlags flags = ImGuiSliderFlags.None) => SliderScalar( + label, + ImGuiDataType.S64, + v, + vMin, + vMax, + format.MoveOrDefault("%I64d"u8), + flags); + + public static bool SliderULong( + ImU8String label, scoped ref ulong v, ulong vMin = 0, ulong vMax = 0, ImU8String format = default, + ImGuiSliderFlags flags = ImGuiSliderFlags.None) => SliderScalar( + label, + ImGuiDataType.U64, + ref v, + vMin, + vMax, + format.MoveOrDefault("%I64u"u8), + flags); + + public static bool SliderULong( + ImU8String label, Span v, ulong vMin = 0, ulong vMax = 0, ImU8String format = default, + ImGuiSliderFlags flags = ImGuiSliderFlags.None) => SliderScalar( + label, + ImGuiDataType.U64, + v, + vMin, + vMax, + format.MoveOrDefault("%I64u"u8), + flags); + + public static bool SliderFloat( + ImU8String label, scoped ref float v, float vMin = 0.0f, float vMax = 0.0f, ImU8String format = default, + ImGuiSliderFlags flags = ImGuiSliderFlags.None) => SliderScalar( + label, + ImGuiDataType.Float, + ref v, + vMin, + vMax, + format.MoveOrDefault("%.3f"u8), + flags); + + public static bool SliderFloat( + ImU8String label, Span v, float vMin = 0.0f, float vMax = 0.0f, ImU8String format = default, + ImGuiSliderFlags flags = ImGuiSliderFlags.None) => SliderScalar( + label, + ImGuiDataType.Float, + v, + vMin, + vMax, + format.MoveOrDefault("%.3f"u8), + flags); + + public static bool SliderFloat2( + ImU8String label, scoped ref Vector2 v, float vMin = 0.0f, float vMax = 0.0f, + ImU8String format = default, ImGuiSliderFlags flags = ImGuiSliderFlags.None) => SliderScalar( + label, + ImGuiDataType.Float, + MemoryMarshal.Cast(new(ref v)), + vMin, + vMax, + format.MoveOrDefault("%.3f"u8), + flags); + + public static bool SliderFloat3( + ImU8String label, scoped ref Vector3 v, float vMin = 0.0f, float vMax = 0.0f, + ImU8String format = default, ImGuiSliderFlags flags = ImGuiSliderFlags.None) => + SliderScalar( + label, + ImGuiDataType.Float, + MemoryMarshal.Cast(new(ref v)), + vMin, + vMax, + format.MoveOrDefault("%.3f"u8), + flags); + + public static bool SliderFloat4( + ImU8String label, scoped ref Vector4 v, float vMin = 0.0f, + float vMax = 0.0f, + ImU8String format = default, + ImGuiSliderFlags flags = ImGuiSliderFlags.None) => + SliderScalar( + label, + ImGuiDataType.Float, + MemoryMarshal.Cast(new(ref v)), + vMin, + vMax, + format.MoveOrDefault("%.3f"u8), + flags); + + public static bool SliderDouble( + ImU8String label, scoped ref double v, double vMin = 0.0f, + double vMax = 0.0f, + ImU8String format = default, + ImGuiSliderFlags flags = ImGuiSliderFlags.None) => + SliderScalar(label, ImGuiDataType.Double, ref v, vMin, vMax, format.MoveOrDefault("%.3f"u8), flags); + + public static bool SliderDouble( + ImU8String label, Span v, double vMin = 0.0f, + double vMax = 0.0f, + ImU8String format = default, + ImGuiSliderFlags flags = ImGuiSliderFlags.None) => + SliderScalar(label, ImGuiDataType.Double, v, vMin, vMax, format.MoveOrDefault("%.3f"u8), flags); + + public static bool SliderScalar( + ImU8String label, ImGuiDataType dataType, scoped ref T v, + scoped in T vMin, scoped in T vMax, + ImU8String format = default, + ImGuiSliderFlags flags = ImGuiSliderFlags.None) + where T : unmanaged, IBinaryNumber + { + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + fixed (byte* formatPtr = &format.GetPinnableNullTerminatedReference()) + fixed (T* vPtr = &v) + fixed (T* vMinPtr = &vMin) + fixed (T* vMaxPtr = &vMax) + { + var res = ImGuiNative.SliderScalar( + labelPtr, + dataType, + vPtr, + vMinPtr, + vMaxPtr, + formatPtr, + flags) != 0; + label.Dispose(); + format.Dispose(); + return res; + } + } + + public static bool SliderScalar( + ImU8String label, ImGuiDataType dataType, Span v, scoped in T vMin, + scoped in T vMax, + ImU8String format = default, + ImGuiSliderFlags flags = ImGuiSliderFlags.None) + where T : unmanaged, INumber, IBinaryNumber + { + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + fixed (byte* formatPtr = &format.GetPinnableNullTerminatedReference()) + fixed (T* vPtr = v) + fixed (T* vMinPtr = &vMin) + fixed (T* vMaxPtr = &vMax) + { + var res = ImGuiNative.SliderScalarN( + labelPtr, + dataType, + vPtr, + v.Length, + vMinPtr, + vMaxPtr, + formatPtr, + flags) != 0; + label.Dispose(); + format.Dispose(); + return res; + } + } + + public static bool SliderScalar( + ImU8String label, scoped ref T v, + scoped in T vMin, scoped in T vMax, + ImU8String format = default, + ImGuiSliderFlags flags = ImGuiSliderFlags.None) + where T : unmanaged, IBinaryNumber + { + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + fixed (byte* formatPtr = &format.GetPinnableNullTerminatedReference()) + fixed (T* vPtr = &v) + fixed (T* vMinPtr = &vMin) + fixed (T* vMaxPtr = &vMax) + { + var res = ImGuiNative.SliderScalar( + labelPtr, + GetImGuiDataType(), + vPtr, + vMinPtr, + vMaxPtr, + formatPtr, + flags) != 0; + label.Dispose(); + format.Dispose(); + return res; + } + } + + public static bool SliderScalar( + ImU8String label, Span v, scoped in T vMin, + scoped in T vMax, + ImU8String format = default, + ImGuiSliderFlags flags = ImGuiSliderFlags.None) + where T : unmanaged, INumber, IBinaryNumber + { + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + fixed (byte* formatPtr = &format.GetPinnableNullTerminatedReference()) + fixed (T* vPtr = v) + fixed (T* vMinPtr = &vMin) + fixed (T* vMaxPtr = &vMax) + { + var res = ImGuiNative.SliderScalarN( + labelPtr, + GetImGuiDataType(), + vPtr, + v.Length, + vMinPtr, + vMaxPtr, + formatPtr, + flags) != 0; + label.Dispose(); + format.Dispose(); + return res; + } + } + + public static bool SliderAngle( + ImU8String label, ref float vRad, float vDegreesMin = -360.0f, + float vDegreesMax = +360.0f, + ImU8String format = default, + ImGuiSliderFlags flags = ImGuiSliderFlags.None) + { + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + fixed (byte* formatPtr = &format.GetPinnableNullTerminatedReference("%.0f deg"u8)) + fixed (float* vRadPtr = &vRad) + { + var res = ImGuiNative.SliderAngle( + labelPtr, + vRadPtr, + vDegreesMin, + vDegreesMax, + formatPtr, + flags) != 0; + label.Dispose(); + format.Dispose(); + return res; + } + } + + public static bool VSliderSByte( + ImU8String label, Vector2 size, scoped ref sbyte v, sbyte vMin, + sbyte vMax, ImU8String format = default, + ImGuiSliderFlags flags = ImGuiSliderFlags.None) => + VSliderScalar(label, size, ImGuiDataType.S8, ref v, vMin, vMax, format.MoveOrDefault("%hhd"), flags); + + public static bool VSliderByte( + ImU8String label, Vector2 size, scoped ref byte v, byte vMin, byte vMax, + ImU8String format = default, + ImGuiSliderFlags flags = ImGuiSliderFlags.None) => + VSliderScalar(label, size, ImGuiDataType.U8, ref v, vMin, vMax, format.MoveOrDefault("%hhu"), flags); + + public static bool VSliderShort( + ImU8String label, Vector2 size, scoped ref short v, short vMin, + short vMax, ImU8String format = default, + ImGuiSliderFlags flags = ImGuiSliderFlags.None) => + VSliderScalar(label, size, ImGuiDataType.S16, ref v, vMin, vMax, format.MoveOrDefault("%hd"), flags); + + public static bool VSliderUShort( + ImU8String label, Vector2 size, scoped ref ushort v, ushort vMin, + ushort vMax, + ImU8String format = default, + ImGuiSliderFlags flags = ImGuiSliderFlags.None) => + VSliderScalar(label, size, ImGuiDataType.U16, ref v, vMin, vMax, format.MoveOrDefault("%hu"), flags); + + public static bool VSliderInt( + ImU8String label, Vector2 size, scoped ref int v, int vMin, int vMax, + ImU8String format = default, + ImGuiSliderFlags flags = ImGuiSliderFlags.None) => + VSliderScalar(label, size, ImGuiDataType.S32, ref v, vMin, vMax, format.MoveOrDefault("%d"), flags); + + public static bool VSliderUInt( + ImU8String label, Vector2 size, scoped ref uint v, uint vMin, uint vMax, + ImU8String format = default, + ImGuiSliderFlags flags = ImGuiSliderFlags.None) => + VSliderScalar(label, size, ImGuiDataType.U32, ref v, vMin, vMax, format.MoveOrDefault("%u"), flags); + + public static bool VSliderLong( + ImU8String label, Vector2 size, scoped ref long v, long vMin, long vMax, + ImU8String format = default, + ImGuiSliderFlags flags = ImGuiSliderFlags.None) => + VSliderScalar(label, size, ImGuiDataType.S32, ref v, vMin, vMax, format.MoveOrDefault("%I64d"), flags); + + public static bool VSliderULong( + ImU8String label, Vector2 size, scoped ref ulong v, ulong vMin, + ulong vMax, ImU8String format = default, + ImGuiSliderFlags flags = ImGuiSliderFlags.None) => + VSliderScalar(label, size, ImGuiDataType.U32, ref v, vMin, vMax, format.MoveOrDefault("%I64u"), flags); + + public static bool VSliderFloat( + ImU8String label, Vector2 size, scoped ref float v, float vMin, + float vMax, ImU8String format = default, + ImGuiSliderFlags flags = ImGuiSliderFlags.None) => + VSliderScalar(label, size, ImGuiDataType.Float, ref v, vMin, vMax, format.MoveOrDefault("%.03f"), flags); + + public static bool VSliderDouble( + ImU8String label, Vector2 size, scoped ref double v, double vMin, + double vMax, + ImU8String format = default, + ImGuiSliderFlags flags = ImGuiSliderFlags.None) => + VSliderScalar(label, size, ImGuiDataType.Double, ref v, vMin, vMax, format.MoveOrDefault("%.03f"), flags); + + public static bool VSliderScalar( + ImU8String label, Vector2 size, ImGuiDataType dataType, + scoped ref T data, scoped in T min, scoped in T max, + ImU8String format = default, + ImGuiSliderFlags flags = ImGuiSliderFlags.None) + where T : unmanaged, IBinaryNumber + { + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + fixed (byte* formatPtr = &format.GetPinnableNullTerminatedReference()) + fixed (T* dataPtr = &data) + fixed (T* minPtr = &min) + fixed (T* maxPtr = &max) + { + var res = ImGuiNative.VSliderScalar(labelPtr, size, dataType, dataPtr, minPtr, maxPtr, formatPtr, flags) != + 0; + label.Dispose(); + format.Dispose(); + return res; + } + } +} diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/ImGui.StringReturns.cs b/imgui/Dalamud.Bindings.ImGui/Custom/ImGui.StringReturns.cs new file mode 100644 index 000000000..c6ba44ac1 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/ImGui.StringReturns.cs @@ -0,0 +1,73 @@ +using System.Diagnostics.CodeAnalysis; +using System.Runtime.InteropServices; +using System.Text; + +namespace Dalamud.Bindings.ImGui; + +[SuppressMessage("ReSharper", "InconsistentNaming")] +public unsafe partial class ImGui +{ + public static ReadOnlySpan GetVersionU8() => + MemoryMarshal.CreateReadOnlySpanFromNullTerminated(ImGuiNative.GetVersion()); + + public static ReadOnlySpan TableGetColumnNameU8(int columnN = -1) => + MemoryMarshal.CreateReadOnlySpanFromNullTerminated(ImGuiNative.TableGetColumnName(columnN)); + + public static ReadOnlySpan GetStyleColorNameU8(this ImGuiCol idx) => + MemoryMarshal.CreateReadOnlySpanFromNullTerminated(ImGuiNative.GetStyleColorName(idx)); + + public static ReadOnlySpan GetKeyNameU8(this ImGuiKey key) => + MemoryMarshal.CreateReadOnlySpanFromNullTerminated(ImGuiNative.GetKeyName(key)); + + public static ReadOnlySpan GetClipboardTextU8() => + MemoryMarshal.CreateReadOnlySpanFromNullTerminated(ImGuiNative.GetClipboardText()); + + public static ReadOnlySpan SaveIniSettingsToMemoryU8() + { + nuint len; + var ptr = ImGuiNative.SaveIniSettingsToMemory(&len); + return new(ptr, (int)len); + } + + public static ref byte begin(this ImGuiTextBufferPtr self) => ref *ImGuiNative.begin(self.Handle); + + public static ref byte begin(this in ImGuiTextBuffer self) + { + fixed (ImGuiTextBuffer* selfPtr = &self) + return ref *ImGuiNative.begin(selfPtr); + } + + public static ref byte end(this ImGuiTextBufferPtr self) => ref *ImGuiNative.end(self.Handle); + + public static ref byte end(this in ImGuiTextBuffer self) + { + fixed (ImGuiTextBuffer* selfPtr = &self) + return ref *ImGuiNative.end(selfPtr); + } + + public static ReadOnlySpan c_str(this ImGuiTextBufferPtr self) => self.Handle->c_str(); + + public static ReadOnlySpan c_str(this scoped in ImGuiTextBuffer self) + { + fixed (ImGuiTextBuffer* selfPtr = &self) + return MemoryMarshal.CreateReadOnlySpanFromNullTerminated(ImGuiNative.c_str(selfPtr)); + } + + public static ReadOnlySpan GetDebugNameU8(this ImFontPtr self) => + MemoryMarshal.CreateReadOnlySpanFromNullTerminated(ImGuiNative.GetDebugName(self.Handle)); + + public static ReadOnlySpan GetDebugNameU8(this scoped in ImFont self) + { + fixed (ImFont* selfPtr = &self) + return MemoryMarshal.CreateReadOnlySpanFromNullTerminated(ImGuiNative.GetDebugName(selfPtr)); + } + + public static string GetVersion() => Encoding.UTF8.GetString(GetVersionU8()); + public static string TableGetColumnName(int columnN = -1) => Encoding.UTF8.GetString(TableGetColumnNameU8(columnN)); + public static string GetStyleColorName(this ImGuiCol idx) => Encoding.UTF8.GetString(GetStyleColorNameU8(idx)); + public static string GetKeyName(this ImGuiKey key) => Encoding.UTF8.GetString(GetKeyNameU8(key)); + public static string GetClipboardText() => Encoding.UTF8.GetString(GetClipboardTextU8()); + public static string SaveIniSettingsToMemory() => Encoding.UTF8.GetString(SaveIniSettingsToMemoryU8()); + public static string GetDebugName(this ImFontPtr self) => Encoding.UTF8.GetString(GetDebugNameU8(self)); + public static string GetDebugName(this scoped in ImFont self) => Encoding.UTF8.GetString(GetDebugNameU8(self)); +} diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/ImGui.Text.cs b/imgui/Dalamud.Bindings.ImGui/Custom/ImGui.Text.cs new file mode 100644 index 000000000..4c8d7f7d0 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/ImGui.Text.cs @@ -0,0 +1,328 @@ +using System.Diagnostics.CodeAnalysis; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui; + +[SuppressMessage("ReSharper", "InconsistentNaming")] +public static unsafe partial class ImGui +{ + public static void AddText(ImFontGlyphRangesBuilderPtr self, ImU8String text) + { + fixed (byte* textPtr = text.Span) ImGuiNative.AddText(self.Handle, textPtr, textPtr + text.Length); + text.Dispose(); + } + + public static void AddText(ImDrawListPtr self, Vector2 pos, uint col, ImU8String text) + { + fixed (byte* textPtr = text.Span) ImGuiNative.AddText(self.Handle, pos, col, textPtr, textPtr + text.Length); + text.Dispose(); + } + + public static void AddText( + ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ImU8String text, float wrapWidth, + scoped in Vector4 cpuFineClipRect) + { + fixed (byte* textPtr = text.Span) + fixed (Vector4* cpuFineClipRectPtr = &cpuFineClipRect) + ImGuiNative.AddText( + self.Handle, + font, + fontSize, + pos, + col, + textPtr, + textPtr + text.Length, + wrapWidth, + cpuFineClipRectPtr); + text.Dispose(); + } + + public static void AddText( + ImDrawListPtr self, ImFontPtr font, float fontSize, Vector2 pos, uint col, ImU8String text, + float wrapWidth = 0f) + { + fixed (byte* textPtr = text.Span) + ImGuiNative.AddText(self.Handle, font, fontSize, pos, col, textPtr, textPtr + text.Length, wrapWidth, null); + text.Dispose(); + } + + public static void append(this ImGuiTextBufferPtr self, ImU8String str) + { + fixed (byte* strPtr = str.Span) ImGuiNative.append(self.Handle, strPtr, strPtr + str.Length); + str.Dispose(); + } + + public static void BulletText(ImU8String text) + { + ImGuiWindow* window = ImGuiP.GetCurrentWindow(); + if (window->SkipItems != 0) return; + scoped ref var g = ref *GetCurrentContext().Handle; + scoped ref readonly var style = ref g.Style; + var labelSize = CalcTextSize(text.Span); + var totalSize = new Vector2( + g.FontSize + (labelSize.X > 0.0f ? (labelSize.X + style.FramePadding.X * 2) : 0.0f), + labelSize.Y); // Empty text doesn't add padding + var pos = window->DC.CursorPos; + pos.Y += window->DC.CurrLineTextBaseOffset; + ImGuiP.ItemSize(totalSize, 0.0f); + var bb = new ImRect(pos, pos + totalSize); + if (!ImGuiP.ItemAdd(bb, 0)) + return; + + // Render + var textCol = GetColorU32(ImGuiCol.Text); + ImGuiP.RenderBullet( + window->DrawList, + bb.Min + new Vector2(style.FramePadding.X + g.FontSize * 0.5f, g.FontSize * 0.5f), + textCol); + ImGuiP.RenderText(bb.Min + new Vector2(g.FontSize + style.FramePadding.X * 2, 0.0f), text.Span, false); + } + + public static Vector2 CalcTextSize( + ImU8String text, bool hideTextAfterDoubleHash = false, float wrapWidth = -1.0f) + { + var @out = Vector2.Zero; + fixed (byte* textPtr = text.Span) + ImGuiNative.CalcTextSize( + &@out, + textPtr, + textPtr + text.Length, + hideTextAfterDoubleHash ? (byte)1 : (byte)0, + wrapWidth); + text.Dispose(); + return @out; + } + + public static Vector2 CalcTextSizeA( + ImFontPtr self, float size, float maxWidth, float wrapWidth, ImU8String text, out int remaining) + { + var @out = Vector2.Zero; + fixed (byte* textPtr = text.Span) + { + byte* remainingPtr = null; + ImGuiNative.CalcTextSizeA( + &@out, + self.Handle, + size, + maxWidth, + wrapWidth, + textPtr, + textPtr + text.Length, + &remainingPtr); + remaining = (int)(remainingPtr - textPtr); + } + + text.Dispose(); + return @out; + } + + public static int CalcWordWrapPositionA( + ImFontPtr font, float scale, ImU8String text, float wrapWidth) + { + fixed (byte* ptr = text.Span) + { + var r = + (int)(ImGuiNative.CalcWordWrapPositionA(font.Handle, scale, ptr, ptr + text.Length, wrapWidth) - ptr); + text.Dispose(); + return r; + } + } + + public static void InsertChars( + ImGuiInputTextCallbackDataPtr self, int pos, ImU8String text) + { + fixed (byte* ptr = text.Span) + ImGuiNative.InsertChars(self.Handle, pos, ptr, ptr + text.Length); + text.Dispose(); + } + + public static void LabelText( + ImU8String label, + ImU8String text) + { + var window = ImGuiP.GetCurrentWindow().Handle; + if (window->SkipItems != 0) + { + label.Dispose(); + text.Dispose(); + return; + } + + scoped ref var g = ref *GetCurrentContext().Handle; + scoped ref readonly var style = ref g.Style; + var w = CalcItemWidth(); + + var valueSize = CalcTextSize(text); + var labelSize = CalcTextSize(label, true); + + var pos = window->DC.CursorPos; + var valueBb = new ImRect(pos, pos + new Vector2(w, valueSize.Y + style.FramePadding.Y * 2)); + var totalBb = new ImRect( + pos, + pos + new Vector2( + w + (labelSize.X > 0.0f ? style.ItemInnerSpacing.X + labelSize.X : 0.0f), + Math.Max(valueSize.Y, labelSize.Y) + style.FramePadding.Y * 2)); + ImGuiP.ItemSize(totalBb, style.FramePadding.Y); + if (!ImGuiP.ItemAdd(totalBb, 0)) + { + label.Dispose(); + text.Dispose(); + return; + } + + // Render + ImGuiP.RenderTextClipped(valueBb.Min + style.FramePadding, valueBb.Max, text.Span, valueSize, new(0.0f, 0.0f)); + if (labelSize.X > 0.0f) + { + ImGuiP.RenderText( + new(valueBb.Max.X + style.ItemInnerSpacing.X, valueBb.Min.Y + style.FramePadding.Y), + label.Span); + } + + label.Dispose(); + text.Dispose(); + } + + public static void LogText(ImU8String text) + { + var g = GetCurrentContext(); + if (!g.LogFile.IsNull) + { + g.LogBuffer.Buf.Resize(0); + append(&g.Handle->LogBuffer, text.Span); + fixed (byte* textPtr = text.Span) + ImGuiPNative.ImFileWrite(textPtr, 1, (ulong)text.Length, g.LogFile); + } + else + { + append(&g.Handle->LogBuffer, text); + } + + text.Dispose(); + } + + public static void PassFilter(ImGuiTextFilterPtr self, ImU8String text) + { + fixed (byte* textPtr = text.Span) + ImGuiNative.PassFilter(self.Handle, textPtr, textPtr + text.Length); + text.Dispose(); + } + + public static void RenderText( + ImFontPtr self, ImDrawListPtr drawList, float size, Vector2 pos, uint col, Vector4 clipRect, + ImU8String text, float wrapWidth = 0.0f, bool cpuFineClip = false) + { + fixed (byte* textPtr = text.Span) + ImGuiNative.RenderText( + self, + drawList, + size, + pos, + col, + clipRect, + textPtr, + textPtr + text.Length, + wrapWidth, + cpuFineClip ? (byte)1 : (byte)0); + text.Dispose(); + } + + public static void SetTooltip(ImU8String text) + { + ImGuiP.BeginTooltipEx(ImGuiTooltipFlags.OverridePreviousTooltip, ImGuiWindowFlags.None); + Text(text.Span); + EndTooltip(); + text.Dispose(); + } + + public static void Text(ImU8String text) + { + fixed (byte* ptr = text.Span) + ImGuiNative.TextUnformatted(ptr, ptr + text.Length); + text.Dispose(); + } + + public static void TextColored(uint col, ImU8String text) + { + PushStyleColor(ImGuiCol.Text, col); + Text(text.Span); + PopStyleColor(); + text.Dispose(); + } + + public static void TextColored(scoped in Vector4 col, ImU8String text) + { + PushStyleColor(ImGuiCol.Text, col); + Text(text.Span); + PopStyleColor(); + text.Dispose(); + } + + public static void TextDisabled(ImU8String text) + { + TextColored(*GetStyleColorVec4(ImGuiCol.TextDisabled), text.Span); + text.Dispose(); + } + + public static void TextUnformatted(ImU8String text) + { + Text(text.Span); + text.Dispose(); + } + + public static void TextWrapped(ImU8String text) + { + scoped ref var g = ref *GetCurrentContext().Handle; + var needBackup = g.CurrentWindow->DC.TextWrapPos < 0.0f; // Keep existing wrap position if one is already set + if (needBackup) + PushTextWrapPos(0.0f); + Text(text.Span); + if (needBackup) + PopTextWrapPos(); + text.Dispose(); + } + + public static bool TreeNode(ImU8String label) + { + var window = ImGuiP.GetCurrentWindow(); + if (window.SkipItems) + { + label.Dispose(); + return false; + } + + var res = ImGuiP.TreeNodeBehavior( + window.Handle->GetID(label.Span), + ImGuiTreeNodeFlags.None, + label.Span[..ImGuiP.FindRenderedTextEnd(label.Span, out _, out _)]); + label.Dispose(); + return res; + } + + public static bool TreeNodeEx( + ImU8String id, ImGuiTreeNodeFlags flags = ImGuiTreeNodeFlags.None, + ImU8String label = default) + { + var window = ImGuiP.GetCurrentWindow(); + bool res; + if (window.SkipItems) + { + res = false; + } + else if (label.IsNull) + { + res = ImGuiP.TreeNodeBehavior( + window.Handle->GetID(id.Span), + flags, + id.Span[..ImGuiP.FindRenderedTextEnd(id.Span, out _, out _)]); + } + else + { + res = ImGuiP.TreeNodeBehavior(window.Handle->GetID(id.Span), flags, label.Span[..label.Length]); + } + + id.Dispose(); + label.Dispose(); + return res; + } +} diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/ImGui.Widgets.cs b/imgui/Dalamud.Bindings.ImGui/Custom/ImGui.Widgets.cs new file mode 100644 index 000000000..b72e96a63 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/ImGui.Widgets.cs @@ -0,0 +1,654 @@ +using System.Diagnostics.CodeAnalysis; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui; + +[SuppressMessage("ReSharper", "InconsistentNaming")] +public static unsafe partial class ImGui +{ + public static bool Begin(ImU8String name, ref bool open, ImGuiWindowFlags flags = ImGuiWindowFlags.None) + { + fixed (byte* namePtr = &name.GetPinnableNullTerminatedReference()) + fixed (bool* openPtr = &open) + { + var r = ImGuiNative.Begin(namePtr, openPtr, flags) != 0; + name.Dispose(); + return r; + } + } + + public static bool Begin(ImU8String name, ImGuiWindowFlags flags = ImGuiWindowFlags.None) + { + fixed (byte* namePtr = &name.GetPinnableNullTerminatedReference()) + { + var r = ImGuiNative.Begin(namePtr, null, flags) != 0; + name.Dispose(); + return r; + } + } + + public static bool BeginChild(ImU8String strId, Vector2 size = default, bool border = false, ImGuiWindowFlags flags = ImGuiWindowFlags.None) + { + fixed (byte* strIdPtr = &strId.GetPinnableNullTerminatedReference()) + { + var r = ImGuiNative.BeginChild(strIdPtr, size, border ? (byte)1 : (byte)0, flags) != 0; + strId.Dispose(); + return r; + } + } + + public static bool BeginChild(uint id, Vector2 size = default, bool border = false, ImGuiWindowFlags flags = ImGuiWindowFlags.None) => + ImGuiNative.BeginChild(id, size, border ? (byte)1 : (byte)0, flags) != 0; + + public static bool BeginCombo(ImU8String label, ImU8String previewValue, ImGuiComboFlags flags = ImGuiComboFlags.None) + { + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + fixed (byte* previewValuePtr = &previewValue.GetPinnableNullTerminatedReference()) + { + var r = ImGuiNative.BeginCombo(labelPtr, previewValuePtr, flags) != 0; + label.Dispose(); + previewValue.Dispose(); + return r; + } + } + + public static bool BeginListBox(ImU8String label, Vector2 size = default) + { + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + { + var r = ImGuiNative.BeginListBox(labelPtr, size) != 0; + label.Dispose(); + return r; + } + } + + public static bool BeginMenu(ImU8String label, bool enabled = true) + { + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + { + var r = ImGuiNative.BeginMenu(labelPtr, enabled ? (byte)1 : (byte)0) != 0; + label.Dispose(); + return r; + } + } + + public static bool BeginPopup(ImU8String strId, ImGuiWindowFlags flags = ImGuiWindowFlags.None) + { + fixed (byte* strIdPtr = &strId.GetPinnableNullTerminatedReference()) + { + var r = ImGuiNative.BeginPopup(strIdPtr, flags) != 0; + strId.Dispose(); + return r; + } + } + + public static bool BeginPopupContextItem(ImU8String strId, ImGuiPopupFlags popupFlags = ImGuiPopupFlags.MouseButtonDefault) + { + fixed (byte* strIdPtr = &strId.GetPinnableNullTerminatedReference()) + { + var r = ImGuiNative.BeginPopupContextItem(strIdPtr, popupFlags) != 0; + strId.Dispose(); + return r; + } + } + + public static bool BeginPopupContextWindow(ImU8String strId, ImGuiPopupFlags popupFlags = ImGuiPopupFlags.MouseButtonDefault) + { + fixed (byte* strIdPtr = &strId.GetPinnableNullTerminatedReference()) + { + var r = ImGuiNative.BeginPopupContextWindow(strIdPtr, popupFlags) != 0; + strId.Dispose(); + return r; + } + } + + public static bool BeginPopupContextVoid(ImU8String strId, ImGuiPopupFlags popupFlags = ImGuiPopupFlags.MouseButtonDefault) + { + fixed (byte* strIdPtr = &strId.GetPinnableNullTerminatedReference()) + { + var r = ImGuiNative.BeginPopupContextVoid(strIdPtr, popupFlags) != 0; + strId.Dispose(); + return r; + } + } + + public static bool BeginPopupModal( + ImU8String name, ref bool open, ImGuiWindowFlags flags = ImGuiWindowFlags.None) + { + fixed (byte* namePtr = &name.GetPinnableNullTerminatedReference()) + fixed (bool* openPtr = &open) + { + var r = ImGuiNative.BeginPopupModal(namePtr, openPtr, flags) != 0; + name.Dispose(); + return r; + } + } + + public static bool BeginPopupModal(ImU8String name, ImGuiWindowFlags flags = ImGuiWindowFlags.None) + { + fixed (byte* namePtr = &name.GetPinnableNullTerminatedReference()) + { + var r = ImGuiNative.BeginPopupModal(namePtr, null, flags) != 0; + name.Dispose(); + return r; + } + } + + public static bool BeginTabBar(ImU8String strId, ImGuiTabBarFlags flags = ImGuiTabBarFlags.None) + { + fixed (byte* strIdPtr = &strId.GetPinnableNullTerminatedReference()) + { + var r = ImGuiNative.BeginTabBar(strIdPtr, flags) != 0; + strId.Dispose(); + return r; + } + } + + public static bool BeginTabItem( + ImU8String label, ref bool pOpen, ImGuiTabItemFlags flags = ImGuiTabItemFlags.None) + { + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + fixed (bool* pOpenPtr = &pOpen) + { + var r = ImGuiNative.BeginTabItem(labelPtr, pOpenPtr, flags) != 0; + label.Dispose(); + return r; + } + } + + public static bool BeginTabItem(ImU8String label, ImGuiTabItemFlags flags = ImGuiTabItemFlags.None) + { + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + { + var r = ImGuiNative.BeginTabItem(labelPtr, null, flags) != 0; + label.Dispose(); + return r; + } + } + + public static bool BeginTable( + ImU8String strId, int column, ImGuiTableFlags flags = ImGuiTableFlags.None, Vector2 outerSize = default, + float innerWidth = 0.0f) + { + fixed (byte* strIdPtr = &strId.GetPinnableNullTerminatedReference()) + { + var r = ImGuiNative.BeginTable(strIdPtr, column, flags, outerSize, innerWidth) != 0; + strId.Dispose(); + return r; + } + } + + public static bool Button(ImU8String label, Vector2 size = default) + { + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + { + var r = ImGuiNative.Button(labelPtr, size) != 0; + label.Dispose(); + return r; + } + } + + public static bool Checkbox(ImU8String label, ref bool v) + { + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + fixed (bool* vPtr = &v) + { + var r = ImGuiNative.Checkbox(labelPtr, vPtr) != 0; + label.Dispose(); + return r; + } + } + + public static bool CheckboxFlags(ImU8String label, ref T flags, T flagsValue) + where T : IBinaryInteger + { + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + { + var allOn = (flags & flagsValue) == flagsValue; + var anyOn = !T.IsZero(flags & flagsValue); + bool pressed; + if (!allOn && anyOn) + { + var g = GetCurrentContext(); + var backupItemFlags = g.CurrentItemFlags; + g.CurrentItemFlags |= ImGuiItemFlags.MixedValue; + pressed = ImGuiNative.Checkbox(labelPtr, &allOn) != 0; + g.CurrentItemFlags = backupItemFlags; + } + else + { + pressed = ImGuiNative.Checkbox(labelPtr, &allOn) != 0; + } + + if (pressed) + { + if (allOn) + flags |= flagsValue; + else + flags &= ~flagsValue; + } + + label.Dispose(); + return pressed; + } + } + + public static bool CollapsingHeader( + ImU8String label, ref bool visible, ImGuiTreeNodeFlags flags = ImGuiTreeNodeFlags.None) + { + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + fixed (bool* visiblePtr = &visible) + { + var r = ImGuiNative.CollapsingHeader(labelPtr, visiblePtr, flags) != 0; + label.Dispose(); + return r; + } + } + + public static bool CollapsingHeader(ImU8String label, ImGuiTreeNodeFlags flags = ImGuiTreeNodeFlags.None) + { + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + { + var r = ImGuiNative.CollapsingHeader(labelPtr, null, flags) != 0; + label.Dispose(); + return r; + } + } + + public static bool ColorButton( + ImU8String descId, in Vector4 col, ImGuiColorEditFlags flags = ImGuiColorEditFlags.None, + Vector2 size = default) + { + fixed (byte* descIdPtr = &descId.GetPinnableNullTerminatedReference()) + { + var r = ImGuiNative.ColorButton(descIdPtr, col, flags, size) != 0; + descId.Dispose(); + return r; + } + } + + public static void Columns(int count = 1, ImU8String id = default, bool border = true) + { + fixed (byte* idPtr = &id.GetPinnableNullTerminatedReference()) + ImGuiNative.Columns(count, idPtr, border ? (byte)1 : (byte)0); + id.Dispose(); + } + + public static bool DebugCheckVersionAndDataLayout( + ImU8String versionStr, nuint szIo, nuint szStyle, nuint szVec2, nuint szVec4, nuint szDrawVert, + nuint szDrawIdx) + { + fixed (byte* versionPtr = &versionStr.GetPinnableNullTerminatedReference()) + { + var r = ImGuiNative.DebugCheckVersionAndDataLayout(versionPtr, szIo, szStyle, szVec2, szVec4, szDrawVert, szDrawIdx) != 0; + versionStr.Dispose(); + return r; + } + } + + public static void DebugTextEncoding(ImU8String text) + { + fixed (byte* textPtr = &text.GetPinnableNullTerminatedReference()) + { + ImGuiNative.DebugTextEncoding(textPtr); + text.Dispose(); + } + } + + public static bool Draw(ImGuiTextFilterPtr self, ImU8String label = default, float width = 0.0f) + { + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference("Filter (inc,-exc)"u8)) + { + var r = ImGuiNative.Draw(self.Handle, labelPtr, width) != 0; + label.Dispose(); + return r; + } + } + + public static ImGuiTextFilterPtr ImGuiTextFilter(ImU8String defaultFilter = default) + { + fixed (byte* defaultFilterPtr = &defaultFilter.GetPinnableNullTerminatedReference("\0"u8)) + { + var r = ImGuiNative.ImGuiTextFilter(defaultFilterPtr); + defaultFilter.Dispose(); + return r; + } + } + + public static ImGuiTextRangePtr ImGuiTextRange() => ImGuiNative.ImGuiTextRange(); + + public static ImGuiTextRangePtr ImGuiTextRange(ReadOnlySpan text) + { + fixed (byte* textPtr = text) + return ImGuiNative.ImGuiTextRange(textPtr, textPtr + text.Length); + } + + public static bool InvisibleButton( + ImU8String strId, Vector2 size, ImGuiButtonFlags flags = ImGuiButtonFlags.None) + { + fixed (byte* strIdPtr = &strId.GetPinnableNullTerminatedReference()) + { + var r = ImGuiNative.InvisibleButton(strIdPtr, size, flags) != 0; + strId.Dispose(); + return r; + } + } + + public static bool IsDataType(ImGuiPayloadPtr self, ImU8String type) + { + fixed (byte* typePtr = &type.GetPinnableNullTerminatedReference()) + { + var r = ImGuiNative.IsDataType(self.Handle, typePtr) != 0; + type.Dispose(); + return r; + } + } + + public static bool IsPopupOpen(ImU8String strId, ImGuiPopupFlags flags = ImGuiPopupFlags.None) + { + fixed (byte* strIdPtr = &strId.GetPinnableNullTerminatedReference()) + { + var r = ImGuiNative.IsPopupOpen(strIdPtr, flags) != 0; + strId.Dispose(); + return r; + } + } + + public static void LoadIniSettingsFromDisk(ImU8String iniFilename) + { + fixed (byte* iniFilenamePtr = &iniFilename.GetPinnableNullTerminatedReference()) + ImGuiNative.LoadIniSettingsFromDisk(iniFilenamePtr); + iniFilename.Dispose(); + } + + public static void LoadIniSettingsFromMemory(ImU8String iniData) + { + fixed (byte* iniDataPtr = iniData.Span) + ImGuiNative.LoadIniSettingsFromMemory(iniDataPtr, (nuint)iniData.Length); + iniData.Dispose(); + } + + public static void LogToFile(int autoOpenDepth = -1, ImU8String filename = default) + { + fixed (byte* filenamePtr = &filename.GetPinnableNullTerminatedReference()) + ImGuiNative.LogToFile(autoOpenDepth, filenamePtr); + filename.Dispose(); + } + + public static bool MenuItem( + ImU8String label, ImU8String shortcut, bool selected = false, bool enabled = true) + { + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + fixed (byte* shortcutPtr = &shortcut.GetPinnableNullTerminatedReference()) + { + var r = ImGuiNative.MenuItem(labelPtr, shortcutPtr, selected ? (byte)1 : (byte)0, enabled ? (byte)1 : (byte)0) != 0; + label.Dispose(); + shortcut.Dispose(); + return r; + } + } + + public static bool MenuItem(ImU8String label, ImU8String shortcut, ref bool selected, bool enabled = true) + { + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + fixed (byte* shortcutPtr = &shortcut.GetPinnableNullTerminatedReference()) + fixed (bool* selectedPtr = &selected) + { + var r = ImGuiNative.MenuItem(labelPtr, shortcutPtr, selectedPtr, enabled ? (byte)1 : (byte)0) != 0; + label.Dispose(); + shortcut.Dispose(); + return r; + } + } + + public static bool MenuItem(ImU8String label, ref bool selected, bool enabled = true) + { + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + fixed (bool* selectedPtr = &selected) + { + var r = ImGuiNative.MenuItem(labelPtr, null, selectedPtr, enabled ? (byte)1 : (byte)0) != 0; + label.Dispose(); + return r; + } + } + + public static bool MenuItem(ImU8String label, bool enabled = true) + { + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + { + var r = ImGuiNative.MenuItem(labelPtr, null, null, enabled ? (byte)1 : (byte)0) != 0; + label.Dispose(); + return r; + } + } + + public static void OpenPopup(ImU8String strId, ImGuiPopupFlags popupFlags = ImGuiPopupFlags.None) + { + fixed (byte* strIdPtr = &strId.GetPinnableNullTerminatedReference()) + ImGuiNative.OpenPopup(strIdPtr, popupFlags); + strId.Dispose(); + } + + public static void OpenPopup(uint id, ImGuiPopupFlags popupFlags = ImGuiPopupFlags.None) => ImGuiNative.OpenPopup(id, popupFlags); + + public static void OpenPopupOnItemClick( + ImU8String strId, ImGuiPopupFlags popupFlags = ImGuiPopupFlags.MouseButtonDefault) + { + fixed (byte* strIdPtr = &strId.GetPinnableNullTerminatedReference()) + ImGuiNative.OpenPopupOnItemClick(strIdPtr, popupFlags); + strId.Dispose(); + } + + public static void ProgressBar(float fraction, Vector2 sizeArg, ImU8String overlay = default) + { + fixed (byte* overlayPtr = &overlay.GetPinnableNullTerminatedReference()) + ImGuiNative.ProgressBar(fraction, sizeArg, overlayPtr); + overlay.Dispose(); + } + + public static void ProgressBar(float fraction, ImU8String overlay = default) + { + fixed (byte* overlayPtr = &overlay.GetPinnableNullTerminatedReference()) + ImGuiNative.ProgressBar(fraction, new(-float.MinValue, 0), overlayPtr); + overlay.Dispose(); + } + + public static bool RadioButton(ImU8String label, bool active) + { + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + { + var r = ImGuiNative.RadioButton(labelPtr, active ? (byte)1:(byte)0) != 0; + label.Dispose(); + return r; + } + } + + public static bool RadioButton(ImU8String label, ref T v, T vButton) + { + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + { + var pressed = ImGuiNative.RadioButton( + labelPtr, + EqualityComparer.Default.Equals(v, vButton) ? (byte)1 : (byte)0) != 0; + if (pressed) + v = vButton; + return pressed; + } + } + + public static void SaveIniSettingsToDisk(ImU8String iniFilename) + { + fixed (byte* iniPtr = &iniFilename.GetPinnableNullTerminatedReference()) + ImGuiNative.SaveIniSettingsToDisk(iniPtr); + } + + public static bool Selectable( + ImU8String label, bool selected = false, ImGuiSelectableFlags flags = ImGuiSelectableFlags.None, Vector2 size = default) + { + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + { + var r = ImGuiNative.Selectable(labelPtr, selected ?(byte)1:(byte)0, flags, size)!=0; + label.Dispose(); + return r; + } + } + + public static bool Selectable(ImU8String label, ref bool selected, ImGuiSelectableFlags flags = ImGuiSelectableFlags.None, Vector2 size = default) + { + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + fixed (bool* selectedPtr = &selected) + { + var r = ImGuiNative.Selectable(labelPtr, selectedPtr, flags, size)!=0; + label.Dispose(); + return r; + } + } + + public static void SetClipboardText(ImU8String text) + { + fixed (byte* textPtr = &text.GetPinnableNullTerminatedReference()) + ImGuiNative.SetClipboardText(textPtr); + text.Dispose(); + } + + public static bool SetDragDropPayload(ImU8String type, ReadOnlySpan data, ImGuiCond cond) + { + fixed (byte* typePtr = &type.GetPinnableNullTerminatedReference()) + fixed (byte* dataPtr = data) + { + var r = ImGuiNative.SetDragDropPayload(typePtr, dataPtr, (nuint)data.Length, cond)!=0; + type.Dispose(); + return r; + } + } + + public static void SetTabItemClosed(ImU8String tabOrDockedWindowLabel) + { + fixed (byte* tabItemPtr = &tabOrDockedWindowLabel.GetPinnableNullTerminatedReference()) + ImGuiNative.SetTabItemClosed(tabItemPtr); + tabOrDockedWindowLabel.Dispose(); + } + + public static void SetWindowCollapsed(bool collapsed, ImGuiCond cond = ImGuiCond.None) => ImGuiNative.SetWindowCollapsed(collapsed ? (byte)1 : (byte)0, cond); + + public static void SetWindowCollapsed(ImU8String name, bool collapsed, ImGuiCond cond = ImGuiCond.None) + { + fixed (byte* namePtr = &name.GetPinnableNullTerminatedReference()) + ImGuiNative.SetWindowCollapsed(namePtr, collapsed ? (byte)1 : (byte)0, cond); + name.Dispose(); + } + + public static void SetWindowFocus() => ImGuiNative.SetWindowFocus(); + + public static void SetWindowFocus(ImU8String name) + { + fixed (byte* namePtr = &name.GetPinnableNullTerminatedReference()) + ImGuiNative.SetWindowFocus(namePtr); + name.Dispose(); + } + + public static void SetWindowPos(Vector2 pos, ImGuiCond cond = ImGuiCond.None) => ImGuiNative.SetWindowPos(pos, cond); + + public static void SetWindowPos(ImU8String name, Vector2 pos, ImGuiCond cond = ImGuiCond.None) + { + fixed (byte* namePtr = &name.GetPinnableNullTerminatedReference()) + ImGuiNative.SetWindowPos(namePtr, pos, cond); + name.Dispose(); + } + + public static void SetWindowSize(Vector2 size, ImGuiCond cond = ImGuiCond.None) => ImGuiNative.SetWindowSize(size, cond); + + public static void SetWindowSize(ImU8String name, Vector2 size, ImGuiCond cond = ImGuiCond.None) + { + fixed (byte* namePtr = &name.GetPinnableNullTerminatedReference()) + ImGuiNative.SetWindowSize(namePtr, size, cond); + name.Dispose(); + } + + public static void ShowFontSelector(ImU8String label) + { + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + ImGuiNative.ShowFontSelector(labelPtr); + label.Dispose(); + } + + public static bool ShowStyleSelector(ImU8String label) + { + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + { + var r = ImGuiNative.ShowStyleSelector(labelPtr) != 0; + label.Dispose(); + return r; + } + } + + public static bool SmallButton(ImU8String label) + { + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + { + var r = ImGuiNative.SmallButton(labelPtr) != 0; + label.Dispose(); + return r; + } + } + + public static bool TabItemButton(ImU8String label, ImGuiTabItemFlags flags = ImGuiTabItemFlags.None) + { + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + { + var r = ImGuiNative.TabItemButton(labelPtr, flags) != 0; + label.Dispose(); + return r; + } + } + + public static void TableHeader(ImU8String label) + { + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + ImGuiNative.TableHeader(labelPtr); + label.Dispose(); + } + + public static void TableSetupColumn( + ImU8String label, ImGuiTableColumnFlags flags = ImGuiTableColumnFlags.None, float initWidthOrWeight = 0.0f, + uint userId = 0) + { + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + ImGuiNative.TableSetupColumn(labelPtr, flags, initWidthOrWeight, userId); + label.Dispose(); + } + + public static void TreePush(ImU8String strId) + { + fixed (byte* strIdPtr = &strId.GetPinnableNullTerminatedReference()) + ImGuiNative.TreePush(strIdPtr); + strId.Dispose(); + } + + public static void TreePush(nint ptrId) => ImGuiNative.TreePush((void*)ptrId); + public static void TreePush(void* ptrId) => ImGuiNative.TreePush(ptrId); + + public static void Value(ImU8String prefix, in T value) + { + prefix.AppendLiteral(": "); + prefix.AppendFormatted(value); + fixed (byte* prefixPtr = prefix.Span) + { + ImGuiNative.TextUnformatted(prefixPtr, prefixPtr + prefix.Length); + prefix.Dispose(); + } + } + + // public static void Value(AutoUtf8Buffer prefix, float value) => Value(prefix, value, default); + + public static void Value(ImU8String prefix, float value, ImU8String floatFormat = default) + { + fixed (byte* prefixPtr = &prefix.GetPinnableNullTerminatedReference()) + fixed (byte* floatPtr = &floatFormat.GetPinnableNullTerminatedReference()) + { + ImGuiNative.Value(prefixPtr, value, floatPtr); + prefix.Dispose(); + floatFormat.Dispose(); + } + } +} diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/ImGuiIO.Custom.cs b/imgui/Dalamud.Bindings.ImGui/Custom/ImGuiIO.Custom.cs new file mode 100644 index 000000000..12e623eeb --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/ImGuiIO.Custom.cs @@ -0,0 +1,33 @@ +using System.Text; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiIO +{ + public void AddInputCharacter(char c) + { + fixed (ImGuiIO* thisPtr = &this) + ImGui.AddInputCharacter(thisPtr, c); + } + + public void AddInputCharacter(Rune c) + { + fixed (ImGuiIO* thisPtr = &this) + ImGui.AddInputCharacter(thisPtr, c); + } + + public void AddInputCharacters(ImU8String str) + { + fixed (ImGuiIO* thisPtr = &this) + ImGui.AddInputCharacters(thisPtr, str); + } +} + +public partial struct ImGuiIOPtr +{ + public void AddInputCharacter(char c) => ImGui.AddInputCharacter(this, c); + + public void AddInputCharacter(Rune c) => ImGui.AddInputCharacter(this, c); + + public void AddInputCharacters(ImU8String str) => ImGui.AddInputCharacters(this, str); +} diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/ImGuiInputTextCallbackData.Custom.cs b/imgui/Dalamud.Bindings.ImGui/Custom/ImGuiInputTextCallbackData.Custom.cs new file mode 100644 index 000000000..9d910e6d7 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/ImGuiInputTextCallbackData.Custom.cs @@ -0,0 +1,21 @@ +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiInputTextCallbackData +{ + public readonly Span BufSpan => new(this.Buf, this.BufSize); + public readonly Span BufTextSpan => new(this.Buf, this.BufTextLen); + + public void InsertChars(int pos, ImU8String text) + { + fixed (ImGuiInputTextCallbackData* thisPtr = &this) + ImGui.InsertChars(thisPtr, pos, text); + } +} + +public unsafe partial struct ImGuiInputTextCallbackDataPtr +{ + public readonly Span BufSpan => this.Handle->BufSpan; + public readonly Span BufTextSpan => this.Handle->BufTextSpan; + + public void InsertChars(int pos, ImU8String text) => ImGui.InsertChars(this, pos, text); +} diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/ImGuiNative.Custom.cs b/imgui/Dalamud.Bindings.ImGui/Custom/ImGuiNative.Custom.cs new file mode 100644 index 000000000..66626ee3b --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/ImGuiNative.Custom.cs @@ -0,0 +1,40 @@ +using System.Numerics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +public static unsafe partial class ImGuiNative +{ + private const string LibraryName = "cimgui"; + + static ImGuiNative() + { + if (LibraryName != ImGui.GetLibraryName()) + { + throw new( + $"{nameof(LibraryName)}(={LibraryName})" + + $" does not match " + + $"{nameof(ImGui)}.{nameof(ImGui.GetLibraryName)}(={ImGui.GetLibraryName()})"); + } + } + + [LibraryImport(LibraryName, EntryPoint = "ImDrawList_AddCallback")] + [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])] + public static partial void AddCallback( + ImDrawList* self, + delegate* callback, + void* callbackData = null); + + [LibraryImport(LibraryName, EntryPoint = "igInputTextEx")] + [UnmanagedCallConv(CallConvs = [typeof(CallConvCdecl)])] + public static partial int InputTextEx( + byte* label, + byte* hint, + byte* buf, + int bufSize, + Vector2 sizeArg, + ImGuiInputTextFlags flags = ImGuiInputTextFlags.None, + delegate* unmanaged[Cdecl] callback = null, + void* userData = null); +} diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/ImGuiP.Misc.cs b/imgui/Dalamud.Bindings.ImGui/Custom/ImGuiP.Misc.cs new file mode 100644 index 000000000..8e61f8f07 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/ImGuiP.Misc.cs @@ -0,0 +1,496 @@ +using System.Diagnostics.CodeAnalysis; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui; + +[SuppressMessage("ReSharper", "InconsistentNaming")] +public unsafe partial class ImGuiP +{ + public static bool ArrowButtonEx( + ImU8String strId, ImGuiDir dir, Vector2 sizeArg, ImGuiButtonFlags flags = ImGuiButtonFlags.None) + { + fixed (byte* strIdPtr = &strId.GetPinnableNullTerminatedReference()) + { + var r = ImGuiPNative.ArrowButtonEx(strIdPtr, dir, sizeArg, flags) != 0; + strId.Dispose(); + return r; + } + } + + public static bool BeginChildEx(ImU8String name, uint id, Vector2 sizeArg, bool border, ImGuiWindowFlags flags) + { + fixed (byte* namePtr = &name.GetPinnableNullTerminatedReference()) + { + var r = ImGuiPNative.BeginChildEx(namePtr, id, sizeArg, border ? (byte)1 : (byte)0, flags) != 0; + name.Dispose(); + return r; + } + } + + public static void BeginColumns(ImU8String strId, int count, ImGuiOldColumnFlags flags = ImGuiOldColumnFlags.None) + { + fixed (byte* strIdPtr = &strId.GetPinnableNullTerminatedReference()) + ImGuiPNative.BeginColumns(strIdPtr, count, flags); + strId.Dispose(); + } + + public static bool BeginMenuEx(ImU8String label, ImU8String icon = default, bool enabled = true) + { + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + fixed (byte* iconPtr = &icon.GetPinnableNullTerminatedReference()) + { + var r = ImGuiPNative.BeginMenuEx(labelPtr, iconPtr, enabled ? (byte)1 : (byte)0) != 0; + label.Dispose(); + icon.Dispose(); + return r; + } + } + + public static bool BeginTableEx( + ImU8String name, uint id, int columnsCount, ImGuiTableFlags flags = ImGuiTableFlags.None, + Vector2 outerSize = default, float innerWidth = 0.0f) + { + fixed (byte* namePtr = &name.GetPinnableNullTerminatedReference()) + { + var r = ImGuiPNative.BeginTableEx(namePtr, id, columnsCount, flags, outerSize, innerWidth) != 0; + name.Dispose(); + return r; + } + } + + public static bool BeginViewportSideBar( + ImU8String name, ImGuiViewportPtr viewport, ImGuiDir dir, float size, ImGuiWindowFlags windowFlags) + { + fixed (byte* namePtr = &name.GetPinnableNullTerminatedReference()) + { + var r = ImGuiPNative.BeginViewportSideBar(namePtr, viewport, dir, size, windowFlags) != 0; + name.Dispose(); + return r; + } + } + + public static bool ButtonEx( + ImU8String label, Vector2 sizeArg = default, ImGuiButtonFlags flags = ImGuiButtonFlags.None) + { + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + { + var r = ImGuiPNative.ButtonEx(labelPtr, sizeArg, flags) != 0; + label.Dispose(); + return r; + } + } + + public static void ColorEditOptionsPopup(ReadOnlySpan col, ImGuiColorEditFlags flags) + { + fixed (float* colPtr = col) + ImGuiPNative.ColorEditOptionsPopup(colPtr, flags); + } + + public static void ColorPickerOptionsPopup(ReadOnlySpan refCol, ImGuiColorEditFlags flags) + { + fixed (float* refColPtr = refCol) + ImGuiPNative.ColorPickerOptionsPopup(refColPtr, flags); + } + + public static void ColorTooltip(ImU8String text, ReadOnlySpan col, ImGuiColorEditFlags flags) + { + fixed (byte* textPtr = &text.GetPinnableNullTerminatedReference()) + fixed (float* colPtr = col) + ImGuiPNative.ColorTooltip(textPtr, colPtr, flags); + text.Dispose(); + } + + public static ImGuiWindowSettingsPtr CreateNewWindowSettings(ImU8String name) + { + fixed (byte* namePtr = &name.GetPinnableNullTerminatedReference()) + { + var r = ImGuiPNative.CreateNewWindowSettings(namePtr); + name.Dispose(); + return r; + } + } + + public static void Custom_StbTextMakeUndoReplace( + ImGuiInputTextStatePtr str, int where, int oldLength, int newLength) => + ImGuiPNative.Custom_StbTextMakeUndoReplace(str, where, oldLength, newLength); + + public static void Custom_StbTextUndo(ImGuiInputTextStatePtr str) => ImGuiPNative.Custom_StbTextUndo(str); + + public static bool DataTypeApplyFromText(ImU8String buf, ImGuiDataType dataType, T data, ImU8String format) + where T : unmanaged, IBinaryNumber + { + fixed (byte* bufPtr = &buf.GetPinnableNullTerminatedReference()) + fixed (byte* formatPtr = &format.GetPinnableNullTerminatedReference()) + { + var r = ImGuiPNative.DataTypeApplyFromText(bufPtr, dataType, &data, formatPtr) != 0; + format.Dispose(); + buf.Dispose(); + return r; + } + } + + public static void DebugNodeDockNode(ImGuiDockNodePtr node, ImU8String label) + { + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + ImGuiPNative.DebugNodeDockNode(node, labelPtr); + label.Dispose(); + } + + public static void DebugNodeDrawList( + ImGuiWindowPtr window, ImGuiViewportPPtr viewport, ImDrawListPtr drawList, ImU8String label) + { + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + ImGuiPNative.DebugNodeDrawList(window, viewport, drawList, labelPtr); + label.Dispose(); + } + + public static void DebugNodeStorage(ImGuiStoragePtr storage, ImU8String label) + { + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + ImGuiPNative.DebugNodeStorage(storage, labelPtr); + label.Dispose(); + } + + public static void DebugNodeTabBar(ImGuiTabBarPtr tabBar, ImU8String label) + { + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + ImGuiPNative.DebugNodeTabBar(tabBar, labelPtr); + label.Dispose(); + } + + public static void DebugNodeWindow(ImGuiWindowPtr window, ImU8String label) + { + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + ImGuiPNative.DebugNodeWindow(window, labelPtr); + label.Dispose(); + } + + public static void DebugNodeWindowsList(scoped in ImVector windows, ImU8String label) + { + fixed (ImVector* windowsPtr = &windows) + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + ImGuiPNative.DebugNodeWindowsList(windowsPtr, labelPtr); + label.Dispose(); + } + + public static void DockBuilderCopyWindowSettings(ImU8String srcName, ImU8String dstName) + { + fixed (byte* srcNamePtr = &srcName.GetPinnableNullTerminatedReference()) + fixed (byte* dstNamePtr = &dstName.GetPinnableNullTerminatedReference()) + ImGuiPNative.DockBuilderCopyWindowSettings(srcNamePtr, dstNamePtr); + srcName.Dispose(); + dstName.Dispose(); + } + + public static void DockBuilderDockWindow(ImU8String windowName, uint nodeId) + { + fixed (byte* windowNamePtr = &windowName.GetPinnableNullTerminatedReference()) + ImGuiPNative.DockBuilderDockWindow(windowNamePtr, nodeId); + windowName.Dispose(); + } + + public static bool DragBehavior( + uint id, ImGuiDataType dataType, void* pV, float vSpeed, void* pMin, void* pMax, ImU8String format, + ImGuiSliderFlags flags) + { + fixed (byte* formatPtr = &format.GetPinnableNullTerminatedReference()) + { + var r = ImGuiPNative.DragBehavior(id, dataType, pV, vSpeed, pMin, pMax, formatPtr, flags) != 0; + format.Dispose(); + return r; + } + } + + public static ImGuiWindowSettingsPtr FindOrCreateWindowSettings(ImU8String name) + { + fixed (byte* namePtr = &name.GetPinnableNullTerminatedReference()) + { + var r = ImGuiPNative.FindOrCreateWindowSettings(namePtr); + name.Dispose(); + return r; + } + } + + public static ImGuiSettingsHandlerPtr FindSettingsHandler(ImU8String typeName) + { + fixed (byte* typeNamePtr = &typeName.GetPinnableNullTerminatedReference()) + { + var r = ImGuiPNative.FindSettingsHandler(typeNamePtr); + typeName.Dispose(); + return r; + } + } + + public static ImGuiWindowPtr FindWindowByName(ImU8String name) + { + fixed (byte* namePtr = &name.GetPinnableNullTerminatedReference()) + { + var r = ImGuiPNative.FindWindowByName(namePtr); + name.Dispose(); + return r; + } + } + + public static uint GetColumnsID(ImU8String strId, int count) + { + fixed (byte* strIdPtr = &strId.GetPinnableNullTerminatedReference()) + { + var r = ImGuiPNative.GetColumnsID(strIdPtr, count); + strId.Dispose(); + return r; + } + } + + public static uint GetIDWithSeed(ImU8String strId, uint seed) + { + fixed (byte* strIdPtr = &strId.GetPinnableNullTerminatedReference()) + { + var r = ImGuiPNative.GetIDWithSeed(strIdPtr, strIdPtr + strId.Length, seed); + strId.Dispose(); + return r; + } + } + + public static void* ImFileLoadToMemory( + ImU8String filename, ImU8String mode, out nuint outFileSize, int paddingBytes = 0) + { + fixed (byte* filenamePtr = &filename.GetPinnableNullTerminatedReference()) + fixed (byte* modePtr = &mode.GetPinnableNullTerminatedReference()) + fixed (nuint* outFileSizePtr = &outFileSize) + { + var r = ImGuiPNative.ImFileLoadToMemory(filenamePtr, modePtr, outFileSizePtr, paddingBytes); + filename.Dispose(); + mode.Dispose(); + return r; + } + } + + public static void* ImFileLoadToMemory(ImU8String filename, ImU8String mode, int paddingBytes = 0) + { + fixed (byte* filenamePtr = &filename.GetPinnableNullTerminatedReference()) + fixed (byte* modePtr = &mode.GetPinnableNullTerminatedReference()) + { + var r = ImGuiPNative.ImFileLoadToMemory(filenamePtr, modePtr, null, paddingBytes); + filename.Dispose(); + mode.Dispose(); + return r; + } + } + + public static ImFileHandle ImFileOpen(ImU8String filename, ImU8String mode) + { + fixed (byte* filenamePtr = &filename.GetPinnableNullTerminatedReference()) + fixed (byte* modePtr = &mode.GetPinnableNullTerminatedReference()) + { + var r = ImGuiPNative.ImFileOpen(filenamePtr, modePtr); + filename.Dispose(); + mode.Dispose(); + return r; + } + } + + public static void ImFontAtlasBuildMultiplyRectAlpha8( + ReadOnlySpan table, ReadOnlySpan pixels, int x, int y, int w, int h, int stride) + { + fixed (byte* tablePtr = table) + fixed (byte* pixelsPtr = pixels) + ImGuiPNative.ImFontAtlasBuildMultiplyRectAlpha8(tablePtr, pixelsPtr, x, y, w, h, stride); + } + + public static void ImFontAtlasBuildRender32bppRectFromString( + ImFontAtlasPtr atlas, int textureIndex, int x, int y, int w, int h, ReadOnlySpan inStr, byte inMarkerChar, + uint inMarkerPixelValue) + { + fixed (byte* inStrPtr = inStr) + { + ImGuiPNative.ImFontAtlasBuildRender32bppRectFromString( + atlas, + textureIndex, + x, + y, + w, + h, + inStrPtr, + inMarkerChar, + inMarkerPixelValue); + } + } + + public static void ImFontAtlasBuildRender8bppRectFromString( + ImFontAtlasPtr atlas, int textureIndex, int x, int y, int w, int h, ReadOnlySpan inStr, byte inMarkerChar, + byte inMarkerPixelValue) + { + fixed (byte* inStrPtr = inStr) + { + ImGuiPNative.ImFontAtlasBuildRender8bppRectFromString( + atlas, + textureIndex, + x, + y, + w, + h, + inStrPtr, + inMarkerChar, + inMarkerPixelValue); + } + } + + public static void ImFormatStringToTempBuffer(byte** outBuf, byte** outBufEnd, ImU8String fmt) + { + fixed (byte* fmtPtr = &fmt.GetPinnableNullTerminatedReference()) + ImGuiPNative.ImFormatStringToTempBuffer(outBuf, outBufEnd, fmtPtr); + fmt.Dispose(); + } + + public static ImGuiWindowPtr ImGuiWindow(ImGuiContextPtr context, ImU8String name) + { + fixed (byte* namePtr = &name.GetPinnableNullTerminatedReference()) + { + var r = ImGuiPNative.ImGuiWindow(context, namePtr); + name.Dispose(); + return r; + } + } + + // public static byte* ImParseFormatFindEnd(byte* format) + // public static byte* ImParseFormatFindStart(byte* format) + // public static int ImParseFormatPrecision(byte* format, int defaultValue) + // public static byte* ImStrchrRange(byte* strBegin, byte* strEnd, byte c) + // public static byte* ImStrdup(byte* str) + // public static byte* ImStrdupcpy(byte* dst, nuint* pDstSize, byte* str) + // public static int ImStricmp(byte* str1, byte* str2) + // public static byte* ImStristr(byte* haystack, byte* haystackEnd, byte* needle, byte* needleEnd) + // public static int ImStrlenW(ushort* str) + // public static void ImStrncpy(byte* dst, byte* src, nuint count) + // public static int ImStrnicmp(byte* str1, byte* str2, nuint count) + // public static byte* ImStrSkipBlank(byte* str) + // public static void ImStrTrimBlanks(byte* str) + // public static int ImTextCharFromUtf8(uint* outChar, byte* inText, byte* inTextEnd) + // public static int ImTextCountCharsFromUtf8(byte* inText, byte* inTextEnd) + // public static int ImTextCountUtf8BytesFromChar(byte* inText, byte* inTextEnd) + + public static void LogSetNextTextDecoration(byte* prefix, byte* suffix) => + ImGuiPNative.LogSetNextTextDecoration(prefix, suffix); + + public static bool MenuItemEx( + ImU8String label, ImU8String icon = default, ImU8String shortcut = default, bool selected = false, + bool enabled = true) + { + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + fixed (byte* iconPtr = &icon.GetPinnableNullTerminatedReference()) + fixed (byte* shortcutPtr = &shortcut.GetPinnableNullTerminatedReference()) + { + var r = ImGuiPNative.MenuItemEx( + labelPtr, + iconPtr, + shortcutPtr, + selected ? (byte)1 : (byte)0, + enabled ? (byte)1 : (byte)0) != 0; + label.Dispose(); + icon.Dispose(); + shortcut.Dispose(); + return r; + } + } + + public static void RemoveSettingsHandler(ImU8String typeName) + { + fixed (byte* typeNamePtr = &typeName.GetPinnableNullTerminatedReference()) + ImGuiPNative.RemoveSettingsHandler(typeNamePtr); + typeName.Dispose(); + } + + public static bool SliderBehavior( + ImRect bb, uint id, ImGuiDataType dataType, scoped ref T value, T min, T max, ImU8String format, + ImGuiSliderFlags flags, ImRectPtr outGrabBb) + where T : unmanaged, IBinaryNumber + { + fixed (byte* formatPtr = &format.GetPinnableNullTerminatedReference()) + fixed (T* valuePtr = &value) + { + var r = ImGuiPNative.SliderBehavior( + bb, + id, + dataType, + valuePtr, + &min, + &max, + formatPtr, + flags, + outGrabBb) != 0; + format.Dispose(); + return r; + } + } + + public static Vector2 TabItemCalcSize(ImU8String label, bool hasCloseButton) + { + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + { + Vector2 v; + ImGuiPNative.TabItemCalcSize(&v, labelPtr, hasCloseButton ? (byte)1 : (byte)0); + return v; + } + } + + public static bool TabItemEx( + ImGuiTabBarPtr tabBar, ImU8String label, ref bool open, ImGuiTabItemFlags flags, ImGuiWindowPtr dockedWindow) + { + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + fixed (bool* openPtr = &open) + { + var r = ImGuiPNative.TabItemEx(tabBar, labelPtr, openPtr, flags, dockedWindow) != 0; + label.Dispose(); + return r; + } + } + + public static void TabItemLabelAndCloseButton( + ImDrawListPtr drawList, ImRect bb, ImGuiTabItemFlags flags, Vector2 framePadding, ImU8String label, uint tabId, + uint closeButtonId, bool isContentsVisible, out bool justClosed, out bool textClipped) + { + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + fixed (bool* justClosedPtr = &justClosed) + fixed (bool* textClippedPtr = &textClipped) + { + ImGuiPNative.TabItemLabelAndCloseButton( + drawList, + bb, + flags, + framePadding, + labelPtr, + tabId, + closeButtonId, + isContentsVisible ? (byte)1 : (byte)0, + justClosedPtr, + textClippedPtr); + } + + label.Dispose(); + } + + public static bool TempInputScalar( + ImRect bb, uint id, ImU8String label, ImGuiDataType dataType, scoped ref T data, ImU8String format, T min, + T max) + where T : unmanaged, IBinaryNumber + { + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + fixed (byte* formatPtr = &format.GetPinnableNullTerminatedReference()) + fixed (T* dataPtr = &data) + { + var r = ImGuiPNative.TempInputScalar(bb, id, labelPtr, dataType, dataPtr, formatPtr, &min, &max) != 0; + label.Dispose(); + return r; + } + } + + public static bool TreeNodeBehavior(uint id, ImGuiTreeNodeFlags flags, ImU8String label) + { + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + { + var r = ImGuiPNative.TreeNodeBehavior(id, flags, labelPtr, labelPtr + label.Length) != 0; + label.Dispose(); + return r; + } + } +} diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/ImGuiP.Plot.cs b/imgui/Dalamud.Bindings.ImGui/Custom/ImGuiP.Plot.cs new file mode 100644 index 000000000..8f552d4fb --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/ImGuiP.Plot.cs @@ -0,0 +1,99 @@ +using System.Diagnostics.CodeAnalysis; +using System.Numerics; + +namespace Dalamud.Bindings.ImGui; + +[SuppressMessage("ReSharper", "InconsistentNaming")] +public static unsafe partial class ImGuiP +{ + public static int PlotEx( + ImGuiPlotType plotType, ImU8String label, ImGui.GetFloatDelegate valuesGetter, + int valuesCount, int valuesOffset, ImU8String overlayText, float scaleMin, float scaleMax, Vector2 frameSize) + { + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + fixed (byte* overlayTextPtr = &overlayText.GetPinnableNullTerminatedReference()) + { + var dataBuffer = PointerTuple.CreateFixed(ref valuesGetter); + var r = ImGuiPNative.PlotEx( + plotType, + labelPtr, + (delegate*, void*, int, int, byte*, float, float, + Vector2, float>) + (nint)(delegate* unmanaged)&ImGui.GetFloatStatic, + &dataBuffer, + valuesCount, + valuesOffset, + overlayTextPtr, + scaleMin, + scaleMax, + frameSize); + label.Dispose(); + overlayText.Dispose(); + return r; + } + } + + public static int PlotEx( + ImGuiPlotType plotType, ImU8String label, ImGui.GetFloatInContextDelegate valuesGetter, + scoped in TContext context, + int valuesCount, int valuesOffset, ImU8String overlayText, float scaleMin, float scaleMax, Vector2 frameSize) + where TContext : allows ref struct + { + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + fixed (byte* overlayTextPtr = &overlayText.GetPinnableNullTerminatedReference()) +#pragma warning disable CS8500 // This takes the address of, gets the size of, or declares a pointer to a managed type + fixed (TContext* contextPtr = &context) + { + var dataBuffer = PointerTuple.Create(&valuesGetter, contextPtr); +#pragma warning restore CS8500 // This takes the address of, gets the size of, or declares a pointer to a managed type + var r = ImGuiPNative.PlotEx( + plotType, + labelPtr, + (delegate*, void*, int, int, byte*, float, float, + Vector2, float>) + (nint)(delegate* unmanaged)&ImGui.GetFloatInContextStatic, + &dataBuffer, + valuesCount, + valuesOffset, + overlayTextPtr, + scaleMin, + scaleMax, + frameSize); + label.Dispose(); + overlayText.Dispose(); + return r; + } + } + + public static int PlotEx( + ImGuiPlotType plotType, ImU8String label, ImGui.GetFloatRefContextDelegate valuesGetter, + scoped in TContext context, + int valuesCount, int valuesOffset, ImU8String overlayText, float scaleMin, float scaleMax, Vector2 frameSize) + where TContext: allows ref struct + { + fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference()) + fixed (byte* overlayTextPtr = &overlayText.GetPinnableNullTerminatedReference()) +#pragma warning disable CS8500 // This takes the address of, gets the size of, or declares a pointer to a managed type + fixed (TContext* contextPtr = &context) + { + var dataBuffer = PointerTuple.Create(&valuesGetter, contextPtr); +#pragma warning restore CS8500 // This takes the address of, gets the size of, or declares a pointer to a managed type + var r = ImGuiPNative.PlotEx( + plotType, + labelPtr, + (delegate*, void*, int, int, byte*, float, float, + Vector2, float>) + (nint)(delegate* unmanaged)&ImGui.GetFloatRefContextStatic, + &dataBuffer, + valuesCount, + valuesOffset, + overlayTextPtr, + scaleMin, + scaleMax, + frameSize); + label.Dispose(); + overlayText.Dispose(); + return r; + } + } +} diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/ImGuiP.StringReturns.cs b/imgui/Dalamud.Bindings.ImGui/Custom/ImGuiP.StringReturns.cs new file mode 100644 index 000000000..b16843f55 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/ImGuiP.StringReturns.cs @@ -0,0 +1,85 @@ +using System.Runtime.InteropServices; +using System.Text; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial class ImGuiP +{ + public static Span ImTextCharToUtf8(Span buf, char c) => ImTextCharToUtf8(buf, (uint)c); + + public static Span ImTextCharToUtf8(Span buf, int c) => ImTextCharToUtf8(buf, (uint)c); + + public static Span ImTextCharToUtf8(Span buf, uint c) + { + if (!new Rune(c).TryEncodeToUtf8(buf, out var len)) + throw new ArgumentException("Buffer is too small.", nameof(buf)); + return buf[..len]; + } + + public static ReadOnlySpan GetNameU8(this ImGuiWindowSettingsPtr self) => + MemoryMarshal.CreateReadOnlySpanFromNullTerminated(ImGuiPNative.GetName(self.Handle)); + + public static ReadOnlySpan GetTabNameU8(this ImGuiTabBarPtr self, ImGuiTabItemPtr tab) => + MemoryMarshal.CreateReadOnlySpanFromNullTerminated(ImGuiPNative.GetTabName(self.Handle, tab.Handle)); + + public static ReadOnlySpan GetNavInputNameU8(this ImGuiNavInput n) => + MemoryMarshal.CreateReadOnlySpanFromNullTerminated(ImGuiPNative.GetNavInputName(n)); + + public static ReadOnlySpan TableGetColumnNameU8(this ImGuiTablePtr table, int columnN) => + MemoryMarshal.CreateReadOnlySpanFromNullTerminated(ImGuiPNative.TableGetColumnName(table.Handle, columnN)); + + public static ReadOnlySpan GetNameU8(this in ImGuiWindowSettings self) + { + fixed (ImGuiWindowSettings* selfPtr = &self) + return GetNameU8(selfPtr); + } + + public static ReadOnlySpan GetTabNameU8(ImGuiTabBarPtr self, in ImGuiTabItem tab) + { + fixed (ImGuiTabItem* tabPtr = &tab) + return GetTabNameU8(self, tabPtr); + } + + public static ReadOnlySpan GetTabNameU8(this in ImGuiTabBar self, ImGuiTabItemPtr tab) + { + fixed (ImGuiTabBar* selfPtr = &self) + return GetTabNameU8(selfPtr, tab); + } + + public static ReadOnlySpan GetTabNameU8(this in ImGuiTabBar self, in ImGuiTabItem tab) + { + fixed (ImGuiTabBar* selfPtr = &self) + fixed (ImGuiTabItem* tabPtr = &tab) + return GetTabNameU8(selfPtr, tabPtr); + } + + public static ReadOnlySpan TableGetColumnNameU8(this in ImGuiTable table, int columnN) + { + fixed (ImGuiTable* tablePtr = &table) + return TableGetColumnNameU8(tablePtr, columnN); + } + + public static string GetName(this ImGuiWindowSettingsPtr self) => Encoding.UTF8.GetString(GetNameU8(self)); + + public static string GetTabName(this ImGuiTabBarPtr self, ImGuiTabItemPtr tab) => + Encoding.UTF8.GetString(GetTabNameU8(self, tab)); + + public static string GetTabName(this ImGuiTabBarPtr self, in ImGuiTabItem tab) => + Encoding.UTF8.GetString(GetTabNameU8(self, tab)); + + public static string GetNavInputName(this ImGuiNavInput n) => Encoding.UTF8.GetString(GetNavInputNameU8(n)); + + public static string TableGetColumnName(this ImGuiTablePtr table, int columnN) => + Encoding.UTF8.GetString(TableGetColumnNameU8(table, columnN)); + + public static string GetName(this in ImGuiWindowSettings self) => Encoding.UTF8.GetString(GetNameU8(self)); + + public static string GetTabName(this in ImGuiTabBar self, ImGuiTabItemPtr tab) => + Encoding.UTF8.GetString(GetTabNameU8(self, tab)); + + public static string GetTabName(this in ImGuiTabBar self, in ImGuiTabItem tab) => + Encoding.UTF8.GetString(GetTabNameU8(self, tab)); + + public static string TableGetColumnName(this in ImGuiTable table, int columnN) => + Encoding.UTF8.GetString(TableGetColumnNameU8(table, columnN)); +} diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/ImGuiP.Text.cs b/imgui/Dalamud.Bindings.ImGui/Custom/ImGuiP.Text.cs new file mode 100644 index 000000000..2f12a55c1 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/ImGuiP.Text.cs @@ -0,0 +1,218 @@ +using System.Diagnostics; +using System.Numerics; +using System.Text; + +namespace Dalamud.Bindings.ImGui; + +public static unsafe partial class ImGuiP +{ + public static void DebugLog(ImU8String text) + { + var g = ImGui.GetCurrentContext().Handle; + ImGui.append(&g->DebugLogBuf, $"[{g->FrameCount:00000}] "); + ImGui.append(&g->DebugLogBuf, text.Span); + if ((g->DebugLogFlags & ImGuiDebugLogFlags.OutputToTty) != ImGuiDebugLogFlags.None) + Debug.Write(text.ToString()); + text.Dispose(); + } + + public static int FindRenderedTextEnd( + ReadOnlySpan text, out ReadOnlySpan before, out ReadOnlySpan after) + { + fixed (byte* ptr = text) + { + var r = (int)(ImGuiPNative.FindRenderedTextEnd(ptr, ptr + text.Length) - ptr); + before = text[..r]; + after = text[r..]; + return r; + } + } + + public static int FindRenderedTextEnd( + ReadOnlySpan text, out ReadOnlySpan before, out ReadOnlySpan after) + { + var textBuf = new ImU8String(text); + FindRenderedTextEnd(textBuf.Span, out var beforeBytes, out var afterBytes); + before = text[..Encoding.UTF8.GetCharCount(beforeBytes)]; + after = text[before.Length..]; + textBuf.Dispose(); + return before.Length; + } + + public static uint GetID(ImGuiWindowPtr self, ImU8String str) + { + fixed (byte* strPtr = str.Span) + { + var seed = *self.IDStack.Back; + var id = ImGuiPNative.ImHashStr(strPtr, (nuint)str.Length, seed); + var g = ImGui.GetCurrentContext(); + if (g.DebugHookIdInfo == id) + DebugHookIdInfo(id, (ImGuiDataType)ImGuiDataTypePrivate.String, strPtr, strPtr + str.Length); + str.Dispose(); + return id; + } + } + + public static uint GetID(ImGuiWindowPtr self, void* ptr) => ImGuiPNative.GetID(self.Handle, ptr); + public static uint GetID(ImGuiWindowPtr self, int n) => ImGuiPNative.GetID(self.Handle, n); + + public static uint ImHashData(ReadOnlySpan data, uint seed = 0) + { + fixed (byte* ptr = data) return ImGuiPNative.ImHashData(ptr, (nuint)data.Length, seed); + } + + public static uint ImHashStr(ImU8String data, uint seed = 0) + { + fixed (byte* ptr = data.Span) + { + var res = ImGuiPNative.ImHashStr(ptr, (nuint)data.Length, seed); + data.Dispose(); + return res; + } + } + + public static void ImParseFormatSanitizeForPrinting(ReadOnlySpan fmtIn, Span fmtOut) + { + fixed (byte* fmtInPtr = fmtIn) + fixed (byte* fmtOutPtr = fmtOut) + ImGuiPNative.ImParseFormatSanitizeForPrinting(fmtInPtr, fmtOutPtr, (nuint)fmtOut.Length); + } + + public static void ImParseFormatSanitizeForScanning(ReadOnlySpan fmtIn, Span fmtOut) + { + fixed (byte* fmtInPtr = fmtIn) + fixed (byte* fmtOutPtr = fmtOut) + ImGuiPNative.ImParseFormatSanitizeForScanning(fmtInPtr, fmtOutPtr, (nuint)fmtOut.Length); + } + + public static int ImStrchrRange(ReadOnlySpan str, T c, out ReadOnlySpan before, out ReadOnlySpan after) + where T : unmanaged, IEquatable + { + var i = str.IndexOf(c); + if (i < 0) + { + before = after = default; + return -1; + } + + before = str[..i]; + after = str[i..]; + return i; + } + + public static int ImStreolRange( + ReadOnlySpan str, byte c, out ReadOnlySpan before, out ReadOnlySpan after) + { + var i = str.IndexOf((byte)'\n'); + if (i < 0) + { + before = after = default; + return -1; + } + + before = str[..i]; + after = str[i..]; + return i; + } + + public static int ImStreolRange( + ReadOnlySpan str, char c, out ReadOnlySpan before, out ReadOnlySpan after) + { + var i = str.IndexOf('\n'); + if (i < 0) + { + before = after = default; + return -1; + } + + before = str[..i]; + after = str[i..]; + return i; + } + + public static void LogRenderedText(scoped in Vector2 refPos, ImU8String text) + { + fixed (Vector2* refPosPtr = &refPos) + fixed (byte* textPtr = text.Span) + ImGuiPNative.LogRenderedText(refPosPtr, textPtr, textPtr + text.Length); + text.Dispose(); + } + + public static void RenderText(Vector2 pos, ImU8String text, bool hideTextAfterHash = true) + { + fixed (byte* textPtr = text.Span) + ImGuiPNative.RenderText(pos, textPtr, textPtr + text.Length, hideTextAfterHash ? (byte)1 : (byte)0); + text.Dispose(); + } + + public static void RenderTextWrapped( + Vector2 pos, ImU8String text, float wrapWidth) + { + fixed (byte* textPtr = text.Span) + ImGuiPNative.RenderTextWrapped(pos, textPtr, textPtr + text.Length, wrapWidth); + text.Dispose(); + } + + public static void RenderTextClipped( + scoped in Vector2 posMin, scoped in Vector2 posMax, ImU8String text, + scoped in Vector2? textSizeIfKnown = null, + scoped in Vector2 align = default, scoped in ImRect? clipRect = null) + { + var textSizeIfKnownOrDefault = textSizeIfKnown ?? default; + var clipRectOrDefault = clipRect ?? default; + fixed (byte* textPtr = text.Span) + ImGuiPNative.RenderTextClipped( + posMin, + posMax, + textPtr, + textPtr + text.Length, + textSizeIfKnown.HasValue ? &textSizeIfKnownOrDefault : null, + align, + clipRect.HasValue ? &clipRectOrDefault : null); + text.Dispose(); + } + + public static void RenderTextClippedEx( + ImDrawListPtr drawList, scoped in Vector2 posMin, scoped in Vector2 posMax, + ImU8String text, + scoped in Vector2? textSizeIfKnown = null, scoped in Vector2 align = default, scoped in ImRect? clipRect = null) + { + var textSizeIfKnownOrDefault = textSizeIfKnown ?? default; + var clipRectOrDefault = clipRect ?? default; + fixed (byte* textPtr = text.Span) + ImGuiPNative.RenderTextClippedEx( + drawList.Handle, + posMin, + posMax, + textPtr, + textPtr + text.Length, + textSizeIfKnown.HasValue ? &textSizeIfKnownOrDefault : null, + align, + clipRect.HasValue ? &clipRectOrDefault : null); + text.Dispose(); + } + + public static void RenderTextEllipsis( + ImDrawListPtr drawList, scoped in Vector2 posMin, scoped in Vector2 posMax, float clipMaxX, float ellipsisMaxX, + ImU8String text, scoped in Vector2? textSizeIfKnown = null) + { + var textSizeIfKnownOrDefault = textSizeIfKnown ?? default; + fixed (byte* textPtr = text.Span) + ImGuiPNative.RenderTextEllipsis( + drawList.Handle, + posMin, + posMax, + clipMaxX, + ellipsisMaxX, + textPtr, + textPtr + text.Length, + textSizeIfKnown.HasValue ? &textSizeIfKnownOrDefault : null); + text.Dispose(); + } + + public static void TextEx(ReadOnlySpan text, ImGuiTextFlags flags) + { + fixed (byte* textPtr = text) + ImGuiPNative.TextEx(textPtr, textPtr + text.Length, flags); + } +} diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/ImGuiPNative.Custom.cs b/imgui/Dalamud.Bindings.ImGui/Custom/ImGuiPNative.Custom.cs new file mode 100644 index 000000000..8d4c25202 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/ImGuiPNative.Custom.cs @@ -0,0 +1,3 @@ +namespace Dalamud.Bindings.ImGui; + +public static partial class ImGuiPNative; diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/ImGuiPayload.Custom.cs b/imgui/Dalamud.Bindings.ImGui/Custom/ImGuiPayload.Custom.cs new file mode 100644 index 000000000..48819292d --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/ImGuiPayload.Custom.cs @@ -0,0 +1,17 @@ +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiPayload +{ + public readonly Span DataSpan => new(this.Data, this.DataSize); + + public readonly bool IsDataType(ImU8String type) + { + fixed (ImGuiPayload* ptr = &this) + return ImGui.IsDataType(ptr, type); + } +} + +public partial struct ImGuiPayloadPtr +{ + public readonly bool IsDataType(ImU8String type) => ImGui.IsDataType(this, type); +} diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/ImGuiStorage.Custom.cs b/imgui/Dalamud.Bindings.ImGui/Custom/ImGuiStorage.Custom.cs new file mode 100644 index 000000000..aacd78d9f --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/ImGuiStorage.Custom.cs @@ -0,0 +1,60 @@ +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiStorage +{ + public readonly ref bool GetBoolRef(uint key, bool defaultValue = false) + { + fixed (ImGuiStorage* thisPtr = &this) + return ref ImGui.GetBoolRef(thisPtr, key, defaultValue); + } + + public readonly ref float GetFloatRef(uint key, float defaultValue = 0.0f) + { + fixed (ImGuiStorage* thisPtr = &this) + return ref ImGui.GetFloatRef(thisPtr, key, defaultValue); + } + + public readonly ref int GetIntRef(uint key, int defaultValue = 0) + { + fixed (ImGuiStorage* thisPtr = &this) + return ref ImGui.GetIntRef(thisPtr, key, defaultValue); + } + + public readonly ref void* GetVoidPtrRef(uint key, void* defaultValue = null) + { + fixed (ImGuiStorage* thisPtr = &this) + return ref ImGui.GetVoidPtrRef(thisPtr, key, defaultValue); + } + + public readonly ref T* GetPtrRef(uint key, T* defaultValue = null) where T : unmanaged + { + fixed (ImGuiStorage* thisPtr = &this) + return ref ImGui.GetPtrRef(thisPtr, key, defaultValue); + } + + public readonly ref T GetRef(uint key, T defaultValue = default) where T : unmanaged + { + fixed (ImGuiStorage* thisPtr = &this) + return ref ImGui.GetRef(thisPtr, key, defaultValue); + } +} + +public unsafe partial struct ImGuiStoragePtr +{ + public readonly ref bool GetBoolRef(uint key, bool defaultValue = false) => + ref ImGui.GetBoolRef(this, key, defaultValue); + + public readonly ref float GetFloatRef(uint key, float defaultValue = 0.0f) => + ref ImGui.GetFloatRef(this, key, defaultValue); + + public readonly ref int GetIntRef(uint key, int defaultValue = 0) => ref ImGui.GetIntRef(this, key, defaultValue); + + public readonly ref void* GetVoidPtrRef(uint key, void* defaultValue = null) => + ref ImGui.GetVoidPtrRef(this, key, defaultValue); + + public readonly ref T* GetPtrRef(uint key, T* defaultValue = null) where T : unmanaged => + ref ImGui.GetPtrRef(this, key, defaultValue); + + public readonly ref T GetRef(uint key, T defaultValue = default) where T : unmanaged => + ref ImGui.GetRef(this, key, defaultValue); +} diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/ImGuiTextBuffer.Custom.cs b/imgui/Dalamud.Bindings.ImGui/Custom/ImGuiTextBuffer.Custom.cs new file mode 100644 index 000000000..49a1abbe4 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/ImGuiTextBuffer.Custom.cs @@ -0,0 +1,26 @@ +using System.Runtime.CompilerServices; +using System.Text; + +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiTextBuffer +{ + public readonly Span Span => new(this.Buf.Data, this.Buf.Size); + + public override readonly string ToString() => Encoding.UTF8.GetString(this.Span); + + public void append(ImU8String str) + { + fixed (ImGuiTextBuffer* thisPtr = &this) + ImGui.append(thisPtr, str); + } +} + +public unsafe partial struct ImGuiTextBufferPtr +{ + public readonly Span Span => new(Unsafe.AsRef(in this).Buf.Data, Unsafe.AsRef(in this).Buf.Size); + + public override readonly string ToString() => Encoding.UTF8.GetString(this.Span); + + public void append(ImU8String str) => ImGui.append(this, str); +} diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/ImGuiTextFilter.Custom.cs b/imgui/Dalamud.Bindings.ImGui/Custom/ImGuiTextFilter.Custom.cs new file mode 100644 index 000000000..03795d5e7 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/ImGuiTextFilter.Custom.cs @@ -0,0 +1,22 @@ +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiTextFilter +{ + public void Draw(ImU8String label = default, float width = 0.0f) + { + fixed (ImGuiTextFilter* thisPtr = &this) + ImGui.Draw(thisPtr, label, width); + } + + public void PassFilter(ImU8String text) + { + fixed (ImGuiTextFilter* thisPtr = &this) + ImGui.PassFilter(thisPtr, text); + } +} + +public partial struct ImGuiTextFilterPtr +{ + public void Draw(ImU8String label = default, float width = 0.0f) => ImGui.Draw(this, label, width); + public void PassFilter(ImU8String text) => ImGui.PassFilter(this, text); +} diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/ImGuiWindow.Custom.cs b/imgui/Dalamud.Bindings.ImGui/Custom/ImGuiWindow.Custom.cs new file mode 100644 index 000000000..b80ca9c0b --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/ImGuiWindow.Custom.cs @@ -0,0 +1,26 @@ +namespace Dalamud.Bindings.ImGui; + +public unsafe partial struct ImGuiWindow +{ + public readonly uint GetID(ImU8String 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(ImU8String 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); +} diff --git a/imgui/Dalamud.Bindings.ImGui/Custom/PointerTuple.cs b/imgui/Dalamud.Bindings.ImGui/Custom/PointerTuple.cs new file mode 100644 index 000000000..096ec47ce --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Custom/PointerTuple.cs @@ -0,0 +1,116 @@ +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +namespace Dalamud.Bindings.ImGui; + +#pragma warning disable CS8500 // This takes the address of, gets the size of, or declares a pointer to a managed type +internal static unsafe class PointerTuple +{ + public static ref PointerTuple From(void* ptr) + where T1 : allows ref struct + => ref *(PointerTuple*)ptr; + + public static PointerTuple Create(T1* item1Ptr) + where T1 : allows ref struct + => new() + { + Item1Ptr = item1Ptr, + }; + + public static PointerTuple CreateFixed(ref T1 item1) + where T1 : allows ref struct + => new() + { + Item1Ptr = (T1*)Unsafe.AsPointer(ref item1), + }; + + public static ref PointerTuple From(void* ptr) + where T1 : allows ref struct + where T2 : allows ref struct + => ref *(PointerTuple*)ptr; + + public static PointerTuple Create(T1* item1Ptr, T2* item2Ptr) + where T1 : allows ref struct + where T2 : allows ref struct + => new() + { + Item1Ptr = item1Ptr, + Item2Ptr = item2Ptr, + }; + + public static PointerTuple CreateFixed(ref T1 item1, ref T2 item2) + where T1 : allows ref struct + where T2 : allows ref struct + => new() + { + Item1Ptr = (T1*)Unsafe.AsPointer(ref item1), + Item2Ptr = (T2*)Unsafe.AsPointer(ref item2), + }; + + public static ref PointerTuple From(void* ptr) + where T1 : allows ref struct + where T2 : allows ref struct + where T3 : allows ref struct + => ref *(PointerTuple*)ptr; + + public static PointerTuple Create(T1* item1Ptr, T2* item2Ptr, T3* item3Ptr) + where T1 : allows ref struct + where T2 : allows ref struct + where T3 : allows ref struct + => new() + { + Item1Ptr = item1Ptr, + Item2Ptr = item2Ptr, + Item3Ptr = item3Ptr, + }; + + public static PointerTuple CreateFixed(ref T1 item1, ref T2 item2, ref T3 item3) + where T1 : allows ref struct + where T2 : allows ref struct + where T3 : allows ref struct + => new() + { + Item1Ptr = (T1*)Unsafe.AsPointer(ref item1), + Item2Ptr = (T2*)Unsafe.AsPointer(ref item2), + Item3Ptr = (T3*)Unsafe.AsPointer(ref item3), + }; +} + +[StructLayout(LayoutKind.Sequential)] +internal unsafe struct PointerTuple + where T1 : allows ref struct +{ + public T1* Item1Ptr; + + public readonly ref T1 Item1 => ref *this.Item1Ptr; +} + +[StructLayout(LayoutKind.Sequential)] +internal unsafe struct PointerTuple + where T1 : allows ref struct + where T2 : allows ref struct +{ + public T1* Item1Ptr; + public T2* Item2Ptr; + + public readonly ref T1 Item1 => ref *this.Item1Ptr; + + public readonly ref T2 Item2 => ref *this.Item2Ptr; +} + +[StructLayout(LayoutKind.Sequential)] +internal unsafe struct PointerTuple + where T1 : allows ref struct + where T2 : allows ref struct + where T3 : allows ref struct +{ + public T1* Item1Ptr; + public T2* Item2Ptr; + public T3* Item3Ptr; + + public readonly ref T1 Item1 => ref *this.Item1Ptr; + + public readonly ref T2 Item2 => ref *this.Item2Ptr; + + public readonly ref T3 Item3 => ref *this.Item3Ptr; +} diff --git a/imgui/Dalamud.Bindings.ImGui/Dalamud.Bindings.ImGui.csproj b/imgui/Dalamud.Bindings.ImGui/Dalamud.Bindings.ImGui.csproj index c995dfd68..fc5894857 100644 --- a/imgui/Dalamud.Bindings.ImGui/Dalamud.Bindings.ImGui.csproj +++ b/imgui/Dalamud.Bindings.ImGui/Dalamud.Bindings.ImGui.csproj @@ -12,4 +12,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/imgui/Dalamud.Bindings.ImGui/Dalamud.Bindings.ImGui.csproj.DotSettings b/imgui/Dalamud.Bindings.ImGui/Dalamud.Bindings.ImGui.csproj.DotSettings new file mode 100644 index 000000000..06f483845 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/Dalamud.Bindings.ImGui.csproj.DotSettings @@ -0,0 +1,2 @@ + + True \ No newline at end of file diff --git a/imgui/Dalamud.Bindings.ImGui/ImTextureID.cs b/imgui/Dalamud.Bindings.ImGui/ImTextureID.cs index 53643ab9f..7be18f2dc 100644 --- a/imgui/Dalamud.Bindings.ImGui/ImTextureID.cs +++ b/imgui/Dalamud.Bindings.ImGui/ImTextureID.cs @@ -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; diff --git a/imgui/Dalamud.Bindings.ImGui/ImU8String.cs b/imgui/Dalamud.Bindings.ImGui/ImU8String.cs new file mode 100644 index 000000000..d1b9ae6c2 --- /dev/null +++ b/imgui/Dalamud.Bindings.ImGui/ImU8String.cs @@ -0,0 +1,378 @@ +using System.Buffers; +using System.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using System.Text; +using System.Text.Unicode; + +namespace Dalamud.Bindings.ImGui; + +[InterpolatedStringHandler] +public ref struct ImU8String : IDisposable +{ + public const int AllocFreeBufferSize = 512; + private const int MinimumRentSize = AllocFreeBufferSize * 2; + + private IFormatProvider? formatProvider; + private byte[]? rentedBuffer; + private ref readonly byte externalFirstByte; + private State state; + private FixedBufferContainer fixedBuffer; + + [Flags] + private enum State : byte + { + None = 0, + Initialized = 1 << 0, + NullTerminated = 1 << 1, + Interpolation = 1 << 2, + } + + public ImU8String() + { + Unsafe.SkipInit(out this.fixedBuffer); + this.FixedBufferByteRef = 0; + } + + public ImU8String(int literalLength, int formattedCount) + : this(ReadOnlySpan.Empty) + { + this.state |= State.Interpolation; + literalLength += formattedCount * 4; + this.Reserve(literalLength); + } + + public ImU8String(int literalLength, int formattedCount, IFormatProvider? formatProvider) + : this(literalLength, formattedCount) + { + this.formatProvider = formatProvider; + } + + public ImU8String(ReadOnlySpan text, bool ensureNullTermination = false) + : this() + { + this.state = State.Initialized; + if (text.IsEmpty) + { + this.state |= State.NullTerminated; + } + else if (ensureNullTermination) + { + this.Reserve(text.Length + 1); + var buffer = this.Buffer; + text.CopyTo(buffer); + buffer[^1] = 0; + this.Length = text.Length; + this.state |= State.NullTerminated; + } + else + { + this.externalFirstByte = ref text[0]; + this.Length = text.Length; + if (Unsafe.Add(ref Unsafe.AsRef(in this.externalFirstByte), this.Length) == 0) + this.state |= State.NullTerminated; + } + } + + public ImU8String(ReadOnlyMemory text, bool ensureNullTermination = false) + : this(text.Span, ensureNullTermination) + { + } + + public ImU8String(ReadOnlySpan text) + : this() + { + this.state = State.Initialized | State.NullTerminated; + this.Length = Encoding.UTF8.GetByteCount(text); + if (this.Length + 1 < AllocFreeBufferSize) + { + var newSpan = this.FixedBufferSpan[..this.Length]; + Encoding.UTF8.GetBytes(text, newSpan); + this.FixedBufferSpan[this.Length] = 0; + } + else + { + this.rentedBuffer = ArrayPool.Shared.Rent(this.Length + 1); + var newSpan = this.rentedBuffer.AsSpan(0, this.Length); + Encoding.UTF8.GetBytes(text, newSpan); + this.rentedBuffer[this.Length] = 0; + } + } + + public ImU8String(ReadOnlyMemory text) + : this(text.Span) + { + } + + public ImU8String(string? text) + : this(text.AsSpan()) + { + } + + public unsafe ImU8String(byte* text) + : this(MemoryMarshal.CreateReadOnlySpanFromNullTerminated(text)) + { + this.state |= State.NullTerminated; + } + + public unsafe ImU8String(char* text) + : this(MemoryMarshal.CreateReadOnlySpanFromNullTerminated(text)) + { + } + + public static ImU8String Empty => default; + + public readonly ReadOnlySpan Span => + !Unsafe.IsNullRef(in this.externalFirstByte) + ? MemoryMarshal.CreateReadOnlySpan(in this.externalFirstByte, this.Length) + : this.rentedBuffer is { } rented + ? rented.AsSpan(0, this.Length) + : Unsafe.AsRef(in this).FixedBufferSpan[..this.Length]; + + public int Length { get; private set; } + + public readonly bool IsNull => (this.state & State.Initialized) == 0; + + public readonly bool IsEmpty => this.Length == 0; + + internal Span Buffer + { + get + { + if (Unsafe.IsNullRef(in this.externalFirstByte)) + this.ConvertToOwned(); + + return this.rentedBuffer is { } buf + ? buf.AsSpan() + : MemoryMarshal.Cast(new(ref Unsafe.AsRef(ref this.fixedBuffer))); + } + } + + private Span RemainingBuffer => this.Buffer[this.Length..]; + + private ref byte FixedBufferByteRef => ref this.FixedBufferSpan[0]; + + private Span FixedBufferSpan => + MemoryMarshal.Cast(new(ref Unsafe.AsRef(ref this.fixedBuffer))); + + public static implicit operator ImU8String(ReadOnlySpan text) => new(text); + public static implicit operator ImU8String(ReadOnlyMemory text) => new(text); + public static implicit operator ImU8String(Span text) => new(text); + public static implicit operator ImU8String(Memory text) => new(text); + public static implicit operator ImU8String(byte[]? text) => new(text.AsSpan()); + public static implicit operator ImU8String(ReadOnlySpan text) => new(text); + public static implicit operator ImU8String(ReadOnlyMemory text) => new(text); + public static implicit operator ImU8String(Span text) => new(text); + public static implicit operator ImU8String(Memory text) => new(text); + public static implicit operator ImU8String(char[]? text) => new(text.AsSpan()); + public static implicit operator ImU8String(string? text) => new(text); + public static unsafe implicit operator ImU8String(byte* text) => new(text); + public static unsafe implicit operator ImU8String(char* text) => new(text); + + public ref readonly byte GetPinnableNullTerminatedReference(ReadOnlySpan defaultValue = default) + { + if (this.IsNull) + return ref defaultValue.GetPinnableReference(); + + if (this.IsEmpty) + { + ref var t = ref this.FixedBufferSpan[0]; + t = 0; + return ref t; + } + + if ((this.state & State.NullTerminated) == 0) + this.ConvertToOwned(); + + return ref this.Span[0]; + } + + private void ConvertToOwned() + { + if (Unsafe.IsNullRef(in this.externalFirstByte)) + return; + + Debug.Assert(this.rentedBuffer is null); + + if (this.Length + 1 < AllocFreeBufferSize) + { + var fixedBufferSpan = this.FixedBufferSpan; + this.Span.CopyTo(fixedBufferSpan); + fixedBufferSpan[this.Length] = 0; + } + else + { + var newBuffer = ArrayPool.Shared.Rent(this.Length + 1); + this.Span.CopyTo(newBuffer); + + newBuffer[this.Length] = 0; + this.rentedBuffer = newBuffer; + } + + this.state |= State.NullTerminated; + this.externalFirstByte = ref Unsafe.NullRef(); + } + + public void Dispose() + { + if (this.rentedBuffer is { } buf) + { + this.rentedBuffer = null; + ArrayPool.Shared.Return(buf); + } + } + + public ImU8String MoveOrDefault(ImU8String other) + { + if (!this.IsNull) + { + other.Dispose(); + var res = this; + this = default; + return res; + } + + return other; + } + + public override readonly string ToString() => Encoding.UTF8.GetString(this.Span); + + public void AppendLiteral(string value) + { + if (string.IsNullOrEmpty(value)) + return; + + var remaining = this.RemainingBuffer; + var len = Encoding.UTF8.GetByteCount(value); + if (remaining.Length <= len) + this.IncreaseBuffer(out remaining, this.Length + len + 1); + this.Buffer[this.Length += Encoding.UTF8.GetBytes(value.AsSpan(), remaining)] = 0; + } + + public void AppendFormatted(ReadOnlySpan value) => this.AppendFormatted(value, null); + + public void AppendFormatted(ReadOnlySpan value, string? format) + { + var remaining = this.RemainingBuffer; + if (remaining.Length < value.Length + 1) + this.IncreaseBuffer(out remaining, this.Length + value.Length + 1); + value.CopyTo(remaining); + this.Buffer[this.Length += value.Length] = 0; + } + + public void AppendFormatted(ReadOnlySpan value, int alignment) => + this.AppendFormatted(value, alignment, null); + + public void AppendFormatted(ReadOnlySpan value, int alignment, string? format) + { + var startingPos = this.Length; + this.AppendFormatted(value, format); + FixAlignment(startingPos, alignment); + } + + public void AppendFormatted(ReadOnlySpan value) => this.AppendFormatted(value, null); + + public void AppendFormatted(ReadOnlySpan value, string? format) + { + var remaining = this.RemainingBuffer; + var len = Encoding.UTF8.GetByteCount(value); + if (remaining.Length < len + 1) + this.IncreaseBuffer(out remaining, this.Length + len + 1); + this.Buffer[this.Length += Encoding.UTF8.GetBytes(value, remaining)] = 0; + } + + public void AppendFormatted(ReadOnlySpan value, int alignment) => + this.AppendFormatted(value, alignment, null); + + public void AppendFormatted(ReadOnlySpan value, int alignment, string? format) + { + var startingPos = this.Length; + this.AppendFormatted(value, format); + FixAlignment(startingPos, alignment); + } + + public void AppendFormatted(T value) => this.AppendFormatted(value, null); + + public void AppendFormatted(T value, string? format) + { + var remaining = this.RemainingBuffer; + if (remaining.Length < 1) + this.IncreaseBuffer(out remaining); + + int written; + while (true) + { + var handler = new Utf8.TryWriteInterpolatedStringHandler(1, 1, remaining[..^1], this.formatProvider, out _); + handler.AppendFormatted(value, format); + if (Utf8.TryWrite(remaining, this.formatProvider, ref handler, out written)) + break; + this.IncreaseBuffer(out remaining); + } + + this.Buffer[this.Length += written] = 0; + } + + public void AppendFormatted(T value, int alignment) => this.AppendFormatted(value, alignment, null); + + public void AppendFormatted(T value, int alignment, string? format) + { + var startingPos = this.Length; + this.AppendFormatted(value, format); + FixAlignment(startingPos, alignment); + } + + public void Reserve(int length) + { + if (length >= AllocFreeBufferSize) + IncreaseBuffer(out _, length); + } + + private void FixAlignment(int startingPos, int alignment) + { + var appendedLength = this.Length - startingPos; + + var leftAlign = alignment < 0; + if (leftAlign) + alignment = -alignment; + + var fillLength = alignment - appendedLength; + if (fillLength <= 0) + return; + + var destination = this.Buffer; + if (fillLength > destination.Length - this.Length) + { + this.IncreaseBuffer(out _, fillLength + 1); + destination = this.Buffer; + } + + if (leftAlign) + { + destination.Slice(this.Length, fillLength).Fill((byte)' '); + } + else + { + destination.Slice(startingPos, appendedLength).CopyTo(destination[(startingPos + fillLength)..]); + destination.Slice(startingPos, fillLength).Fill((byte)' '); + } + + this.Buffer[this.Length += fillLength] = 0; + } + + private void IncreaseBuffer(out Span remaining, int minCapacity = 0) + { + minCapacity = Math.Max(minCapacity, Math.Max(this.Buffer.Length * 2, MinimumRentSize)); + var newBuffer = ArrayPool.Shared.Rent(minCapacity); + this.Span.CopyTo(newBuffer); + newBuffer[this.Length] = 0; + if (this.rentedBuffer is not null) + ArrayPool.Shared.Return(this.rentedBuffer); + + this.rentedBuffer = newBuffer; + this.externalFirstByte = ref Unsafe.NullRef(); + remaining = newBuffer.AsSpan(this.Length); + } + + [StructLayout(LayoutKind.Sequential, Size = AllocFreeBufferSize)] + private struct FixedBufferContainer; +} diff --git a/imgui/Dalamud.Bindings.ImGui/ImVector.cs b/imgui/Dalamud.Bindings.ImGui/ImVector.cs index 7772871e8..9a10c1d6b 100644 --- a/imgui/Dalamud.Bindings.ImGui/ImVector.cs +++ b/imgui/Dalamud.Bindings.ImGui/ImVector.cs @@ -1,238 +1,237 @@ using System.Runtime.CompilerServices; -namespace Dalamud.Bindings.ImGui +namespace Dalamud.Bindings.ImGui; + +public unsafe struct ImVector { - public unsafe struct ImVector + public readonly int Size; + public readonly int Capacity; + public readonly void* Data; + + public ImVector(int size, int capacity, void* data) { - public readonly int Size; - public readonly int Capacity; - public readonly void* Data; + Size = size; + Capacity = capacity; + Data = data; + } - public ImVector(int size, int capacity, void* data) + public ref T Ref(int index) + { + return ref Unsafe.AsRef((byte*)Data + index * Unsafe.SizeOf()); + } + + public IntPtr Address(int index) + { + return (IntPtr)((byte*)Data + index * Unsafe.SizeOf()); + } +} + +/// +/// A structure representing a dynamic array for unmanaged types. +/// +/// The type of elements in the vector, must be unmanaged. +public unsafe struct ImVector where T : unmanaged +{ + /// + /// Initializes a new instance of the struct with the specified size, capacity, and data pointer. + /// + /// The initial size of the vector. + /// The initial capacity of the vector. + /// Pointer to the initial data. + public ImVector(int size, int capacity, T* data) + { + this.size = size; + this.capacity = capacity; + this.data = data; + } + + private int size; + private int capacity; + private unsafe T* data; + + + /// + /// Gets or sets the element at the specified index. + /// + /// The zero-based index of the element to get or set. + /// The element at the specified index. + /// Thrown when the index is out of range. + public T this[int index] + { + get { - Size = size; - Capacity = capacity; - Data = data; + if (index < 0 || index >= size) + { + throw new IndexOutOfRangeException(); + } + return data[index]; } - - public ref T Ref(int index) + set { - return ref Unsafe.AsRef((byte*)Data + index * Unsafe.SizeOf()); - } - - public IntPtr Address(int index) - { - return (IntPtr)((byte*)Data + index * Unsafe.SizeOf()); + if (index < 0 || index >= size) + { + throw new IndexOutOfRangeException(); + } + data[index] = value; } } /// - /// A structure representing a dynamic array for unmanaged types. + /// Gets a pointer to the first element of the vector. /// - /// The type of elements in the vector, must be unmanaged. - public unsafe struct ImVector where T : unmanaged + public readonly T* Data => data; + + /// + /// Gets a pointer to the first element of the vector. + /// + public readonly T* Front => data; + + /// + /// Gets a pointer to the last element of the vector. + /// + public readonly T* Back => size > 0 ? data + size - 1 : null; + + /// + /// Gets or sets the capacity of the vector. + /// + public int Capacity { - /// - /// Initializes a new instance of the struct with the specified size, capacity, and data pointer. - /// - /// The initial size of the vector. - /// The initial capacity of the vector. - /// Pointer to the initial data. - public ImVector(int size, int capacity, T* data) + readonly get => capacity; + set { - this.size = size; - this.capacity = capacity; - this.data = data; - } - - private int size; - private int capacity; - private unsafe T* data; - - - /// - /// Gets or sets the element at the specified index. - /// - /// The zero-based index of the element to get or set. - /// The element at the specified index. - /// Thrown when the index is out of range. - public T this[int index] - { - get + if (capacity == value) { - if (index < 0 || index >= size) - { - throw new IndexOutOfRangeException(); - } - return data[index]; + return; } - set + + if (data == null) { - if (index < 0 || index >= size) - { - throw new IndexOutOfRangeException(); - } - data[index] = value; + data = (T*)ImGui.MemAlloc((nuint)(value * sizeof(T))); } - } - - /// - /// Gets a pointer to the first element of the vector. - /// - public readonly T* Data => data; - - /// - /// Gets a pointer to the first element of the vector. - /// - public readonly T* Front => data; - - /// - /// Gets a pointer to the last element of the vector. - /// - public readonly T* Back => size > 0 ? data + size - 1 : null; - - /// - /// Gets or sets the capacity of the vector. - /// - public int Capacity - { - readonly get => capacity; - set - { - if (capacity == value) - { - return; - } - - if (data == null) - { - data = (T*)ImGui.MemAlloc((nuint)(value * sizeof(T))); - } - else - { - int newSize = Math.Min(size, value); - T* newData = (T*)ImGui.MemAlloc((nuint)(value * sizeof(T))); - Buffer.MemoryCopy(data, newData, (nuint)(value * sizeof(T)), (nuint)(newSize * sizeof(T))); - ImGui.MemFree(data); - data = newData; - size = newSize; - } - - capacity = value; - - // Clear the rest of the data - for (int i = size; i < capacity; i++) - { - data[i] = default; - } - } - } - - /// - /// Gets the number of elements in the vector. - /// - public readonly int Size => size; - - /// - /// Grows the capacity of the vector to at least the specified value. - /// - /// The new capacity. - public void Grow(int newCapacity) - { - if (newCapacity > capacity) - { - Capacity = newCapacity * 2; - } - } - - /// - /// Ensures that the vector has at least the specified capacity. - /// - /// The minimum capacity required. - public void EnsureCapacity(int size) - { - if (size > capacity) - { - Grow(size); - } - } - - /// - /// Resizes the vector to the specified size. - /// - /// The new size of the vector. - public void Resize(int newSize) - { - EnsureCapacity(newSize); - size = newSize; - } - - /// - /// Clears all elements from the vector. - /// - public void Clear() - { - size = 0; - } - - /// - /// Adds an element to the end of the vector. - /// - /// The value to add. - public void PushBack(T value) - { - EnsureCapacity(size + 1); - data[size++] = value; - } - - /// - /// Removes the last element from the vector. - /// - public void PopBack() - { - if (size > 0) - { - size--; - } - } - - /// - /// Frees the memory allocated for the vector. - /// - public void Free() - { - if (data != null) + else { + int newSize = Math.Min(size, value); + T* newData = (T*)ImGui.MemAlloc((nuint)(value * sizeof(T))); + Buffer.MemoryCopy(data, newData, (nuint)(value * sizeof(T)), (nuint)(newSize * sizeof(T))); ImGui.MemFree(data); - data = null; - size = 0; - capacity = 0; + data = newData; + size = newSize; } - } - public ref T Ref(int index) - { - return ref Unsafe.AsRef((byte*)Data + index * Unsafe.SizeOf()); - } + capacity = value; - public ref TCast Ref(int index) - { - return ref Unsafe.AsRef((byte*)Data + index * Unsafe.SizeOf()); - } - - public void* Address(int index) - { - return (byte*)Data + index * Unsafe.SizeOf(); - } - - public void* Address(int index) - { - return (byte*)Data + index * Unsafe.SizeOf(); - } - - public ImVector* ToUntyped() - { - return (ImVector*)Unsafe.AsPointer(ref this); + // Clear the rest of the data + for (int i = size; i < capacity; i++) + { + data[i] = default; + } } } + + /// + /// Gets the number of elements in the vector. + /// + public readonly int Size => size; + + /// + /// Grows the capacity of the vector to at least the specified value. + /// + /// The new capacity. + public void Grow(int newCapacity) + { + if (newCapacity > capacity) + { + Capacity = newCapacity * 2; + } + } + + /// + /// Ensures that the vector has at least the specified capacity. + /// + /// The minimum capacity required. + public void EnsureCapacity(int size) + { + if (size > capacity) + { + Grow(size); + } + } + + /// + /// Resizes the vector to the specified size. + /// + /// The new size of the vector. + public void Resize(int newSize) + { + EnsureCapacity(newSize); + size = newSize; + } + + /// + /// Clears all elements from the vector. + /// + public void Clear() + { + size = 0; + } + + /// + /// Adds an element to the end of the vector. + /// + /// The value to add. + public void PushBack(T value) + { + EnsureCapacity(size + 1); + data[size++] = value; + } + + /// + /// Removes the last element from the vector. + /// + public void PopBack() + { + if (size > 0) + { + size--; + } + } + + /// + /// Frees the memory allocated for the vector. + /// + public void Free() + { + if (data != null) + { + ImGui.MemFree(data); + data = null; + size = 0; + capacity = 0; + } + } + + public ref T Ref(int index) + { + return ref Unsafe.AsRef((byte*)Data + index * Unsafe.SizeOf()); + } + + public ref TCast Ref(int index) + { + return ref Unsafe.AsRef((byte*)Data + index * Unsafe.SizeOf()); + } + + public void* Address(int index) + { + return (byte*)Data + index * Unsafe.SizeOf(); + } + + public void* Address(int index) + { + return (byte*)Data + index * Unsafe.SizeOf(); + } + + public ImVector* ToUntyped() + { + return (ImVector*)Unsafe.AsPointer(ref this); + } } diff --git a/imgui/Dalamud.Bindings.ImGui/Internals/Functions/Functions.016.cs b/imgui/Dalamud.Bindings.ImGui/Internals/Functions/Functions.016.cs index fed057871..6e47757d5 100644 --- a/imgui/Dalamud.Bindings.ImGui/Internals/Functions/Functions.016.cs +++ b/imgui/Dalamud.Bindings.ImGui/Internals/Functions/Functions.016.cs @@ -1610,8 +1610,6 @@ namespace Dalamud.Bindings.ImGui } } - /* - /// /// To be documented. /// @@ -1669,8 +1667,6 @@ namespace Dalamud.Bindings.ImGui } } - */ - /// /// To be documented. ///