diff --git a/generate_imgui_bindings.ps1 b/generate_imgui_bindings.ps1
index 782657023..84eb4e245 100644
--- a/generate_imgui_bindings.ps1
+++ b/generate_imgui_bindings.ps1
@@ -7,14 +7,19 @@ Set-Location -Path $PSScriptRoot
# Copy cimgui files from the cimgui repository to Hexa.NET.ImGui
Copy-Item -Path "lib/cimgui/cimgui.h" -Destination "lib/Hexa.NET.ImGui/Generator/cimgui" -Force
Copy-Item -Path "lib/cimgui/generator/output/definitions.json" -Destination "lib/Hexa.NET.ImGui/Generator/cimgui" -Force
+Copy-Item -Path "lib/cimgui/generator/output/structs_and_enums.json" -Destination "lib/Hexa.NET.ImGui/Generator/cimgui" -Force
+Copy-Item -Path "lib/cimgui/generator/output/typedefs_dict.json" -Destination "lib/Hexa.NET.ImGui/Generator/cimgui" -Force
# Copy cimplot.h and cimguizmo.h
Copy-Item -Path "lib/cimplot/cimplot.h" -Destination "lib/Hexa.NET.ImGui/Generator/cimplot" -Force
Copy-Item -Path "lib/cimplot/generator/output/definitions.json" -Destination "lib/Hexa.NET.ImGui/Generator/cimplot" -Force
+Copy-Item -Path "lib/cimplot/generator/output/structs_and_enums.json" -Destination "lib/Hexa.NET.ImGui/Generator/cimplot" -Force
+Copy-Item -Path "lib/cimplot/generator/output/typedefs_dict.json" -Destination "lib/Hexa.NET.ImGui/Generator/cimplot" -Force
Copy-Item -Path "lib/cimguizmo/cimguizmo.h" -Destination "lib/Hexa.NET.ImGui/Generator/cimguizmo" -Force
Copy-Item -Path "lib/cimguizmo/generator/output/definitions.json" -Destination "lib/Hexa.NET.ImGui/Generator/cimguizmo" -Force
-
+Copy-Item -Path "lib/cimguizmo/generator/output/structs_and_enums.json" -Destination "lib/Hexa.NET.ImGui/Generator/cimguizmo" -Force
+#Copy-Item -Path "lib/cimguizmo/generator/output/typedefs_dict.json" -Destination "lib/Hexa.NET.ImGui/Generator/cimguizmo" -Force
# Find the first `#ifdef CIMGUI_DEFINE_ENUMS_AND_STRUCTS` in cimgui.h and insert `#define CIMGUI_DEFINE_ENUMS_AND_STRUCTS` before it
function InsertDefine {
@@ -66,6 +71,7 @@ Set-Location -Path "Generator"
dotnet build
# Run generator
+Read-Host -Prompt "Press any key to generate" | Out-Null
Set-Location -Path "bin/Debug/net9.0"
.\Generator.exe
diff --git a/imgui/Dalamud.Bindings.ImGui/Dalamud.Bindings.ImGui.csproj b/imgui/Dalamud.Bindings.ImGui/Dalamud.Bindings.ImGui.csproj
index 9b1084ef0..c995dfd68 100644
--- a/imgui/Dalamud.Bindings.ImGui/Dalamud.Bindings.ImGui.csproj
+++ b/imgui/Dalamud.Bindings.ImGui/Dalamud.Bindings.ImGui.csproj
@@ -9,7 +9,7 @@
-
+
diff --git a/imgui/Dalamud.Bindings.ImGui/Generated/Constants/Constants.000.cs b/imgui/Dalamud.Bindings.ImGui/Generated/Constants/Constants.000.cs
index 41740859a..8186adec9 100644
--- a/imgui/Dalamud.Bindings.ImGui/Generated/Constants/Constants.000.cs
+++ b/imgui/Dalamud.Bindings.ImGui/Generated/Constants/Constants.000.cs
@@ -15,10 +15,14 @@ namespace Dalamud.Bindings.ImGui
{
public unsafe partial class ImGui
{
+ public const int CIMGUI_VARGS0 = 1;
+
public const int IMGUI_USE_WCHAR32 = 1;
public const int IMGUI_ENABLE_FREETYPE = 1;
+ public const int CIMGUI_DEFINE_ENUMS_AND_STRUCTS = 1;
+
public const int IMGUI_HAS_DOCK = 1;
}
diff --git a/imgui/Dalamud.Bindings.ImGui/Generated/Delegates/Delegates.000.cs b/imgui/Dalamud.Bindings.ImGui/Generated/Delegates/Delegates.000.cs
index 39ef5dfc1..f2e7d16e8 100644
--- a/imgui/Dalamud.Bindings.ImGui/Generated/Delegates/Delegates.000.cs
+++ b/imgui/Dalamud.Bindings.ImGui/Generated/Delegates/Delegates.000.cs
@@ -661,14 +661,14 @@ namespace Dalamud.Bindings.ImGui
/// To be documented.
///
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
- public unsafe delegate void* ImGuiMemAllocFunc([NativeName(NativeNameType.Param, "sz")] [NativeName(NativeNameType.Type, "size_t")] ulong sz, [NativeName(NativeNameType.Param, "user_data")] [NativeName(NativeNameType.Type, "void*")] void* userData);
+ public unsafe delegate void* ImGuiMemAllocFunc([NativeName(NativeNameType.Param, "sz")] [NativeName(NativeNameType.Type, "size_t")] nuint sz, [NativeName(NativeNameType.Param, "user_data")] [NativeName(NativeNameType.Type, "void*")] void* userData);
#else
///
/// To be documented.
///
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
- public unsafe delegate nint ImGuiMemAllocFunc([NativeName(NativeNameType.Param, "sz")] [NativeName(NativeNameType.Type, "size_t")] ulong sz, [NativeName(NativeNameType.Param, "user_data")] [NativeName(NativeNameType.Type, "void*")] nint userData);
+ public unsafe delegate nint ImGuiMemAllocFunc([NativeName(NativeNameType.Param, "sz")] [NativeName(NativeNameType.Type, "size_t")] nuint sz, [NativeName(NativeNameType.Param, "user_data")] [NativeName(NativeNameType.Type, "void*")] nint userData);
#endif
diff --git a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImDrawFlags.cs b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImDrawFlags.cs
index a6b366b73..e6c17d87e 100644
--- a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImDrawFlags.cs
+++ b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImDrawFlags.cs
@@ -25,32 +25,32 @@ namespace Dalamud.Bindings.ImGui
None = unchecked(0),
///
- /// PathStroke(), AddPolyline(): specify that shape should be closed (Important: this is always == 1 for legacy reason)
+ /// To be documented.
///
Closed = unchecked(1),
///
- /// AddRect(), AddRectFilled(), PathRect(): enable rounding top-left corner only (when rounding > 0.0f, we default to all corners). Was 0x01.
+ /// To be documented.
///
RoundCornersTopLeft = unchecked(16),
///
- /// AddRect(), AddRectFilled(), PathRect(): enable rounding top-right corner only (when rounding > 0.0f, we default to all corners). Was 0x02.
+ /// To be documented.
///
RoundCornersTopRight = unchecked(32),
///
- /// AddRect(), AddRectFilled(), PathRect(): enable rounding bottom-left corner only (when rounding > 0.0f, we default to all corners). Was 0x04.
+ /// To be documented.
///
RoundCornersBottomLeft = unchecked(64),
///
- /// AddRect(), AddRectFilled(), PathRect(): enable rounding bottom-right corner only (when rounding > 0.0f, we default to all corners). Wax 0x08.
+ /// To be documented.
///
RoundCornersBottomRight = unchecked(128),
///
- /// AddRect(), AddRectFilled(), PathRect(): disable rounding on all corners (when rounding > 0.0f). This is NOT zero, NOT an implicit flag!
+ /// To be documented.
///
RoundCornersNone = unchecked(256),
@@ -80,7 +80,7 @@ namespace Dalamud.Bindings.ImGui
RoundCornersAll = unchecked(240),
///
- /// Default to ALL corners if none of the _RoundCornersXX flags are specified.
+ /// To be documented.
///
RoundCornersDefault = RoundCornersAll,
diff --git a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImDrawListFlags.cs b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImDrawListFlags.cs
index 49d64f184..efcf4cb9b 100644
--- a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImDrawListFlags.cs
+++ b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImDrawListFlags.cs
@@ -25,22 +25,22 @@ namespace Dalamud.Bindings.ImGui
None = unchecked(0),
///
- /// Enable anti-aliased linesborders (*2 the number of triangles for 1.0f wide line or lines thin enough to be drawn using textures, otherwise *3 the number of triangles)
+ /// To be documented.
///
AntiAliasedLines = unchecked(1),
///
- /// Enable anti-aliased linesborders using textures when possible. Require backend to render with bilinear filtering (NOT pointnearest filtering).
+ /// To be documented.
///
AntiAliasedLinesUseTex = unchecked(2),
///
- /// Enable anti-aliased edge around filled shapes (rounded rectangles, circles).
+ /// To be documented.
///
AntiAliasedFill = unchecked(4),
///
- /// Can emit 'VtxOffset > 0' to allow large meshes. Set when 'ImGuiBackendFlags_RendererHasVtxOffset' is enabled.
+ /// To be documented.
///
AllowVtxOffset = unchecked(8),
}
diff --git a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImFontAtlasFlags.cs b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImFontAtlasFlags.cs
index 252ec720d..43ee3b150 100644
--- a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImFontAtlasFlags.cs
+++ b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImFontAtlasFlags.cs
@@ -25,17 +25,17 @@ namespace Dalamud.Bindings.ImGui
None = unchecked(0),
///
- /// Don't round the height to next power of two
+ /// To be documented.
///
NoPowerOfTwoHeight = unchecked(1),
///
- /// Don't build software mouse cursors into the atlas (save a little texture memory)
+ /// To be documented.
///
NoMouseCursors = unchecked(2),
///
- /// Don't build thick line textures into the atlas (save a little texture memory, allow support for pointnearest filtering). The AntiAliasedLinesUseTex features uses them, otherwise they will be rendered using polygons (more expensive for CPUGPU).
+ /// To be documented.
///
NoBakedLines = unchecked(4),
}
diff --git a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiActivateFlags.cs b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiActivateFlags.cs
index 378443321..c1e45671b 100644
--- a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiActivateFlags.cs
+++ b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiActivateFlags.cs
@@ -25,17 +25,17 @@ namespace Dalamud.Bindings.ImGui
None = unchecked(0),
///
- /// Favor activation that requires keyboard text input (e.g. for SliderDrag). Default for Enter key.
+ /// To be documented.
///
PreferInput = unchecked(1),
///
- /// Favor activation for tweaking with arrows or gamepad (e.g. for SliderDrag). Default for Space key and if keyboard is not used.
+ /// To be documented.
///
PreferTweak = unchecked(2),
///
- /// Request widget to preserve state if it can (e.g. InputText will try to preserve cursorselection)
+ /// To be documented.
///
TryToPreserveState = unchecked(4),
}
diff --git a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiBackendFlags.cs b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiBackendFlags.cs
index e6a66945e..d777cedf1 100644
--- a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiBackendFlags.cs
+++ b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiBackendFlags.cs
@@ -25,37 +25,37 @@ namespace Dalamud.Bindings.ImGui
None = unchecked(0),
///
- /// Backend Platform supports gamepad and currently has one connected.
+ /// To be documented.
///
HasGamepad = unchecked(1),
///
- /// Backend Platform supports honoring GetMouseCursor() value to change the OS cursor shape.
+ /// To be documented.
///
HasMouseCursors = unchecked(2),
///
- /// Backend Platform supports io.WantSetMousePos requests to reposition the OS mouse position (only used if io.ConfigNavMoveSetMousePos is set).
+ /// To be documented.
///
HasSetMousePos = unchecked(4),
///
- /// Backend Renderer supports ImDrawCmd::VtxOffset. This enables output of large meshes (64K+ vertices) while still using 16-bit indices.
+ /// To be documented.
///
RendererHasVtxOffset = unchecked(8),
///
- /// Backend Platform supports multiple viewports.
+ /// To be documented.
///
PlatformHasViewports = unchecked(1024),
///
- /// Backend Platform supports calling io.AddMouseViewportEvent() with the viewport under the mouse. IF POSSIBLE, ignore viewports with the ImGuiViewportFlags_NoInputs flag (Win32 backend, GLFW 3.30+ backend can do this, SDL backend cannot). If this cannot be done, Dear ImGui needs to use a flawed heuristic to find the viewport under.
+ /// To be documented.
///
HasMouseHoveredViewport = unchecked(2048),
///
- /// Backend Renderer supports multiple viewports.
+ /// To be documented.
///
RendererHasViewports = unchecked(4096),
}
diff --git a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiButtonFlags.cs b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiButtonFlags.cs
index 74a2a0572..640e8158d 100644
--- a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiButtonFlags.cs
+++ b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiButtonFlags.cs
@@ -25,22 +25,22 @@ namespace Dalamud.Bindings.ImGui
None = unchecked(0),
///
- /// React on left mouse button (default)
+ /// To be documented.
///
MouseButtonLeft = unchecked(1),
///
- /// React on right mouse button
+ /// To be documented.
///
MouseButtonRight = unchecked(2),
///
- /// React on center mouse button
+ /// To be documented.
///
MouseButtonMiddle = unchecked(4),
///
- /// [Internal]
+ /// To be documented.
///
MouseButtonMask = unchecked(7),
diff --git a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiButtonFlagsPrivate.cs b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiButtonFlagsPrivate.cs
index 3c0ee2934..5e864c855 100644
--- a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiButtonFlagsPrivate.cs
+++ b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiButtonFlagsPrivate.cs
@@ -20,32 +20,32 @@ namespace Dalamud.Bindings.ImGui
public enum ImGuiButtonFlagsPrivate : int
{
///
- /// return true on click (mouse down event)
+ /// To be documented.
///
PressedOnClick = unchecked(16),
///
- /// [Default] return true on click + release on same item <-- this is what the majority of Button are using
+ /// To be documented.
///
PressedOnClickRelease = unchecked(32),
///
- /// return true on click + release even if the release event is not done while hovering the item
+ /// To be documented.
///
PressedOnClickReleaseAnywhere = unchecked(64),
///
- /// return true on release (default requires click+release)
+ /// To be documented.
///
PressedOnRelease = unchecked(128),
///
- /// return true on double-click (default requires click+release)
+ /// To be documented.
///
PressedOnDoubleClick = unchecked(256),
///
- /// return true when held into while we are drag and dropping another item (used by e.g. tree nodes, collapsing headers)
+ /// To be documented.
///
PressedOnDragDropHold = unchecked(512),
@@ -55,7 +55,7 @@ namespace Dalamud.Bindings.ImGui
Repeat = unchecked(1024),
///
- /// allow interactions even if a child window is overlapping
+ /// To be documented.
///
FlattenChildren = unchecked(2048),
@@ -70,7 +70,7 @@ namespace Dalamud.Bindings.ImGui
DontClosePopups = unchecked(8192),
///
- /// vertically align button to match text baseline - ButtonEx() only FIXME: Should be removed and handled by SmallButton(), not possible currently because of DC.CursorPosPrevLine
+ /// To be documented.
///
AlignTextBaseLine = unchecked(32768),
@@ -80,17 +80,17 @@ namespace Dalamud.Bindings.ImGui
NoKeyModifiers = unchecked(65536),
///
- /// don't set ActiveId while holding the mouse (ImGuiButtonFlags_PressedOnClick only)
+ /// To be documented.
///
NoHoldingActiveId = unchecked(131072),
///
- /// don't override navigation focus when activated (FIXME: this is essentially used every time an item uses ImGuiItemFlags_NoNav, but because legacy specs don't requires LastItemData to be set ButtonBehavior(), we can't poll g.LastItemData.ItemFlags)
+ /// To be documented.
///
NoNavFocus = unchecked(262144),
///
- /// don't report as hovered when nav focus is on this item
+ /// To be documented.
///
NoHoveredOnFocus = unchecked(524288),
diff --git a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiCol.cs b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiCol.cs
index 79b66bd31..166f451a1 100644
--- a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiCol.cs
+++ b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiCol.cs
@@ -30,17 +30,17 @@ namespace Dalamud.Bindings.ImGui
TextDisabled = unchecked(1),
///
- /// Background of normal windows
+ /// To be documented.
///
WindowBg = unchecked(2),
///
- /// Background of child windows
+ /// To be documented.
///
ChildBg = unchecked(3),
///
- /// Background of popups, menus, tooltips windows
+ /// To be documented.
///
PopupBg = unchecked(4),
@@ -55,7 +55,7 @@ namespace Dalamud.Bindings.ImGui
BorderShadow = unchecked(6),
///
- /// Background of checkbox, radio button, plot, slider, text input
+ /// To be documented.
///
FrameBg = unchecked(7),
@@ -70,17 +70,17 @@ namespace Dalamud.Bindings.ImGui
FrameBgActive = unchecked(9),
///
- /// Title bar
+ /// To be documented.
///
TitleBg = unchecked(10),
///
- /// Title bar when focused
+ /// To be documented.
///
TitleBgActive = unchecked(11),
///
- /// Title bar when collapsed
+ /// To be documented.
///
TitleBgCollapsed = unchecked(12),
@@ -110,7 +110,7 @@ namespace Dalamud.Bindings.ImGui
ScrollbarGrabActive = unchecked(17),
///
- /// Checkbox tick and RadioButton circle
+ /// To be documented.
///
CheckMark = unchecked(18),
@@ -140,7 +140,7 @@ namespace Dalamud.Bindings.ImGui
ButtonActive = unchecked(23),
///
- /// Header* colors are used for CollapsingHeader, TreeNode, Selectable, MenuItem
+ /// To be documented.
///
Header = unchecked(24),
@@ -170,7 +170,7 @@ namespace Dalamud.Bindings.ImGui
SeparatorActive = unchecked(29),
///
- /// Resize grip in lower-right and lower-left corners of windows.
+ /// To be documented.
///
ResizeGrip = unchecked(30),
@@ -185,12 +185,12 @@ namespace Dalamud.Bindings.ImGui
ResizeGripActive = unchecked(32),
///
- /// Tab background, when tab-bar is focused & tab is unselected
+ /// To be documented.
///
Tab = unchecked(33),
///
- /// Tab background, when hovered
+ /// To be documented.
///
TabHovered = unchecked(34),
@@ -210,12 +210,12 @@ namespace Dalamud.Bindings.ImGui
TabUnfocusedActive = unchecked(37),
///
- /// Preview overlay color when about to docking something
+ /// To be documented.
///
DockingPreview = unchecked(38),
///
- /// Background color for empty node (e.g. CentralNode with no window docked into it)
+ /// To be documented.
///
DockingEmptyBg = unchecked(39),
@@ -240,27 +240,27 @@ namespace Dalamud.Bindings.ImGui
PlotHistogramHovered = unchecked(43),
///
- /// Table header background
+ /// To be documented.
///
TableHeaderBg = unchecked(44),
///
- /// Table outer and header borders (prefer using Alpha=1.0 here)
+ /// To be documented.
///
TableBorderStrong = unchecked(45),
///
- /// Table inner borders (prefer using Alpha=1.0 here)
+ /// To be documented.
///
TableBorderLight = unchecked(46),
///
- /// Table row background (even rows)
+ /// To be documented.
///
TableRowBg = unchecked(47),
///
- /// Table row background (odd rows)
+ /// To be documented.
///
TableRowBgAlt = unchecked(48),
@@ -270,7 +270,7 @@ namespace Dalamud.Bindings.ImGui
TextSelectedBg = unchecked(49),
///
- /// Rectangle highlighting a drop target
+ /// To be documented.
///
DragDropTarget = unchecked(50),
@@ -280,17 +280,17 @@ namespace Dalamud.Bindings.ImGui
NavHighlight = unchecked(51),
///
- /// Highlight window when using CTRL+TAB
+ /// To be documented.
///
NavWindowingHighlight = unchecked(52),
///
- /// Darkencolorize entire screen behind the CTRL+TAB window list, when active
+ /// To be documented.
///
NavWindowingDimBg = unchecked(53),
///
- /// Darkencolorize entire screen behind a modal window, when one is active
+ /// To be documented.
///
ModalWindowDimBg = unchecked(54),
diff --git a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiColorEditFlags.cs b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiColorEditFlags.cs
index 1ba39dae6..5d1fc4cfb 100644
--- a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiColorEditFlags.cs
+++ b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiColorEditFlags.cs
@@ -25,57 +25,57 @@ namespace Dalamud.Bindings.ImGui
None = unchecked(0),
///
- /// ColorEdit, ColorPicker, ColorButton: ignore Alpha component (will only read 3 components from the input pointer).
+ /// To be documented.
///
NoAlpha = unchecked(2),
///
- /// ColorEdit: disable picker when clicking on color square.
+ /// To be documented.
///
NoPicker = unchecked(4),
///
- /// ColorEdit: disable toggling options menu when right-clicking on inputssmall preview.
+ /// To be documented.
///
NoOptions = unchecked(8),
///
- /// ColorEdit, ColorPicker: disable color square preview next to the inputs. (e.g. to show only the inputs)
+ /// To be documented.
///
NoSmallPreview = unchecked(16),
///
- /// ColorEdit, ColorPicker: disable inputs sliderstext widgets (e.g. to show only the small preview color square).
+ /// To be documented.
///
NoInputs = unchecked(32),
///
- /// ColorEdit, ColorPicker, ColorButton: disable tooltip when hovering the preview.
+ /// To be documented.
///
NoTooltip = unchecked(64),
///
- /// ColorEdit, ColorPicker: disable display of inline text label (the label is still forwarded to the tooltip and picker).
+ /// To be documented.
///
NoLabel = unchecked(128),
///
- /// ColorPicker: disable bigger color preview on right side of the picker, use small color square preview instead.
+ /// To be documented.
///
NoSidePreview = unchecked(256),
///
- /// ColorEdit: disable drag and drop target. ColorButton: disable drag and drop source.
+ /// To be documented.
///
NoDragDrop = unchecked(512),
///
- /// ColorButton: disable border (which is enforced by default)
+ /// To be documented.
///
NoBorder = unchecked(1024),
///
- /// ColorEdit, ColorPicker: show vertical alpha bargradient in picker.
+ /// To be documented.
///
AlphaBar = unchecked(65536),
@@ -85,57 +85,57 @@ namespace Dalamud.Bindings.ImGui
AlphaPreview = unchecked(131072),
///
- /// ColorEdit, ColorPicker, ColorButton: display half opaque half transparent preview.
+ /// To be documented.
///
AlphaPreviewHalf = unchecked(262144),
///
- /// (WIP) ColorEdit: Currently only disable 0.0f..1.0f limits in RGBA edition (note: you probably want to use ImGuiColorEditFlags_Float flag as well).
+ /// To be documented.
///
Hdr = unchecked(524288),
///
- /// [Display] ColorEdit: override _display_ type among RGBHSVHex. ColorPicker: select any combination using one or more of RGBHSVHex.
+ /// To be documented.
///
DisplayRgb = unchecked(1048576),
///
- /// [Display] "
+ /// To be documented.
///
DisplayHsv = unchecked(2097152),
///
- /// [Display] "
+ /// To be documented.
///
DisplayHex = unchecked(4194304),
///
- /// [DataType] ColorEdit, ColorPicker, ColorButton: _display_ values formatted as 0..255.
+ /// To be documented.
///
Uint8 = unchecked(8388608),
///
- /// [DataType] ColorEdit, ColorPicker, ColorButton: _display_ values formatted as 0.0f..1.0f floats instead of 0..255 integers. No round-trip of value via integers.
+ /// To be documented.
///
Float = unchecked(16777216),
///
- /// [Picker] ColorPicker: bar for Hue, rectangle for SatValue.
+ /// To be documented.
///
PickerHueBar = unchecked(33554432),
///
- /// [Picker] ColorPicker: wheel for Hue, triangle for SatValue.
+ /// To be documented.
///
PickerHueWheel = unchecked(67108864),
///
- /// [Input] ColorEdit, ColorPicker: input and output data in RGB format.
+ /// To be documented.
///
InputRgb = unchecked(134217728),
///
- /// [Input] ColorEdit, ColorPicker: input and output data in HSV format.
+ /// To be documented.
///
InputHsv = unchecked(268435456),
diff --git a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiComboFlags.cs b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiComboFlags.cs
index 4258c3edc..feb5b1eb6 100644
--- a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiComboFlags.cs
+++ b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiComboFlags.cs
@@ -25,37 +25,37 @@ namespace Dalamud.Bindings.ImGui
None = unchecked(0),
///
- /// Align the popup toward the left by default
+ /// To be documented.
///
PopupAlignLeft = unchecked(1),
///
- /// Max ~4 items visible. Tip: If you want your combo popup to be a specific size you can use SetNextWindowSizeConstraints() prior to calling BeginCombo()
+ /// To be documented.
///
HeightSmall = unchecked(2),
///
- /// Max ~8 items visible (default)
+ /// To be documented.
///
HeightRegular = unchecked(4),
///
- /// Max ~20 items visible
+ /// To be documented.
///
HeightLarge = unchecked(8),
///
- /// As many fitting items as possible
+ /// To be documented.
///
HeightLargest = unchecked(16),
///
- /// Display on the preview box without the square arrow button
+ /// To be documented.
///
NoArrowButton = unchecked(32),
///
- /// Display only a square arrow button
+ /// To be documented.
///
NoPreview = unchecked(64),
diff --git a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiComboFlagsPrivate.cs b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiComboFlagsPrivate.cs
index 1bcab62c7..94372eef4 100644
--- a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiComboFlagsPrivate.cs
+++ b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiComboFlagsPrivate.cs
@@ -20,7 +20,7 @@ namespace Dalamud.Bindings.ImGui
public enum ImGuiComboFlagsPrivate : int
{
///
- /// enable BeginComboPreview()
+ /// To be documented.
///
CustomPreview = unchecked(1048576),
}
diff --git a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiCond.cs b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiCond.cs
index ed29c3add..911c40740 100644
--- a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiCond.cs
+++ b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiCond.cs
@@ -20,27 +20,27 @@ namespace Dalamud.Bindings.ImGui
public enum ImGuiCond : int
{
///
- /// No condition (always set the variable), same as _Always
+ /// To be documented.
///
None = unchecked(0),
///
- /// No condition (always set the variable), same as _None
+ /// To be documented.
///
Always = unchecked(1),
///
- /// Set the variable once per runtime session (only the first call will succeed)
+ /// To be documented.
///
Once = unchecked(2),
///
- /// Set the variable if the objectwindow has no persistently saved data (no entry in .ini file)
+ /// To be documented.
///
FirstUseEver = unchecked(4),
///
- /// Set the variable if the objectwindow is appearing after being hiddeninactive (or the first time)
+ /// To be documented.
///
Appearing = unchecked(8),
}
diff --git a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiConfigFlags.cs b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiConfigFlags.cs
index e434c8110..0c388559a 100644
--- a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiConfigFlags.cs
+++ b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiConfigFlags.cs
@@ -25,12 +25,12 @@ namespace Dalamud.Bindings.ImGui
None = unchecked(0),
///
- /// Master keyboard navigation enable flag. Enable full Tabbing + directional arrows + spaceenter to activate.
+ /// To be documented.
///
NavEnableKeyboard = unchecked(1),
///
- /// Master gamepad navigation enable flag. Backend also needs to set ImGuiBackendFlags_HasGamepad.
+ /// To be documented.
///
NavEnableGamepad = unchecked(2),
@@ -45,12 +45,12 @@ namespace Dalamud.Bindings.ImGui
NavNoCaptureKeyboard = unchecked(8),
///
- /// Instruct dear imgui to disable mouse inputs and interactions.
+ /// To be documented.
///
NoMouse = unchecked(16),
///
- /// Instruct backend to not alter mouse cursor shape and visibility. Use if the backend cursor changes are interfering with yours and you don't want to use SetMouseCursor() to change mouse cursor. You may want to honor requests from imgui by reading GetMouseCursor() yourself instead.
+ /// To be documented.
///
NoMouseCursorChange = unchecked(32),
@@ -60,32 +60,32 @@ namespace Dalamud.Bindings.ImGui
NoKerning = unchecked(128),
///
- /// Docking enable flags.
+ /// To be documented.
///
DockingEnable = unchecked(64),
///
- /// Viewport enable flags (require both ImGuiBackendFlags_PlatformHasViewports + ImGuiBackendFlags_RendererHasViewports set by the respective backends)
+ /// To be documented.
///
ViewportsEnable = unchecked(1024),
///
- /// [BETA: Don't use] FIXME-DPI: Reposition and resize imgui windows when the DpiScale of a viewport changed (mostly useful for the main viewport hosting other window). Note that resizing the main window itself is up to your application.
+ /// To be documented.
///
DpiEnableScaleViewports = unchecked(16384),
///
- /// [BETA: Don't use] FIXME-DPI: Request bitmap-scaled fonts to match DpiScale. This is a very low-quality workaround. The correct way to handle DPI is _currently_ to replace the atlas andor fonts in the Platform_OnChangedViewport callback, but this is all early work in progress.
+ /// To be documented.
///
DpiEnableScaleFonts = unchecked(32768),
///
- /// Application is SRGB-aware.
+ /// To be documented.
///
IsSrgb = unchecked(1048576),
///
- /// Application is using a touch screen instead of a mouse.
+ /// To be documented.
///
IsTouchScreen = unchecked(2097152),
}
diff --git a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiDataType.cs b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiDataType.cs
index 03d17a208..c93c08984 100644
--- a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiDataType.cs
+++ b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiDataType.cs
@@ -20,52 +20,52 @@ namespace Dalamud.Bindings.ImGui
public enum ImGuiDataType : int
{
///
- /// signed char char (with sensible compilers)
+ /// To be documented.
///
S8 = unchecked(0),
///
- /// unsigned char
+ /// To be documented.
///
U8 = unchecked(1),
///
- /// short
+ /// To be documented.
///
S16 = unchecked(2),
///
- /// unsigned short
+ /// To be documented.
///
U16 = unchecked(3),
///
- /// int
+ /// To be documented.
///
S32 = unchecked(4),
///
- /// unsigned int
+ /// To be documented.
///
U32 = unchecked(5),
///
- /// long long __int64
+ /// To be documented.
///
S64 = unchecked(6),
///
- /// unsigned long long unsigned __int64
+ /// To be documented.
///
U64 = unchecked(7),
///
- /// float
+ /// To be documented.
///
Float = unchecked(8),
///
- /// double
+ /// To be documented.
///
Double = unchecked(9),
diff --git a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiDebugLogFlags.cs b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiDebugLogFlags.cs
index ba19e8eec..f8f6eac3e 100644
--- a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiDebugLogFlags.cs
+++ b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiDebugLogFlags.cs
@@ -65,7 +65,7 @@ namespace Dalamud.Bindings.ImGui
EventMask = unchecked(127),
///
- /// Also send output to TTY
+ /// To be documented.
///
OutputToTty = unchecked(1024),
}
diff --git a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiDockNodeFlags.cs b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiDockNodeFlags.cs
index 1d60a2ead..fc3d6603a 100644
--- a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiDockNodeFlags.cs
+++ b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiDockNodeFlags.cs
@@ -25,7 +25,7 @@ namespace Dalamud.Bindings.ImGui
None = unchecked(0),
///
- /// Don't display the dockspace node but keep it alive. Windows docked into this dockspace node won't be undocked.
+ /// To be documented.
///
KeepAliveOnly = unchecked(1),
@@ -35,7 +35,7 @@ namespace Dalamud.Bindings.ImGui
NoDockingInCentralNode = unchecked(4),
///
- /// Enable passthru dockspace: 1) DockSpace() will render a ImGuiCol_WindowBg background covering everything excepted the Central Node when empty. Meaning the host window should probably use SetNextWindowBgAlpha(0.0f) prior to Begin() when using this. 2) When Central Node is empty: let inputs pass-through + won't display a DockingEmptyBg background. See demo for details.
+ /// To be documented.
///
PassthruCentralNode = unchecked(8),
@@ -45,12 +45,12 @@ namespace Dalamud.Bindings.ImGui
NoSplit = unchecked(16),
///
- /// Saved Disable resizing node using the splitterseparators. Useful with programmatically setup dockspaces.
+ /// To be documented.
///
NoResize = unchecked(32),
///
- /// Tab bar will automatically hide when there is a single window in the dock node.
+ /// To be documented.
///
AutoHideTabBar = unchecked(64),
}
diff --git a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiDockNodeFlagsPrivate.cs b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiDockNodeFlagsPrivate.cs
index 7dcbdc631..fa79a6484 100644
--- a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiDockNodeFlagsPrivate.cs
+++ b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiDockNodeFlagsPrivate.cs
@@ -20,32 +20,32 @@ namespace Dalamud.Bindings.ImGui
public enum ImGuiDockNodeFlagsPrivate : int
{
///
- /// Saved A dockspace is a node that occupy space within an existing user window. Otherwise the node is floating and create its own window.
+ /// To be documented.
///
Space = unchecked(1024),
///
- /// Saved The central node has 2 main properties: stay visible when empty, only use "remaining" spaces from its neighbor.
+ /// To be documented.
///
CentralNode = unchecked(2048),
///
- /// Saved Tab bar is completely unavailable. No triangle in the corner to enable it back.
+ /// To be documented.
///
NoTabBar = unchecked(4096),
///
- /// Saved Tab bar is hidden, with a triangle in the corner to show it again (NB: actual tab-bar instance may be destroyed as this is only used for single-window tab bar)
+ /// To be documented.
///
HiddenTabBar = unchecked(8192),
///
- /// Saved Disable windowdocking menu (that one that appears instead of the collapse button)
+ /// To be documented.
///
NoWindowMenuButton = unchecked(16384),
///
- /// Saved Disable close button
+ /// To be documented.
///
NoCloseButton = unchecked(32768),
@@ -60,30 +60,32 @@ namespace Dalamud.Bindings.ImGui
NoDockingSplitMe = unchecked(131072),
///
- /// Disable this node from splitting other windowsnodes.
+ /// To be documented.
///
NoDockingSplitOther = unchecked(262144),
///
- /// Disable other windowsnodes from being docked over this node.
+ /// To be documented.
///
NoDockingOverMe = unchecked(524288),
///
- /// Disable this node from being docked over another window or non-empty node.
+ /// To be documented.
///
NoDockingOverOther = unchecked(1048576),
///
- /// Disable this node from being docked over an empty node (e.g. DockSpace with no other windows)
+ /// To be documented.
///
NoDockingOverEmpty = unchecked(2097152),
///
+ /// To be documented.
///
NoResizeX = unchecked(4194304),
///
+ /// To be documented.
///
NoResizeY = unchecked(8388608),
diff --git a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiDragDropFlags.cs b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiDragDropFlags.cs
index a821138f2..a52fdefed 100644
--- a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiDragDropFlags.cs
+++ b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiDragDropFlags.cs
@@ -25,27 +25,27 @@ namespace Dalamud.Bindings.ImGui
None = unchecked(0),
///
- /// Disable preview tooltip. By default, a successful call to BeginDragDropSource opens a tooltip so you can display a preview or description of the source contents. This flag disables this behavior.
+ /// To be documented.
///
SourceNoPreviewTooltip = unchecked(1),
///
- /// By default, when dragging we clear data so that IsItemHovered() will return false, to avoid subsequent user code submitting tooltips. This flag disables this behavior so you can still call IsItemHovered() on the source item.
+ /// To be documented.
///
SourceNoDisableHover = unchecked(2),
///
- /// Disable the behavior that allows to open tree nodes and collapsing header by holding over them while dragging a source item.
+ /// To be documented.
///
SourceNoHoldToOpenOthers = unchecked(4),
///
- /// Allow items such as Text(), Image() that have no unique identifier to be used as drag source, by manufacturing a temporary identifier based on their window-relative position. This is extremely unusual within the dear imgui ecosystem and so we made it explicit.
+ /// To be documented.
///
SourceAllowNullId = unchecked(8),
///
- /// External source (from outside of dear imgui), won't attempt to read current itemwindow info. Will always return true. Only one Extern source can be active simultaneously.
+ /// To be documented.
///
SourceExtern = unchecked(16),
@@ -55,22 +55,22 @@ namespace Dalamud.Bindings.ImGui
SourceAutoExpirePayload = unchecked(32),
///
- /// AcceptDragDropPayload() will returns true even before the mouse button is released. You can then call IsDelivery() to test if the payload needs to be delivered.
+ /// To be documented.
///
AcceptBeforeDelivery = unchecked(1024),
///
- /// Do not draw the default highlight rectangle when hovering over target.
+ /// To be documented.
///
AcceptNoDrawDefaultRect = unchecked(2048),
///
- /// Request hiding the BeginDragDropSource tooltip from the BeginDragDropTarget site.
+ /// To be documented.
///
AcceptNoPreviewTooltip = unchecked(4096),
///
- /// For peeking ahead and inspecting the payload before delivery.
+ /// To be documented.
///
AcceptPeekOnly = unchecked(3072),
}
diff --git a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiFocusedFlags.cs b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiFocusedFlags.cs
index 44d539283..06d80a6df 100644
--- a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiFocusedFlags.cs
+++ b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiFocusedFlags.cs
@@ -25,27 +25,27 @@ namespace Dalamud.Bindings.ImGui
None = unchecked(0),
///
- /// Return true if any children of the window is focused
+ /// To be documented.
///
ChildWindows = unchecked(1),
///
- /// Test from root window (top most parent of the current hierarchy)
+ /// To be documented.
///
RootWindow = unchecked(2),
///
- /// Return true if any window is focused. Important: If you are trying to tell how to dispatch your low-level inputs, do NOT use this. Use 'io.WantCaptureMouse' instead! Please read the FAQ!
+ /// To be documented.
///
AnyWindow = unchecked(4),
///
- /// Do not consider popup hierarchy (do not treat popup emitter as parent of popup) (when used with _ChildWindows or _RootWindow)
+ /// To be documented.
///
NoPopupHierarchy = unchecked(8),
///
- /// Consider docking hierarchy (treat dockspace host as parent of docked window) (when used with _ChildWindows or _RootWindow)
+ /// To be documented.
///
DockHierarchy = unchecked(16),
diff --git a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiHoveredFlags.cs b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiHoveredFlags.cs
index abc6407d6..58ec185e1 100644
--- a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiHoveredFlags.cs
+++ b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiHoveredFlags.cs
@@ -20,32 +20,32 @@ namespace Dalamud.Bindings.ImGui
public enum ImGuiHoveredFlags : int
{
///
- /// Return true if directly over the itemwindow, not obstructed by another window, not obstructed by an active popup or modal blocking inputs under them.
+ /// To be documented.
///
None = unchecked(0),
///
- /// IsWindowHovered() only: Return true if any children of the window is hovered
+ /// To be documented.
///
ChildWindows = unchecked(1),
///
- /// IsWindowHovered() only: Test from root window (top most parent of the current hierarchy)
+ /// To be documented.
///
RootWindow = unchecked(2),
///
- /// IsWindowHovered() only: Return true if any window is hovered
+ /// To be documented.
///
AnyWindow = unchecked(4),
///
- /// Return true even if a popup window is normally blocking access to this itemwindow
+ /// To be documented.
///
AllowWhenBlockedByPopup = unchecked(8),
///
- /// Return true even if an active item is blocking access to this itemwindow. Useful for Drag and Drop patterns.
+ /// To be documented.
///
AllowWhenBlockedByActiveItem = unchecked(32),
@@ -55,12 +55,12 @@ namespace Dalamud.Bindings.ImGui
AllowWhenOverlapped = unchecked(64),
///
- /// IsItemHovered() only: Return true even if the item is disabled
+ /// To be documented.
///
AllowWhenDisabled = unchecked(128),
///
- /// IsItemHovered() only: Disable using keyboardgamepad navigation state when active, always query mouse
+ /// To be documented.
///
NoNavOverride = unchecked(256),
@@ -75,12 +75,12 @@ namespace Dalamud.Bindings.ImGui
RootAndChildWindows = unchecked(3),
///
- /// IsWindowHovered() only: Do not consider popup hierarchy (do not treat popup emitter as parent of popup) (when used with _ChildWindows or _RootWindow)
+ /// To be documented.
///
NoPopupHierarchy = unchecked(512),
///
- /// IsWindowHovered() only: Consider docking hierarchy (treat dockspace host as parent of docked window) (when used with _ChildWindows or _RootWindow)
+ /// To be documented.
///
DockHierarchy = unchecked(1024),
}
diff --git a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiInputSource.cs b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiInputSource.cs
index 0ce2f5a63..81a4dc705 100644
--- a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiInputSource.cs
+++ b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiInputSource.cs
@@ -25,7 +25,7 @@ namespace Dalamud.Bindings.ImGui
None = unchecked(0),
///
- /// Note: may be Mouse or TouchScreen or Pen. See io.MouseSource to distinguish them.
+ /// To be documented.
///
Mouse = unchecked(1),
diff --git a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiInputTextFlags.cs b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiInputTextFlags.cs
index bf8578e82..73139b785 100644
--- a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiInputTextFlags.cs
+++ b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiInputTextFlags.cs
@@ -25,102 +25,102 @@ namespace Dalamud.Bindings.ImGui
None = unchecked(0),
///
- /// Allow 0123456789.+-*
+ /// To be documented.
///
CharsDecimal = unchecked(1),
///
- /// Allow 0123456789ABCDEFabcdef
+ /// To be documented.
///
CharsHexadecimal = unchecked(2),
///
- /// Turn a..z into A..Z
+ /// To be documented.
///
CharsUppercase = unchecked(4),
///
- /// Filter out spaces, tabs
+ /// To be documented.
///
CharsNoBlank = unchecked(8),
///
- /// Select entire text when first taking mouse focus
+ /// To be documented.
///
AutoSelectAll = unchecked(16),
///
- /// Return 'true' when Enter is pressed (as opposed to every time the value was modified). Consider using IsItemDeactivatedAfterEdit() instead!
+ /// To be documented.
///
EnterReturnsTrue = unchecked(32),
///
- /// Callback on pressing TAB (for completion handling)
+ /// To be documented.
///
CallbackCompletion = unchecked(64),
///
- /// Callback on pressing UpDown arrows (for history handling)
+ /// To be documented.
///
CallbackHistory = unchecked(128),
///
- /// Callback on each iteration. User code may query cursor position, modify text buffer.
+ /// To be documented.
///
CallbackAlways = unchecked(256),
///
- /// Callback on character inputs to replace or discard them. Modify 'EventChar' to replace or discard, or return 1 in callback to discard.
+ /// To be documented.
///
CallbackCharFilter = unchecked(512),
///
- /// Pressing TAB input a '\t' character into the text field
+ /// To be documented.
///
AllowTabInput = unchecked(1024),
///
- /// In multi-line mode, validate with Enter, add new line with Ctrl+Enter (default is opposite: validate with Ctrl+Enter, add line with Enter).
+ /// To be documented.
///
CtrlEnterForNewLine = unchecked(2048),
///
- /// Disable following the cursor horizontally
+ /// To be documented.
///
NoHorizontalScroll = unchecked(4096),
///
- /// Overwrite mode
+ /// To be documented.
///
AlwaysOverwrite = unchecked(8192),
///
- /// Read-only mode
+ /// To be documented.
///
ReadOnly = unchecked(16384),
///
- /// Password mode, display all characters as '*', disable copy
+ /// To be documented.
///
Password = unchecked(32768),
///
- /// Disable undoredo. Note that input text owns the text data while active, if you want to provide your own undoredo stack you need e.g. to call ClearActiveID().
+ /// To be documented.
///
NoUndoRedo = unchecked(65536),
///
- /// Allow 0123456789.+-*eE (Scientific notation input)
+ /// To be documented.
///
CharsScientific = unchecked(131072),
///
- /// Callback on buffer capacity changes request (beyond 'buf_size' parameter value), allowing the string to grow. Notify when the string wants to be resized (for string types which hold a cache of their Size). You will be provided a new BufSize in the callback and NEED to honor it. (see misccppimgui_stdlib.h for an example of using this)
+ /// To be documented.
///
CallbackResize = unchecked(262144),
///
- /// Callback on any edit. Note that InputText() already returns true on edit + you can always use IsItemEdited(). The callback is useful to manipulate the underlying buffer while focus is active.
+ /// To be documented.
///
CallbackEdit = unchecked(524288),
}
diff --git a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiInputTextFlagsPrivate.cs b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiInputTextFlagsPrivate.cs
index d4f6045fe..48996a695 100644
--- a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiInputTextFlagsPrivate.cs
+++ b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiInputTextFlagsPrivate.cs
@@ -20,7 +20,7 @@ namespace Dalamud.Bindings.ImGui
public enum ImGuiInputTextFlagsPrivate : int
{
///
- /// For internal use by InputTextMultiline()
+ /// To be documented.
///
Multiline = unchecked(67108864),
@@ -30,7 +30,7 @@ namespace Dalamud.Bindings.ImGui
NoMarkEdited = unchecked(134217728),
///
- /// For internal use by TempInputText(), will skip calling ItemAdd(). Require bounding-box to strictly match.
+ /// To be documented.
///
MergedItem = unchecked(268435456),
}
diff --git a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiItemFlags.cs b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiItemFlags.cs
index 6cf35a414..437d81ffd 100644
--- a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiItemFlags.cs
+++ b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiItemFlags.cs
@@ -20,17 +20,17 @@ namespace Dalamud.Bindings.ImGui
public enum ImGuiItemFlags : int
{
///
- /// (Default)
+ /// To be documented.
///
None = unchecked(0),
///
- /// false Disable keyboard tabbing. This is a "lighter" version of ImGuiItemFlags_NoNav.
+ /// To be documented.
///
NoTabStop = unchecked(1),
///
- /// false Any button-like behavior will have repeat mode enabled (based on io.KeyRepeatDelay and io.KeyRepeatRate values). Note that you can also call IsItemActive() after any button to tell if it is being held.
+ /// To be documented.
///
ButtonRepeat = unchecked(2),
@@ -40,12 +40,12 @@ namespace Dalamud.Bindings.ImGui
Disabled = unchecked(4),
///
- /// false Disable any form of focusing (keyboardgamepad directional navigation and SetKeyboardFocusHere() calls).
+ /// To be documented.
///
NoNav = unchecked(8),
///
- /// false Disable item being a candidate for default focus (e.g. used by title bar items).
+ /// To be documented.
///
NoNavDefaultFocus = unchecked(16),
diff --git a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiItemStatusFlags.cs b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiItemStatusFlags.cs
index 4f5d3ae05..d091d4f76 100644
--- a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiItemStatusFlags.cs
+++ b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiItemStatusFlags.cs
@@ -25,42 +25,42 @@ namespace Dalamud.Bindings.ImGui
None = unchecked(0),
///
- /// Mouse position is within item rectangle (does NOT mean that the window is in correct z-order and can be hovered!, this is only one part of the most-common IsItemHovered test)
+ /// To be documented.
///
HoveredRect = unchecked(1),
///
- /// g.LastItemData.DisplayRect is valid
+ /// To be documented.
///
HasDisplayRect = unchecked(2),
///
- /// Value exposed by item was edited in the current frame (should match the bool return value of most widgets)
+ /// To be documented.
///
Edited = unchecked(4),
///
- /// Set when Selectable(), TreeNode() reports toggling a selection. We can't report "Selected", only state changes, in order to easily handle clipping with less issues.
+ /// To be documented.
///
ToggledSelection = unchecked(8),
///
- /// Set when TreeNode() reports toggling their open state.
+ /// To be documented.
///
ToggledOpen = unchecked(16),
///
- /// Set if the widgetgroup is able to provide data for the ImGuiItemStatusFlags_Deactivated flag.
+ /// To be documented.
///
HasDeactivated = unchecked(32),
///
- /// Only valid if ImGuiItemStatusFlags_HasDeactivated is set.
+ /// To be documented.
///
Deactivated = unchecked(64),
///
- /// Override the HoveredWindow test to allow cross-window hover testing.
+ /// To be documented.
///
HoveredWindow = unchecked(128),
diff --git a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiMouseCursor.cs b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiMouseCursor.cs
index 307967732..59650ffcc 100644
--- a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiMouseCursor.cs
+++ b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiMouseCursor.cs
@@ -30,42 +30,42 @@ namespace Dalamud.Bindings.ImGui
Arrow = unchecked(0),
///
- /// When hovering over InputText, etc.
+ /// To be documented.
///
TextInput = unchecked(1),
///
- /// (Unused by Dear ImGui functions)
+ /// To be documented.
///
ResizeAll = unchecked(2),
///
- /// When hovering over a horizontal border
+ /// To be documented.
///
ResizeNs = unchecked(3),
///
- /// When hovering over a vertical border or a column
+ /// To be documented.
///
ResizeEw = unchecked(4),
///
- /// When hovering over the bottom-left corner of a window
+ /// To be documented.
///
ResizeNesw = unchecked(5),
///
- /// When hovering over the bottom-right corner of a window
+ /// To be documented.
///
ResizeNwse = unchecked(6),
///
- /// (Unused by Dear ImGui functions. Use for e.g. hyperlinks)
+ /// To be documented.
///
Hand = unchecked(7),
///
- /// When hovering something with disallowed interaction. Usually a crossed circle.
+ /// To be documented.
///
NotAllowed = unchecked(8),
diff --git a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiNavLayer.cs b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiNavLayer.cs
index ad8caf872..122da9008 100644
--- a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiNavLayer.cs
+++ b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiNavLayer.cs
@@ -20,12 +20,12 @@ namespace Dalamud.Bindings.ImGui
public enum ImGuiNavLayer : int
{
///
- /// Main scrolling layer
+ /// To be documented.
///
Main = unchecked(0),
///
- /// Menu layer (access with Alt)
+ /// To be documented.
///
Menu = unchecked(1),
diff --git a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiNavMoveFlags.cs b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiNavMoveFlags.cs
index 3e8273884..ff1d9f99b 100644
--- a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiNavMoveFlags.cs
+++ b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiNavMoveFlags.cs
@@ -25,7 +25,7 @@ namespace Dalamud.Bindings.ImGui
None = unchecked(0),
///
- /// On failed request, restart from opposite side
+ /// To be documented.
///
LoopX = unchecked(1),
@@ -35,27 +35,27 @@ namespace Dalamud.Bindings.ImGui
LoopY = unchecked(2),
///
- /// On failed request, request from opposite side one line down (when NavDir==right) or one line up (when NavDir==left)
+ /// To be documented.
///
WrapX = unchecked(4),
///
- /// This is not super useful but provided for completeness
+ /// To be documented.
///
WrapY = unchecked(8),
///
- /// Allow scoring and considering the current NavId as a move target candidate. This is used when the move source is offset (e.g. pressing PageDown actually needs to send a Up move request, if we are pressing PageDown from the bottom-most item we need to stay in place)
+ /// To be documented.
///
AllowCurrentNavId = unchecked(16),
///
- /// Store alternate result in NavMoveResultLocalVisible that only comprise elements that are already fully visible (used by PageUpPageDown)
+ /// To be documented.
///
AlsoScoreVisibleSet = unchecked(32),
///
- /// Force scrolling to minmax (used by HomeEnd) FIXME-NAV: Aim to remove or reword, probably unnecessary
+ /// To be documented.
///
ScrollToEdgeY = unchecked(64),
@@ -65,12 +65,12 @@ namespace Dalamud.Bindings.ImGui
Forwarded = unchecked(128),
///
- /// Dummy scoring for debug purpose, don't apply result
+ /// To be documented.
///
DebugNoResult = unchecked(256),
///
- /// Requests from focus API can landfocusactivate items even if they are marked with _NoTabStop (see NavProcessItemForTabbingRequest() for details)
+ /// To be documented.
///
FocusApi = unchecked(512),
@@ -80,7 +80,7 @@ namespace Dalamud.Bindings.ImGui
Tabbing = unchecked(1024),
///
- /// Activateselect target item.
+ /// To be documented.
///
Activate = unchecked(2048),
diff --git a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiOldColumnFlags.cs b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiOldColumnFlags.cs
index 77bf93cf9..0aeb1977e 100644
--- a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiOldColumnFlags.cs
+++ b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiOldColumnFlags.cs
@@ -25,27 +25,27 @@ namespace Dalamud.Bindings.ImGui
None = unchecked(0),
///
- /// Disable column dividers
+ /// To be documented.
///
NoBorder = unchecked(1),
///
- /// Disable resizing columns when clicking on the dividers
+ /// To be documented.
///
NoResize = unchecked(2),
///
- /// Disable column width preservation when adjusting columns
+ /// To be documented.
///
NoPreserveWidths = unchecked(4),
///
- /// Disable forcing columns to fit within window
+ /// To be documented.
///
NoForceWithinWindow = unchecked(8),
///
- /// Restore pre-1.51 behavior of extending the parent window contents size but _without affecting the columns width at all_. Will eventually remove.
+ /// To be documented.
///
GrowParentContentsSize = unchecked(16),
}
diff --git a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiPopupFlags.cs b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiPopupFlags.cs
index 9341216b1..5af9be620 100644
--- a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiPopupFlags.cs
+++ b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiPopupFlags.cs
@@ -25,17 +25,17 @@ namespace Dalamud.Bindings.ImGui
None = unchecked(0),
///
- /// For BeginPopupContext*(): open on Left Mouse release. Guaranteed to always be == 0 (same as ImGuiMouseButton_Left)
+ /// To be documented.
///
MouseButtonLeft = unchecked(0),
///
- /// For BeginPopupContext*(): open on Right Mouse release. Guaranteed to always be == 1 (same as ImGuiMouseButton_Right)
+ /// To be documented.
///
MouseButtonRight = unchecked(1),
///
- /// For BeginPopupContext*(): open on Middle Mouse release. Guaranteed to always be == 2 (same as ImGuiMouseButton_Middle)
+ /// To be documented.
///
MouseButtonMiddle = unchecked(2),
@@ -50,22 +50,22 @@ namespace Dalamud.Bindings.ImGui
MouseButtonDefault = unchecked(1),
///
- /// For OpenPopup*(), BeginPopupContext*(): don't open if there's already a popup at the same level of the popup stack
+ /// To be documented.
///
NoOpenOverExistingPopup = unchecked(32),
///
- /// For BeginPopupContextWindow(): don't return true when hovering items, only when hovering empty space
+ /// To be documented.
///
NoOpenOverItems = unchecked(64),
///
- /// For IsPopupOpen(): ignore the ImGuiID parameter and test for any popup.
+ /// To be documented.
///
AnyPopupId = unchecked(128),
///
- /// For IsPopupOpen(): searchtest at any level of the popup stack (default test in the current level)
+ /// To be documented.
///
AnyPopupLevel = unchecked(256),
diff --git a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiScrollFlags.cs b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiScrollFlags.cs
index 14b6fa975..61b6d0df6 100644
--- a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiScrollFlags.cs
+++ b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiScrollFlags.cs
@@ -25,37 +25,37 @@ namespace Dalamud.Bindings.ImGui
None = unchecked(0),
///
- /// If item is not visible: scroll as little as possible on X axis to bring item back into view [default for X axis]
+ /// To be documented.
///
KeepVisibleEdgeX = unchecked(1),
///
- /// If item is not visible: scroll as little as possible on Y axis to bring item back into view [default for Y axis for windows that are already visible]
+ /// To be documented.
///
KeepVisibleEdgeY = unchecked(2),
///
- /// If item is not visible: scroll to make the item centered on X axis [rarely used]
+ /// To be documented.
///
KeepVisibleCenterX = unchecked(4),
///
- /// If item is not visible: scroll to make the item centered on Y axis
+ /// To be documented.
///
KeepVisibleCenterY = unchecked(8),
///
- /// Always center the result item on X axis [rarely used]
+ /// To be documented.
///
AlwaysCenterX = unchecked(16),
///
- /// Always center the result item on Y axis [default for Y axis for appearing window)
+ /// To be documented.
///
AlwaysCenterY = unchecked(32),
///
- /// Disable forwarding scrolling to parent window if required to keep itemrect visible (only scroll window the function was applied to).
+ /// To be documented.
///
NoScrollParent = unchecked(64),
diff --git a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiSelectableFlags.cs b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiSelectableFlags.cs
index 82f727d00..886ba11d7 100644
--- a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiSelectableFlags.cs
+++ b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiSelectableFlags.cs
@@ -30,17 +30,17 @@ namespace Dalamud.Bindings.ImGui
DontClosePopups = unchecked(1),
///
- /// Frame will span all columns of its container table (text will still fit in current column)
+ /// To be documented.
///
SpanAllColumns = unchecked(2),
///
- /// Generate press events on double clicks too
+ /// To be documented.
///
AllowDoubleClick = unchecked(4),
///
- /// Cannot be selected, display grayed out text
+ /// To be documented.
///
Disabled = unchecked(8),
diff --git a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiSelectableFlagsPrivate.cs b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiSelectableFlagsPrivate.cs
index 47563b270..3f02166cf 100644
--- a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiSelectableFlagsPrivate.cs
+++ b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiSelectableFlagsPrivate.cs
@@ -25,22 +25,22 @@ namespace Dalamud.Bindings.ImGui
NoHoldingActiveId = unchecked(1048576),
///
- /// (WIP) Auto-select when moved into. This is not exposed in public API as to handle multi-select and modifiers we will need user to explicitly control focus scope. May be replaced with a BeginSelection() API.
+ /// To be documented.
///
SelectOnNav = unchecked(2097152),
///
- /// Override button behavior to react on Click (default is Click+Release)
+ /// To be documented.
///
SelectOnClick = unchecked(4194304),
///
- /// Override button behavior to react on Release (default is Click+Release)
+ /// To be documented.
///
SelectOnRelease = unchecked(8388608),
///
- /// Span all avail width even if we declared less for layout purpose. FIXME: We may be able to remove this (added in 6251d379, 2bcafc86 for menus)
+ /// To be documented.
///
SpanAvailWidth = unchecked(16777216),
@@ -50,12 +50,12 @@ namespace Dalamud.Bindings.ImGui
DrawHoveredWhenHeld = unchecked(33554432),
///
- /// Set NavFocus ID on mouse hover (used by MenuItem)
+ /// To be documented.
///
SetNavIdOnHover = unchecked(67108864),
///
- /// Disable padding each side with ItemSpacing * 0.5f
+ /// To be documented.
///
NoPadWithHalfSpacing = unchecked(134217728),
}
diff --git a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiSeparatorFlags.cs b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiSeparatorFlags.cs
index 9d729af24..3b439f8cc 100644
--- a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiSeparatorFlags.cs
+++ b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiSeparatorFlags.cs
@@ -25,7 +25,7 @@ namespace Dalamud.Bindings.ImGui
None = unchecked(0),
///
- /// Axis default to current layout type, so generally Horizontal unless e.g. in a menu bar
+ /// To be documented.
///
Horizontal = unchecked(1),
@@ -35,7 +35,7 @@ namespace Dalamud.Bindings.ImGui
Vertical = unchecked(2),
///
- /// Make separator cover all columns of a legacy Columns() set.
+ /// To be documented.
///
SpanAllColumns = unchecked(4),
}
diff --git a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiSliderFlags.cs b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiSliderFlags.cs
index a0de2075b..1c586de61 100644
--- a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiSliderFlags.cs
+++ b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiSliderFlags.cs
@@ -30,22 +30,22 @@ namespace Dalamud.Bindings.ImGui
AlwaysClamp = unchecked(16),
///
- /// Make the widget logarithmic (linear otherwise). Consider using ImGuiSliderFlags_NoRoundToFormat with this if using a format-string with small amount of digits.
+ /// To be documented.
///
Logarithmic = unchecked(32),
///
- /// Disable rounding underlying value to match precision of the display format string (e.g. %.3f values are rounded to those 3 digits).
+ /// To be documented.
///
NoRoundToFormat = unchecked(64),
///
- /// Disable CTRL+Click or Enter key allowing to input text directly into the widget.
+ /// To be documented.
///
NoInput = unchecked(128),
///
- /// [Internal] We treat using those bits as being potentially a 'float power' argument from the previous API that has got miscast to this enum, and will trigger an assert if needed.
+ /// To be documented.
///
InvalidMask = unchecked(1879048207),
}
diff --git a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiSliderFlagsPrivate.cs b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiSliderFlagsPrivate.cs
index b3cf882aa..d02d4d214 100644
--- a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiSliderFlagsPrivate.cs
+++ b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiSliderFlagsPrivate.cs
@@ -20,12 +20,12 @@ namespace Dalamud.Bindings.ImGui
public enum ImGuiSliderFlagsPrivate : int
{
///
- /// Should this slider be orientated vertically?
+ /// To be documented.
///
Vertical = unchecked(1048576),
///
- /// Consider using g.NextItemData.ItemFlags |= ImGuiItemFlags_ReadOnly instead.
+ /// To be documented.
///
ReadOnly = unchecked(2097152),
}
diff --git a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiStyleVar.cs b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiStyleVar.cs
index 3673ad74b..415b46b94 100644
--- a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiStyleVar.cs
+++ b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiStyleVar.cs
@@ -20,127 +20,127 @@ namespace Dalamud.Bindings.ImGui
public enum ImGuiStyleVar : int
{
///
- /// float Alpha
+ /// To be documented.
///
Alpha = unchecked(0),
///
- /// ImVec2 WindowPadding
+ /// To be documented.
///
WindowPadding = unchecked(1),
///
- /// float WindowRounding
+ /// To be documented.
///
WindowRounding = unchecked(2),
///
- /// float WindowBorderSize
+ /// To be documented.
///
WindowBorderSize = unchecked(3),
///
- /// ImVec2 WindowMinSize
+ /// To be documented.
///
WindowMinSize = unchecked(4),
///
- /// ImVec2 WindowTitleAlign
+ /// To be documented.
///
WindowTitleAlign = unchecked(5),
///
- /// float ChildRounding
+ /// To be documented.
///
ChildRounding = unchecked(6),
///
- /// float ChildBorderSize
+ /// To be documented.
///
ChildBorderSize = unchecked(7),
///
- /// float PopupRounding
+ /// To be documented.
///
PopupRounding = unchecked(8),
///
- /// float PopupBorderSize
+ /// To be documented.
///
PopupBorderSize = unchecked(9),
///
- /// ImVec2 FramePadding
+ /// To be documented.
///
FramePadding = unchecked(10),
///
- /// float FrameRounding
+ /// To be documented.
///
FrameRounding = unchecked(11),
///
- /// float FrameBorderSize
+ /// To be documented.
///
FrameBorderSize = unchecked(12),
///
- /// ImVec2 ItemSpacing
+ /// To be documented.
///
ItemSpacing = unchecked(13),
///
- /// ImVec2 ItemInnerSpacing
+ /// To be documented.
///
ItemInnerSpacing = unchecked(14),
///
- /// float IndentSpacing
+ /// To be documented.
///
IndentSpacing = unchecked(15),
///
- /// ImVec2 CellPadding
+ /// To be documented.
///
CellPadding = unchecked(16),
///
- /// float ScrollbarSize
+ /// To be documented.
///
ScrollbarSize = unchecked(17),
///
- /// float ScrollbarRounding
+ /// To be documented.
///
ScrollbarRounding = unchecked(18),
///
- /// float GrabMinSize
+ /// To be documented.
///
GrabMinSize = unchecked(19),
///
- /// float GrabRounding
+ /// To be documented.
///
GrabRounding = unchecked(20),
///
- /// float TabRounding
+ /// To be documented.
///
TabRounding = unchecked(21),
///
- /// ImVec2 ButtonTextAlign
+ /// To be documented.
///
ButtonTextAlign = unchecked(22),
///
- /// ImVec2 SelectableTextAlign
+ /// To be documented.
///
SelectableTextAlign = unchecked(23),
///
- /// float DisabledAlpha
+ /// To be documented.
///
DisabledAlpha = unchecked(24),
diff --git a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiTabBarFlags.cs b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiTabBarFlags.cs
index fa87464b3..aa1da59b8 100644
--- a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiTabBarFlags.cs
+++ b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiTabBarFlags.cs
@@ -25,42 +25,42 @@ namespace Dalamud.Bindings.ImGui
None = unchecked(0),
///
- /// Allow manually dragging tabs to re-order them + New tabs are appended at the end of list
+ /// To be documented.
///
Reorderable = unchecked(1),
///
- /// Automatically select new tabs when they appear
+ /// To be documented.
///
AutoSelectNewTabs = unchecked(2),
///
- /// Disable buttons to open the tab list popup
+ /// To be documented.
///
ListPopupButton = unchecked(4),
///
- /// Disable behavior of closing tabs (that are submitted with p_open != NULL) with middle mouse button. You may handle this behavior manually on user's side with if (IsItemHovered() && IsMouseClicked(2)) *p_open = false.
+ /// To be documented.
///
NoCloseWithMiddleMouseButton = unchecked(8),
///
- /// Disable scrolling buttons (apply when fitting policy is ImGuiTabBarFlags_FittingPolicyScroll)
+ /// To be documented.
///
NoTabListScrollingButtons = unchecked(16),
///
- /// Disable tooltips when hovering a tab
+ /// To be documented.
///
NoTooltip = unchecked(32),
///
- /// Resize tabs when they don't fit
+ /// To be documented.
///
FittingPolicyResizeDown = unchecked(64),
///
- /// Add scroll buttons when tabs don't fit
+ /// To be documented.
///
FittingPolicyScroll = unchecked(128),
diff --git a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiTabBarFlagsPrivate.cs b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiTabBarFlagsPrivate.cs
index 3fee08ae4..24c15aba9 100644
--- a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiTabBarFlagsPrivate.cs
+++ b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiTabBarFlagsPrivate.cs
@@ -20,7 +20,7 @@ namespace Dalamud.Bindings.ImGui
public enum ImGuiTabBarFlagsPrivate : int
{
///
- /// Part of a dock node [we don't use this in the master branch but it facilitate branch syncing to keep this around]
+ /// To be documented.
///
DockNode = unchecked(1048576),
@@ -30,7 +30,7 @@ namespace Dalamud.Bindings.ImGui
IsFocused = unchecked(2097152),
///
- /// FIXME: Settings are handled by the docking system, this only request the tab bar to mark settings dirty when reordering tabs
+ /// To be documented.
///
SaveSettings = unchecked(4194304),
}
diff --git a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiTabItemFlags.cs b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiTabItemFlags.cs
index da316d3f2..377e93497 100644
--- a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiTabItemFlags.cs
+++ b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiTabItemFlags.cs
@@ -25,42 +25,42 @@ namespace Dalamud.Bindings.ImGui
None = unchecked(0),
///
- /// Display a dot next to the title + set ImGuiTabItemFlags_NoAssumedClosure.
+ /// To be documented.
///
UnsavedDocument = unchecked(1),
///
- /// Trigger flag to programmatically make the tab selected when calling BeginTabItem()
+ /// To be documented.
///
SetSelected = unchecked(2),
///
- /// Disable behavior of closing tabs (that are submitted with p_open != NULL) with middle mouse button. You may handle this behavior manually on user's side with if (IsItemHovered() && IsMouseClicked(2)) *p_open = false.
+ /// To be documented.
///
NoCloseWithMiddleMouseButton = unchecked(4),
///
- /// Don't call PushID()PopID() on BeginTabItem()EndTabItem()
+ /// To be documented.
///
NoPushId = unchecked(8),
///
- /// Disable tooltip for the given tab
+ /// To be documented.
///
NoTooltip = unchecked(16),
///
- /// Disable reordering this tab or having another tab cross over this tab
+ /// To be documented.
///
NoReorder = unchecked(32),
///
- /// Enforce the tab position to the left of the tab bar (after the tab list popup button)
+ /// To be documented.
///
Leading = unchecked(64),
///
- /// Enforce the tab position to the right of the tab bar (before the scrolling buttons)
+ /// To be documented.
///
Trailing = unchecked(128),
}
diff --git a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiTabItemFlagsPrivate.cs b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiTabItemFlagsPrivate.cs
index a7916a9a3..49bde3c37 100644
--- a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiTabItemFlagsPrivate.cs
+++ b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiTabItemFlagsPrivate.cs
@@ -25,17 +25,17 @@ namespace Dalamud.Bindings.ImGui
SectionMask = unchecked(192),
///
- /// Track whether p_open was set or not (we'll need this info on the next frame to recompute ContentWidth during layout)
+ /// To be documented.
///
NoCloseButton = unchecked(1048576),
///
- /// Used by TabItemButton, change the tab item behavior to mimic a button
+ /// To be documented.
///
Button = unchecked(2097152),
///
- /// [Docking] Trailing tabs with the _Unsorted flag will be sorted based on the DockOrder of their Window.
+ /// To be documented.
///
Unsorted = unchecked(4194304),
diff --git a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiTableBgTarget.cs b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiTableBgTarget.cs
index 7f9b196a7..52c3162ef 100644
--- a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiTableBgTarget.cs
+++ b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiTableBgTarget.cs
@@ -25,17 +25,17 @@ namespace Dalamud.Bindings.ImGui
None = unchecked(0),
///
- /// Set row background color 0 (generally used for background, automatically set when ImGuiTableFlags_RowBg is used)
+ /// To be documented.
///
RowBg0 = unchecked(1),
///
- /// Set row background color 1 (generally used for selection marking)
+ /// To be documented.
///
RowBg1 = unchecked(2),
///
- /// Set cell background color (top-most color)
+ /// To be documented.
///
CellBg = unchecked(3),
}
diff --git a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiTableColumnFlags.cs b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiTableColumnFlags.cs
index 08d20dd2d..8b5233368 100644
--- a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiTableColumnFlags.cs
+++ b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiTableColumnFlags.cs
@@ -25,112 +25,112 @@ namespace Dalamud.Bindings.ImGui
None = unchecked(0),
///
- /// Default as a hiddendisabled column.
+ /// To be documented.
///
DefaultHide = unchecked(1),
///
- /// Default as a sorting column.
+ /// To be documented.
///
DefaultSort = unchecked(2),
///
- /// Column will stretch. Preferable with horizontal scrolling disabled (default if table sizing policy is _SizingStretchSame or _SizingStretchProp).
+ /// To be documented.
///
WidthStretch = unchecked(4),
///
- /// Column will not stretch. Preferable with horizontal scrolling enabled (default if table sizing policy is _SizingFixedFit and table is resizable).
+ /// To be documented.
///
WidthFixed = unchecked(8),
///
- /// Disable manual resizing.
+ /// To be documented.
///
NoResize = unchecked(16),
///
- /// Disable manual reordering this column, this will also prevent other columns from crossing over this column.
+ /// To be documented.
///
NoReorder = unchecked(32),
///
- /// Disable ability to hidedisable this column.
+ /// To be documented.
///
NoHide = unchecked(64),
///
- /// Disable clipping for this column (all NoClip columns will render in a same draw command).
+ /// To be documented.
///
NoClip = unchecked(128),
///
- /// Disable ability to sort on this field (even if ImGuiTableFlags_Sortable is set on the table).
+ /// To be documented.
///
NoSort = unchecked(256),
///
- /// Disable ability to sort in the ascending direction.
+ /// To be documented.
///
NoSortAscending = unchecked(512),
///
- /// Disable ability to sort in the descending direction.
+ /// To be documented.
///
NoSortDescending = unchecked(1024),
///
- /// Disable header text width contribution to automatic column width.
+ /// To be documented.
///
NoHeaderWidth = unchecked(2048),
///
- /// Make the initial sort direction Ascending when first sorting on this column (default).
+ /// To be documented.
///
PreferSortAscending = unchecked(4096),
///
- /// Make the initial sort direction Descending when first sorting on this column.
+ /// To be documented.
///
PreferSortDescending = unchecked(8192),
///
- /// Use current Indent value when entering cell (default for column 0).
+ /// To be documented.
///
IndentEnable = unchecked(16384),
///
- /// Ignore current Indent value when entering cell (default for columns > 0). Indentation changes _within_ the cell will still be honored.
+ /// To be documented.
///
IndentDisable = unchecked(32768),
///
- /// Status: is enabled == not hidden by userapi (referred to as "Hide" in _DefaultHide and _NoHide) flags.
+ /// To be documented.
///
IsEnabled = unchecked(1048576),
///
- /// Status: is visible == is enabled AND not clipped by scrolling.
+ /// To be documented.
///
IsVisible = unchecked(2097152),
///
- /// Status: is currently part of the sort specs
+ /// To be documented.
///
IsSorted = unchecked(4194304),
///
- /// Status: is hovered by mouse
+ /// To be documented.
///
IsHovered = unchecked(8388608),
///
- /// Overridingmaster disable flag: hide column, won't show in context menu (unlike calling TableSetColumnEnabled() which manipulates the user accessible state)
+ /// To be documented.
///
Disabled = unchecked(65536),
///
- /// TableHeadersRow() will submit an empty label for this column. Convenient for some small columns. Name will still appear in context menu or in angled headers. You may append into this cell by calling TableSetColumnIndex() right after the TableHeadersRow() call.
+ /// To be documented.
///
NoHeaderLabel = unchecked(131072),
@@ -150,7 +150,7 @@ namespace Dalamud.Bindings.ImGui
StatusMask = unchecked(15728640),
///
- /// [Internal] Disable user resizing this column directly (it may however we resized indirectly from its left edge)
+ /// To be documented.
///
NoDirectResize = unchecked(1073741824),
}
diff --git a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiTableFlags.cs b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiTableFlags.cs
index 2a33f18a0..87996f640 100644
--- a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiTableFlags.cs
+++ b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiTableFlags.cs
@@ -25,172 +25,172 @@ namespace Dalamud.Bindings.ImGui
None = unchecked(0),
///
- /// Enable resizing columns.
+ /// To be documented.
///
Resizable = unchecked(1),
///
- /// Enable reordering columns in header row (need calling TableSetupColumn() + TableHeadersRow() to display headers)
+ /// To be documented.
///
Reorderable = unchecked(2),
///
- /// Enable hidingdisabling columns in context menu.
+ /// To be documented.
///
Hideable = unchecked(4),
///
- /// Enable sorting. Call TableGetSortSpecs() to obtain sort specs. Also see ImGuiTableFlags_SortMulti and ImGuiTableFlags_SortTristate.
+ /// To be documented.
///
Sortable = unchecked(8),
///
- /// Disable persisting columns order, width and sort settings in the .ini file.
+ /// To be documented.
///
NoSavedSettings = unchecked(16),
///
- /// Right-click on columns bodycontents will display table context menu. By default it is available in TableHeadersRow().
+ /// To be documented.
///
ContextMenuInBody = unchecked(32),
///
- /// Set each RowBg color with ImGuiCol_TableRowBg or ImGuiCol_TableRowBgAlt (equivalent of calling TableSetBgColor with ImGuiTableBgFlags_RowBg0 on each row manually)
+ /// To be documented.
///
RowBg = unchecked(64),
///
- /// Draw horizontal borders between rows.
+ /// To be documented.
///
BordersInnerH = unchecked(128),
///
- /// Draw horizontal borders at the top and bottom.
+ /// To be documented.
///
BordersOuterH = unchecked(256),
///
- /// Draw vertical borders between columns.
+ /// To be documented.
///
BordersInnerV = unchecked(512),
///
- /// Draw vertical borders on the left and right sides.
+ /// To be documented.
///
BordersOuterV = unchecked(1024),
///
- /// Draw horizontal borders.
+ /// To be documented.
///
BordersH = unchecked(384),
///
- /// Draw vertical borders.
+ /// To be documented.
///
BordersV = unchecked(1536),
///
- /// Draw inner borders.
+ /// To be documented.
///
BordersInner = unchecked(640),
///
- /// Draw outer borders.
+ /// To be documented.
///
BordersOuter = unchecked(1280),
///
- /// Draw all borders.
+ /// To be documented.
///
Borders = unchecked(1920),
///
- /// [ALPHA] Disable vertical borders in columns Body (borders will always appear in Headers). -> May move to style
+ /// To be documented.
///
NoBordersInBody = unchecked(2048),
///
- /// [ALPHA] Disable vertical borders in columns Body until hovered for resize (borders will always appear in Headers). -> May move to style
+ /// To be documented.
///
NoBordersInBodyUntilResize = unchecked(4096),
///
- /// Columns default to _WidthFixed or _WidthAuto (if resizable or not resizable), matching contents width.
+ /// To be documented.
///
SizingFixedFit = unchecked(8192),
///
- /// Columns default to _WidthFixed or _WidthAuto (if resizable or not resizable), matching the maximum contents width of all columns. Implicitly enable ImGuiTableFlags_NoKeepColumnsVisible.
+ /// To be documented.
///
SizingFixedSame = unchecked(16384),
///
- /// Columns default to _WidthStretch with default weights proportional to each columns contents widths.
+ /// To be documented.
///
SizingStretchProp = unchecked(24576),
///
- /// Columns default to _WidthStretch with default weights all equal, unless overridden by TableSetupColumn().
+ /// To be documented.
///
SizingStretchSame = unchecked(32768),
///
- /// Make outer width auto-fit to columns, overriding outer_size.x value. Only available when ScrollXScrollY are disabled and Stretch columns are not used.
+ /// To be documented.
///
NoHostExtendX = unchecked(65536),
///
- /// Make outer height stop exactly at outer_size.y (prevent auto-extending table past the limit). Only available when ScrollXScrollY are disabled. Data below the limit will be clipped and not visible.
+ /// To be documented.
///
NoHostExtendY = unchecked(131072),
///
- /// Disable keeping column always minimally visible when ScrollX is off and table gets too small. Not recommended if columns are resizable.
+ /// To be documented.
///
NoKeepColumnsVisible = unchecked(262144),
///
- /// Disable distributing remainder width to stretched columns (width allocation on a 100-wide table with 3 columns: Without this flag: 33,33,34. With this flag: 33,33,33). With larger number of columns, resizing will appear to be less smooth.
+ /// To be documented.
///
PreciseWidths = unchecked(524288),
///
- /// Disable clipping rectangle for every individual columns (reduce draw command count, items will be able to overflow into other columns). Generally incompatible with TableSetupScrollFreeze().
+ /// To be documented.
///
NoClip = unchecked(1048576),
///
- /// Default if BordersOuterV is on. Enable outermost padding. Generally desirable if you have headers.
+ /// To be documented.
///
PadOuterX = unchecked(2097152),
///
- /// Default if BordersOuterV is off. Disable outermost padding.
+ /// To be documented.
///
NoPadOuterX = unchecked(4194304),
///
- /// Disable inner padding between columns (double inner padding if BordersOuterV is on, single inner padding if BordersOuterV is off).
+ /// To be documented.
///
NoPadInnerX = unchecked(8388608),
///
- /// Enable horizontal scrolling. Require 'outer_size' parameter of BeginTable() to specify the container size. Changes default sizing policy. Because this creates a child window, ScrollY is currently generally recommended when using ScrollX.
+ /// To be documented.
///
ScrollX = unchecked(16777216),
///
- /// Enable vertical scrolling. Require 'outer_size' parameter of BeginTable() to specify the container size.
+ /// To be documented.
///
ScrollY = unchecked(33554432),
///
- /// Hold shift when clicking headers to sort on multiple column. TableGetSortSpecs() may return specs where (SpecsCount > 1).
+ /// To be documented.
///
SortMulti = unchecked(67108864),
///
- /// Allow no sorting, disable default sorting. TableGetSortSpecs() may return specs where (SpecsCount == 0).
+ /// To be documented.
///
SortTristate = unchecked(134217728),
diff --git a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiTableRowFlags.cs b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiTableRowFlags.cs
index 9325622e5..c37c23e60 100644
--- a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiTableRowFlags.cs
+++ b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiTableRowFlags.cs
@@ -25,7 +25,7 @@ namespace Dalamud.Bindings.ImGui
None = unchecked(0),
///
- /// Identify header row (set default background color + width of its contents accounted differently for auto column width)
+ /// To be documented.
///
Headers = unchecked(1),
}
diff --git a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiTreeNodeFlags.cs b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiTreeNodeFlags.cs
index 531c2c65f..91e6eaaf4 100644
--- a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiTreeNodeFlags.cs
+++ b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiTreeNodeFlags.cs
@@ -25,12 +25,12 @@ namespace Dalamud.Bindings.ImGui
None = unchecked(0),
///
- /// Draw as selected
+ /// To be documented.
///
Selected = unchecked(1),
///
- /// Draw frame with background (e.g. for CollapsingHeader)
+ /// To be documented.
///
Framed = unchecked(2),
@@ -40,57 +40,57 @@ namespace Dalamud.Bindings.ImGui
AllowItemOverlap = unchecked(4),
///
- /// Don't do a TreePush() when open (e.g. for CollapsingHeader) = no extra indent nor pushing on ID stack
+ /// To be documented.
///
NoTreePushOnOpen = unchecked(8),
///
- /// Don't automatically and temporarily open node when Logging is active (by default logging will automatically open tree nodes)
+ /// To be documented.
///
NoAutoOpenOnLog = unchecked(16),
///
- /// Default node to be open
+ /// To be documented.
///
DefaultOpen = unchecked(32),
///
- /// Open on double-click instead of simple click (default for multi-select unless any _OpenOnXXX behavior is set explicitly). Both behaviors may be combined.
+ /// To be documented.
///
OpenOnDoubleClick = unchecked(64),
///
- /// Open when clicking on the arrow part (default for multi-select unless any _OpenOnXXX behavior is set explicitly). Both behaviors may be combined.
+ /// To be documented.
///
OpenOnArrow = unchecked(128),
///
- /// No collapsing, no arrow (use as a convenience for leaf nodes).
+ /// To be documented.
///
Leaf = unchecked(256),
///
- /// Display a bullet instead of arrow. IMPORTANT: node can still be marked openclose if you don't set the _Leaf flag!
+ /// To be documented.
///
Bullet = unchecked(512),
///
- /// Use FramePadding (even for an unframed text node) to vertically align text baseline to regular widget height. Equivalent to calling AlignTextToFramePadding() before the node.
+ /// To be documented.
///
FramePadding = unchecked(1024),
///
- /// Extend hit box to the right-most edge, even if not framed. This is not the default in order to allow adding other items on the same line without using AllowOverlap mode.
+ /// To be documented.
///
SpanAvailWidth = unchecked(2048),
///
- /// Extend hit box to the left-most and right-most edges (cover the indent area).
+ /// To be documented.
///
SpanFullWidth = unchecked(4096),
///
- /// (WIP) Nav: left direction may move to this TreeNode() from any of its child (items submitted between TreeNode and TreePop)
+ /// To be documented.
///
NavLeftJumpsBackHere = unchecked(8192),
diff --git a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiTreeNodeFlagsPrivate.cs b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiTreeNodeFlagsPrivate.cs
index 8d775ac9e..3ae0f77ca 100644
--- a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiTreeNodeFlagsPrivate.cs
+++ b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiTreeNodeFlagsPrivate.cs
@@ -20,7 +20,7 @@ namespace Dalamud.Bindings.ImGui
public enum ImGuiTreeNodeFlagsPrivate : int
{
///
- /// FIXME-WIP: Hard-coded for CollapsingHeader()
+ /// To be documented.
///
ClipLabelForTrailingButton = unchecked(1048576),
}
diff --git a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiViewportFlags.cs b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiViewportFlags.cs
index ab5ffec62..d07f954d4 100644
--- a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiViewportFlags.cs
+++ b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiViewportFlags.cs
@@ -25,52 +25,52 @@ namespace Dalamud.Bindings.ImGui
None = unchecked(0),
///
- /// Represent a Platform Window
+ /// To be documented.
///
IsPlatformWindow = unchecked(1),
///
- /// Represent a Platform Monitor (unused yet)
+ /// To be documented.
///
IsPlatformMonitor = unchecked(2),
///
- /// Platform Window: Is createdmanaged by the user application? (rather than our backend)
+ /// To be documented.
///
OwnedByApp = unchecked(4),
///
- /// Platform Window: Disable platform decorations: title bar, borders, etc. (generally set all windows, but if ImGuiConfigFlags_ViewportsDecoration is set we only set this on popupstooltips)
+ /// To be documented.
///
NoDecoration = unchecked(8),
///
- /// Platform Window: Disable platform task bar icon (generally set on popupstooltips, or all windows if ImGuiConfigFlags_ViewportsNoTaskBarIcon is set)
+ /// To be documented.
///
NoTaskBarIcon = unchecked(16),
///
- /// Platform Window: Don't take focus when created.
+ /// To be documented.
///
NoFocusOnAppearing = unchecked(32),
///
- /// Platform Window: Don't take focus when clicked on.
+ /// To be documented.
///
NoFocusOnClick = unchecked(64),
///
- /// Platform Window: Make mouse pass through so we can drag this window while peaking behind it.
+ /// To be documented.
///
NoInputs = unchecked(128),
///
- /// Platform Window: Renderer doesn't need to clear the framebuffer ahead (because we will fill it entirely).
+ /// To be documented.
///
NoRendererClear = unchecked(256),
///
- /// Platform Window: Display on top (for tooltips only).
+ /// To be documented.
///
TopMost = unchecked(512),
@@ -80,12 +80,12 @@ namespace Dalamud.Bindings.ImGui
Minimized = unchecked(1024),
///
- /// Platform Window: Avoid merging this window into another host window. This can only be set via ImGuiWindowClass viewport flags override (because we need to now ahead if we are going to create a viewport in the first place!).
+ /// To be documented.
///
NoAutoMerge = unchecked(2048),
///
- /// Viewport can host multiple imgui windows (secondary viewports are associated to a single window). FIXME: In practice there's still probably code making the assumption that this is always and only on the MainViewport. Will fix once we add support for "no main viewport".
+ /// To be documented.
///
CanHostOtherWindows = unchecked(4096),
}
diff --git a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiWindowFlags.cs b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiWindowFlags.cs
index 143034e96..6129b8ed2 100644
--- a/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiWindowFlags.cs
+++ b/imgui/Dalamud.Bindings.ImGui/Generated/Enums/ImGuiWindowFlags.cs
@@ -25,82 +25,82 @@ namespace Dalamud.Bindings.ImGui
None = unchecked(0),
///
- /// Disable title-bar
+ /// To be documented.
///
NoTitleBar = unchecked(1),
///
- /// Disable user resizing with the lower-right grip
+ /// To be documented.
///
NoResize = unchecked(2),
///
- /// Disable user moving the window
+ /// To be documented.
///
NoMove = unchecked(4),
///
- /// Disable scrollbars (window can still scroll with mouse or programmatically)
+ /// To be documented.
///
NoScrollbar = unchecked(8),
///
- /// Disable user vertically scrolling with mouse wheel. On child window, mouse wheel will be forwarded to the parent unless NoScrollbar is also set.
+ /// To be documented.
///
NoScrollWithMouse = unchecked(16),
///
- /// Disable user collapsing window by double-clicking on it. Also referred to as Window Menu Button (e.g. within a docking node).
+ /// To be documented.
///
NoCollapse = unchecked(32),
///
- /// Resize every window to its content every frame
+ /// To be documented.
///
AlwaysAutoResize = unchecked(64),
///
- /// Disable drawing background color (WindowBg, etc.) and outside border. Similar as using SetNextWindowBgAlpha(0.0f).
+ /// To be documented.
///
NoBackground = unchecked(128),
///
- /// Never loadsave settings in .ini file
+ /// To be documented.
///
NoSavedSettings = unchecked(256),
///
- /// Disable catching mouse, hovering test with pass through.
+ /// To be documented.
///
NoMouseInputs = unchecked(512),
///
- /// Has a menu-bar
+ /// To be documented.
///
MenuBar = unchecked(1024),
///
- /// Allow horizontal scrollbar to appear (off by default). You may use SetNextWindowContentSize(ImVec2(width,0.0f)); prior to calling Begin() to specify width. Read code in imgui_demo in the "Horizontal Scrolling" section.
+ /// To be documented.
///
HorizontalScrollbar = unchecked(2048),
///
- /// Disable taking focus when transitioning from hidden to visible state
+ /// To be documented.
///
NoFocusOnAppearing = unchecked(4096),
///
- /// Disable bringing window to front when taking focus (e.g. clicking on it or programmatically giving it focus)
+ /// To be documented.
///
NoBringToFrontOnFocus = unchecked(8192),
///
- /// Always show vertical scrollbar (even if ContentSize.y < Size.y)
+ /// To be documented.
///
AlwaysVerticalScrollbar = unchecked(16384),
///
- /// Always show horizontal scrollbar (even if ContentSize.x < Size.x)
+ /// To be documented.
///
AlwaysHorizontalScrollbar = unchecked(32768),
@@ -110,22 +110,22 @@ namespace Dalamud.Bindings.ImGui
AlwaysUseWindowPadding = unchecked(65536),
///
- /// No keyboardgamepad navigation within the window
+ /// To be documented.
///
NoNavInputs = unchecked(262144),
///
- /// No focusing toward this window with keyboardgamepad navigation (e.g. skipped by CTRL+TAB)
+ /// To be documented.
///
NoNavFocus = unchecked(524288),
///
- /// Display a dot next to the title. When used in a tabdocking context, tab is selected when clicking the X + closure is not assumed (will wait for user to stop submitting the tab). Otherwise closure is assumed when pressing the X, so if you keep submitting the tab may reappear at end of tab bar.
+ /// To be documented.
///
UnsavedDocument = unchecked(1048576),
///
- /// Disable docking of this window
+ /// To be documented.
///
NoDocking = unchecked(2097152),
@@ -150,32 +150,32 @@ namespace Dalamud.Bindings.ImGui
NavFlattened = unchecked(8388608),
///
- /// Don't use! For internal use by BeginChild()
+ /// To be documented.
///
ChildWindow = unchecked(16777216),
///
- /// Don't use! For internal use by BeginTooltip()
+ /// To be documented.
///
Tooltip = unchecked(33554432),
///
- /// Don't use! For internal use by BeginPopup()
+ /// To be documented.
///
Popup = unchecked(67108864),
///
- /// Don't use! For internal use by BeginPopupModal()
+ /// To be documented.
///
Modal = unchecked(134217728),
///
- /// Don't use! For internal use by BeginMenu()
+ /// To be documented.
///
ChildMenu = unchecked(268435456),
///
- /// Don't use! For internal use by Begin()NewFrame()
+ /// To be documented.
///
DockNodeHost = unchecked(536870912),
}
diff --git a/imgui/Dalamud.Bindings.ImGui/Generated/FunctionTable.cs b/imgui/Dalamud.Bindings.ImGui/Generated/FunctionTable.cs
index 54a27cd21..2c929ccc9 100644
--- a/imgui/Dalamud.Bindings.ImGui/Generated/FunctionTable.cs
+++ b/imgui/Dalamud.Bindings.ImGui/Generated/FunctionTable.cs
@@ -683,236 +683,236 @@ namespace Dalamud.Bindings.ImGui
funcTable.Load(655, "ImGuiNextWindowData_destroy");
funcTable.Load(656, "ImGuiNextItemData_destroy");
funcTable.Load(657, "ImGuiLastItemData_destroy");
- funcTable.Load(658, "ImGuiStackSizes_ImGuiStackSizes");
- funcTable.Load(659, "ImGuiStackSizes_destroy");
- funcTable.Load(660, "ImGuiStackSizes_SetToCurrentState");
- funcTable.Load(661, "ImGuiStackSizes_CompareWithCurrentState");
- funcTable.Load(662, "ImGuiPtrOrIndex_destroy");
- funcTable.Load(663, "ImGuiInputEvent_destroy");
- funcTable.Load(664, "ImGuiListClipperData_destroy");
- funcTable.Load(665, "ImGuiNavItemData_destroy");
- funcTable.Load(666, "ImGuiOldColumnData_destroy");
- funcTable.Load(667, "ImGuiOldColumns_destroy");
- funcTable.Load(668, "ImGuiDockContext_destroy");
- funcTable.Load(669, "ImGuiWindowSettings_destroy");
- funcTable.Load(670, "ImGuiSettingsHandler_destroy");
- funcTable.Load(671, "ImGuiMetricsConfig_destroy");
- funcTable.Load(672, "ImGuiStackLevelInfo_destroy");
- funcTable.Load(673, "ImGuiStackTool_ImGuiStackTool");
- funcTable.Load(674, "ImGuiStackTool_destroy");
- funcTable.Load(675, "ImGuiContextHook_destroy");
- funcTable.Load(676, "ImGuiContext_destroy");
- funcTable.Load(677, "ImGuiTabItem_destroy");
- funcTable.Load(678, "ImGuiTabBar_destroy");
- funcTable.Load(679, "ImGuiTableColumn_destroy");
- funcTable.Load(680, "ImGuiTableInstanceData_destroy");
- funcTable.Load(681, "ImGuiTableTempData_destroy");
- funcTable.Load(682, "ImGuiTableColumnSettings_destroy");
- funcTable.Load(683, "ImGuiTableSettings_destroy");
- funcTable.Load(684, "igLogText");
- funcTable.Load(685, "ImGuiTextBuffer_appendf");
- funcTable.Load(686, "igGET_FLT_MAX");
- funcTable.Load(687, "igGET_FLT_MIN");
- funcTable.Load(688, "ImVector_ImWchar_create");
- funcTable.Load(689, "ImVector_ImWchar_destroy");
- funcTable.Load(690, "ImVector_ImWchar_Init");
- funcTable.Load(691, "ImVector_ImWchar_UnInit");
- funcTable.Load(692, "igImHashData");
- funcTable.Load(693, "igImHashStr");
- funcTable.Load(694, "igImQsort");
- funcTable.Load(695, "igImAlphaBlendColors");
- funcTable.Load(696, "igImIsPowerOfTwo_Int");
- funcTable.Load(697, "igImIsPowerOfTwo_U64");
- funcTable.Load(698, "igImUpperPowerOfTwo");
- funcTable.Load(699, "igImStricmp");
- funcTable.Load(700, "igImStrnicmp");
- funcTable.Load(701, "igImStrncpy");
- funcTable.Load(702, "igImStrdup");
- funcTable.Load(703, "igImStrdupcpy");
- funcTable.Load(704, "igImStrchrRange");
- funcTable.Load(705, "igImStrlenW");
- funcTable.Load(706, "igImStreolRange");
- funcTable.Load(707, "igImStrbolW");
- funcTable.Load(708, "igImStristr");
- funcTable.Load(709, "igImStrTrimBlanks");
- funcTable.Load(710, "igImStrSkipBlank");
- funcTable.Load(711, "igImCharIsBlankA");
- funcTable.Load(712, "igImCharIsBlankW");
- funcTable.Load(713, "igImFormatStringToTempBuffer");
- funcTable.Load(714, "igImFormatStringToTempBufferV");
- funcTable.Load(715, "igImParseFormatFindStart");
- funcTable.Load(716, "igImParseFormatFindEnd");
- funcTable.Load(717, "igImParseFormatSanitizeForPrinting");
- funcTable.Load(718, "igImParseFormatSanitizeForScanning");
- funcTable.Load(719, "igImParseFormatPrecision");
- funcTable.Load(720, "igImTextCharToUtf8");
- funcTable.Load(721, "igImTextCharFromUtf8");
- funcTable.Load(722, "igImTextCountCharsFromUtf8");
- funcTable.Load(723, "igImTextCountUtf8BytesFromChar");
- funcTable.Load(724, "igImTextCountUtf8BytesFromStr");
- funcTable.Load(725, "igImFileOpen");
- funcTable.Load(726, "igImFileClose");
- funcTable.Load(727, "igImFileGetSize");
- funcTable.Load(728, "igImFileRead");
- funcTable.Load(729, "igImFileWrite");
- funcTable.Load(730, "igImFileLoadToMemory");
- funcTable.Load(731, "igImPow_Float");
- funcTable.Load(732, "igImPow_double");
- funcTable.Load(733, "igImLog_Float");
- funcTable.Load(734, "igImLog_double");
- funcTable.Load(735, "igImAbs_Int");
- funcTable.Load(736, "igImAbs_Float");
- funcTable.Load(737, "igImAbs_double");
- funcTable.Load(738, "igImSign_Float");
- funcTable.Load(739, "igImSign_double");
- funcTable.Load(740, "igImRsqrt_Float");
- funcTable.Load(741, "igImRsqrt_double");
- funcTable.Load(742, "igImMin");
- funcTable.Load(743, "igImMax");
- funcTable.Load(744, "igImClamp");
- funcTable.Load(745, "igImLerp_Vec2Float");
- funcTable.Load(746, "igImLerp_Vec2Vec2");
- funcTable.Load(747, "igImLerp_Vec4");
- funcTable.Load(748, "igImSaturate");
- funcTable.Load(749, "igImLengthSqr_Vec2");
- funcTable.Load(750, "igImLengthSqr_Vec4");
- funcTable.Load(751, "igImInvLength");
- funcTable.Load(752, "igImFloor_Float");
- funcTable.Load(753, "igImFloorSigned_Float");
- funcTable.Load(754, "igImFloor_Vec2");
- funcTable.Load(755, "igImFloorSigned_Vec2");
- funcTable.Load(756, "igImModPositive");
- funcTable.Load(757, "igImDot");
- funcTable.Load(758, "igImRotate");
- funcTable.Load(759, "igImLinearSweep");
- funcTable.Load(760, "igImMul");
- funcTable.Load(761, "igImIsFloatAboveGuaranteedIntegerPrecision");
- funcTable.Load(762, "igImBezierCubicCalc");
- funcTable.Load(763, "igImBezierCubicClosestPoint");
- funcTable.Load(764, "igImBezierCubicClosestPointCasteljau");
- funcTable.Load(765, "igImBezierQuadraticCalc");
- funcTable.Load(766, "igImLineClosestPoint");
- funcTable.Load(767, "igImTriangleContainsPoint");
- funcTable.Load(768, "igImTriangleClosestPoint");
- funcTable.Load(769, "igImTriangleBarycentricCoords");
- funcTable.Load(770, "igImTriangleArea");
- funcTable.Load(771, "igImGetDirQuadrantFromDelta");
- funcTable.Load(772, "ImVec1_ImVec1_Nil");
- funcTable.Load(773, "ImVec1_ImVec1_Float");
- funcTable.Load(774, "ImVec2ih_ImVec2ih_Nil");
- funcTable.Load(775, "ImVec2ih_ImVec2ih_short");
- funcTable.Load(776, "ImVec2ih_ImVec2ih_Vec2");
- funcTable.Load(777, "ImRect_ImRect_Nil");
- funcTable.Load(778, "ImRect_ImRect_Vec2");
- funcTable.Load(779, "ImRect_ImRect_Vec4");
- funcTable.Load(780, "ImRect_ImRect_Float");
- funcTable.Load(781, "ImRect_GetCenter");
- funcTable.Load(782, "ImRect_GetSize");
- funcTable.Load(783, "ImRect_GetWidth");
- funcTable.Load(784, "ImRect_GetHeight");
- funcTable.Load(785, "ImRect_GetArea");
- funcTable.Load(786, "ImRect_GetTL");
- funcTable.Load(787, "ImRect_GetTR");
- funcTable.Load(788, "ImRect_GetBL");
- funcTable.Load(789, "ImRect_GetBR");
- funcTable.Load(790, "ImRect_Contains_Vec2");
- funcTable.Load(791, "ImRect_Contains_Rect");
- funcTable.Load(792, "ImRect_Overlaps");
- funcTable.Load(793, "ImRect_Add_Vec2");
- funcTable.Load(794, "ImRect_Add_Rect");
- funcTable.Load(795, "ImRect_Expand_Float");
- funcTable.Load(796, "ImRect_Expand_Vec2");
- funcTable.Load(797, "ImRect_Translate");
- funcTable.Load(798, "ImRect_TranslateX");
- funcTable.Load(799, "ImRect_TranslateY");
- funcTable.Load(800, "ImRect_ClipWith");
- funcTable.Load(801, "ImRect_ClipWithFull");
- funcTable.Load(802, "ImRect_Floor");
- funcTable.Load(803, "ImRect_IsInverted");
- funcTable.Load(804, "ImRect_ToVec4");
- funcTable.Load(805, "igImBitArrayTestBit");
- funcTable.Load(806, "igImBitArrayClearBit");
- funcTable.Load(807, "igImBitArraySetBit");
- funcTable.Load(808, "igImBitArraySetBitRange");
- funcTable.Load(809, "ImBitVector_Create");
- funcTable.Load(810, "ImBitVector_Clear");
- funcTable.Load(811, "ImBitVector_TestBit");
- funcTable.Load(812, "ImBitVector_SetBit");
- funcTable.Load(813, "ImBitVector_ClearBit");
- funcTable.Load(814, "ImDrawListSharedData_ImDrawListSharedData");
- funcTable.Load(815, "ImDrawListSharedData_SetCircleTessellationMaxError");
- funcTable.Load(816, "ImDrawDataBuilder_Clear");
- funcTable.Load(817, "ImDrawDataBuilder_ClearFreeMemory");
- funcTable.Load(818, "ImDrawDataBuilder_GetDrawListCount");
- funcTable.Load(819, "ImDrawDataBuilder_FlattenIntoSingleLayer");
- funcTable.Load(820, "ImGuiStyleMod_ImGuiStyleMod_Int");
- funcTable.Load(821, "ImGuiStyleMod_ImGuiStyleMod_Float");
- funcTable.Load(822, "ImGuiStyleMod_ImGuiStyleMod_Vec2");
- funcTable.Load(823, "ImGuiComboPreviewData_ImGuiComboPreviewData");
- funcTable.Load(824, "ImGuiMenuColumns_ImGuiMenuColumns");
- funcTable.Load(825, "ImGuiMenuColumns_Update");
- funcTable.Load(826, "ImGuiMenuColumns_DeclColumns");
- funcTable.Load(827, "ImGuiMenuColumns_CalcNextTotalWidth");
- funcTable.Load(828, "ImGuiInputTextState_ImGuiInputTextState");
- funcTable.Load(829, "ImGuiInputTextState_ClearText");
- funcTable.Load(830, "ImGuiInputTextState_ClearFreeMemory");
- funcTable.Load(831, "ImGuiInputTextState_GetUndoAvailCount");
- funcTable.Load(832, "ImGuiInputTextState_GetRedoAvailCount");
- funcTable.Load(833, "ImGuiInputTextState_OnKeyPressed");
- funcTable.Load(834, "ImGuiInputTextState_CursorAnimReset");
- funcTable.Load(835, "ImGuiInputTextState_CursorClamp");
- funcTable.Load(836, "ImGuiInputTextState_HasSelection");
- funcTable.Load(837, "ImGuiInputTextState_ClearSelection");
- funcTable.Load(838, "ImGuiInputTextState_GetCursorPos");
- funcTable.Load(839, "ImGuiInputTextState_GetSelectionStart");
- funcTable.Load(840, "ImGuiInputTextState_GetSelectionEnd");
- funcTable.Load(841, "ImGuiInputTextState_SelectAll");
- funcTable.Load(842, "ImGuiPopupData_ImGuiPopupData");
- funcTable.Load(843, "ImGuiNextWindowData_ImGuiNextWindowData");
- funcTable.Load(844, "ImGuiNextWindowData_ClearFlags");
- funcTable.Load(845, "ImGuiNextItemData_ImGuiNextItemData");
- funcTable.Load(846, "ImGuiNextItemData_ClearFlags");
- funcTable.Load(847, "ImGuiLastItemData_ImGuiLastItemData");
- funcTable.Load(848, "ImGuiPtrOrIndex_ImGuiPtrOrIndex_Ptr");
- funcTable.Load(849, "ImGuiPtrOrIndex_ImGuiPtrOrIndex_Int");
- funcTable.Load(850, "ImGuiInputEvent_ImGuiInputEvent");
- funcTable.Load(851, "ImGuiListClipperRange_FromIndices");
- funcTable.Load(852, "ImGuiListClipperRange_FromPositions");
- funcTable.Load(853, "ImGuiListClipperData_ImGuiListClipperData");
- funcTable.Load(854, "ImGuiListClipperData_Reset");
- funcTable.Load(855, "ImGuiNavItemData_ImGuiNavItemData");
- funcTable.Load(856, "ImGuiNavItemData_Clear");
- funcTable.Load(857, "ImGuiOldColumnData_ImGuiOldColumnData");
- funcTable.Load(858, "ImGuiOldColumns_ImGuiOldColumns");
- funcTable.Load(859, "ImGuiDockNode_ImGuiDockNode");
- funcTable.Load(860, "ImGuiDockNode_destroy");
- funcTable.Load(861, "ImGuiDockNode_IsRootNode");
- funcTable.Load(862, "ImGuiDockNode_IsDockSpace");
- funcTable.Load(863, "ImGuiDockNode_IsFloatingNode");
- funcTable.Load(864, "ImGuiDockNode_IsCentralNode");
- funcTable.Load(865, "ImGuiDockNode_IsHiddenTabBar");
- funcTable.Load(866, "ImGuiDockNode_IsNoTabBar");
- funcTable.Load(867, "ImGuiDockNode_IsSplitNode");
- funcTable.Load(868, "ImGuiDockNode_IsLeafNode");
- funcTable.Load(869, "ImGuiDockNode_IsEmpty");
- funcTable.Load(870, "ImGuiDockNode_Rect");
- funcTable.Load(871, "ImGuiDockNode_SetLocalFlags");
- funcTable.Load(872, "ImGuiDockNode_UpdateMergedFlags");
- funcTable.Load(873, "ImGuiDockContext_ImGuiDockContext");
- funcTable.Load(874, "ImGuiViewportP_ImGuiViewportP");
- funcTable.Load(875, "ImGuiViewportP_destroy");
- funcTable.Load(876, "ImGuiViewportP_ClearRequestFlags");
- funcTable.Load(877, "ImGuiViewportP_CalcWorkRectPos");
- funcTable.Load(878, "ImGuiViewportP_CalcWorkRectSize");
- funcTable.Load(879, "ImGuiViewportP_UpdateWorkRect");
- funcTable.Load(880, "ImGuiViewportP_GetMainRect");
- funcTable.Load(881, "ImGuiViewportP_GetWorkRect");
- funcTable.Load(882, "ImGuiViewportP_GetBuildWorkRect");
- funcTable.Load(883, "ImGuiWindowSettings_ImGuiWindowSettings");
- funcTable.Load(884, "ImGuiWindowSettings_GetName");
- funcTable.Load(885, "ImGuiSettingsHandler_ImGuiSettingsHandler");
- funcTable.Load(886, "ImGuiMetricsConfig_ImGuiMetricsConfig");
- funcTable.Load(887, "ImGuiStackLevelInfo_ImGuiStackLevelInfo");
+ funcTable.Load(658, "ImGuiStackSizes_destroy");
+ funcTable.Load(659, "ImGuiPtrOrIndex_destroy");
+ funcTable.Load(660, "ImGuiInputEvent_destroy");
+ funcTable.Load(661, "ImGuiListClipperData_destroy");
+ funcTable.Load(662, "ImGuiNavItemData_destroy");
+ funcTable.Load(663, "ImGuiOldColumnData_destroy");
+ funcTable.Load(664, "ImGuiOldColumns_destroy");
+ funcTable.Load(665, "ImGuiDockContext_destroy");
+ funcTable.Load(666, "ImGuiWindowSettings_destroy");
+ funcTable.Load(667, "ImGuiSettingsHandler_destroy");
+ funcTable.Load(668, "ImGuiMetricsConfig_destroy");
+ funcTable.Load(669, "ImGuiStackLevelInfo_destroy");
+ funcTable.Load(670, "ImGuiStackTool_destroy");
+ funcTable.Load(671, "ImGuiContextHook_destroy");
+ funcTable.Load(672, "ImGuiContext_destroy");
+ funcTable.Load(673, "ImGuiTabItem_destroy");
+ funcTable.Load(674, "ImGuiTabBar_destroy");
+ funcTable.Load(675, "ImGuiTableColumn_destroy");
+ funcTable.Load(676, "ImGuiTableInstanceData_destroy");
+ funcTable.Load(677, "ImGuiTableTempData_destroy");
+ funcTable.Load(678, "ImGuiTableColumnSettings_destroy");
+ funcTable.Load(679, "ImGuiTableSettings_destroy");
+ funcTable.Load(680, "igLogText");
+ funcTable.Load(681, "ImGuiTextBuffer_appendf");
+ funcTable.Load(682, "igGET_FLT_MAX");
+ funcTable.Load(683, "igGET_FLT_MIN");
+ funcTable.Load(684, "ImVector_ImWchar_create");
+ funcTable.Load(685, "ImVector_ImWchar_destroy");
+ funcTable.Load(686, "ImVector_ImWchar_Init");
+ funcTable.Load(687, "ImVector_ImWchar_UnInit");
+ funcTable.Load(688, "igImHashData");
+ funcTable.Load(689, "igImHashStr");
+ funcTable.Load(690, "igImQsort");
+ funcTable.Load(691, "igImAlphaBlendColors");
+ funcTable.Load(692, "igImIsPowerOfTwo_Int");
+ funcTable.Load(693, "igImIsPowerOfTwo_U64");
+ funcTable.Load(694, "igImUpperPowerOfTwo");
+ funcTable.Load(695, "igImStricmp");
+ funcTable.Load(696, "igImStrnicmp");
+ funcTable.Load(697, "igImStrncpy");
+ funcTable.Load(698, "igImStrdup");
+ funcTable.Load(699, "igImStrdupcpy");
+ funcTable.Load(700, "igImStrchrRange");
+ funcTable.Load(701, "igImStrlenW");
+ funcTable.Load(702, "igImStreolRange");
+ funcTable.Load(703, "igImStrbolW");
+ funcTable.Load(704, "igImStristr");
+ funcTable.Load(705, "igImStrTrimBlanks");
+ funcTable.Load(706, "igImStrSkipBlank");
+ funcTable.Load(707, "igImCharIsBlankA");
+ funcTable.Load(708, "igImCharIsBlankW");
+ funcTable.Load(709, "igImFormatStringToTempBuffer");
+ funcTable.Load(710, "igImFormatStringToTempBufferV");
+ funcTable.Load(711, "igImParseFormatFindStart");
+ funcTable.Load(712, "igImParseFormatFindEnd");
+ funcTable.Load(713, "igImParseFormatSanitizeForPrinting");
+ funcTable.Load(714, "igImParseFormatSanitizeForScanning");
+ funcTable.Load(715, "igImParseFormatPrecision");
+ funcTable.Load(716, "igImTextCharToUtf8");
+ funcTable.Load(717, "igImTextCharFromUtf8");
+ funcTable.Load(718, "igImTextCountCharsFromUtf8");
+ funcTable.Load(719, "igImTextCountUtf8BytesFromChar");
+ funcTable.Load(720, "igImTextCountUtf8BytesFromStr");
+ funcTable.Load(721, "igImFileOpen");
+ funcTable.Load(722, "igImFileClose");
+ funcTable.Load(723, "igImFileGetSize");
+ funcTable.Load(724, "igImFileRead");
+ funcTable.Load(725, "igImFileWrite");
+ funcTable.Load(726, "igImFileLoadToMemory");
+ funcTable.Load(727, "igImPow_Float");
+ funcTable.Load(728, "igImPow_double");
+ funcTable.Load(729, "igImLog_Float");
+ funcTable.Load(730, "igImLog_double");
+ funcTable.Load(731, "igImAbs_Int");
+ funcTable.Load(732, "igImAbs_Float");
+ funcTable.Load(733, "igImAbs_double");
+ funcTable.Load(734, "igImSign_Float");
+ funcTable.Load(735, "igImSign_double");
+ funcTable.Load(736, "igImRsqrt_Float");
+ funcTable.Load(737, "igImRsqrt_double");
+ funcTable.Load(738, "igImMin");
+ funcTable.Load(739, "igImMax");
+ funcTable.Load(740, "igImClamp");
+ funcTable.Load(741, "igImLerp_Vec2Float");
+ funcTable.Load(742, "igImLerp_Vec2Vec2");
+ funcTable.Load(743, "igImLerp_Vec4");
+ funcTable.Load(744, "igImSaturate");
+ funcTable.Load(745, "igImLengthSqr_Vec2");
+ funcTable.Load(746, "igImLengthSqr_Vec4");
+ funcTable.Load(747, "igImInvLength");
+ funcTable.Load(748, "igImFloor_Float");
+ funcTable.Load(749, "igImFloorSigned_Float");
+ funcTable.Load(750, "igImFloor_Vec2");
+ funcTable.Load(751, "igImFloorSigned_Vec2");
+ funcTable.Load(752, "igImModPositive");
+ funcTable.Load(753, "igImDot");
+ funcTable.Load(754, "igImRotate");
+ funcTable.Load(755, "igImLinearSweep");
+ funcTable.Load(756, "igImMul");
+ funcTable.Load(757, "igImIsFloatAboveGuaranteedIntegerPrecision");
+ funcTable.Load(758, "igImBezierCubicCalc");
+ funcTable.Load(759, "igImBezierCubicClosestPoint");
+ funcTable.Load(760, "igImBezierCubicClosestPointCasteljau");
+ funcTable.Load(761, "igImBezierQuadraticCalc");
+ funcTable.Load(762, "igImLineClosestPoint");
+ funcTable.Load(763, "igImTriangleContainsPoint");
+ funcTable.Load(764, "igImTriangleClosestPoint");
+ funcTable.Load(765, "igImTriangleBarycentricCoords");
+ funcTable.Load(766, "igImTriangleArea");
+ funcTable.Load(767, "igImGetDirQuadrantFromDelta");
+ funcTable.Load(768, "ImVec1_ImVec1_Nil");
+ funcTable.Load(769, "ImVec1_ImVec1_Float");
+ funcTable.Load(770, "ImVec2ih_ImVec2ih_Nil");
+ funcTable.Load(771, "ImVec2ih_ImVec2ih_short");
+ funcTable.Load(772, "ImVec2ih_ImVec2ih_Vec2");
+ funcTable.Load(773, "ImRect_ImRect_Nil");
+ funcTable.Load(774, "ImRect_ImRect_Vec2");
+ funcTable.Load(775, "ImRect_ImRect_Vec4");
+ funcTable.Load(776, "ImRect_ImRect_Float");
+ funcTable.Load(777, "ImRect_GetCenter");
+ funcTable.Load(778, "ImRect_GetSize");
+ funcTable.Load(779, "ImRect_GetWidth");
+ funcTable.Load(780, "ImRect_GetHeight");
+ funcTable.Load(781, "ImRect_GetArea");
+ funcTable.Load(782, "ImRect_GetTL");
+ funcTable.Load(783, "ImRect_GetTR");
+ funcTable.Load(784, "ImRect_GetBL");
+ funcTable.Load(785, "ImRect_GetBR");
+ funcTable.Load(786, "ImRect_Contains_Vec2");
+ funcTable.Load(787, "ImRect_Contains_Rect");
+ funcTable.Load(788, "ImRect_Overlaps");
+ funcTable.Load(789, "ImRect_Add_Vec2");
+ funcTable.Load(790, "ImRect_Add_Rect");
+ funcTable.Load(791, "ImRect_Expand_Float");
+ funcTable.Load(792, "ImRect_Expand_Vec2");
+ funcTable.Load(793, "ImRect_Translate");
+ funcTable.Load(794, "ImRect_TranslateX");
+ funcTable.Load(795, "ImRect_TranslateY");
+ funcTable.Load(796, "ImRect_ClipWith");
+ funcTable.Load(797, "ImRect_ClipWithFull");
+ funcTable.Load(798, "ImRect_Floor");
+ funcTable.Load(799, "ImRect_IsInverted");
+ funcTable.Load(800, "ImRect_ToVec4");
+ funcTable.Load(801, "igImBitArrayTestBit");
+ funcTable.Load(802, "igImBitArrayClearBit");
+ funcTable.Load(803, "igImBitArraySetBit");
+ funcTable.Load(804, "igImBitArraySetBitRange");
+ funcTable.Load(805, "ImBitVector_Create");
+ funcTable.Load(806, "ImBitVector_Clear");
+ funcTable.Load(807, "ImBitVector_TestBit");
+ funcTable.Load(808, "ImBitVector_SetBit");
+ funcTable.Load(809, "ImBitVector_ClearBit");
+ funcTable.Load(810, "ImDrawListSharedData_ImDrawListSharedData");
+ funcTable.Load(811, "ImDrawListSharedData_SetCircleTessellationMaxError");
+ funcTable.Load(812, "ImDrawDataBuilder_Clear");
+ funcTable.Load(813, "ImDrawDataBuilder_ClearFreeMemory");
+ funcTable.Load(814, "ImDrawDataBuilder_GetDrawListCount");
+ funcTable.Load(815, "ImDrawDataBuilder_FlattenIntoSingleLayer");
+ funcTable.Load(816, "ImGuiStyleMod_ImGuiStyleMod_Int");
+ funcTable.Load(817, "ImGuiStyleMod_ImGuiStyleMod_Float");
+ funcTable.Load(818, "ImGuiStyleMod_ImGuiStyleMod_Vec2");
+ funcTable.Load(819, "ImGuiComboPreviewData_ImGuiComboPreviewData");
+ funcTable.Load(820, "ImGuiMenuColumns_ImGuiMenuColumns");
+ funcTable.Load(821, "ImGuiMenuColumns_Update");
+ funcTable.Load(822, "ImGuiMenuColumns_DeclColumns");
+ funcTable.Load(823, "ImGuiMenuColumns_CalcNextTotalWidth");
+ funcTable.Load(824, "ImGuiInputTextState_ImGuiInputTextState");
+ funcTable.Load(825, "ImGuiInputTextState_ClearText");
+ funcTable.Load(826, "ImGuiInputTextState_ClearFreeMemory");
+ funcTable.Load(827, "ImGuiInputTextState_GetUndoAvailCount");
+ funcTable.Load(828, "ImGuiInputTextState_GetRedoAvailCount");
+ funcTable.Load(829, "ImGuiInputTextState_OnKeyPressed");
+ funcTable.Load(830, "ImGuiInputTextState_CursorAnimReset");
+ funcTable.Load(831, "ImGuiInputTextState_CursorClamp");
+ funcTable.Load(832, "ImGuiInputTextState_HasSelection");
+ funcTable.Load(833, "ImGuiInputTextState_ClearSelection");
+ funcTable.Load(834, "ImGuiInputTextState_GetCursorPos");
+ funcTable.Load(835, "ImGuiInputTextState_GetSelectionStart");
+ funcTable.Load(836, "ImGuiInputTextState_GetSelectionEnd");
+ funcTable.Load(837, "ImGuiInputTextState_SelectAll");
+ funcTable.Load(838, "ImGuiPopupData_ImGuiPopupData");
+ funcTable.Load(839, "ImGuiNextWindowData_ImGuiNextWindowData");
+ funcTable.Load(840, "ImGuiNextWindowData_ClearFlags");
+ funcTable.Load(841, "ImGuiNextItemData_ImGuiNextItemData");
+ funcTable.Load(842, "ImGuiNextItemData_ClearFlags");
+ funcTable.Load(843, "ImGuiLastItemData_ImGuiLastItemData");
+ funcTable.Load(844, "ImGuiStackSizes_ImGuiStackSizes");
+ funcTable.Load(845, "ImGuiStackSizes_SetToCurrentState");
+ funcTable.Load(846, "ImGuiStackSizes_CompareWithCurrentState");
+ funcTable.Load(847, "ImGuiPtrOrIndex_ImGuiPtrOrIndex_Ptr");
+ funcTable.Load(848, "ImGuiPtrOrIndex_ImGuiPtrOrIndex_Int");
+ funcTable.Load(849, "ImGuiInputEvent_ImGuiInputEvent");
+ funcTable.Load(850, "ImGuiListClipperRange_FromIndices");
+ funcTable.Load(851, "ImGuiListClipperRange_FromPositions");
+ funcTable.Load(852, "ImGuiListClipperData_ImGuiListClipperData");
+ funcTable.Load(853, "ImGuiListClipperData_Reset");
+ funcTable.Load(854, "ImGuiNavItemData_ImGuiNavItemData");
+ funcTable.Load(855, "ImGuiNavItemData_Clear");
+ funcTable.Load(856, "ImGuiOldColumnData_ImGuiOldColumnData");
+ funcTable.Load(857, "ImGuiOldColumns_ImGuiOldColumns");
+ funcTable.Load(858, "ImGuiDockNode_ImGuiDockNode");
+ funcTable.Load(859, "ImGuiDockNode_destroy");
+ funcTable.Load(860, "ImGuiDockNode_IsRootNode");
+ funcTable.Load(861, "ImGuiDockNode_IsDockSpace");
+ funcTable.Load(862, "ImGuiDockNode_IsFloatingNode");
+ funcTable.Load(863, "ImGuiDockNode_IsCentralNode");
+ funcTable.Load(864, "ImGuiDockNode_IsHiddenTabBar");
+ funcTable.Load(865, "ImGuiDockNode_IsNoTabBar");
+ funcTable.Load(866, "ImGuiDockNode_IsSplitNode");
+ funcTable.Load(867, "ImGuiDockNode_IsLeafNode");
+ funcTable.Load(868, "ImGuiDockNode_IsEmpty");
+ funcTable.Load(869, "ImGuiDockNode_Rect");
+ funcTable.Load(870, "ImGuiDockNode_SetLocalFlags");
+ funcTable.Load(871, "ImGuiDockNode_UpdateMergedFlags");
+ funcTable.Load(872, "ImGuiDockContext_ImGuiDockContext");
+ funcTable.Load(873, "ImGuiViewportP_ImGuiViewportP");
+ funcTable.Load(874, "ImGuiViewportP_destroy");
+ funcTable.Load(875, "ImGuiViewportP_ClearRequestFlags");
+ funcTable.Load(876, "ImGuiViewportP_CalcWorkRectPos");
+ funcTable.Load(877, "ImGuiViewportP_CalcWorkRectSize");
+ funcTable.Load(878, "ImGuiViewportP_UpdateWorkRect");
+ funcTable.Load(879, "ImGuiViewportP_GetMainRect");
+ funcTable.Load(880, "ImGuiViewportP_GetWorkRect");
+ funcTable.Load(881, "ImGuiViewportP_GetBuildWorkRect");
+ funcTable.Load(882, "ImGuiWindowSettings_ImGuiWindowSettings");
+ funcTable.Load(883, "ImGuiWindowSettings_GetName");
+ funcTable.Load(884, "ImGuiSettingsHandler_ImGuiSettingsHandler");
+ funcTable.Load(885, "ImGuiMetricsConfig_ImGuiMetricsConfig");
+ funcTable.Load(886, "ImGuiStackLevelInfo_ImGuiStackLevelInfo");
+ funcTable.Load(887, "ImGuiStackTool_ImGuiStackTool");
funcTable.Load(888, "ImGuiContextHook_ImGuiContextHook");
funcTable.Load(889, "ImGuiContext_ImGuiContext");
funcTable.Load(890, "ImGuiWindow_ImGuiWindow");
diff --git a/imgui/Dalamud.Bindings.ImGui/Generated/Functions/Functions.085.cs b/imgui/Dalamud.Bindings.ImGui/Generated/Functions/Functions.085.cs
index 623b38517..53742fa7f 100644
--- a/imgui/Dalamud.Bindings.ImGui/Generated/Functions/Functions.085.cs
+++ b/imgui/Dalamud.Bindings.ImGui/Generated/Functions/Functions.085.cs
@@ -3035,141 +3035,15 @@ namespace Dalamud.Bindings.ImGui
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
- internal static byte SetDragDropPayloadNative(byte* type, void* data, ulong sz, ImGuiCond cond)
+ internal static byte SetDragDropPayloadNative(byte* type, void* data, nuint sz, ImGuiCond cond)
{
#if NET5_0_OR_GREATER
- return ((delegate* unmanaged[Cdecl])funcTable[305])(type, data, sz, cond);
+ return ((delegate* unmanaged[Cdecl])funcTable[305])(type, data, sz, cond);
#else
- return (byte)((delegate* unmanaged[Cdecl])funcTable[305])((nint)type, (nint)data, sz, cond);
+ return (byte)((delegate* unmanaged[Cdecl])funcTable[305])((nint)type, (nint)data, sz, cond);
#endif
}
- ///
- /// To be documented.
- ///
- public static bool SetDragDropPayload(byte* type, void* data, ulong sz, ImGuiCond cond)
- {
- byte ret = SetDragDropPayloadNative(type, data, sz, cond);
- return ret != 0;
- }
-
- ///
- /// To be documented.
- ///
- public static bool SetDragDropPayload(byte* type, void* data, ulong sz)
- {
- byte ret = SetDragDropPayloadNative(type, data, sz, (ImGuiCond)(0));
- return ret != 0;
- }
-
- ///
- /// To be documented.
- ///
- public static bool SetDragDropPayload(ref byte type, void* data, ulong sz, ImGuiCond cond)
- {
- fixed (byte* ptype = &type)
- {
- byte ret = SetDragDropPayloadNative((byte*)ptype, data, sz, cond);
- return ret != 0;
- }
- }
-
- ///
- /// To be documented.
- ///
- public static bool SetDragDropPayload(ref byte type, void* data, ulong sz)
- {
- fixed (byte* ptype = &type)
- {
- byte ret = SetDragDropPayloadNative((byte*)ptype, data, sz, (ImGuiCond)(0));
- return ret != 0;
- }
- }
-
- ///
- /// To be documented.
- ///
- public static bool SetDragDropPayload(ReadOnlySpan type, void* data, ulong sz, ImGuiCond cond)
- {
- fixed (byte* ptype = type)
- {
- byte ret = SetDragDropPayloadNative((byte*)ptype, data, sz, cond);
- return ret != 0;
- }
- }
-
- ///
- /// To be documented.
- ///
- public static bool SetDragDropPayload(ReadOnlySpan type, void* data, ulong sz)
- {
- fixed (byte* ptype = type)
- {
- byte ret = SetDragDropPayloadNative((byte*)ptype, data, sz, (ImGuiCond)(0));
- return ret != 0;
- }
- }
-
- ///
- /// To be documented.
- ///
- public static bool SetDragDropPayload(string type, void* data, ulong sz, ImGuiCond cond)
- {
- byte* pStr0 = null;
- int pStrSize0 = 0;
- if (type != null)
- {
- pStrSize0 = Utils.GetByteCountUTF8(type);
- if (pStrSize0 >= Utils.MaxStackallocSize)
- {
- pStr0 = Utils.Alloc(pStrSize0 + 1);
- }
- else
- {
- byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
- pStr0 = pStrStack0;
- }
- int pStrOffset0 = Utils.EncodeStringUTF8(type, pStr0, pStrSize0);
- pStr0[pStrOffset0] = 0;
- }
- byte ret = SetDragDropPayloadNative(pStr0, data, sz, cond);
- if (pStrSize0 >= Utils.MaxStackallocSize)
- {
- Utils.Free(pStr0);
- }
- return ret != 0;
- }
-
- ///
- /// To be documented.
- ///
- public static bool SetDragDropPayload(string type, void* data, ulong sz)
- {
- byte* pStr0 = null;
- int pStrSize0 = 0;
- if (type != null)
- {
- pStrSize0 = Utils.GetByteCountUTF8(type);
- if (pStrSize0 >= Utils.MaxStackallocSize)
- {
- pStr0 = Utils.Alloc(pStrSize0 + 1);
- }
- else
- {
- byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
- pStr0 = pStrStack0;
- }
- int pStrOffset0 = Utils.EncodeStringUTF8(type, pStr0, pStrSize0);
- pStr0[pStrOffset0] = 0;
- }
- byte ret = SetDragDropPayloadNative(pStr0, data, sz, (ImGuiCond)(0));
- if (pStrSize0 >= Utils.MaxStackallocSize)
- {
- Utils.Free(pStr0);
- }
- return ret != 0;
- }
-
///
/// To be documented.
///
@@ -5022,5 +4896,140 @@ namespace Dalamud.Bindings.ImGui
return ret;
}
}
+
+ ///
+ /// To be documented.
+ ///
+ public static Vector2 CalcTextSize(ReadOnlySpan text, byte* textEnd, bool hideTextAfterDoubleHash, float wrapWidth)
+ {
+ fixed (byte* ptext = text)
+ {
+ Vector2 ret;
+ CalcTextSizeNative(&ret, (byte*)ptext, textEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth);
+ return ret;
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static Vector2 CalcTextSize(string text)
+ {
+ byte* pStr0 = null;
+ int pStrSize0 = 0;
+ if (text != null)
+ {
+ pStrSize0 = Utils.GetByteCountUTF8(text);
+ if (pStrSize0 >= Utils.MaxStackallocSize)
+ {
+ pStr0 = Utils.Alloc(pStrSize0 + 1);
+ }
+ else
+ {
+ byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
+ pStr0 = pStrStack0;
+ }
+ int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0);
+ pStr0[pStrOffset0] = 0;
+ }
+ Vector2 ret;
+ CalcTextSizeNative(&ret, pStr0, (byte*)(default), (byte)(0), (float)(-1.0f));
+ if (pStrSize0 >= Utils.MaxStackallocSize)
+ {
+ Utils.Free(pStr0);
+ }
+ return ret;
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static Vector2 CalcTextSize(string text, byte* textEnd)
+ {
+ byte* pStr0 = null;
+ int pStrSize0 = 0;
+ if (text != null)
+ {
+ pStrSize0 = Utils.GetByteCountUTF8(text);
+ if (pStrSize0 >= Utils.MaxStackallocSize)
+ {
+ pStr0 = Utils.Alloc(pStrSize0 + 1);
+ }
+ else
+ {
+ byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
+ pStr0 = pStrStack0;
+ }
+ int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0);
+ pStr0[pStrOffset0] = 0;
+ }
+ Vector2 ret;
+ CalcTextSizeNative(&ret, pStr0, textEnd, (byte)(0), (float)(-1.0f));
+ if (pStrSize0 >= Utils.MaxStackallocSize)
+ {
+ Utils.Free(pStr0);
+ }
+ return ret;
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void CalcTextSize(Vector2* pOut, string text)
+ {
+ byte* pStr0 = null;
+ int pStrSize0 = 0;
+ if (text != null)
+ {
+ pStrSize0 = Utils.GetByteCountUTF8(text);
+ if (pStrSize0 >= Utils.MaxStackallocSize)
+ {
+ pStr0 = Utils.Alloc(pStrSize0 + 1);
+ }
+ else
+ {
+ byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
+ pStr0 = pStrStack0;
+ }
+ int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0);
+ pStr0[pStrOffset0] = 0;
+ }
+ CalcTextSizeNative(pOut, pStr0, (byte*)(default), (byte)(0), (float)(-1.0f));
+ if (pStrSize0 >= Utils.MaxStackallocSize)
+ {
+ Utils.Free(pStr0);
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static Vector2 CalcTextSize(string text, bool hideTextAfterDoubleHash)
+ {
+ byte* pStr0 = null;
+ int pStrSize0 = 0;
+ if (text != null)
+ {
+ pStrSize0 = Utils.GetByteCountUTF8(text);
+ if (pStrSize0 >= Utils.MaxStackallocSize)
+ {
+ pStr0 = Utils.Alloc(pStrSize0 + 1);
+ }
+ else
+ {
+ byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
+ pStr0 = pStrStack0;
+ }
+ int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0);
+ pStr0[pStrOffset0] = 0;
+ }
+ Vector2 ret;
+ CalcTextSizeNative(&ret, pStr0, (byte*)(default), hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f));
+ if (pStrSize0 >= Utils.MaxStackallocSize)
+ {
+ Utils.Free(pStr0);
+ }
+ return ret;
+ }
}
}
diff --git a/imgui/Dalamud.Bindings.ImGui/Generated/Functions/Functions.086.cs b/imgui/Dalamud.Bindings.ImGui/Generated/Functions/Functions.086.cs
index 4e463cb3b..03da217ab 100644
--- a/imgui/Dalamud.Bindings.ImGui/Generated/Functions/Functions.086.cs
+++ b/imgui/Dalamud.Bindings.ImGui/Generated/Functions/Functions.086.cs
@@ -18,141 +18,6 @@ namespace Dalamud.Bindings.ImGui
public unsafe partial class ImGui
{
- ///
- /// To be documented.
- ///
- public static Vector2 CalcTextSize(ReadOnlySpan text, byte* textEnd, bool hideTextAfterDoubleHash, float wrapWidth)
- {
- fixed (byte* ptext = text)
- {
- Vector2 ret;
- CalcTextSizeNative(&ret, (byte*)ptext, textEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth);
- return ret;
- }
- }
-
- ///
- /// To be documented.
- ///
- public static Vector2 CalcTextSize(string text)
- {
- byte* pStr0 = null;
- int pStrSize0 = 0;
- if (text != null)
- {
- pStrSize0 = Utils.GetByteCountUTF8(text);
- if (pStrSize0 >= Utils.MaxStackallocSize)
- {
- pStr0 = Utils.Alloc(pStrSize0 + 1);
- }
- else
- {
- byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
- pStr0 = pStrStack0;
- }
- int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0);
- pStr0[pStrOffset0] = 0;
- }
- Vector2 ret;
- CalcTextSizeNative(&ret, pStr0, (byte*)(default), (byte)(0), (float)(-1.0f));
- if (pStrSize0 >= Utils.MaxStackallocSize)
- {
- Utils.Free(pStr0);
- }
- return ret;
- }
-
- ///
- /// To be documented.
- ///
- public static Vector2 CalcTextSize(string text, byte* textEnd)
- {
- byte* pStr0 = null;
- int pStrSize0 = 0;
- if (text != null)
- {
- pStrSize0 = Utils.GetByteCountUTF8(text);
- if (pStrSize0 >= Utils.MaxStackallocSize)
- {
- pStr0 = Utils.Alloc(pStrSize0 + 1);
- }
- else
- {
- byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
- pStr0 = pStrStack0;
- }
- int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0);
- pStr0[pStrOffset0] = 0;
- }
- Vector2 ret;
- CalcTextSizeNative(&ret, pStr0, textEnd, (byte)(0), (float)(-1.0f));
- if (pStrSize0 >= Utils.MaxStackallocSize)
- {
- Utils.Free(pStr0);
- }
- return ret;
- }
-
- ///
- /// To be documented.
- ///
- public static void CalcTextSize(Vector2* pOut, string text)
- {
- byte* pStr0 = null;
- int pStrSize0 = 0;
- if (text != null)
- {
- pStrSize0 = Utils.GetByteCountUTF8(text);
- if (pStrSize0 >= Utils.MaxStackallocSize)
- {
- pStr0 = Utils.Alloc(pStrSize0 + 1);
- }
- else
- {
- byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
- pStr0 = pStrStack0;
- }
- int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0);
- pStr0[pStrOffset0] = 0;
- }
- CalcTextSizeNative(pOut, pStr0, (byte*)(default), (byte)(0), (float)(-1.0f));
- if (pStrSize0 >= Utils.MaxStackallocSize)
- {
- Utils.Free(pStr0);
- }
- }
-
- ///
- /// To be documented.
- ///
- public static Vector2 CalcTextSize(string text, bool hideTextAfterDoubleHash)
- {
- byte* pStr0 = null;
- int pStrSize0 = 0;
- if (text != null)
- {
- pStrSize0 = Utils.GetByteCountUTF8(text);
- if (pStrSize0 >= Utils.MaxStackallocSize)
- {
- pStr0 = Utils.Alloc(pStrSize0 + 1);
- }
- else
- {
- byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
- pStr0 = pStrStack0;
- }
- int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0);
- pStr0[pStrOffset0] = 0;
- }
- Vector2 ret;
- CalcTextSizeNative(&ret, pStr0, (byte*)(default), hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f));
- if (pStrSize0 >= Utils.MaxStackallocSize)
- {
- Utils.Free(pStr0);
- }
- return ret;
- }
-
///
/// To be documented.
///
@@ -5028,5 +4893,133 @@ namespace Dalamud.Bindings.ImGui
}
}
}
+
+ ///
+ /// To be documented.
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ internal static byte IsKeyDownNative(ImGuiKey key)
+ {
+ #if NET5_0_OR_GREATER
+ return ((delegate* unmanaged[Cdecl])funcTable[354])(key);
+ #else
+ return (byte)((delegate* unmanaged[Cdecl])funcTable[354])(key);
+ #endif
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static bool IsKeyDown(ImGuiKey key)
+ {
+ byte ret = IsKeyDownNative(key);
+ return ret != 0;
+ }
+
+ ///
+ /// To be documented.
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ internal static byte IsKeyPressedNative(ImGuiKey key, byte repeat)
+ {
+ #if NET5_0_OR_GREATER
+ return ((delegate* unmanaged[Cdecl])funcTable[355])(key, repeat);
+ #else
+ return (byte)((delegate* unmanaged[Cdecl])funcTable[355])(key, repeat);
+ #endif
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static bool IsKeyPressed(ImGuiKey key, bool repeat)
+ {
+ byte ret = IsKeyPressedNative(key, repeat ? (byte)1 : (byte)0);
+ return ret != 0;
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static bool IsKeyPressed(ImGuiKey key)
+ {
+ byte ret = IsKeyPressedNative(key, (byte)(1));
+ return ret != 0;
+ }
+
+ ///
+ /// To be documented.
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ internal static byte IsKeyReleasedNative(ImGuiKey key)
+ {
+ #if NET5_0_OR_GREATER
+ return ((delegate* unmanaged[Cdecl])funcTable[356])(key);
+ #else
+ return (byte)((delegate* unmanaged[Cdecl])funcTable[356])(key);
+ #endif
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static bool IsKeyReleased(ImGuiKey key)
+ {
+ byte ret = IsKeyReleasedNative(key);
+ return ret != 0;
+ }
+
+ ///
+ /// To be documented.
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ internal static int GetKeyPressedAmountNative(ImGuiKey key, float repeatDelay, float rate)
+ {
+ #if NET5_0_OR_GREATER
+ return ((delegate* unmanaged[Cdecl])funcTable[357])(key, repeatDelay, rate);
+ #else
+ return (int)((delegate* unmanaged[Cdecl])funcTable[357])(key, repeatDelay, rate);
+ #endif
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static int GetKeyPressedAmount(ImGuiKey key, float repeatDelay, float rate)
+ {
+ int ret = GetKeyPressedAmountNative(key, repeatDelay, rate);
+ return ret;
+ }
+
+ ///
+ /// To be documented.
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ internal static byte* GetKeyNameNative(ImGuiKey key)
+ {
+ #if NET5_0_OR_GREATER
+ return ((delegate* unmanaged[Cdecl])funcTable[358])(key);
+ #else
+ return (byte*)((delegate* unmanaged[Cdecl])funcTable[358])(key);
+ #endif
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static byte* GetKeyName(ImGuiKey key)
+ {
+ byte* ret = GetKeyNameNative(key);
+ return ret;
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static string GetKeyNameS(ImGuiKey key)
+ {
+ string ret = Utils.DecodeStringUTF8(GetKeyNameNative(key));
+ return ret;
+ }
}
}
diff --git a/imgui/Dalamud.Bindings.ImGui/Generated/Functions/Functions.087.cs b/imgui/Dalamud.Bindings.ImGui/Generated/Functions/Functions.087.cs
index d0f6abbd1..a87351fac 100644
--- a/imgui/Dalamud.Bindings.ImGui/Generated/Functions/Functions.087.cs
+++ b/imgui/Dalamud.Bindings.ImGui/Generated/Functions/Functions.087.cs
@@ -18,134 +18,6 @@ namespace Dalamud.Bindings.ImGui
public unsafe partial class ImGui
{
- ///
- /// To be documented.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)]
- internal static byte IsKeyDownNative(ImGuiKey key)
- {
- #if NET5_0_OR_GREATER
- return ((delegate* unmanaged[Cdecl])funcTable[354])(key);
- #else
- return (byte)((delegate* unmanaged[Cdecl])funcTable[354])(key);
- #endif
- }
-
- ///
- /// To be documented.
- ///
- public static bool IsKeyDown(ImGuiKey key)
- {
- byte ret = IsKeyDownNative(key);
- return ret != 0;
- }
-
- ///
- /// To be documented.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)]
- internal static byte IsKeyPressedNative(ImGuiKey key, byte repeat)
- {
- #if NET5_0_OR_GREATER
- return ((delegate* unmanaged[Cdecl])funcTable[355])(key, repeat);
- #else
- return (byte)((delegate* unmanaged[Cdecl])funcTable[355])(key, repeat);
- #endif
- }
-
- ///
- /// To be documented.
- ///
- public static bool IsKeyPressed(ImGuiKey key, bool repeat)
- {
- byte ret = IsKeyPressedNative(key, repeat ? (byte)1 : (byte)0);
- return ret != 0;
- }
-
- ///
- /// To be documented.
- ///
- public static bool IsKeyPressed(ImGuiKey key)
- {
- byte ret = IsKeyPressedNative(key, (byte)(1));
- return ret != 0;
- }
-
- ///
- /// To be documented.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)]
- internal static byte IsKeyReleasedNative(ImGuiKey key)
- {
- #if NET5_0_OR_GREATER
- return ((delegate* unmanaged[Cdecl])funcTable[356])(key);
- #else
- return (byte)((delegate* unmanaged[Cdecl])funcTable[356])(key);
- #endif
- }
-
- ///
- /// To be documented.
- ///
- public static bool IsKeyReleased(ImGuiKey key)
- {
- byte ret = IsKeyReleasedNative(key);
- return ret != 0;
- }
-
- ///
- /// To be documented.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)]
- internal static int GetKeyPressedAmountNative(ImGuiKey key, float repeatDelay, float rate)
- {
- #if NET5_0_OR_GREATER
- return ((delegate* unmanaged[Cdecl])funcTable[357])(key, repeatDelay, rate);
- #else
- return (int)((delegate* unmanaged[Cdecl])funcTable[357])(key, repeatDelay, rate);
- #endif
- }
-
- ///
- /// To be documented.
- ///
- public static int GetKeyPressedAmount(ImGuiKey key, float repeatDelay, float rate)
- {
- int ret = GetKeyPressedAmountNative(key, repeatDelay, rate);
- return ret;
- }
-
- ///
- /// To be documented.
- ///
- [MethodImpl(MethodImplOptions.AggressiveInlining)]
- internal static byte* GetKeyNameNative(ImGuiKey key)
- {
- #if NET5_0_OR_GREATER
- return ((delegate* unmanaged[Cdecl])funcTable[358])(key);
- #else
- return (byte*)((delegate* unmanaged[Cdecl])funcTable[358])(key);
- #endif
- }
-
- ///
- /// To be documented.
- ///
- public static byte* GetKeyName(ImGuiKey key)
- {
- byte* ret = GetKeyNameNative(key);
- return ret;
- }
-
- ///
- /// To be documented.
- ///
- public static string GetKeyNameS(ImGuiKey key)
- {
- string ret = Utils.DecodeStringUTF8(GetKeyNameNative(key));
- return ret;
- }
-
///
/// To be documented.
///
@@ -898,19 +770,19 @@ namespace Dalamud.Bindings.ImGui
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
- internal static void LoadIniSettingsFromMemoryNative(byte* iniData, ulong iniSize)
+ internal static void LoadIniSettingsFromMemoryNative(byte* iniData, nuint iniSize)
{
#if NET5_0_OR_GREATER
- ((delegate* unmanaged[Cdecl])funcTable[379])(iniData, iniSize);
+ ((delegate* unmanaged[Cdecl])funcTable[379])(iniData, iniSize);
#else
- ((delegate* unmanaged[Cdecl])funcTable[379])((nint)iniData, iniSize);
+ ((delegate* unmanaged[Cdecl])funcTable[379])((nint)iniData, iniSize);
#endif
}
///
/// To be documented.
///
- public static void LoadIniSettingsFromMemory(byte* iniData, ulong iniSize)
+ public static void LoadIniSettingsFromMemory(byte* iniData, nuint iniSize)
{
LoadIniSettingsFromMemoryNative(iniData, iniSize);
}
@@ -920,13 +792,13 @@ namespace Dalamud.Bindings.ImGui
///
public static void LoadIniSettingsFromMemory(byte* iniData)
{
- LoadIniSettingsFromMemoryNative(iniData, (ulong)(0));
+ LoadIniSettingsFromMemoryNative(iniData, (nuint)(0));
}
///
/// To be documented.
///
- public static void LoadIniSettingsFromMemory(ref byte iniData, ulong iniSize)
+ public static void LoadIniSettingsFromMemory(ref byte iniData, nuint iniSize)
{
fixed (byte* piniData = &iniData)
{
@@ -941,14 +813,14 @@ namespace Dalamud.Bindings.ImGui
{
fixed (byte* piniData = &iniData)
{
- LoadIniSettingsFromMemoryNative((byte*)piniData, (ulong)(0));
+ LoadIniSettingsFromMemoryNative((byte*)piniData, (nuint)(0));
}
}
///
/// To be documented.
///
- public static void LoadIniSettingsFromMemory(ReadOnlySpan iniData, ulong iniSize)
+ public static void LoadIniSettingsFromMemory(ReadOnlySpan iniData, nuint iniSize)
{
fixed (byte* piniData = iniData)
{
@@ -963,14 +835,14 @@ namespace Dalamud.Bindings.ImGui
{
fixed (byte* piniData = iniData)
{
- LoadIniSettingsFromMemoryNative((byte*)piniData, (ulong)(0));
+ LoadIniSettingsFromMemoryNative((byte*)piniData, (nuint)(0));
}
}
///
/// To be documented.
///
- public static void LoadIniSettingsFromMemory(string iniData, ulong iniSize)
+ public static void LoadIniSettingsFromMemory(string iniData, nuint iniSize)
{
byte* pStr0 = null;
int pStrSize0 = 0;
@@ -1018,66 +890,7 @@ namespace Dalamud.Bindings.ImGui
int pStrOffset0 = Utils.EncodeStringUTF8(iniData, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
- LoadIniSettingsFromMemoryNative(pStr0, (ulong)(0));
- if (pStrSize0 >= Utils.MaxStackallocSize)
- {
- Utils.Free(pStr0);
- }
- }
-
- ///
- /// To be documented.
- ///
- public static void LoadIniSettingsFromMemory(byte* iniData, nuint iniSize)
- {
- LoadIniSettingsFromMemoryNative(iniData, iniSize);
- }
-
- ///
- /// To be documented.
- ///
- public static void LoadIniSettingsFromMemory(ref byte iniData, nuint iniSize)
- {
- fixed (byte* piniData = &iniData)
- {
- LoadIniSettingsFromMemoryNative((byte*)piniData, iniSize);
- }
- }
-
- ///
- /// To be documented.
- ///
- public static void LoadIniSettingsFromMemory(ReadOnlySpan iniData, nuint iniSize)
- {
- fixed (byte* piniData = iniData)
- {
- LoadIniSettingsFromMemoryNative((byte*)piniData, iniSize);
- }
- }
-
- ///
- /// To be documented.
- ///
- public static void LoadIniSettingsFromMemory(string iniData, nuint iniSize)
- {
- byte* pStr0 = null;
- int pStrSize0 = 0;
- if (iniData != null)
- {
- pStrSize0 = Utils.GetByteCountUTF8(iniData);
- if (pStrSize0 >= Utils.MaxStackallocSize)
- {
- pStr0 = Utils.Alloc(pStrSize0 + 1);
- }
- else
- {
- byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
- pStr0 = pStrStack0;
- }
- int pStrOffset0 = Utils.EncodeStringUTF8(iniData, pStr0, pStrSize0);
- pStr0[pStrOffset0] = 0;
- }
- LoadIniSettingsFromMemoryNative(pStr0, iniSize);
+ LoadIniSettingsFromMemoryNative(pStr0, (nuint)(0));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
@@ -1160,10 +973,10 @@ namespace Dalamud.Bindings.ImGui
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
- internal static byte* SaveIniSettingsToMemoryNative(ulong* outIniSize)
+ internal static byte* SaveIniSettingsToMemoryNative(nuint* outIniSize)
{
#if NET5_0_OR_GREATER
- return ((delegate* unmanaged[Cdecl])funcTable[381])(outIniSize);
+ return ((delegate* unmanaged[Cdecl])funcTable[381])(outIniSize);
#else
return (byte*)((delegate* unmanaged[Cdecl])funcTable[381])((nint)outIniSize);
#endif
@@ -1172,7 +985,7 @@ namespace Dalamud.Bindings.ImGui
///
/// To be documented.
///
- public static byte* SaveIniSettingsToMemory(ulong* outIniSize)
+ public static byte* SaveIniSettingsToMemory(nuint* outIniSize)
{
byte* ret = SaveIniSettingsToMemoryNative(outIniSize);
return ret;
@@ -1183,7 +996,7 @@ namespace Dalamud.Bindings.ImGui
///
public static byte* SaveIniSettingsToMemory()
{
- byte* ret = SaveIniSettingsToMemoryNative((ulong*)(default));
+ byte* ret = SaveIniSettingsToMemoryNative((nuint*)(default));
return ret;
}
@@ -1192,43 +1005,19 @@ namespace Dalamud.Bindings.ImGui
///
public static string SaveIniSettingsToMemoryS()
{
- string ret = Utils.DecodeStringUTF8(SaveIniSettingsToMemoryNative((ulong*)(default)));
+ string ret = Utils.DecodeStringUTF8(SaveIniSettingsToMemoryNative((nuint*)(default)));
return ret;
}
///
/// To be documented.
///
- public static string SaveIniSettingsToMemoryS(ulong* outIniSize)
+ public static string SaveIniSettingsToMemoryS(nuint* outIniSize)
{
string ret = Utils.DecodeStringUTF8(SaveIniSettingsToMemoryNative(outIniSize));
return ret;
}
- ///
- /// To be documented.
- ///
- public static byte* SaveIniSettingsToMemory(ref nuint outIniSize)
- {
- fixed (nuint* poutIniSize = &outIniSize)
- {
- byte* ret = SaveIniSettingsToMemoryNative((ulong*)poutIniSize);
- return ret;
- }
- }
-
- ///
- /// To be documented.
- ///
- public static string SaveIniSettingsToMemoryS(ref nuint outIniSize)
- {
- fixed (nuint* poutIniSize = &outIniSize)
- {
- string ret = Utils.DecodeStringUTF8(SaveIniSettingsToMemoryNative((ulong*)poutIniSize));
- return ret;
- }
- }
-
///
/// To be documented.
///
@@ -1305,19 +1094,19 @@ namespace Dalamud.Bindings.ImGui
/// To be documented.
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
- internal static byte DebugCheckVersionAndDataLayoutNative(byte* versionStr, ulong szIo, ulong szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx)
+ internal static byte DebugCheckVersionAndDataLayoutNative(byte* versionStr, nuint szIo, nuint szStyle, nuint szvec2, nuint szvec4, nuint szDrawvert, nuint szDrawidx)
{
#if NET5_0_OR_GREATER
- return ((delegate* unmanaged[Cdecl])funcTable[383])(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx);
+ return ((delegate* unmanaged[Cdecl])funcTable[383])(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx);
#else
- return (byte)((delegate* unmanaged[Cdecl])funcTable[383])((nint)versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx);
+ return (byte)((delegate* unmanaged[Cdecl])funcTable[383])((nint)versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx);
#endif
}
///
/// To be documented.
///
- public static bool DebugCheckVersionAndDataLayout(byte* versionStr, ulong szIo, ulong szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx)
+ public static bool DebugCheckVersionAndDataLayout(byte* versionStr, nuint szIo, nuint szStyle, nuint szvec2, nuint szvec4, nuint szDrawvert, nuint szDrawidx)
{
byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx);
return ret != 0;
@@ -1326,7 +1115,7 @@ namespace Dalamud.Bindings.ImGui
///
/// To be documented.
///
- public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, ulong szIo, ulong szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx)
+ public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, nuint szIo, nuint szStyle, nuint szvec2, nuint szvec4, nuint szDrawvert, nuint szDrawidx)
{
fixed (byte* pversionStr = &versionStr)
{
@@ -1338,7 +1127,7 @@ namespace Dalamud.Bindings.ImGui
///
/// To be documented.
///
- public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, ulong szIo, ulong szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx)
+ public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, nuint szIo, nuint szStyle, nuint szvec2, nuint szvec4, nuint szDrawvert, nuint szDrawidx)
{
fixed (byte* pversionStr = versionStr)
{
@@ -1350,7 +1139,7 @@ namespace Dalamud.Bindings.ImGui
///
/// To be documented.
///
- public static bool DebugCheckVersionAndDataLayout(string versionStr, ulong szIo, ulong szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx)
+ public static bool DebugCheckVersionAndDataLayout(string versionStr, nuint szIo, nuint szStyle, nuint szvec2, nuint szvec4, nuint szDrawvert, nuint szDrawidx)
{
byte* pStr0 = null;
int pStrSize0 = 0;
@@ -1380,46 +1169,679 @@ namespace Dalamud.Bindings.ImGui
///
/// To be documented.
///
- public static bool DebugCheckVersionAndDataLayout(byte* versionStr, nuint szIo, ulong szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx)
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ internal static void SetAllocatorFunctionsNative(ImGuiMemAllocFunc allocFunc, ImGuiMemFreeFunc freeFunc, void* userData)
{
- byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx);
- return ret != 0;
+ #if NET5_0_OR_GREATER
+ ((delegate* unmanaged[Cdecl], delegate*, void*, void>)funcTable[384])((delegate*)Utils.GetFunctionPointerForDelegate(allocFunc), (delegate*)Utils.GetFunctionPointerForDelegate(freeFunc), userData);
+ #else
+ ((delegate* unmanaged[Cdecl])funcTable[384])((nint)Utils.GetFunctionPointerForDelegate(allocFunc), (nint)Utils.GetFunctionPointerForDelegate(freeFunc), (nint)userData);
+ #endif
}
///
/// To be documented.
///
- public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, nuint szIo, ulong szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx)
+ public static void SetAllocatorFunctions(ImGuiMemAllocFunc allocFunc, ImGuiMemFreeFunc freeFunc, void* userData)
{
- fixed (byte* pversionStr = &versionStr)
+ SetAllocatorFunctionsNative(allocFunc, freeFunc, userData);
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void SetAllocatorFunctions(ImGuiMemAllocFunc allocFunc, ImGuiMemFreeFunc freeFunc)
+ {
+ SetAllocatorFunctionsNative(allocFunc, freeFunc, (void*)(default));
+ }
+
+ ///
+ /// To be documented.
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ internal static void GetAllocatorFunctionsNative(delegate** pAllocFunc, delegate** pFreeFunc, void** pUserData)
+ {
+ #if NET5_0_OR_GREATER
+ ((delegate* unmanaged[Cdecl]*, delegate**, void**, void>)funcTable[385])(pAllocFunc, pFreeFunc, pUserData);
+ #else
+ ((delegate* unmanaged[Cdecl])funcTable[385])((nint)pAllocFunc, (nint)pFreeFunc, (nint)pUserData);
+ #endif
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void GetAllocatorFunctions(delegate** pAllocFunc, delegate** pFreeFunc, void** pUserData)
+ {
+ GetAllocatorFunctionsNative(pAllocFunc, pFreeFunc, pUserData);
+ }
+
+ ///
+ /// To be documented.
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ internal static void* MemAllocNative(nuint size)
+ {
+ #if NET5_0_OR_GREATER
+ return ((delegate* unmanaged[Cdecl])funcTable[386])(size);
+ #else
+ return (void*)((delegate* unmanaged[Cdecl])funcTable[386])(size);
+ #endif
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void* MemAlloc(nuint size)
+ {
+ void* ret = MemAllocNative(size);
+ return ret;
+ }
+
+ ///
+ /// To be documented.
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ internal static void MemFreeNative(void* ptr)
+ {
+ #if NET5_0_OR_GREATER
+ ((delegate* unmanaged[Cdecl])funcTable[387])(ptr);
+ #else
+ ((delegate* unmanaged[Cdecl])funcTable[387])((nint)ptr);
+ #endif
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void MemFree(void* ptr)
+ {
+ MemFreeNative(ptr);
+ }
+
+ ///
+ /// To be documented.
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ internal static ImGuiPlatformIO* GetPlatformIONative()
+ {
+ #if NET5_0_OR_GREATER
+ return ((delegate* unmanaged[Cdecl])funcTable[388])();
+ #else
+ return (ImGuiPlatformIO*)((delegate* unmanaged[Cdecl])funcTable[388])();
+ #endif
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static ImGuiPlatformIOPtr GetPlatformIO()
+ {
+ ImGuiPlatformIOPtr ret = GetPlatformIONative();
+ return ret;
+ }
+
+ ///
+ /// To be documented.
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ internal static void UpdatePlatformWindowsNative()
+ {
+ #if NET5_0_OR_GREATER
+ ((delegate* unmanaged[Cdecl])funcTable[389])();
+ #else
+ ((delegate* unmanaged[Cdecl])funcTable[389])();
+ #endif
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void UpdatePlatformWindows()
+ {
+ UpdatePlatformWindowsNative();
+ }
+
+ ///
+ /// To be documented.
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ internal static void RenderPlatformWindowsDefaultNative(void* platformRenderArg, void* rendererRenderArg)
+ {
+ #if NET5_0_OR_GREATER
+ ((delegate* unmanaged[Cdecl])funcTable[390])(platformRenderArg, rendererRenderArg);
+ #else
+ ((delegate* unmanaged[Cdecl])funcTable[390])((nint)platformRenderArg, (nint)rendererRenderArg);
+ #endif
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void RenderPlatformWindowsDefault(void* platformRenderArg, void* rendererRenderArg)
+ {
+ RenderPlatformWindowsDefaultNative(platformRenderArg, rendererRenderArg);
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void RenderPlatformWindowsDefault(void* platformRenderArg)
+ {
+ RenderPlatformWindowsDefaultNative(platformRenderArg, (void*)(default));
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void RenderPlatformWindowsDefault()
+ {
+ RenderPlatformWindowsDefaultNative((void*)(default), (void*)(default));
+ }
+
+ ///
+ /// To be documented.
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ internal static void DestroyPlatformWindowsNative()
+ {
+ #if NET5_0_OR_GREATER
+ ((delegate* unmanaged[Cdecl])funcTable[391])();
+ #else
+ ((delegate* unmanaged[Cdecl])funcTable[391])();
+ #endif
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void DestroyPlatformWindows()
+ {
+ DestroyPlatformWindowsNative();
+ }
+
+ ///
+ /// To be documented.
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ internal static ImGuiViewport* FindViewportByIDNative(uint id)
+ {
+ #if NET5_0_OR_GREATER
+ return ((delegate* unmanaged[Cdecl])funcTable[392])(id);
+ #else
+ return (ImGuiViewport*)((delegate* unmanaged[Cdecl])funcTable[392])(id);
+ #endif
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static ImGuiViewportPtr FindViewportByID(uint id)
+ {
+ ImGuiViewportPtr ret = FindViewportByIDNative(id);
+ return ret;
+ }
+
+ ///
+ /// To be documented.
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ internal static ImGuiViewport* FindViewportByPlatformHandleNative(void* platformHandle)
+ {
+ #if NET5_0_OR_GREATER
+ return ((delegate* unmanaged[Cdecl])funcTable[393])(platformHandle);
+ #else
+ return (ImGuiViewport*)((delegate* unmanaged[Cdecl])funcTable[393])((nint)platformHandle);
+ #endif
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static ImGuiViewportPtr FindViewportByPlatformHandle(void* platformHandle)
+ {
+ ImGuiViewportPtr ret = FindViewportByPlatformHandleNative(platformHandle);
+ return ret;
+ }
+
+ ///
+ /// To be documented.
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ internal static ImGuiStyle* ImGuiStyleNative()
+ {
+ #if NET5_0_OR_GREATER
+ return ((delegate* unmanaged[Cdecl])funcTable[394])();
+ #else
+ return (ImGuiStyle*)((delegate* unmanaged[Cdecl])funcTable[394])();
+ #endif
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static ImGuiStylePtr ImGuiStyle()
+ {
+ ImGuiStylePtr ret = ImGuiStyleNative();
+ return ret;
+ }
+
+ ///
+ /// To be documented.
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ internal static void DestroyNative(ImGuiStyle* self)
+ {
+ #if NET5_0_OR_GREATER
+ ((delegate* unmanaged[Cdecl])funcTable[395])(self);
+ #else
+ ((delegate* unmanaged[Cdecl])funcTable[395])((nint)self);
+ #endif
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void Destroy(ImGuiStylePtr self)
+ {
+ DestroyNative(self);
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void Destroy(ref ImGuiStyle self)
+ {
+ fixed (ImGuiStyle* pself = &self)
{
- byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx);
- return ret != 0;
+ DestroyNative((ImGuiStyle*)pself);
}
}
///
/// To be documented.
///
- public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, nuint szIo, ulong szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx)
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ internal static void ScaleAllSizesNative(ImGuiStyle* self, float scaleFactor)
{
- fixed (byte* pversionStr = versionStr)
+ #if NET5_0_OR_GREATER
+ ((delegate* unmanaged[Cdecl])funcTable[396])(self, scaleFactor);
+ #else
+ ((delegate* unmanaged[Cdecl])funcTable[396])((nint)self, scaleFactor);
+ #endif
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void ScaleAllSizes(ImGuiStylePtr self, float scaleFactor)
+ {
+ ScaleAllSizesNative(self, scaleFactor);
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void ScaleAllSizes(ref ImGuiStyle self, float scaleFactor)
+ {
+ fixed (ImGuiStyle* pself = &self)
{
- byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx);
- return ret != 0;
+ ScaleAllSizesNative((ImGuiStyle*)pself, scaleFactor);
}
}
///
/// To be documented.
///
- public static bool DebugCheckVersionAndDataLayout(string versionStr, nuint szIo, ulong szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx)
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ internal static void AddKeyEventNative(ImGuiIO* self, ImGuiKey key, byte down)
+ {
+ #if NET5_0_OR_GREATER
+ ((delegate* unmanaged[Cdecl])funcTable[397])(self, key, down);
+ #else
+ ((delegate* unmanaged[Cdecl])funcTable[397])((nint)self, key, down);
+ #endif
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void AddKeyEvent(ImGuiIOPtr self, ImGuiKey key, bool down)
+ {
+ AddKeyEventNative(self, key, down ? (byte)1 : (byte)0);
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void AddKeyEvent(ref ImGuiIO self, ImGuiKey key, bool down)
+ {
+ fixed (ImGuiIO* pself = &self)
+ {
+ AddKeyEventNative((ImGuiIO*)pself, key, down ? (byte)1 : (byte)0);
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ internal static void AddKeyAnalogEventNative(ImGuiIO* self, ImGuiKey key, byte down, float v)
+ {
+ #if NET5_0_OR_GREATER
+ ((delegate* unmanaged[Cdecl])funcTable[398])(self, key, down, v);
+ #else
+ ((delegate* unmanaged[Cdecl])funcTable[398])((nint)self, key, down, v);
+ #endif
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void AddKeyAnalogEvent(ImGuiIOPtr self, ImGuiKey key, bool down, float v)
+ {
+ AddKeyAnalogEventNative(self, key, down ? (byte)1 : (byte)0, v);
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void AddKeyAnalogEvent(ref ImGuiIO self, ImGuiKey key, bool down, float v)
+ {
+ fixed (ImGuiIO* pself = &self)
+ {
+ AddKeyAnalogEventNative((ImGuiIO*)pself, key, down ? (byte)1 : (byte)0, v);
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ internal static void AddMousePosEventNative(ImGuiIO* self, float x, float y)
+ {
+ #if NET5_0_OR_GREATER
+ ((delegate* unmanaged[Cdecl])funcTable[399])(self, x, y);
+ #else
+ ((delegate* unmanaged[Cdecl])funcTable[399])((nint)self, x, y);
+ #endif
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void AddMousePosEvent(ImGuiIOPtr self, float x, float y)
+ {
+ AddMousePosEventNative(self, x, y);
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void AddMousePosEvent(ref ImGuiIO self, float x, float y)
+ {
+ fixed (ImGuiIO* pself = &self)
+ {
+ AddMousePosEventNative((ImGuiIO*)pself, x, y);
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ internal static void AddMouseButtonEventNative(ImGuiIO* self, int button, byte down)
+ {
+ #if NET5_0_OR_GREATER
+ ((delegate* unmanaged[Cdecl])funcTable[400])(self, button, down);
+ #else
+ ((delegate* unmanaged[Cdecl])funcTable[400])((nint)self, button, down);
+ #endif
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void AddMouseButtonEvent(ImGuiIOPtr self, int button, bool down)
+ {
+ AddMouseButtonEventNative(self, button, down ? (byte)1 : (byte)0);
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void AddMouseButtonEvent(ref ImGuiIO self, int button, bool down)
+ {
+ fixed (ImGuiIO* pself = &self)
+ {
+ AddMouseButtonEventNative((ImGuiIO*)pself, button, down ? (byte)1 : (byte)0);
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ internal static void AddMouseWheelEventNative(ImGuiIO* self, float whX, float whY)
+ {
+ #if NET5_0_OR_GREATER
+ ((delegate* unmanaged[Cdecl])funcTable[401])(self, whX, whY);
+ #else
+ ((delegate* unmanaged[Cdecl])funcTable[401])((nint)self, whX, whY);
+ #endif
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void AddMouseWheelEvent(ImGuiIOPtr self, float whX, float whY)
+ {
+ AddMouseWheelEventNative(self, whX, whY);
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void AddMouseWheelEvent(ref ImGuiIO self, float whX, float whY)
+ {
+ fixed (ImGuiIO* pself = &self)
+ {
+ AddMouseWheelEventNative((ImGuiIO*)pself, whX, whY);
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ internal static void AddMouseViewportEventNative(ImGuiIO* self, uint id)
+ {
+ #if NET5_0_OR_GREATER
+ ((delegate* unmanaged[Cdecl])funcTable[402])(self, id);
+ #else
+ ((delegate* unmanaged[Cdecl])funcTable[402])((nint)self, id);
+ #endif
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void AddMouseViewportEvent(ImGuiIOPtr self, uint id)
+ {
+ AddMouseViewportEventNative(self, id);
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void AddMouseViewportEvent(ref ImGuiIO self, uint id)
+ {
+ fixed (ImGuiIO* pself = &self)
+ {
+ AddMouseViewportEventNative((ImGuiIO*)pself, id);
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ internal static void AddFocusEventNative(ImGuiIO* self, byte focused)
+ {
+ #if NET5_0_OR_GREATER
+ ((delegate* unmanaged[Cdecl])funcTable[403])(self, focused);
+ #else
+ ((delegate* unmanaged[Cdecl])funcTable[403])((nint)self, focused);
+ #endif
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void AddFocusEvent(ImGuiIOPtr self, bool focused)
+ {
+ AddFocusEventNative(self, focused ? (byte)1 : (byte)0);
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void AddFocusEvent(ref ImGuiIO self, bool focused)
+ {
+ fixed (ImGuiIO* pself = &self)
+ {
+ AddFocusEventNative((ImGuiIO*)pself, focused ? (byte)1 : (byte)0);
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ internal static void AddInputCharacterNative(ImGuiIO* self, uint c)
+ {
+ #if NET5_0_OR_GREATER
+ ((delegate* unmanaged[Cdecl])funcTable[404])(self, c);
+ #else
+ ((delegate* unmanaged[Cdecl])funcTable[404])((nint)self, c);
+ #endif
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void AddInputCharacter(ImGuiIOPtr self, uint c)
+ {
+ AddInputCharacterNative(self, c);
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void AddInputCharacter(ref ImGuiIO self, uint c)
+ {
+ fixed (ImGuiIO* pself = &self)
+ {
+ AddInputCharacterNative((ImGuiIO*)pself, c);
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ internal static void AddInputCharacterUTF16Native(ImGuiIO* self, ushort c)
+ {
+ #if NET5_0_OR_GREATER
+ ((delegate* unmanaged[Cdecl])funcTable[405])(self, c);
+ #else
+ ((delegate* unmanaged[Cdecl])funcTable[405])((nint)self, c);
+ #endif
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void AddInputCharacterUTF16(ImGuiIOPtr self, ushort c)
+ {
+ AddInputCharacterUTF16Native(self, c);
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void AddInputCharacterUTF16(ref ImGuiIO self, ushort c)
+ {
+ fixed (ImGuiIO* pself = &self)
+ {
+ AddInputCharacterUTF16Native((ImGuiIO*)pself, c);
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ internal static void AddInputCharactersUTF8Native(ImGuiIO* self, byte* str)
+ {
+ #if NET5_0_OR_GREATER
+ ((delegate* unmanaged[Cdecl])funcTable[406])(self, str);
+ #else
+ ((delegate* unmanaged[Cdecl])funcTable[406])((nint)self, (nint)str);
+ #endif
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void AddInputCharactersUTF8(ImGuiIOPtr self, byte* str)
+ {
+ AddInputCharactersUTF8Native(self, str);
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void AddInputCharactersUTF8(ref ImGuiIO self, byte* str)
+ {
+ fixed (ImGuiIO* pself = &self)
+ {
+ AddInputCharactersUTF8Native((ImGuiIO*)pself, str);
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void AddInputCharactersUTF8(ImGuiIOPtr self, ref byte str)
+ {
+ fixed (byte* pstr = &str)
+ {
+ AddInputCharactersUTF8Native(self, (byte*)pstr);
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void AddInputCharactersUTF8(ImGuiIOPtr self, ReadOnlySpan str)
+ {
+ fixed (byte* pstr = str)
+ {
+ AddInputCharactersUTF8Native(self, (byte*)pstr);
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void AddInputCharactersUTF8(ImGuiIOPtr self, string str)
{
byte* pStr0 = null;
int pStrSize0 = 0;
- if (versionStr != null)
+ if (str != null)
{
- pStrSize0 = Utils.GetByteCountUTF8(versionStr);
+ pStrSize0 = Utils.GetByteCountUTF8(str);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
@@ -1429,10 +1851,1561 @@ namespace Dalamud.Bindings.ImGui
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
- int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0);
+ int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
- byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx);
+ AddInputCharactersUTF8Native(self, pStr0);
+ if (pStrSize0 >= Utils.MaxStackallocSize)
+ {
+ Utils.Free(pStr0);
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void AddInputCharactersUTF8(ref ImGuiIO self, ref byte str)
+ {
+ fixed (ImGuiIO* pself = &self)
+ {
+ fixed (byte* pstr = &str)
+ {
+ AddInputCharactersUTF8Native((ImGuiIO*)pself, (byte*)pstr);
+ }
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void AddInputCharactersUTF8(ref ImGuiIO self, ReadOnlySpan str)
+ {
+ fixed (ImGuiIO* pself = &self)
+ {
+ fixed (byte* pstr = str)
+ {
+ AddInputCharactersUTF8Native((ImGuiIO*)pself, (byte*)pstr);
+ }
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void AddInputCharactersUTF8(ref ImGuiIO self, string str)
+ {
+ fixed (ImGuiIO* pself = &self)
+ {
+ byte* pStr0 = null;
+ int pStrSize0 = 0;
+ if (str != null)
+ {
+ pStrSize0 = Utils.GetByteCountUTF8(str);
+ if (pStrSize0 >= Utils.MaxStackallocSize)
+ {
+ pStr0 = Utils.Alloc(pStrSize0 + 1);
+ }
+ else
+ {
+ byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
+ pStr0 = pStrStack0;
+ }
+ int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0);
+ pStr0[pStrOffset0] = 0;
+ }
+ AddInputCharactersUTF8Native((ImGuiIO*)pself, pStr0);
+ if (pStrSize0 >= Utils.MaxStackallocSize)
+ {
+ Utils.Free(pStr0);
+ }
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ internal static void SetKeyEventNativeDataNative(ImGuiIO* self, ImGuiKey key, int nativeKeycode, int nativeScancode, int nativeLegacyIndex)
+ {
+ #if NET5_0_OR_GREATER
+ ((delegate* unmanaged[Cdecl])funcTable[407])(self, key, nativeKeycode, nativeScancode, nativeLegacyIndex);
+ #else
+ ((delegate* unmanaged[Cdecl])funcTable[407])((nint)self, key, nativeKeycode, nativeScancode, nativeLegacyIndex);
+ #endif
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void SetKeyEventNativeData(ImGuiIOPtr self, ImGuiKey key, int nativeKeycode, int nativeScancode, int nativeLegacyIndex)
+ {
+ SetKeyEventNativeDataNative(self, key, nativeKeycode, nativeScancode, nativeLegacyIndex);
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void SetKeyEventNativeData(ImGuiIOPtr self, ImGuiKey key, int nativeKeycode, int nativeScancode)
+ {
+ SetKeyEventNativeDataNative(self, key, nativeKeycode, nativeScancode, (int)(-1));
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void SetKeyEventNativeData(ref ImGuiIO self, ImGuiKey key, int nativeKeycode, int nativeScancode, int nativeLegacyIndex)
+ {
+ fixed (ImGuiIO* pself = &self)
+ {
+ SetKeyEventNativeDataNative((ImGuiIO*)pself, key, nativeKeycode, nativeScancode, nativeLegacyIndex);
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void SetKeyEventNativeData(ref ImGuiIO self, ImGuiKey key, int nativeKeycode, int nativeScancode)
+ {
+ fixed (ImGuiIO* pself = &self)
+ {
+ SetKeyEventNativeDataNative((ImGuiIO*)pself, key, nativeKeycode, nativeScancode, (int)(-1));
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ internal static void SetAppAcceptingEventsNative(ImGuiIO* self, byte acceptingEvents)
+ {
+ #if NET5_0_OR_GREATER
+ ((delegate* unmanaged[Cdecl])funcTable[408])(self, acceptingEvents);
+ #else
+ ((delegate* unmanaged[Cdecl])funcTable[408])((nint)self, acceptingEvents);
+ #endif
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void SetAppAcceptingEvents(ImGuiIOPtr self, bool acceptingEvents)
+ {
+ SetAppAcceptingEventsNative(self, acceptingEvents ? (byte)1 : (byte)0);
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void SetAppAcceptingEvents(ref ImGuiIO self, bool acceptingEvents)
+ {
+ fixed (ImGuiIO* pself = &self)
+ {
+ SetAppAcceptingEventsNative((ImGuiIO*)pself, acceptingEvents ? (byte)1 : (byte)0);
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ internal static void ClearInputCharactersNative(ImGuiIO* self)
+ {
+ #if NET5_0_OR_GREATER
+ ((delegate* unmanaged[Cdecl])funcTable[409])(self);
+ #else
+ ((delegate* unmanaged[Cdecl])funcTable[409])((nint)self);
+ #endif
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void ClearInputCharacters(ImGuiIOPtr self)
+ {
+ ClearInputCharactersNative(self);
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void ClearInputCharacters(ref ImGuiIO self)
+ {
+ fixed (ImGuiIO* pself = &self)
+ {
+ ClearInputCharactersNative((ImGuiIO*)pself);
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ internal static void ClearInputKeysNative(ImGuiIO* self)
+ {
+ #if NET5_0_OR_GREATER
+ ((delegate* unmanaged[Cdecl])funcTable[410])(self);
+ #else
+ ((delegate* unmanaged[Cdecl])funcTable[410])((nint)self);
+ #endif
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void ClearInputKeys(ImGuiIOPtr self)
+ {
+ ClearInputKeysNative(self);
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void ClearInputKeys(ref ImGuiIO self)
+ {
+ fixed (ImGuiIO* pself = &self)
+ {
+ ClearInputKeysNative((ImGuiIO*)pself);
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ internal static ImGuiIO* ImGuiIONative()
+ {
+ #if NET5_0_OR_GREATER
+ return ((delegate* unmanaged[Cdecl])funcTable[411])();
+ #else
+ return (ImGuiIO*)((delegate* unmanaged[Cdecl])funcTable[411])();
+ #endif
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static ImGuiIOPtr ImGuiIO()
+ {
+ ImGuiIOPtr ret = ImGuiIONative();
+ return ret;
+ }
+
+ ///
+ /// To be documented.
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ internal static void DestroyNative(ImGuiIO* self)
+ {
+ #if NET5_0_OR_GREATER
+ ((delegate* unmanaged[Cdecl])funcTable[412])(self);
+ #else
+ ((delegate* unmanaged[Cdecl])funcTable[412])((nint)self);
+ #endif
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void Destroy(ImGuiIOPtr self)
+ {
+ DestroyNative(self);
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void Destroy(ref ImGuiIO self)
+ {
+ fixed (ImGuiIO* pself = &self)
+ {
+ DestroyNative((ImGuiIO*)pself);
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ internal static ImGuiInputTextCallbackData* ImGuiInputTextCallbackDataNative()
+ {
+ #if NET5_0_OR_GREATER
+ return ((delegate* unmanaged[Cdecl])funcTable[413])();
+ #else
+ return (ImGuiInputTextCallbackData*)((delegate* unmanaged[Cdecl])funcTable[413])();
+ #endif
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static ImGuiInputTextCallbackDataPtr ImGuiInputTextCallbackData()
+ {
+ ImGuiInputTextCallbackDataPtr ret = ImGuiInputTextCallbackDataNative();
+ return ret;
+ }
+
+ ///
+ /// To be documented.
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ internal static void DestroyNative(ImGuiInputTextCallbackData* self)
+ {
+ #if NET5_0_OR_GREATER
+ ((delegate* unmanaged[Cdecl])funcTable[414])(self);
+ #else
+ ((delegate* unmanaged[Cdecl])funcTable[414])((nint)self);
+ #endif
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void Destroy(ImGuiInputTextCallbackDataPtr self)
+ {
+ DestroyNative(self);
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void Destroy(ref ImGuiInputTextCallbackData self)
+ {
+ fixed (ImGuiInputTextCallbackData* pself = &self)
+ {
+ DestroyNative((ImGuiInputTextCallbackData*)pself);
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ internal static void DeleteCharsNative(ImGuiInputTextCallbackData* self, int pos, int bytesCount)
+ {
+ #if NET5_0_OR_GREATER
+ ((delegate* unmanaged[Cdecl])funcTable[415])(self, pos, bytesCount);
+ #else
+ ((delegate* unmanaged[Cdecl])funcTable[415])((nint)self, pos, bytesCount);
+ #endif
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void DeleteChars(ImGuiInputTextCallbackDataPtr self, int pos, int bytesCount)
+ {
+ DeleteCharsNative(self, pos, bytesCount);
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void DeleteChars(ref ImGuiInputTextCallbackData self, int pos, int bytesCount)
+ {
+ fixed (ImGuiInputTextCallbackData* pself = &self)
+ {
+ DeleteCharsNative((ImGuiInputTextCallbackData*)pself, pos, bytesCount);
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ internal static void InsertCharsNative(ImGuiInputTextCallbackData* self, int pos, byte* text, byte* textEnd)
+ {
+ #if NET5_0_OR_GREATER
+ ((delegate* unmanaged[Cdecl])funcTable[416])(self, pos, text, textEnd);
+ #else
+ ((delegate* unmanaged[Cdecl])funcTable[416])((nint)self, pos, (nint)text, (nint)textEnd);
+ #endif
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void InsertChars(ImGuiInputTextCallbackDataPtr self, int pos, byte* text, byte* textEnd)
+ {
+ InsertCharsNative(self, pos, text, textEnd);
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void InsertChars(ImGuiInputTextCallbackDataPtr self, int pos, byte* text)
+ {
+ InsertCharsNative(self, pos, text, (byte*)(default));
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void InsertChars(ref ImGuiInputTextCallbackData self, int pos, byte* text, byte* textEnd)
+ {
+ fixed (ImGuiInputTextCallbackData* pself = &self)
+ {
+ InsertCharsNative((ImGuiInputTextCallbackData*)pself, pos, text, textEnd);
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void InsertChars(ref ImGuiInputTextCallbackData self, int pos, byte* text)
+ {
+ fixed (ImGuiInputTextCallbackData* pself = &self)
+ {
+ InsertCharsNative((ImGuiInputTextCallbackData*)pself, pos, text, (byte*)(default));
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void InsertChars(ImGuiInputTextCallbackDataPtr self, int pos, ref byte text, byte* textEnd)
+ {
+ fixed (byte* ptext = &text)
+ {
+ InsertCharsNative(self, pos, (byte*)ptext, textEnd);
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void InsertChars(ImGuiInputTextCallbackDataPtr self, int pos, ref byte text)
+ {
+ fixed (byte* ptext = &text)
+ {
+ InsertCharsNative(self, pos, (byte*)ptext, (byte*)(default));
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void InsertChars(ImGuiInputTextCallbackDataPtr self, int pos, ReadOnlySpan text, byte* textEnd)
+ {
+ fixed (byte* ptext = text)
+ {
+ InsertCharsNative(self, pos, (byte*)ptext, textEnd);
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void InsertChars(ImGuiInputTextCallbackDataPtr self, int pos, ReadOnlySpan text)
+ {
+ fixed (byte* ptext = text)
+ {
+ InsertCharsNative(self, pos, (byte*)ptext, (byte*)(default));
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void InsertChars(ImGuiInputTextCallbackDataPtr self, int pos, string text, byte* textEnd)
+ {
+ byte* pStr0 = null;
+ int pStrSize0 = 0;
+ if (text != null)
+ {
+ pStrSize0 = Utils.GetByteCountUTF8(text);
+ if (pStrSize0 >= Utils.MaxStackallocSize)
+ {
+ pStr0 = Utils.Alloc(pStrSize0 + 1);
+ }
+ else
+ {
+ byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
+ pStr0 = pStrStack0;
+ }
+ int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0);
+ pStr0[pStrOffset0] = 0;
+ }
+ InsertCharsNative(self, pos, pStr0, textEnd);
+ if (pStrSize0 >= Utils.MaxStackallocSize)
+ {
+ Utils.Free(pStr0);
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void InsertChars(ImGuiInputTextCallbackDataPtr self, int pos, string text)
+ {
+ byte* pStr0 = null;
+ int pStrSize0 = 0;
+ if (text != null)
+ {
+ pStrSize0 = Utils.GetByteCountUTF8(text);
+ if (pStrSize0 >= Utils.MaxStackallocSize)
+ {
+ pStr0 = Utils.Alloc(pStrSize0 + 1);
+ }
+ else
+ {
+ byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
+ pStr0 = pStrStack0;
+ }
+ int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0);
+ pStr0[pStrOffset0] = 0;
+ }
+ InsertCharsNative(self, pos, pStr0, (byte*)(default));
+ if (pStrSize0 >= Utils.MaxStackallocSize)
+ {
+ Utils.Free(pStr0);
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void InsertChars(ref ImGuiInputTextCallbackData self, int pos, ref byte text, byte* textEnd)
+ {
+ fixed (ImGuiInputTextCallbackData* pself = &self)
+ {
+ fixed (byte* ptext = &text)
+ {
+ InsertCharsNative((ImGuiInputTextCallbackData*)pself, pos, (byte*)ptext, textEnd);
+ }
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void InsertChars(ref ImGuiInputTextCallbackData self, int pos, ref byte text)
+ {
+ fixed (ImGuiInputTextCallbackData* pself = &self)
+ {
+ fixed (byte* ptext = &text)
+ {
+ InsertCharsNative((ImGuiInputTextCallbackData*)pself, pos, (byte*)ptext, (byte*)(default));
+ }
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void InsertChars(ref ImGuiInputTextCallbackData self, int pos, ReadOnlySpan text, byte* textEnd)
+ {
+ fixed (ImGuiInputTextCallbackData* pself = &self)
+ {
+ fixed (byte* ptext = text)
+ {
+ InsertCharsNative((ImGuiInputTextCallbackData*)pself, pos, (byte*)ptext, textEnd);
+ }
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void InsertChars(ref ImGuiInputTextCallbackData self, int pos, ReadOnlySpan text)
+ {
+ fixed (ImGuiInputTextCallbackData* pself = &self)
+ {
+ fixed (byte* ptext = text)
+ {
+ InsertCharsNative((ImGuiInputTextCallbackData*)pself, pos, (byte*)ptext, (byte*)(default));
+ }
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void InsertChars(ref ImGuiInputTextCallbackData self, int pos, string text, byte* textEnd)
+ {
+ fixed (ImGuiInputTextCallbackData* pself = &self)
+ {
+ byte* pStr0 = null;
+ int pStrSize0 = 0;
+ if (text != null)
+ {
+ pStrSize0 = Utils.GetByteCountUTF8(text);
+ if (pStrSize0 >= Utils.MaxStackallocSize)
+ {
+ pStr0 = Utils.Alloc(pStrSize0 + 1);
+ }
+ else
+ {
+ byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
+ pStr0 = pStrStack0;
+ }
+ int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0);
+ pStr0[pStrOffset0] = 0;
+ }
+ InsertCharsNative((ImGuiInputTextCallbackData*)pself, pos, pStr0, textEnd);
+ if (pStrSize0 >= Utils.MaxStackallocSize)
+ {
+ Utils.Free(pStr0);
+ }
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void InsertChars(ref ImGuiInputTextCallbackData self, int pos, string text)
+ {
+ fixed (ImGuiInputTextCallbackData* pself = &self)
+ {
+ byte* pStr0 = null;
+ int pStrSize0 = 0;
+ if (text != null)
+ {
+ pStrSize0 = Utils.GetByteCountUTF8(text);
+ if (pStrSize0 >= Utils.MaxStackallocSize)
+ {
+ pStr0 = Utils.Alloc(pStrSize0 + 1);
+ }
+ else
+ {
+ byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
+ pStr0 = pStrStack0;
+ }
+ int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0);
+ pStr0[pStrOffset0] = 0;
+ }
+ InsertCharsNative((ImGuiInputTextCallbackData*)pself, pos, pStr0, (byte*)(default));
+ if (pStrSize0 >= Utils.MaxStackallocSize)
+ {
+ Utils.Free(pStr0);
+ }
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void InsertChars(ImGuiInputTextCallbackDataPtr self, int pos, byte* text, ref byte textEnd)
+ {
+ fixed (byte* ptextEnd = &textEnd)
+ {
+ InsertCharsNative(self, pos, text, (byte*)ptextEnd);
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void InsertChars(ImGuiInputTextCallbackDataPtr self, int pos, byte* text, ReadOnlySpan textEnd)
+ {
+ fixed (byte* ptextEnd = textEnd)
+ {
+ InsertCharsNative(self, pos, text, (byte*)ptextEnd);
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void InsertChars(ImGuiInputTextCallbackDataPtr self, int pos, byte* text, string textEnd)
+ {
+ byte* pStr0 = null;
+ int pStrSize0 = 0;
+ if (textEnd != null)
+ {
+ pStrSize0 = Utils.GetByteCountUTF8(textEnd);
+ if (pStrSize0 >= Utils.MaxStackallocSize)
+ {
+ pStr0 = Utils.Alloc(pStrSize0 + 1);
+ }
+ else
+ {
+ byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
+ pStr0 = pStrStack0;
+ }
+ int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0);
+ pStr0[pStrOffset0] = 0;
+ }
+ InsertCharsNative(self, pos, text, pStr0);
+ if (pStrSize0 >= Utils.MaxStackallocSize)
+ {
+ Utils.Free(pStr0);
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void InsertChars(ref ImGuiInputTextCallbackData self, int pos, byte* text, ref byte textEnd)
+ {
+ fixed (ImGuiInputTextCallbackData* pself = &self)
+ {
+ fixed (byte* ptextEnd = &textEnd)
+ {
+ InsertCharsNative((ImGuiInputTextCallbackData*)pself, pos, text, (byte*)ptextEnd);
+ }
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void InsertChars(ref ImGuiInputTextCallbackData self, int pos, byte* text, ReadOnlySpan textEnd)
+ {
+ fixed (ImGuiInputTextCallbackData* pself = &self)
+ {
+ fixed (byte* ptextEnd = textEnd)
+ {
+ InsertCharsNative((ImGuiInputTextCallbackData*)pself, pos, text, (byte*)ptextEnd);
+ }
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void InsertChars(ref ImGuiInputTextCallbackData self, int pos, byte* text, string textEnd)
+ {
+ fixed (ImGuiInputTextCallbackData* pself = &self)
+ {
+ byte* pStr0 = null;
+ int pStrSize0 = 0;
+ if (textEnd != null)
+ {
+ pStrSize0 = Utils.GetByteCountUTF8(textEnd);
+ if (pStrSize0 >= Utils.MaxStackallocSize)
+ {
+ pStr0 = Utils.Alloc(pStrSize0 + 1);
+ }
+ else
+ {
+ byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
+ pStr0 = pStrStack0;
+ }
+ int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0);
+ pStr0[pStrOffset0] = 0;
+ }
+ InsertCharsNative((ImGuiInputTextCallbackData*)pself, pos, text, pStr0);
+ if (pStrSize0 >= Utils.MaxStackallocSize)
+ {
+ Utils.Free(pStr0);
+ }
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void InsertChars(ImGuiInputTextCallbackDataPtr self, int pos, ref byte text, ref byte textEnd)
+ {
+ fixed (byte* ptext = &text)
+ {
+ fixed (byte* ptextEnd = &textEnd)
+ {
+ InsertCharsNative(self, pos, (byte*)ptext, (byte*)ptextEnd);
+ }
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void InsertChars(ImGuiInputTextCallbackDataPtr self, int pos, ReadOnlySpan text, ReadOnlySpan textEnd)
+ {
+ fixed (byte* ptext = text)
+ {
+ fixed (byte* ptextEnd = textEnd)
+ {
+ InsertCharsNative(self, pos, (byte*)ptext, (byte*)ptextEnd);
+ }
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void InsertChars(ImGuiInputTextCallbackDataPtr self, int pos, string text, string textEnd)
+ {
+ byte* pStr0 = null;
+ int pStrSize0 = 0;
+ if (text != null)
+ {
+ pStrSize0 = Utils.GetByteCountUTF8(text);
+ if (pStrSize0 >= Utils.MaxStackallocSize)
+ {
+ pStr0 = Utils.Alloc(pStrSize0 + 1);
+ }
+ else
+ {
+ byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
+ pStr0 = pStrStack0;
+ }
+ int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0);
+ pStr0[pStrOffset0] = 0;
+ }
+ byte* pStr1 = null;
+ int pStrSize1 = 0;
+ if (textEnd != null)
+ {
+ pStrSize1 = Utils.GetByteCountUTF8(textEnd);
+ if (pStrSize1 >= Utils.MaxStackallocSize)
+ {
+ pStr1 = Utils.Alloc(pStrSize1 + 1);
+ }
+ else
+ {
+ byte* pStrStack1 = stackalloc byte[pStrSize1 + 1];
+ pStr1 = pStrStack1;
+ }
+ int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1);
+ pStr1[pStrOffset1] = 0;
+ }
+ InsertCharsNative(self, pos, pStr0, pStr1);
+ if (pStrSize1 >= Utils.MaxStackallocSize)
+ {
+ Utils.Free(pStr1);
+ }
+ if (pStrSize0 >= Utils.MaxStackallocSize)
+ {
+ Utils.Free(pStr0);
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void InsertChars(ImGuiInputTextCallbackDataPtr self, int pos, ref byte text, ReadOnlySpan textEnd)
+ {
+ fixed (byte* ptext = &text)
+ {
+ fixed (byte* ptextEnd = textEnd)
+ {
+ InsertCharsNative(self, pos, (byte*)ptext, (byte*)ptextEnd);
+ }
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void InsertChars(ImGuiInputTextCallbackDataPtr self, int pos, ref byte text, string textEnd)
+ {
+ fixed (byte* ptext = &text)
+ {
+ byte* pStr0 = null;
+ int pStrSize0 = 0;
+ if (textEnd != null)
+ {
+ pStrSize0 = Utils.GetByteCountUTF8(textEnd);
+ if (pStrSize0 >= Utils.MaxStackallocSize)
+ {
+ pStr0 = Utils.Alloc(pStrSize0 + 1);
+ }
+ else
+ {
+ byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
+ pStr0 = pStrStack0;
+ }
+ int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0);
+ pStr0[pStrOffset0] = 0;
+ }
+ InsertCharsNative(self, pos, (byte*)ptext, pStr0);
+ if (pStrSize0 >= Utils.MaxStackallocSize)
+ {
+ Utils.Free(pStr0);
+ }
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void InsertChars(ImGuiInputTextCallbackDataPtr self, int pos, ReadOnlySpan text, ref byte textEnd)
+ {
+ fixed (byte* ptext = text)
+ {
+ fixed (byte* ptextEnd = &textEnd)
+ {
+ InsertCharsNative(self, pos, (byte*)ptext, (byte*)ptextEnd);
+ }
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void InsertChars(ImGuiInputTextCallbackDataPtr self, int pos, ReadOnlySpan text, string textEnd)
+ {
+ fixed (byte* ptext = text)
+ {
+ byte* pStr0 = null;
+ int pStrSize0 = 0;
+ if (textEnd != null)
+ {
+ pStrSize0 = Utils.GetByteCountUTF8(textEnd);
+ if (pStrSize0 >= Utils.MaxStackallocSize)
+ {
+ pStr0 = Utils.Alloc(pStrSize0 + 1);
+ }
+ else
+ {
+ byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
+ pStr0 = pStrStack0;
+ }
+ int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0);
+ pStr0[pStrOffset0] = 0;
+ }
+ InsertCharsNative(self, pos, (byte*)ptext, pStr0);
+ if (pStrSize0 >= Utils.MaxStackallocSize)
+ {
+ Utils.Free(pStr0);
+ }
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void InsertChars(ImGuiInputTextCallbackDataPtr self, int pos, string text, ref byte textEnd)
+ {
+ byte* pStr0 = null;
+ int pStrSize0 = 0;
+ if (text != null)
+ {
+ pStrSize0 = Utils.GetByteCountUTF8(text);
+ if (pStrSize0 >= Utils.MaxStackallocSize)
+ {
+ pStr0 = Utils.Alloc(pStrSize0 + 1);
+ }
+ else
+ {
+ byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
+ pStr0 = pStrStack0;
+ }
+ int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0);
+ pStr0[pStrOffset0] = 0;
+ }
+ fixed (byte* ptextEnd = &textEnd)
+ {
+ InsertCharsNative(self, pos, pStr0, (byte*)ptextEnd);
+ if (pStrSize0 >= Utils.MaxStackallocSize)
+ {
+ Utils.Free(pStr0);
+ }
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void InsertChars(ImGuiInputTextCallbackDataPtr self, int pos, string text, ReadOnlySpan textEnd)
+ {
+ byte* pStr0 = null;
+ int pStrSize0 = 0;
+ if (text != null)
+ {
+ pStrSize0 = Utils.GetByteCountUTF8(text);
+ if (pStrSize0 >= Utils.MaxStackallocSize)
+ {
+ pStr0 = Utils.Alloc(pStrSize0 + 1);
+ }
+ else
+ {
+ byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
+ pStr0 = pStrStack0;
+ }
+ int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0);
+ pStr0[pStrOffset0] = 0;
+ }
+ fixed (byte* ptextEnd = textEnd)
+ {
+ InsertCharsNative(self, pos, pStr0, (byte*)ptextEnd);
+ if (pStrSize0 >= Utils.MaxStackallocSize)
+ {
+ Utils.Free(pStr0);
+ }
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void InsertChars(ref ImGuiInputTextCallbackData self, int pos, ref byte text, ref byte textEnd)
+ {
+ fixed (ImGuiInputTextCallbackData* pself = &self)
+ {
+ fixed (byte* ptext = &text)
+ {
+ fixed (byte* ptextEnd = &textEnd)
+ {
+ InsertCharsNative((ImGuiInputTextCallbackData*)pself, pos, (byte*)ptext, (byte*)ptextEnd);
+ }
+ }
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void InsertChars(ref ImGuiInputTextCallbackData self, int pos, ReadOnlySpan text, ReadOnlySpan textEnd)
+ {
+ fixed (ImGuiInputTextCallbackData* pself = &self)
+ {
+ fixed (byte* ptext = text)
+ {
+ fixed (byte* ptextEnd = textEnd)
+ {
+ InsertCharsNative((ImGuiInputTextCallbackData*)pself, pos, (byte*)ptext, (byte*)ptextEnd);
+ }
+ }
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void InsertChars(ref ImGuiInputTextCallbackData self, int pos, string text, string textEnd)
+ {
+ fixed (ImGuiInputTextCallbackData* pself = &self)
+ {
+ byte* pStr0 = null;
+ int pStrSize0 = 0;
+ if (text != null)
+ {
+ pStrSize0 = Utils.GetByteCountUTF8(text);
+ if (pStrSize0 >= Utils.MaxStackallocSize)
+ {
+ pStr0 = Utils.Alloc(pStrSize0 + 1);
+ }
+ else
+ {
+ byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
+ pStr0 = pStrStack0;
+ }
+ int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0);
+ pStr0[pStrOffset0] = 0;
+ }
+ byte* pStr1 = null;
+ int pStrSize1 = 0;
+ if (textEnd != null)
+ {
+ pStrSize1 = Utils.GetByteCountUTF8(textEnd);
+ if (pStrSize1 >= Utils.MaxStackallocSize)
+ {
+ pStr1 = Utils.Alloc(pStrSize1 + 1);
+ }
+ else
+ {
+ byte* pStrStack1 = stackalloc byte[pStrSize1 + 1];
+ pStr1 = pStrStack1;
+ }
+ int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1);
+ pStr1[pStrOffset1] = 0;
+ }
+ InsertCharsNative((ImGuiInputTextCallbackData*)pself, pos, pStr0, pStr1);
+ if (pStrSize1 >= Utils.MaxStackallocSize)
+ {
+ Utils.Free(pStr1);
+ }
+ if (pStrSize0 >= Utils.MaxStackallocSize)
+ {
+ Utils.Free(pStr0);
+ }
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void InsertChars(ref ImGuiInputTextCallbackData self, int pos, ref byte text, ReadOnlySpan textEnd)
+ {
+ fixed (ImGuiInputTextCallbackData* pself = &self)
+ {
+ fixed (byte* ptext = &text)
+ {
+ fixed (byte* ptextEnd = textEnd)
+ {
+ InsertCharsNative((ImGuiInputTextCallbackData*)pself, pos, (byte*)ptext, (byte*)ptextEnd);
+ }
+ }
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void InsertChars(ref ImGuiInputTextCallbackData self, int pos, ref byte text, string textEnd)
+ {
+ fixed (ImGuiInputTextCallbackData* pself = &self)
+ {
+ fixed (byte* ptext = &text)
+ {
+ byte* pStr0 = null;
+ int pStrSize0 = 0;
+ if (textEnd != null)
+ {
+ pStrSize0 = Utils.GetByteCountUTF8(textEnd);
+ if (pStrSize0 >= Utils.MaxStackallocSize)
+ {
+ pStr0 = Utils.Alloc(pStrSize0 + 1);
+ }
+ else
+ {
+ byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
+ pStr0 = pStrStack0;
+ }
+ int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0);
+ pStr0[pStrOffset0] = 0;
+ }
+ InsertCharsNative((ImGuiInputTextCallbackData*)pself, pos, (byte*)ptext, pStr0);
+ if (pStrSize0 >= Utils.MaxStackallocSize)
+ {
+ Utils.Free(pStr0);
+ }
+ }
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void InsertChars(ref ImGuiInputTextCallbackData self, int pos, ReadOnlySpan text, ref byte textEnd)
+ {
+ fixed (ImGuiInputTextCallbackData* pself = &self)
+ {
+ fixed (byte* ptext = text)
+ {
+ fixed (byte* ptextEnd = &textEnd)
+ {
+ InsertCharsNative((ImGuiInputTextCallbackData*)pself, pos, (byte*)ptext, (byte*)ptextEnd);
+ }
+ }
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void InsertChars(ref ImGuiInputTextCallbackData self, int pos, ReadOnlySpan text, string textEnd)
+ {
+ fixed (ImGuiInputTextCallbackData* pself = &self)
+ {
+ fixed (byte* ptext = text)
+ {
+ byte* pStr0 = null;
+ int pStrSize0 = 0;
+ if (textEnd != null)
+ {
+ pStrSize0 = Utils.GetByteCountUTF8(textEnd);
+ if (pStrSize0 >= Utils.MaxStackallocSize)
+ {
+ pStr0 = Utils.Alloc(pStrSize0 + 1);
+ }
+ else
+ {
+ byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
+ pStr0 = pStrStack0;
+ }
+ int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0);
+ pStr0[pStrOffset0] = 0;
+ }
+ InsertCharsNative((ImGuiInputTextCallbackData*)pself, pos, (byte*)ptext, pStr0);
+ if (pStrSize0 >= Utils.MaxStackallocSize)
+ {
+ Utils.Free(pStr0);
+ }
+ }
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void InsertChars(ref ImGuiInputTextCallbackData self, int pos, string text, ref byte textEnd)
+ {
+ fixed (ImGuiInputTextCallbackData* pself = &self)
+ {
+ byte* pStr0 = null;
+ int pStrSize0 = 0;
+ if (text != null)
+ {
+ pStrSize0 = Utils.GetByteCountUTF8(text);
+ if (pStrSize0 >= Utils.MaxStackallocSize)
+ {
+ pStr0 = Utils.Alloc(pStrSize0 + 1);
+ }
+ else
+ {
+ byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
+ pStr0 = pStrStack0;
+ }
+ int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0);
+ pStr0[pStrOffset0] = 0;
+ }
+ fixed (byte* ptextEnd = &textEnd)
+ {
+ InsertCharsNative((ImGuiInputTextCallbackData*)pself, pos, pStr0, (byte*)ptextEnd);
+ if (pStrSize0 >= Utils.MaxStackallocSize)
+ {
+ Utils.Free(pStr0);
+ }
+ }
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void InsertChars(ref ImGuiInputTextCallbackData self, int pos, string text, ReadOnlySpan textEnd)
+ {
+ fixed (ImGuiInputTextCallbackData* pself = &self)
+ {
+ byte* pStr0 = null;
+ int pStrSize0 = 0;
+ if (text != null)
+ {
+ pStrSize0 = Utils.GetByteCountUTF8(text);
+ if (pStrSize0 >= Utils.MaxStackallocSize)
+ {
+ pStr0 = Utils.Alloc(pStrSize0 + 1);
+ }
+ else
+ {
+ byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
+ pStr0 = pStrStack0;
+ }
+ int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0);
+ pStr0[pStrOffset0] = 0;
+ }
+ fixed (byte* ptextEnd = textEnd)
+ {
+ InsertCharsNative((ImGuiInputTextCallbackData*)pself, pos, pStr0, (byte*)ptextEnd);
+ if (pStrSize0 >= Utils.MaxStackallocSize)
+ {
+ Utils.Free(pStr0);
+ }
+ }
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ internal static void SelectAllNative(ImGuiInputTextCallbackData* self)
+ {
+ #if NET5_0_OR_GREATER
+ ((delegate* unmanaged[Cdecl])funcTable[417])(self);
+ #else
+ ((delegate* unmanaged[Cdecl])funcTable[417])((nint)self);
+ #endif
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void SelectAll(ImGuiInputTextCallbackDataPtr self)
+ {
+ SelectAllNative(self);
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void SelectAll(ref ImGuiInputTextCallbackData self)
+ {
+ fixed (ImGuiInputTextCallbackData* pself = &self)
+ {
+ SelectAllNative((ImGuiInputTextCallbackData*)pself);
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ internal static void ClearSelectionNative(ImGuiInputTextCallbackData* self)
+ {
+ #if NET5_0_OR_GREATER
+ ((delegate* unmanaged[Cdecl])funcTable[418])(self);
+ #else
+ ((delegate* unmanaged[Cdecl])funcTable[418])((nint)self);
+ #endif
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void ClearSelection(ImGuiInputTextCallbackDataPtr self)
+ {
+ ClearSelectionNative(self);
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void ClearSelection(ref ImGuiInputTextCallbackData self)
+ {
+ fixed (ImGuiInputTextCallbackData* pself = &self)
+ {
+ ClearSelectionNative((ImGuiInputTextCallbackData*)pself);
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ internal static byte HasSelectionNative(ImGuiInputTextCallbackData* self)
+ {
+ #if NET5_0_OR_GREATER
+ return ((delegate* unmanaged[Cdecl])funcTable[419])(self);
+ #else
+ return (byte)((delegate* unmanaged[Cdecl])funcTable[419])((nint)self);
+ #endif
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static bool HasSelection(ImGuiInputTextCallbackDataPtr self)
+ {
+ byte ret = HasSelectionNative(self);
+ return ret != 0;
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static bool HasSelection(ref ImGuiInputTextCallbackData self)
+ {
+ fixed (ImGuiInputTextCallbackData* pself = &self)
+ {
+ byte ret = HasSelectionNative((ImGuiInputTextCallbackData*)pself);
+ return ret != 0;
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ internal static ImGuiWindowClass* ImGuiWindowClassNative()
+ {
+ #if NET5_0_OR_GREATER
+ return ((delegate* unmanaged[Cdecl])funcTable[420])();
+ #else
+ return (ImGuiWindowClass*)((delegate* unmanaged[Cdecl])funcTable[420])();
+ #endif
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static ImGuiWindowClassPtr ImGuiWindowClass()
+ {
+ ImGuiWindowClassPtr ret = ImGuiWindowClassNative();
+ return ret;
+ }
+
+ ///
+ /// To be documented.
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ internal static void DestroyNative(ImGuiWindowClass* self)
+ {
+ #if NET5_0_OR_GREATER
+ ((delegate* unmanaged[Cdecl])funcTable[421])(self);
+ #else
+ ((delegate* unmanaged[Cdecl])funcTable[421])((nint)self);
+ #endif
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void Destroy(ImGuiWindowClassPtr self)
+ {
+ DestroyNative(self);
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void Destroy(ref ImGuiWindowClass self)
+ {
+ fixed (ImGuiWindowClass* pself = &self)
+ {
+ DestroyNative((ImGuiWindowClass*)pself);
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ internal static ImGuiPayload* ImGuiPayloadNative()
+ {
+ #if NET5_0_OR_GREATER
+ return ((delegate* unmanaged[Cdecl])funcTable[422])();
+ #else
+ return (ImGuiPayload*)((delegate* unmanaged[Cdecl])funcTable[422])();
+ #endif
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static ImGuiPayloadPtr ImGuiPayload()
+ {
+ ImGuiPayloadPtr ret = ImGuiPayloadNative();
+ return ret;
+ }
+
+ ///
+ /// To be documented.
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ internal static void DestroyNative(ImGuiPayload* self)
+ {
+ #if NET5_0_OR_GREATER
+ ((delegate* unmanaged[Cdecl])funcTable[423])(self);
+ #else
+ ((delegate* unmanaged[Cdecl])funcTable[423])((nint)self);
+ #endif
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void Destroy(ImGuiPayloadPtr self)
+ {
+ DestroyNative(self);
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void Destroy(ref ImGuiPayload self)
+ {
+ fixed (ImGuiPayload* pself = &self)
+ {
+ DestroyNative((ImGuiPayload*)pself);
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ internal static void ClearNative(ImGuiPayload* self)
+ {
+ #if NET5_0_OR_GREATER
+ ((delegate* unmanaged[Cdecl])funcTable[424])(self);
+ #else
+ ((delegate* unmanaged[Cdecl])funcTable[424])((nint)self);
+ #endif
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void Clear(ImGuiPayloadPtr self)
+ {
+ ClearNative(self);
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void Clear(ref ImGuiPayload self)
+ {
+ fixed (ImGuiPayload* pself = &self)
+ {
+ ClearNative((ImGuiPayload*)pself);
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ internal static byte IsDataTypeNative(ImGuiPayload* self, byte* type)
+ {
+ #if NET5_0_OR_GREATER
+ return ((delegate* unmanaged[Cdecl])funcTable[425])(self, type);
+ #else
+ return (byte)((delegate* unmanaged[Cdecl])funcTable[425])((nint)self, (nint)type);
+ #endif
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static bool IsDataType(ImGuiPayloadPtr self, byte* type)
+ {
+ byte ret = IsDataTypeNative(self, type);
+ return ret != 0;
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static bool IsDataType(ref ImGuiPayload self, byte* type)
+ {
+ fixed (ImGuiPayload* pself = &self)
+ {
+ byte ret = IsDataTypeNative((ImGuiPayload*)pself, type);
+ return ret != 0;
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static bool IsDataType(ImGuiPayloadPtr self, ref byte type)
+ {
+ fixed (byte* ptype = &type)
+ {
+ byte ret = IsDataTypeNative(self, (byte*)ptype);
+ return ret != 0;
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static bool IsDataType(ImGuiPayloadPtr self, ReadOnlySpan type)
+ {
+ fixed (byte* ptype = type)
+ {
+ byte ret = IsDataTypeNative(self, (byte*)ptype);
+ return ret != 0;
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static bool IsDataType(ImGuiPayloadPtr self, string type)
+ {
+ byte* pStr0 = null;
+ int pStrSize0 = 0;
+ if (type != null)
+ {
+ pStrSize0 = Utils.GetByteCountUTF8(type);
+ if (pStrSize0 >= Utils.MaxStackallocSize)
+ {
+ pStr0 = Utils.Alloc(pStrSize0 + 1);
+ }
+ else
+ {
+ byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
+ pStr0 = pStrStack0;
+ }
+ int pStrOffset0 = Utils.EncodeStringUTF8(type, pStr0, pStrSize0);
+ pStr0[pStrOffset0] = 0;
+ }
+ byte ret = IsDataTypeNative(self, pStr0);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
@@ -1443,20 +3416,96 @@ namespace Dalamud.Bindings.ImGui
///
/// To be documented.
///
- public static bool DebugCheckVersionAndDataLayout(byte* versionStr, ulong szIo, nuint szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx)
+ public static bool IsDataType(ref ImGuiPayload self, ref byte type)
{
- byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx);
+ fixed (ImGuiPayload* pself = &self)
+ {
+ fixed (byte* ptype = &type)
+ {
+ byte ret = IsDataTypeNative((ImGuiPayload*)pself, (byte*)ptype);
+ return ret != 0;
+ }
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static bool IsDataType(ref ImGuiPayload self, ReadOnlySpan type)
+ {
+ fixed (ImGuiPayload* pself = &self)
+ {
+ fixed (byte* ptype = type)
+ {
+ byte ret = IsDataTypeNative((ImGuiPayload*)pself, (byte*)ptype);
+ return ret != 0;
+ }
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static bool IsDataType(ref ImGuiPayload self, string type)
+ {
+ fixed (ImGuiPayload* pself = &self)
+ {
+ byte* pStr0 = null;
+ int pStrSize0 = 0;
+ if (type != null)
+ {
+ pStrSize0 = Utils.GetByteCountUTF8(type);
+ if (pStrSize0 >= Utils.MaxStackallocSize)
+ {
+ pStr0 = Utils.Alloc(pStrSize0 + 1);
+ }
+ else
+ {
+ byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
+ pStr0 = pStrStack0;
+ }
+ int pStrOffset0 = Utils.EncodeStringUTF8(type, pStr0, pStrSize0);
+ pStr0[pStrOffset0] = 0;
+ }
+ byte ret = IsDataTypeNative((ImGuiPayload*)pself, pStr0);
+ if (pStrSize0 >= Utils.MaxStackallocSize)
+ {
+ Utils.Free(pStr0);
+ }
+ return ret != 0;
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ internal static byte IsPreviewNative(ImGuiPayload* self)
+ {
+ #if NET5_0_OR_GREATER
+ return ((delegate* unmanaged[Cdecl])funcTable[426])(self);
+ #else
+ return (byte)((delegate* unmanaged[Cdecl])funcTable[426])((nint)self);
+ #endif
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static bool IsPreview(ImGuiPayloadPtr self)
+ {
+ byte ret = IsPreviewNative(self);
return ret != 0;
}
///
/// To be documented.
///
- public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, ulong szIo, nuint szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx)
+ public static bool IsPreview(ref ImGuiPayload self)
{
- fixed (byte* pversionStr = &versionStr)
+ fixed (ImGuiPayload* pself = &self)
{
- byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx);
+ byte ret = IsPreviewNative((ImGuiPayload*)pself);
return ret != 0;
}
}
@@ -1464,11 +3513,33 @@ namespace Dalamud.Bindings.ImGui
///
/// To be documented.
///
- public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, ulong szIo, nuint szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx)
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ internal static byte IsDeliveryNative(ImGuiPayload* self)
{
- fixed (byte* pversionStr = versionStr)
+ #if NET5_0_OR_GREATER
+ return ((delegate* unmanaged[Cdecl])funcTable[427])(self);
+ #else
+ return (byte)((delegate* unmanaged[Cdecl])funcTable[427])((nint)self);
+ #endif
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static bool IsDelivery(ImGuiPayloadPtr self)
+ {
+ byte ret = IsDeliveryNative(self);
+ return ret != 0;
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static bool IsDelivery(ref ImGuiPayload self)
+ {
+ fixed (ImGuiPayload* pself = &self)
{
- byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx);
+ byte ret = IsDeliveryNative((ImGuiPayload*)pself);
return ret != 0;
}
}
@@ -1476,13 +3547,230 @@ namespace Dalamud.Bindings.ImGui
///
/// To be documented.
///
- public static bool DebugCheckVersionAndDataLayout(string versionStr, ulong szIo, nuint szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx)
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ internal static ImGuiTableColumnSortSpecs* ImGuiTableColumnSortSpecsNative()
+ {
+ #if NET5_0_OR_GREATER
+ return ((delegate* unmanaged[Cdecl])funcTable[428])();
+ #else
+ return (ImGuiTableColumnSortSpecs*)((delegate* unmanaged[Cdecl])funcTable[428])();
+ #endif
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static ImGuiTableColumnSortSpecsPtr ImGuiTableColumnSortSpecs()
+ {
+ ImGuiTableColumnSortSpecsPtr ret = ImGuiTableColumnSortSpecsNative();
+ return ret;
+ }
+
+ ///
+ /// To be documented.
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ internal static void DestroyNative(ImGuiTableColumnSortSpecs* self)
+ {
+ #if NET5_0_OR_GREATER
+ ((delegate* unmanaged[Cdecl])funcTable[429])(self);
+ #else
+ ((delegate* unmanaged[Cdecl])funcTable[429])((nint)self);
+ #endif
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void Destroy(ImGuiTableColumnSortSpecsPtr self)
+ {
+ DestroyNative(self);
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void Destroy(ref ImGuiTableColumnSortSpecs self)
+ {
+ fixed (ImGuiTableColumnSortSpecs* pself = &self)
+ {
+ DestroyNative((ImGuiTableColumnSortSpecs*)pself);
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ internal static ImGuiTableSortSpecs* ImGuiTableSortSpecsNative()
+ {
+ #if NET5_0_OR_GREATER
+ return ((delegate* unmanaged[Cdecl])funcTable[430])();
+ #else
+ return (ImGuiTableSortSpecs*)((delegate* unmanaged[Cdecl])funcTable[430])();
+ #endif
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static ImGuiTableSortSpecsPtr ImGuiTableSortSpecs()
+ {
+ ImGuiTableSortSpecsPtr ret = ImGuiTableSortSpecsNative();
+ return ret;
+ }
+
+ ///
+ /// To be documented.
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ internal static void DestroyNative(ImGuiTableSortSpecs* self)
+ {
+ #if NET5_0_OR_GREATER
+ ((delegate* unmanaged[Cdecl])funcTable[431])(self);
+ #else
+ ((delegate* unmanaged[Cdecl])funcTable[431])((nint)self);
+ #endif
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void Destroy(ImGuiTableSortSpecsPtr self)
+ {
+ DestroyNative(self);
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void Destroy(ref ImGuiTableSortSpecs self)
+ {
+ fixed (ImGuiTableSortSpecs* pself = &self)
+ {
+ DestroyNative((ImGuiTableSortSpecs*)pself);
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ internal static ImGuiOnceUponAFrame* ImGuiOnceUponAFrameNative()
+ {
+ #if NET5_0_OR_GREATER
+ return ((delegate* unmanaged[Cdecl])funcTable[432])();
+ #else
+ return (ImGuiOnceUponAFrame*)((delegate* unmanaged[Cdecl])funcTable[432])();
+ #endif
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static ImGuiOnceUponAFramePtr ImGuiOnceUponAFrame()
+ {
+ ImGuiOnceUponAFramePtr ret = ImGuiOnceUponAFrameNative();
+ return ret;
+ }
+
+ ///
+ /// To be documented.
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ internal static void DestroyNative(ImGuiOnceUponAFrame* self)
+ {
+ #if NET5_0_OR_GREATER
+ ((delegate* unmanaged[Cdecl])funcTable[433])(self);
+ #else
+ ((delegate* unmanaged[Cdecl])funcTable[433])((nint)self);
+ #endif
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void Destroy(ImGuiOnceUponAFramePtr self)
+ {
+ DestroyNative(self);
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void Destroy(ref ImGuiOnceUponAFrame self)
+ {
+ fixed (ImGuiOnceUponAFrame* pself = &self)
+ {
+ DestroyNative((ImGuiOnceUponAFrame*)pself);
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ internal static ImGuiTextFilter* ImGuiTextFilterNative(byte* defaultFilter)
+ {
+ #if NET5_0_OR_GREATER
+ return ((delegate* unmanaged[Cdecl])funcTable[434])(defaultFilter);
+ #else
+ return (ImGuiTextFilter*)((delegate* unmanaged[Cdecl])funcTable[434])((nint)defaultFilter);
+ #endif
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static ImGuiTextFilterPtr ImGuiTextFilter(byte* defaultFilter)
+ {
+ ImGuiTextFilterPtr ret = ImGuiTextFilterNative(defaultFilter);
+ return ret;
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static ImGuiTextFilterPtr ImGuiTextFilter()
+ {
+ ImGuiTextFilterPtr ret = ImGuiTextFilter((string)"");
+ return ret;
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static ImGuiTextFilterPtr ImGuiTextFilter(ref byte defaultFilter)
+ {
+ fixed (byte* pdefaultFilter = &defaultFilter)
+ {
+ ImGuiTextFilterPtr ret = ImGuiTextFilterNative((byte*)pdefaultFilter);
+ return ret;
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static ImGuiTextFilterPtr ImGuiTextFilter(ReadOnlySpan defaultFilter)
+ {
+ fixed (byte* pdefaultFilter = defaultFilter)
+ {
+ ImGuiTextFilterPtr ret = ImGuiTextFilterNative((byte*)pdefaultFilter);
+ return ret;
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static ImGuiTextFilterPtr ImGuiTextFilter(string defaultFilter)
{
byte* pStr0 = null;
int pStrSize0 = 0;
- if (versionStr != null)
+ if (defaultFilter != null)
{
- pStrSize0 = Utils.GetByteCountUTF8(versionStr);
+ pStrSize0 = Utils.GetByteCountUTF8(defaultFilter);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
@@ -1492,10 +3780,217 @@ namespace Dalamud.Bindings.ImGui
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
- int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0);
+ int pStrOffset0 = Utils.EncodeStringUTF8(defaultFilter, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
- byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx);
+ ImGuiTextFilterPtr ret = ImGuiTextFilterNative(pStr0);
+ if (pStrSize0 >= Utils.MaxStackallocSize)
+ {
+ Utils.Free(pStr0);
+ }
+ return ret;
+ }
+
+ ///
+ /// To be documented.
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ internal static void DestroyNative(ImGuiTextFilter* self)
+ {
+ #if NET5_0_OR_GREATER
+ ((delegate* unmanaged[Cdecl])funcTable[435])(self);
+ #else
+ ((delegate* unmanaged[Cdecl])funcTable[435])((nint)self);
+ #endif
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void Destroy(ImGuiTextFilterPtr self)
+ {
+ DestroyNative(self);
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static void Destroy(ref ImGuiTextFilter self)
+ {
+ fixed (ImGuiTextFilter* pself = &self)
+ {
+ DestroyNative((ImGuiTextFilter*)pself);
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ internal static byte DrawNative(ImGuiTextFilter* self, byte* label, float width)
+ {
+ #if NET5_0_OR_GREATER
+ return ((delegate* unmanaged[Cdecl])funcTable[436])(self, label, width);
+ #else
+ return (byte)((delegate* unmanaged[Cdecl])funcTable[436])((nint)self, (nint)label, width);
+ #endif
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static bool Draw(ImGuiTextFilterPtr self, byte* label, float width)
+ {
+ byte ret = DrawNative(self, label, width);
+ return ret != 0;
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static bool Draw(ImGuiTextFilterPtr self, byte* label)
+ {
+ byte ret = DrawNative(self, label, (float)(0.0f));
+ return ret != 0;
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static bool Draw(ImGuiTextFilterPtr self)
+ {
+ bool ret = Draw(self, (string)"Filter(inc,-exc)", (float)(0.0f));
+ return ret;
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static bool Draw(ImGuiTextFilterPtr self, float width)
+ {
+ bool ret = Draw(self, (string)"Filter(inc,-exc)", width);
+ return ret;
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static bool Draw(ref ImGuiTextFilter self, byte* label, float width)
+ {
+ fixed (ImGuiTextFilter* pself = &self)
+ {
+ byte ret = DrawNative((ImGuiTextFilter*)pself, label, width);
+ return ret != 0;
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static bool Draw(ref ImGuiTextFilter self, byte* label)
+ {
+ fixed (ImGuiTextFilter* pself = &self)
+ {
+ byte ret = DrawNative((ImGuiTextFilter*)pself, label, (float)(0.0f));
+ return ret != 0;
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static bool Draw(ref ImGuiTextFilter self)
+ {
+ fixed (ImGuiTextFilter* pself = &self)
+ {
+ bool ret = Draw((ImGuiTextFilter*)pself, (string)"Filter(inc,-exc)", (float)(0.0f));
+ return ret;
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static bool Draw(ref ImGuiTextFilter self, float width)
+ {
+ fixed (ImGuiTextFilter* pself = &self)
+ {
+ bool ret = Draw((ImGuiTextFilter*)pself, (string)"Filter(inc,-exc)", width);
+ return ret;
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static bool Draw(ImGuiTextFilterPtr self, ref byte label, float width)
+ {
+ fixed (byte* plabel = &label)
+ {
+ byte ret = DrawNative(self, (byte*)plabel, width);
+ return ret != 0;
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static bool Draw(ImGuiTextFilterPtr self, ref byte label)
+ {
+ fixed (byte* plabel = &label)
+ {
+ byte ret = DrawNative(self, (byte*)plabel, (float)(0.0f));
+ return ret != 0;
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static bool Draw(ImGuiTextFilterPtr self, ReadOnlySpan label, float width)
+ {
+ fixed (byte* plabel = label)
+ {
+ byte ret = DrawNative(self, (byte*)plabel, width);
+ return ret != 0;
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static bool Draw(ImGuiTextFilterPtr self, ReadOnlySpan label)
+ {
+ fixed (byte* plabel = label)
+ {
+ byte ret = DrawNative(self, (byte*)plabel, (float)(0.0f));
+ return ret != 0;
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static bool Draw(ImGuiTextFilterPtr self, string label, float width)
+ {
+ byte* pStr0 = null;
+ int pStrSize0 = 0;
+ if (label != null)
+ {
+ pStrSize0 = Utils.GetByteCountUTF8(label);
+ if (pStrSize0 >= Utils.MaxStackallocSize)
+ {
+ pStr0 = Utils.Alloc(pStrSize0 + 1);
+ }
+ else
+ {
+ byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
+ pStr0 = pStrStack0;
+ }
+ int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
+ pStr0[pStrOffset0] = 0;
+ }
+ byte ret = DrawNative(self, pStr0, width);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
@@ -1506,46 +4001,13 @@ namespace Dalamud.Bindings.ImGui
///
/// To be documented.
///
- public static bool DebugCheckVersionAndDataLayout(byte* versionStr, nuint szIo, nuint szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx)
- {
- byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx);
- return ret != 0;
- }
-
- ///
- /// To be documented.
- ///
- public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, nuint szIo, nuint szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx)
- {
- fixed (byte* pversionStr = &versionStr)
- {
- byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx);
- return ret != 0;
- }
- }
-
- ///
- /// To be documented.
- ///
- public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, nuint szIo, nuint szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx)
- {
- fixed (byte* pversionStr = versionStr)
- {
- byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx);
- return ret != 0;
- }
- }
-
- ///
- /// To be documented.
- ///
- public static bool DebugCheckVersionAndDataLayout(string versionStr, nuint szIo, nuint szStyle, ulong szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx)
+ public static bool Draw(ImGuiTextFilterPtr self, string label)
{
byte* pStr0 = null;
int pStrSize0 = 0;
- if (versionStr != null)
+ if (label != null)
{
- pStrSize0 = Utils.GetByteCountUTF8(versionStr);
+ pStrSize0 = Utils.GetByteCountUTF8(label);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
@@ -1555,10 +4017,10 @@ namespace Dalamud.Bindings.ImGui
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
- int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0);
+ int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
- byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx);
+ byte ret = DrawNative(self, pStr0, (float)(0.0f));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
@@ -1569,20 +4031,168 @@ namespace Dalamud.Bindings.ImGui
///
/// To be documented.
///
- public static bool DebugCheckVersionAndDataLayout(byte* versionStr, ulong szIo, ulong szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx)
+ public static bool Draw(ref ImGuiTextFilter self, ref byte label, float width)
{
- byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx);
+ fixed (ImGuiTextFilter* pself = &self)
+ {
+ fixed (byte* plabel = &label)
+ {
+ byte ret = DrawNative((ImGuiTextFilter*)pself, (byte*)plabel, width);
+ return ret != 0;
+ }
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static bool Draw(ref ImGuiTextFilter self, ref byte label)
+ {
+ fixed (ImGuiTextFilter* pself = &self)
+ {
+ fixed (byte* plabel = &label)
+ {
+ byte ret = DrawNative((ImGuiTextFilter*)pself, (byte*)plabel, (float)(0.0f));
+ return ret != 0;
+ }
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static bool Draw(ref ImGuiTextFilter self, ReadOnlySpan label, float width)
+ {
+ fixed (ImGuiTextFilter* pself = &self)
+ {
+ fixed (byte* plabel = label)
+ {
+ byte ret = DrawNative((ImGuiTextFilter*)pself, (byte*)plabel, width);
+ return ret != 0;
+ }
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static bool Draw(ref ImGuiTextFilter self, ReadOnlySpan label)
+ {
+ fixed (ImGuiTextFilter* pself = &self)
+ {
+ fixed (byte* plabel = label)
+ {
+ byte ret = DrawNative((ImGuiTextFilter*)pself, (byte*)plabel, (float)(0.0f));
+ return ret != 0;
+ }
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static bool Draw(ref ImGuiTextFilter self, string label, float width)
+ {
+ fixed (ImGuiTextFilter* pself = &self)
+ {
+ byte* pStr0 = null;
+ int pStrSize0 = 0;
+ if (label != null)
+ {
+ pStrSize0 = Utils.GetByteCountUTF8(label);
+ if (pStrSize0 >= Utils.MaxStackallocSize)
+ {
+ pStr0 = Utils.Alloc(pStrSize0 + 1);
+ }
+ else
+ {
+ byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
+ pStr0 = pStrStack0;
+ }
+ int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
+ pStr0[pStrOffset0] = 0;
+ }
+ byte ret = DrawNative((ImGuiTextFilter*)pself, pStr0, width);
+ if (pStrSize0 >= Utils.MaxStackallocSize)
+ {
+ Utils.Free(pStr0);
+ }
+ return ret != 0;
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static bool Draw(ref ImGuiTextFilter self, string label)
+ {
+ fixed (ImGuiTextFilter* pself = &self)
+ {
+ byte* pStr0 = null;
+ int pStrSize0 = 0;
+ if (label != null)
+ {
+ pStrSize0 = Utils.GetByteCountUTF8(label);
+ if (pStrSize0 >= Utils.MaxStackallocSize)
+ {
+ pStr0 = Utils.Alloc(pStrSize0 + 1);
+ }
+ else
+ {
+ byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
+ pStr0 = pStrStack0;
+ }
+ int pStrOffset0 = Utils.EncodeStringUTF8(label, pStr0, pStrSize0);
+ pStr0[pStrOffset0] = 0;
+ }
+ byte ret = DrawNative((ImGuiTextFilter*)pself, pStr0, (float)(0.0f));
+ if (pStrSize0 >= Utils.MaxStackallocSize)
+ {
+ Utils.Free(pStr0);
+ }
+ return ret != 0;
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ [MethodImpl(MethodImplOptions.AggressiveInlining)]
+ internal static byte PassFilterNative(ImGuiTextFilter* self, byte* text, byte* textEnd)
+ {
+ #if NET5_0_OR_GREATER
+ return ((delegate* unmanaged[Cdecl])funcTable[437])(self, text, textEnd);
+ #else
+ return (byte)((delegate* unmanaged[Cdecl])funcTable[437])((nint)self, (nint)text, (nint)textEnd);
+ #endif
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static bool PassFilter(ImGuiTextFilterPtr self, byte* text, byte* textEnd)
+ {
+ byte ret = PassFilterNative(self, text, textEnd);
return ret != 0;
}
///
/// To be documented.
///
- public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, ulong szIo, ulong szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx)
+ public static bool PassFilter(ImGuiTextFilterPtr self, byte* text)
{
- fixed (byte* pversionStr = &versionStr)
+ byte ret = PassFilterNative(self, text, (byte*)(default));
+ return ret != 0;
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static bool PassFilter(ref ImGuiTextFilter self, byte* text, byte* textEnd)
+ {
+ fixed (ImGuiTextFilter* pself = &self)
{
- byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx);
+ byte ret = PassFilterNative((ImGuiTextFilter*)pself, text, textEnd);
return ret != 0;
}
}
@@ -1590,11 +4200,11 @@ namespace Dalamud.Bindings.ImGui
///
/// To be documented.
///
- public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, ulong szIo, ulong szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx)
+ public static bool PassFilter(ref ImGuiTextFilter self, byte* text)
{
- fixed (byte* pversionStr = versionStr)
+ fixed (ImGuiTextFilter* pself = &self)
{
- byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx);
+ byte ret = PassFilterNative((ImGuiTextFilter*)pself, text, (byte*)(default));
return ret != 0;
}
}
@@ -1602,13 +4212,61 @@ namespace Dalamud.Bindings.ImGui
///
/// To be documented.
///
- public static bool DebugCheckVersionAndDataLayout(string versionStr, ulong szIo, ulong szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx)
+ public static bool PassFilter(ImGuiTextFilterPtr self, ref byte text, byte* textEnd)
+ {
+ fixed (byte* ptext = &text)
+ {
+ byte ret = PassFilterNative(self, (byte*)ptext, textEnd);
+ return ret != 0;
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static bool PassFilter(ImGuiTextFilterPtr self, ref byte text)
+ {
+ fixed (byte* ptext = &text)
+ {
+ byte ret = PassFilterNative(self, (byte*)ptext, (byte*)(default));
+ return ret != 0;
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static bool PassFilter(ImGuiTextFilterPtr self, ReadOnlySpan text, byte* textEnd)
+ {
+ fixed (byte* ptext = text)
+ {
+ byte ret = PassFilterNative(self, (byte*)ptext, textEnd);
+ return ret != 0;
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static bool PassFilter(ImGuiTextFilterPtr self, ReadOnlySpan text)
+ {
+ fixed (byte* ptext = text)
+ {
+ byte ret = PassFilterNative(self, (byte*)ptext, (byte*)(default));
+ return ret != 0;
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static bool PassFilter(ImGuiTextFilterPtr self, string text, byte* textEnd)
{
byte* pStr0 = null;
int pStrSize0 = 0;
- if (versionStr != null)
+ if (text != null)
{
- pStrSize0 = Utils.GetByteCountUTF8(versionStr);
+ pStrSize0 = Utils.GetByteCountUTF8(text);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
@@ -1618,10 +4276,10 @@ namespace Dalamud.Bindings.ImGui
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
- int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0);
+ int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
- byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx);
+ byte ret = PassFilterNative(self, pStr0, textEnd);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
@@ -1632,46 +4290,13 @@ namespace Dalamud.Bindings.ImGui
///
/// To be documented.
///
- public static bool DebugCheckVersionAndDataLayout(byte* versionStr, nuint szIo, ulong szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx)
- {
- byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx);
- return ret != 0;
- }
-
- ///
- /// To be documented.
- ///
- public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, nuint szIo, ulong szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx)
- {
- fixed (byte* pversionStr = &versionStr)
- {
- byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx);
- return ret != 0;
- }
- }
-
- ///
- /// To be documented.
- ///
- public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, nuint szIo, ulong szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx)
- {
- fixed (byte* pversionStr = versionStr)
- {
- byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx);
- return ret != 0;
- }
- }
-
- ///
- /// To be documented.
- ///
- public static bool DebugCheckVersionAndDataLayout(string versionStr, nuint szIo, ulong szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx)
+ public static bool PassFilter(ImGuiTextFilterPtr self, string text)
{
byte* pStr0 = null;
int pStrSize0 = 0;
- if (versionStr != null)
+ if (text != null)
{
- pStrSize0 = Utils.GetByteCountUTF8(versionStr);
+ pStrSize0 = Utils.GetByteCountUTF8(text);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
@@ -1681,10 +4306,10 @@ namespace Dalamud.Bindings.ImGui
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
- int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0);
+ int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
- byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx);
+ byte ret = PassFilterNative(self, pStr0, (byte*)(default));
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
@@ -1695,20 +4320,92 @@ namespace Dalamud.Bindings.ImGui
///
/// To be documented.
///
- public static bool DebugCheckVersionAndDataLayout(byte* versionStr, ulong szIo, nuint szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx)
+ public static bool PassFilter(ref ImGuiTextFilter self, ref byte text, byte* textEnd)
{
- byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx);
- return ret != 0;
+ fixed (ImGuiTextFilter* pself = &self)
+ {
+ fixed (byte* ptext = &text)
+ {
+ byte ret = PassFilterNative((ImGuiTextFilter*)pself, (byte*)ptext, textEnd);
+ return ret != 0;
+ }
+ }
}
///
/// To be documented.
///
- public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, ulong szIo, nuint szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx)
+ public static bool PassFilter(ref ImGuiTextFilter self, ref byte text)
{
- fixed (byte* pversionStr = &versionStr)
+ fixed (ImGuiTextFilter* pself = &self)
{
- byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx);
+ fixed (byte* ptext = &text)
+ {
+ byte ret = PassFilterNative((ImGuiTextFilter*)pself, (byte*)ptext, (byte*)(default));
+ return ret != 0;
+ }
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static bool PassFilter(ref ImGuiTextFilter self, ReadOnlySpan text, byte* textEnd)
+ {
+ fixed (ImGuiTextFilter* pself = &self)
+ {
+ fixed (byte* ptext = text)
+ {
+ byte ret = PassFilterNative((ImGuiTextFilter*)pself, (byte*)ptext, textEnd);
+ return ret != 0;
+ }
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static bool PassFilter(ref ImGuiTextFilter self, ReadOnlySpan text)
+ {
+ fixed (ImGuiTextFilter* pself = &self)
+ {
+ fixed (byte* ptext = text)
+ {
+ byte ret = PassFilterNative((ImGuiTextFilter*)pself, (byte*)ptext, (byte*)(default));
+ return ret != 0;
+ }
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static bool PassFilter(ref ImGuiTextFilter self, string text, byte* textEnd)
+ {
+ fixed (ImGuiTextFilter* pself = &self)
+ {
+ byte* pStr0 = null;
+ int pStrSize0 = 0;
+ if (text != null)
+ {
+ pStrSize0 = Utils.GetByteCountUTF8(text);
+ if (pStrSize0 >= Utils.MaxStackallocSize)
+ {
+ pStr0 = Utils.Alloc(pStrSize0 + 1);
+ }
+ else
+ {
+ byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
+ pStr0 = pStrStack0;
+ }
+ int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0);
+ pStr0[pStrOffset0] = 0;
+ }
+ byte ret = PassFilterNative((ImGuiTextFilter*)pself, pStr0, textEnd);
+ if (pStrSize0 >= Utils.MaxStackallocSize)
+ {
+ Utils.Free(pStr0);
+ }
return ret != 0;
}
}
@@ -1716,11 +4413,32 @@ namespace Dalamud.Bindings.ImGui
///
/// To be documented.
///
- public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, ulong szIo, nuint szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx)
+ public static bool PassFilter(ref ImGuiTextFilter self, string text)
{
- fixed (byte* pversionStr = versionStr)
+ fixed (ImGuiTextFilter* pself = &self)
{
- byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx);
+ byte* pStr0 = null;
+ int pStrSize0 = 0;
+ if (text != null)
+ {
+ pStrSize0 = Utils.GetByteCountUTF8(text);
+ if (pStrSize0 >= Utils.MaxStackallocSize)
+ {
+ pStr0 = Utils.Alloc(pStrSize0 + 1);
+ }
+ else
+ {
+ byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
+ pStr0 = pStrStack0;
+ }
+ int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0);
+ pStr0[pStrOffset0] = 0;
+ }
+ byte ret = PassFilterNative((ImGuiTextFilter*)pself, pStr0, (byte*)(default));
+ if (pStrSize0 >= Utils.MaxStackallocSize)
+ {
+ Utils.Free(pStr0);
+ }
return ret != 0;
}
}
@@ -1728,13 +4446,37 @@ namespace Dalamud.Bindings.ImGui
///
/// To be documented.
///
- public static bool DebugCheckVersionAndDataLayout(string versionStr, ulong szIo, nuint szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx)
+ public static bool PassFilter(ImGuiTextFilterPtr self, byte* text, ref byte textEnd)
+ {
+ fixed (byte* ptextEnd = &textEnd)
+ {
+ byte ret = PassFilterNative(self, text, (byte*)ptextEnd);
+ return ret != 0;
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static bool PassFilter(ImGuiTextFilterPtr self, byte* text, ReadOnlySpan textEnd)
+ {
+ fixed (byte* ptextEnd = textEnd)
+ {
+ byte ret = PassFilterNative(self, text, (byte*)ptextEnd);
+ return ret != 0;
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static bool PassFilter(ImGuiTextFilterPtr self, byte* text, string textEnd)
{
byte* pStr0 = null;
int pStrSize0 = 0;
- if (versionStr != null)
+ if (textEnd != null)
{
- pStrSize0 = Utils.GetByteCountUTF8(versionStr);
+ pStrSize0 = Utils.GetByteCountUTF8(textEnd);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
@@ -1744,10 +4486,10 @@ namespace Dalamud.Bindings.ImGui
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
- int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0);
+ int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
- byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx);
+ byte ret = PassFilterNative(self, text, pStr0);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
@@ -1758,20 +4500,62 @@ namespace Dalamud.Bindings.ImGui
///
/// To be documented.
///
- public static bool DebugCheckVersionAndDataLayout(byte* versionStr, nuint szIo, nuint szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx)
+ public static bool PassFilter(ref ImGuiTextFilter self, byte* text, ref byte textEnd)
{
- byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx);
- return ret != 0;
+ fixed (ImGuiTextFilter* pself = &self)
+ {
+ fixed (byte* ptextEnd = &textEnd)
+ {
+ byte ret = PassFilterNative((ImGuiTextFilter*)pself, text, (byte*)ptextEnd);
+ return ret != 0;
+ }
+ }
}
///
/// To be documented.
///
- public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, nuint szIo, nuint szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx)
+ public static bool PassFilter(ref ImGuiTextFilter self, byte* text, ReadOnlySpan textEnd)
{
- fixed (byte* pversionStr = &versionStr)
+ fixed (ImGuiTextFilter* pself = &self)
{
- byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx);
+ fixed (byte* ptextEnd = textEnd)
+ {
+ byte ret = PassFilterNative((ImGuiTextFilter*)pself, text, (byte*)ptextEnd);
+ return ret != 0;
+ }
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static bool PassFilter(ref ImGuiTextFilter self, byte* text, string textEnd)
+ {
+ fixed (ImGuiTextFilter* pself = &self)
+ {
+ byte* pStr0 = null;
+ int pStrSize0 = 0;
+ if (textEnd != null)
+ {
+ pStrSize0 = Utils.GetByteCountUTF8(textEnd);
+ if (pStrSize0 >= Utils.MaxStackallocSize)
+ {
+ pStr0 = Utils.Alloc(pStrSize0 + 1);
+ }
+ else
+ {
+ byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
+ pStr0 = pStrStack0;
+ }
+ int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0);
+ pStr0[pStrOffset0] = 0;
+ }
+ byte ret = PassFilterNative((ImGuiTextFilter*)pself, text, pStr0);
+ if (pStrSize0 >= Utils.MaxStackallocSize)
+ {
+ Utils.Free(pStr0);
+ }
return ret != 0;
}
}
@@ -1779,25 +4563,43 @@ namespace Dalamud.Bindings.ImGui
///
/// To be documented.
///
- public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, nuint szIo, nuint szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx)
+ public static bool PassFilter(ImGuiTextFilterPtr self, ref byte text, ref byte textEnd)
{
- fixed (byte* pversionStr = versionStr)
+ fixed (byte* ptext = &text)
{
- byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx);
- return ret != 0;
+ fixed (byte* ptextEnd = &textEnd)
+ {
+ byte ret = PassFilterNative(self, (byte*)ptext, (byte*)ptextEnd);
+ return ret != 0;
+ }
}
}
///
/// To be documented.
///
- public static bool DebugCheckVersionAndDataLayout(string versionStr, nuint szIo, nuint szStyle, nuint szvec2, ulong szvec4, ulong szDrawvert, ulong szDrawidx)
+ public static bool PassFilter(ImGuiTextFilterPtr self, ReadOnlySpan text, ReadOnlySpan textEnd)
+ {
+ fixed (byte* ptext = text)
+ {
+ fixed (byte* ptextEnd = textEnd)
+ {
+ byte ret = PassFilterNative(self, (byte*)ptext, (byte*)ptextEnd);
+ return ret != 0;
+ }
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static bool PassFilter(ImGuiTextFilterPtr self, string text, string textEnd)
{
byte* pStr0 = null;
int pStrSize0 = 0;
- if (versionStr != null)
+ if (text != null)
{
- pStrSize0 = Utils.GetByteCountUTF8(versionStr);
+ pStrSize0 = Utils.GetByteCountUTF8(text);
if (pStrSize0 >= Utils.MaxStackallocSize)
{
pStr0 = Utils.Alloc(pStrSize0 + 1);
@@ -1807,10 +4609,31 @@ namespace Dalamud.Bindings.ImGui
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
pStr0 = pStrStack0;
}
- int pStrOffset0 = Utils.EncodeStringUTF8(versionStr, pStr0, pStrSize0);
+ int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0);
pStr0[pStrOffset0] = 0;
}
- byte ret = DebugCheckVersionAndDataLayoutNative(pStr0, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx);
+ byte* pStr1 = null;
+ int pStrSize1 = 0;
+ if (textEnd != null)
+ {
+ pStrSize1 = Utils.GetByteCountUTF8(textEnd);
+ if (pStrSize1 >= Utils.MaxStackallocSize)
+ {
+ pStr1 = Utils.Alloc(pStrSize1 + 1);
+ }
+ else
+ {
+ byte* pStrStack1 = stackalloc byte[pStrSize1 + 1];
+ pStr1 = pStrStack1;
+ }
+ int pStrOffset1 = Utils.EncodeStringUTF8(textEnd, pStr1, pStrSize1);
+ pStr1[pStrOffset1] = 0;
+ }
+ byte ret = PassFilterNative(self, pStr0, pStr1);
+ if (pStrSize1 >= Utils.MaxStackallocSize)
+ {
+ Utils.Free(pStr1);
+ }
if (pStrSize0 >= Utils.MaxStackallocSize)
{
Utils.Free(pStr0);
@@ -1821,20 +4644,47 @@ namespace Dalamud.Bindings.ImGui
///
/// To be documented.
///
- public static bool DebugCheckVersionAndDataLayout(byte* versionStr, ulong szIo, ulong szStyle, ulong szvec2, nuint szvec4, ulong szDrawvert, ulong szDrawidx)
+ public static bool PassFilter(ImGuiTextFilterPtr self, ref byte text, ReadOnlySpan textEnd)
{
- byte ret = DebugCheckVersionAndDataLayoutNative(versionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx);
- return ret != 0;
+ fixed (byte* ptext = &text)
+ {
+ fixed (byte* ptextEnd = textEnd)
+ {
+ byte ret = PassFilterNative(self, (byte*)ptext, (byte*)ptextEnd);
+ return ret != 0;
+ }
+ }
}
///
/// To be documented.
///
- public static bool DebugCheckVersionAndDataLayout(ref byte versionStr, ulong szIo, ulong szStyle, ulong szvec2, nuint szvec4, ulong szDrawvert, ulong szDrawidx)
+ public static bool PassFilter(ImGuiTextFilterPtr self, ref byte text, string textEnd)
{
- fixed (byte* pversionStr = &versionStr)
+ fixed (byte* ptext = &text)
{
- byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx);
+ byte* pStr0 = null;
+ int pStrSize0 = 0;
+ if (textEnd != null)
+ {
+ pStrSize0 = Utils.GetByteCountUTF8(textEnd);
+ if (pStrSize0 >= Utils.MaxStackallocSize)
+ {
+ pStr0 = Utils.Alloc(pStrSize0 + 1);
+ }
+ else
+ {
+ byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
+ pStr0 = pStrStack0;
+ }
+ int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0);
+ pStr0[pStrOffset0] = 0;
+ }
+ byte ret = PassFilterNative(self, (byte*)ptext, pStr0);
+ if (pStrSize0 >= Utils.MaxStackallocSize)
+ {
+ Utils.Free(pStr0);
+ }
return ret != 0;
}
}
@@ -1842,11 +4692,47 @@ namespace Dalamud.Bindings.ImGui
///
/// To be documented.
///
- public static bool DebugCheckVersionAndDataLayout(ReadOnlySpan versionStr, ulong szIo, ulong szStyle, ulong szvec2, nuint szvec4, ulong szDrawvert, ulong szDrawidx)
+ public static bool PassFilter(ImGuiTextFilterPtr self, ReadOnlySpan text, ref byte textEnd)
{
- fixed (byte* pversionStr = versionStr)
+ fixed (byte* ptext = text)
{
- byte ret = DebugCheckVersionAndDataLayoutNative((byte*)pversionStr, szIo, szStyle, szvec2, szvec4, szDrawvert, szDrawidx);
+ fixed (byte* ptextEnd = &textEnd)
+ {
+ byte ret = PassFilterNative(self, (byte*)ptext, (byte*)ptextEnd);
+ return ret != 0;
+ }
+ }
+ }
+
+ ///
+ /// To be documented.
+ ///
+ public static bool PassFilter(ImGuiTextFilterPtr self, ReadOnlySpan text, string textEnd)
+ {
+ fixed (byte* ptext = text)
+ {
+ byte* pStr0 = null;
+ int pStrSize0 = 0;
+ if (textEnd != null)
+ {
+ pStrSize0 = Utils.GetByteCountUTF8(textEnd);
+ if (pStrSize0 >= Utils.MaxStackallocSize)
+ {
+ pStr0 = Utils.Alloc(pStrSize0 + 1);
+ }
+ else
+ {
+ byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
+ pStr0 = pStrStack0;
+ }
+ int pStrOffset0 = Utils.EncodeStringUTF8(textEnd, pStr0, pStrSize0);
+ pStr0[pStrOffset0] = 0;
+ }
+ byte ret = PassFilterNative(self, (byte*)ptext, pStr0);
+ if (pStrSize0 >= Utils.MaxStackallocSize)
+ {
+ Utils.Free(pStr0);
+ }
return ret != 0;
}
}
@@ -1854,13 +4740,13 @@ namespace Dalamud.Bindings.ImGui
///