mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-15 21:24:16 +01:00
Regenerate bindings
This commit is contained in:
parent
6078c42963
commit
e559ae6b20
310 changed files with 361033 additions and 717041 deletions
|
|
@ -17,8 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// Helper: ImBitVector<br/>
|
||||
/// Store 1-bit per value.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImBitVector
|
||||
|
|
|
|||
|
|
@ -17,18 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// Helpers: ImVec2ImVec4 operators<br/>
|
||||
/// - It is important that we are keeping those disabled by default so they don't leak in user space.<br/>
|
||||
/// - This is in order to allow user enabling implicit cast operators between ImVec2ImVec4 and their own types (using IM_VEC2_CLASS_EXTRA in imconfig.h)<br/>
|
||||
/// - Add '#define IMGUI_DEFINE_MATH_OPERATORS' before including this file (or in imconfig.h) to access courtesy maths operators for ImVec2 and ImVec4.<br/>
|
||||
/// - We intentionally provide ImVec2*float but not float*ImVec2: this is rare enough and we want to reduce the surface for possible user mistake.<br/>
|
||||
/// Helpers macros to generate 32-bit encoded colors<br/>
|
||||
/// - User can declare their own format by #defining the 5 _SHIFT_MASK macros in their imconfig file.<br/>
|
||||
/// - Any setting other than the default will need custom backend support. The only standard backend that supports anything else than the default is DirectX9.<br/>
|
||||
/// Helper: ImColor() implicitly converts colors to either ImU32 (packed 4x1 byte) or ImVec4 (4x1 float)<br/>
|
||||
/// Prefer using IM_COL32() macros if you want a guaranteed compile-time ImU32 for usage with ImDrawList API.<br/>
|
||||
/// **Avoid storing ImColor! Store either u32 of ImVec4. This is not a full-featured color class. MAY OBSOLETE.<br/>
|
||||
/// **None of the ImGui API are using ImColor directly but you can use it as a convenience to pass colors in either ImU32 or ImVec4 formats. Explicitly cast to ImU32 or ImVec4 if needed.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImColor
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// [Internal] For use by ImDrawListSplitter<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImDrawChannel
|
||||
|
|
|
|||
|
|
@ -17,11 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// Typically, 1 command = 1 GPU draw call (unless command is a callback)<br/>
|
||||
/// - VtxOffset: When 'io.BackendFlags & ImGuiBackendFlags_RendererHasVtxOffset' is enabled,<br/>
|
||||
/// this fields allow us to render meshes larger than 64K vertices while keeping 16-bit indices.<br/>
|
||||
/// Backends made for <1.71. will typically ignore the VtxOffset fields.<br/>
|
||||
/// - The ClipRectTextureIdVtxOffset fields must be contiguous as we memcmp() them together (this is asserted for).<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImDrawCmd
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// [Internal] For use by ImDrawList<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImDrawCmdHeader
|
||||
|
|
|
|||
|
|
@ -17,9 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// All draw data to render a Dear ImGui frame<br/>
|
||||
/// (NB: the style and the naming convention here is a little inconsistent, we currently preserve them for backward compatibility purpose,<br/>
|
||||
/// as this is one of the oldest structure exposed by the library! Basically, ImDrawList == CmdList)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImDrawData
|
||||
|
|
|
|||
|
|
@ -17,15 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// Draw command list<br/>
|
||||
/// This is the low-level list of polygons that ImGui:: functions are filling. At the end of the frame,<br/>
|
||||
/// all command lists are passed to your ImGuiIO::RenderDrawListFn function for rendering.<br/>
|
||||
/// Each dear imgui window contains its own ImDrawList. You can use ImGui::GetWindowDrawList() to<br/>
|
||||
/// access the current window draw list and draw custom primitives.<br/>
|
||||
/// You can interleave normal ImGui:: calls and adding primitives to the current draw list.<br/>
|
||||
/// In single viewport mode, top-left is == GetMainViewport()->Pos (generally 0,0), bottom-right is == GetMainViewport()->Pos+Size (generally io.DisplaySize).<br/>
|
||||
/// You are totally free to apply whatever transformation matrix you want to the data (depending on the use of the transformation you may want to apply it to ClipRect as well!)<br/>
|
||||
/// Important: Primitives are always added to the list and not culled (culling is done at higher-level by ImGui:: functions), if you use this API a lot consider coarse culling your drawn objects.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImDrawList
|
||||
|
|
@ -14423,9 +14415,9 @@ namespace Dalamud.Bindings.ImGui
|
|||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public unsafe ImDrawList* CloneOutput()
|
||||
public unsafe ImDrawListPtr CloneOutput()
|
||||
{
|
||||
ImDrawList* ret = ImGui.CloneOutputNative(Handle);
|
||||
ImDrawListPtr ret = ImGui.CloneOutputNative(Handle);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -17,10 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// Data shared between all ImDrawList instances<br/>
|
||||
/// Conceptually this could have been called e.g. ImDrawListSharedContext<br/>
|
||||
/// Typically one ImGui context would create and maintain one of this.<br/>
|
||||
/// You may want to create your own instance of you try to ImDrawList completely without ImGui. In that case, watch out for future changes to this structure.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImDrawListSharedData
|
||||
|
|
|
|||
|
|
@ -17,8 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// SplitMerge functions are used to split the draw list into different layers which can be drawn into out of order.<br/>
|
||||
/// This is used by the ColumnsTables API, so items of each column can be batched together in a same draw call.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImDrawListSplitter
|
||||
|
|
|
|||
|
|
@ -17,8 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// Font runtime data and rendering<br/>
|
||||
/// ImFontAtlas automatically loads a default embedded font for you when you call GetTexDataAsAlpha8() or GetTexDataAsRGBA32().<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImFont
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -17,7 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// See ImFontAtlas::AddCustomRectXXX functions.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImFontAtlasCustomRect
|
||||
|
|
@ -42,21 +42,7 @@ namespace Dalamud.Bindings.ImGui
|
|||
/// </summary>
|
||||
public ushort Y;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public uint Reserved;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public uint TextureIndex;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public uint GlyphID;
|
||||
|
||||
public uint RawBits0;
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
|
|
@ -91,6 +77,12 @@ namespace Dalamud.Bindings.ImGui
|
|||
}
|
||||
|
||||
|
||||
public uint Reserved { get => Bitfield.Get(RawBits0, 0, 2); set => Bitfield.Set(ref RawBits0, value, 0, 2); }
|
||||
|
||||
public uint TextureIndex { get => Bitfield.Get(RawBits0, 2, 9); set => Bitfield.Set(ref RawBits0, value, 2, 9); }
|
||||
|
||||
public uint GlyphID { get => Bitfield.Get(RawBits0, 11, 21); set => Bitfield.Set(ref RawBits0, value, 11, 21); }
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
|
|
@ -176,15 +168,15 @@ namespace Dalamud.Bindings.ImGui
|
|||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref uint Reserved => ref Unsafe.AsRef<uint>(&Handle->Reserved);
|
||||
public uint Reserved { get => Handle->Reserved; set => Handle->Reserved = value; }
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref uint TextureIndex => ref Unsafe.AsRef<uint>(&Handle->TextureIndex);
|
||||
public uint TextureIndex { get => Handle->TextureIndex; set => Handle->TextureIndex = value; }
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref uint GlyphID => ref Unsafe.AsRef<uint>(&Handle->GlyphID);
|
||||
public uint GlyphID { get => Handle->GlyphID; set => Handle->GlyphID = value; }
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
|
|
|
|||
|
|
@ -17,8 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// This structure is likely to evolve as we add support for incremental atlas updates.<br/>
|
||||
/// Conceptually this could be in ImGuiPlatformIO, but we are far from ready to make this public.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImFontBuilderIO
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// A font inputsource (we may rename this to ImFontSource in the future)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImFontConfig
|
||||
|
|
|
|||
|
|
@ -17,32 +17,12 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// Hold rendering data for one glyph.<br/>
|
||||
/// (Note: some language parsers may fail to convert the 31+1 bitfield members, in this case maybe drop store a single u32 or we can rework this)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImFontGlyph
|
||||
{
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public uint Colored;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public uint Visible;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public uint TextureIndex;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public uint Codepoint;
|
||||
|
||||
public uint RawBits0;
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
|
|
@ -110,6 +90,14 @@ namespace Dalamud.Bindings.ImGui
|
|||
}
|
||||
|
||||
|
||||
public uint Colored { get => Bitfield.Get(RawBits0, 0, 1); set => Bitfield.Set(ref RawBits0, value, 0, 1); }
|
||||
|
||||
public uint Visible { get => Bitfield.Get(RawBits0, 1, 1); set => Bitfield.Set(ref RawBits0, value, 1, 1); }
|
||||
|
||||
public uint TextureIndex { get => Bitfield.Get(RawBits0, 2, 9); set => Bitfield.Set(ref RawBits0, value, 2, 9); }
|
||||
|
||||
public uint Codepoint { get => Bitfield.Get(RawBits0, 11, 21); set => Bitfield.Set(ref RawBits0, value, 11, 21); }
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
@ -156,19 +144,19 @@ namespace Dalamud.Bindings.ImGui
|
|||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref uint Colored => ref Unsafe.AsRef<uint>(&Handle->Colored);
|
||||
public uint Colored { get => Handle->Colored; set => Handle->Colored = value; }
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref uint Visible => ref Unsafe.AsRef<uint>(&Handle->Visible);
|
||||
public uint Visible { get => Handle->Visible; set => Handle->Visible = value; }
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref uint TextureIndex => ref Unsafe.AsRef<uint>(&Handle->TextureIndex);
|
||||
public uint TextureIndex { get => Handle->TextureIndex; set => Handle->TextureIndex = value; }
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref uint Codepoint => ref Unsafe.AsRef<uint>(&Handle->Codepoint);
|
||||
public uint Codepoint { get => Handle->Codepoint; set => Handle->Codepoint = value; }
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
|
|
|
|||
|
|
@ -32,21 +32,7 @@ namespace Dalamud.Bindings.ImGui
|
|||
/// </summary>
|
||||
public float OccupiedWidth;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public uint KerningPairUseBisect;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public uint KerningPairOffset;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public uint KerningPairCount;
|
||||
|
||||
public uint RawBits0;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
|
|
@ -61,6 +47,12 @@ namespace Dalamud.Bindings.ImGui
|
|||
}
|
||||
|
||||
|
||||
public uint KerningPairUseBisect { get => Bitfield.Get(RawBits0, 0, 1); set => Bitfield.Set(ref RawBits0, value, 0, 1); }
|
||||
|
||||
public uint KerningPairOffset { get => Bitfield.Get(RawBits0, 1, 19); set => Bitfield.Set(ref RawBits0, value, 1, 19); }
|
||||
|
||||
public uint KerningPairCount { get => Bitfield.Get(RawBits0, 20, 12); set => Bitfield.Set(ref RawBits0, value, 20, 12); }
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
@ -115,15 +107,15 @@ namespace Dalamud.Bindings.ImGui
|
|||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref uint KerningPairUseBisect => ref Unsafe.AsRef<uint>(&Handle->KerningPairUseBisect);
|
||||
public uint KerningPairUseBisect { get => Handle->KerningPairUseBisect; set => Handle->KerningPairUseBisect = value; }
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref uint KerningPairOffset => ref Unsafe.AsRef<uint>(&Handle->KerningPairOffset);
|
||||
public uint KerningPairOffset { get => Handle->KerningPairOffset; set => Handle->KerningPairOffset = value; }
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref uint KerningPairCount => ref Unsafe.AsRef<uint>(&Handle->KerningPairCount);
|
||||
public uint KerningPairCount { get => Handle->KerningPairCount; set => Handle->KerningPairCount = value; }
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,8 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// Helper to build glyph ranges from textstring data. Feed your application stringscharacters to it then call BuildRanges().<br/>
|
||||
/// This is essentially a tightly packed of vector of 64k booleans = 8KB storage.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImFontGlyphRangesBuilder
|
||||
|
|
@ -60,20 +59,6 @@ namespace Dalamud.Bindings.ImGui
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public unsafe void AddRanges(ref ushort ranges)
|
||||
{
|
||||
fixed (ImFontGlyphRangesBuilder* @this = &this)
|
||||
{
|
||||
fixed (ushort* pranges = &ranges)
|
||||
{
|
||||
ImGui.AddRangesNative(@this, (ushort*)pranges);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
|
|
@ -584,18 +569,6 @@ namespace Dalamud.Bindings.ImGui
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public unsafe bool GetBit(ulong n)
|
||||
{
|
||||
fixed (ImFontGlyphRangesBuilder* @this = &this)
|
||||
{
|
||||
byte ret = ImGui.GetBitNative(@this, n);
|
||||
return ret != 0;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
|
|
@ -608,17 +581,6 @@ namespace Dalamud.Bindings.ImGui
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public unsafe void SetBit(ulong n)
|
||||
{
|
||||
fixed (ImFontGlyphRangesBuilder* @this = &this)
|
||||
{
|
||||
ImGui.SetBitNative(@this, n);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
|
|
@ -693,17 +655,6 @@ namespace Dalamud.Bindings.ImGui
|
|||
ImGui.AddRangesNative(Handle, ranges);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public unsafe void AddRanges(ref ushort ranges)
|
||||
{
|
||||
fixed (ushort* pranges = &ranges)
|
||||
{
|
||||
ImGui.AddRangesNative(Handle, (ushort*)pranges);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
|
|
@ -1142,15 +1093,6 @@ namespace Dalamud.Bindings.ImGui
|
|||
ImGui.DestroyNative(Handle);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public unsafe bool GetBit(ulong n)
|
||||
{
|
||||
byte ret = ImGui.GetBitNative(Handle, n);
|
||||
return ret != 0;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
|
|
@ -1160,14 +1102,6 @@ namespace Dalamud.Bindings.ImGui
|
|||
return ret != 0;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public unsafe void SetBit(ulong n)
|
||||
{
|
||||
ImGui.SetBitNative(Handle, n);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// Stacked color modifier, backup of modified data so we can restore it<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImGuiColorMod
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// Storage data for BeginComboPreview()EndComboPreview()<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImGuiComboPreviewData
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -17,7 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// Type information associated to one ImGuiDataType. Retrieve with DataTypeGetInfo().<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImGuiDataTypeInfo
|
||||
|
|
@ -25,7 +25,7 @@ namespace Dalamud.Bindings.ImGui
|
|||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ulong Size;
|
||||
public nuint Size;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
|
|
@ -46,7 +46,7 @@ namespace Dalamud.Bindings.ImGui
|
|||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public unsafe ImGuiDataTypeInfo(ulong size = default, byte* name = default, byte* printFmt = default, byte* scanFmt = default)
|
||||
public unsafe ImGuiDataTypeInfo(nuint size = default, byte* name = default, byte* printFmt = default, byte* scanFmt = default)
|
||||
{
|
||||
Size = size;
|
||||
Name = name;
|
||||
|
|
@ -101,7 +101,7 @@ namespace Dalamud.Bindings.ImGui
|
|||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref ulong Size => ref Unsafe.AsRef<ulong>(&Handle->Size);
|
||||
public ref nuint Size => ref Unsafe.AsRef<nuint>(&Handle->Size);
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// sizeof() 156~192<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImGuiDockNode
|
||||
|
|
@ -158,76 +158,9 @@ namespace Dalamud.Bindings.ImGui
|
|||
/// </summary>
|
||||
public uint WantCloseTabId;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ImGuiDataAuthority AuthorityForPos;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ImGuiDataAuthority AuthorityForSize;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ImGuiDataAuthority AuthorityForViewport;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public byte IsVisible;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public byte IsFocused;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public byte IsBgDrawnThisFrame;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public byte HasCloseButton;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public byte HasWindowMenuButton;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public byte HasCentralNodeChild;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public byte WantCloseAll;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public byte WantLockSizeOnce;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public byte WantMouseMove;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public byte WantHiddenTabBarUpdate;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public byte WantHiddenTabBarToggle;
|
||||
|
||||
public ImGuiDataAuthority RawBits0;
|
||||
public bool RawBits1;
|
||||
public bool RawBits2;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
|
|
@ -268,17 +201,17 @@ namespace Dalamud.Bindings.ImGui
|
|||
AuthorityForPos = authorityForPos;
|
||||
AuthorityForSize = authorityForSize;
|
||||
AuthorityForViewport = authorityForViewport;
|
||||
IsVisible = isVisible ? (byte)1 : (byte)0;
|
||||
IsFocused = isFocused ? (byte)1 : (byte)0;
|
||||
IsBgDrawnThisFrame = isBgDrawnThisFrame ? (byte)1 : (byte)0;
|
||||
HasCloseButton = hasCloseButton ? (byte)1 : (byte)0;
|
||||
HasWindowMenuButton = hasWindowMenuButton ? (byte)1 : (byte)0;
|
||||
HasCentralNodeChild = hasCentralNodeChild ? (byte)1 : (byte)0;
|
||||
WantCloseAll = wantCloseAll ? (byte)1 : (byte)0;
|
||||
WantLockSizeOnce = wantLockSizeOnce ? (byte)1 : (byte)0;
|
||||
WantMouseMove = wantMouseMove ? (byte)1 : (byte)0;
|
||||
WantHiddenTabBarUpdate = wantHiddenTabBarUpdate ? (byte)1 : (byte)0;
|
||||
WantHiddenTabBarToggle = wantHiddenTabBarToggle ? (byte)1 : (byte)0;
|
||||
IsVisible = isVisible;
|
||||
IsFocused = isFocused;
|
||||
IsBgDrawnThisFrame = isBgDrawnThisFrame;
|
||||
HasCloseButton = hasCloseButton;
|
||||
HasWindowMenuButton = hasWindowMenuButton;
|
||||
HasCentralNodeChild = hasCentralNodeChild;
|
||||
WantCloseAll = wantCloseAll;
|
||||
WantLockSizeOnce = wantLockSizeOnce;
|
||||
WantMouseMove = wantMouseMove;
|
||||
WantHiddenTabBarUpdate = wantHiddenTabBarUpdate;
|
||||
WantHiddenTabBarToggle = wantHiddenTabBarToggle;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
@ -320,20 +253,48 @@ namespace Dalamud.Bindings.ImGui
|
|||
AuthorityForPos = authorityForPos;
|
||||
AuthorityForSize = authorityForSize;
|
||||
AuthorityForViewport = authorityForViewport;
|
||||
IsVisible = isVisible ? (byte)1 : (byte)0;
|
||||
IsFocused = isFocused ? (byte)1 : (byte)0;
|
||||
IsBgDrawnThisFrame = isBgDrawnThisFrame ? (byte)1 : (byte)0;
|
||||
HasCloseButton = hasCloseButton ? (byte)1 : (byte)0;
|
||||
HasWindowMenuButton = hasWindowMenuButton ? (byte)1 : (byte)0;
|
||||
HasCentralNodeChild = hasCentralNodeChild ? (byte)1 : (byte)0;
|
||||
WantCloseAll = wantCloseAll ? (byte)1 : (byte)0;
|
||||
WantLockSizeOnce = wantLockSizeOnce ? (byte)1 : (byte)0;
|
||||
WantMouseMove = wantMouseMove ? (byte)1 : (byte)0;
|
||||
WantHiddenTabBarUpdate = wantHiddenTabBarUpdate ? (byte)1 : (byte)0;
|
||||
WantHiddenTabBarToggle = wantHiddenTabBarToggle ? (byte)1 : (byte)0;
|
||||
IsVisible = isVisible;
|
||||
IsFocused = isFocused;
|
||||
IsBgDrawnThisFrame = isBgDrawnThisFrame;
|
||||
HasCloseButton = hasCloseButton;
|
||||
HasWindowMenuButton = hasWindowMenuButton;
|
||||
HasCentralNodeChild = hasCentralNodeChild;
|
||||
WantCloseAll = wantCloseAll;
|
||||
WantLockSizeOnce = wantLockSizeOnce;
|
||||
WantMouseMove = wantMouseMove;
|
||||
WantHiddenTabBarUpdate = wantHiddenTabBarUpdate;
|
||||
WantHiddenTabBarToggle = wantHiddenTabBarToggle;
|
||||
}
|
||||
|
||||
|
||||
public ImGuiDataAuthority AuthorityForPos { get => Bitfield.Get(RawBits0, 0, 3); set => Bitfield.Set(ref RawBits0, value, 0, 3); }
|
||||
|
||||
public ImGuiDataAuthority AuthorityForSize { get => Bitfield.Get(RawBits0, 3, 3); set => Bitfield.Set(ref RawBits0, value, 3, 3); }
|
||||
|
||||
public ImGuiDataAuthority AuthorityForViewport { get => Bitfield.Get(RawBits0, 6, 3); set => Bitfield.Set(ref RawBits0, value, 6, 3); }
|
||||
|
||||
public bool IsVisible { get => Bitfield.Get(RawBits1, 0, 1); set => Bitfield.Set(ref RawBits1, value, 0, 1); }
|
||||
|
||||
public bool IsFocused { get => Bitfield.Get(RawBits1, 1, 1); set => Bitfield.Set(ref RawBits1, value, 1, 1); }
|
||||
|
||||
public bool IsBgDrawnThisFrame { get => Bitfield.Get(RawBits1, 2, 1); set => Bitfield.Set(ref RawBits1, value, 2, 1); }
|
||||
|
||||
public bool HasCloseButton { get => Bitfield.Get(RawBits1, 3, 1); set => Bitfield.Set(ref RawBits1, value, 3, 1); }
|
||||
|
||||
public bool HasWindowMenuButton { get => Bitfield.Get(RawBits1, 4, 1); set => Bitfield.Set(ref RawBits1, value, 4, 1); }
|
||||
|
||||
public bool HasCentralNodeChild { get => Bitfield.Get(RawBits1, 5, 1); set => Bitfield.Set(ref RawBits1, value, 5, 1); }
|
||||
|
||||
public bool WantCloseAll { get => Bitfield.Get(RawBits1, 6, 1); set => Bitfield.Set(ref RawBits1, value, 6, 1); }
|
||||
|
||||
public bool WantLockSizeOnce { get => Bitfield.Get(RawBits1, 7, 1); set => Bitfield.Set(ref RawBits1, value, 7, 1); }
|
||||
|
||||
public bool WantMouseMove { get => Bitfield.Get(RawBits2, 0, 1); set => Bitfield.Set(ref RawBits2, value, 0, 1); }
|
||||
|
||||
public bool WantHiddenTabBarUpdate { get => Bitfield.Get(RawBits2, 1, 1); set => Bitfield.Set(ref RawBits2, value, 1, 1); }
|
||||
|
||||
public bool WantHiddenTabBarToggle { get => Bitfield.Get(RawBits2, 2, 1); set => Bitfield.Set(ref RawBits2, value, 2, 1); }
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
|
|
@ -501,59 +462,59 @@ namespace Dalamud.Bindings.ImGui
|
|||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref ImGuiDataAuthority AuthorityForPos => ref Unsafe.AsRef<ImGuiDataAuthority>(&Handle->AuthorityForPos);
|
||||
public ImGuiDataAuthority AuthorityForPos { get => Handle->AuthorityForPos; set => Handle->AuthorityForPos = value; }
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref ImGuiDataAuthority AuthorityForSize => ref Unsafe.AsRef<ImGuiDataAuthority>(&Handle->AuthorityForSize);
|
||||
public ImGuiDataAuthority AuthorityForSize { get => Handle->AuthorityForSize; set => Handle->AuthorityForSize = value; }
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref ImGuiDataAuthority AuthorityForViewport => ref Unsafe.AsRef<ImGuiDataAuthority>(&Handle->AuthorityForViewport);
|
||||
public ImGuiDataAuthority AuthorityForViewport { get => Handle->AuthorityForViewport; set => Handle->AuthorityForViewport = value; }
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref bool IsVisible => ref Unsafe.AsRef<bool>(&Handle->IsVisible);
|
||||
public bool IsVisible { get => Handle->IsVisible; set => Handle->IsVisible = value; }
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref bool IsFocused => ref Unsafe.AsRef<bool>(&Handle->IsFocused);
|
||||
public bool IsFocused { get => Handle->IsFocused; set => Handle->IsFocused = value; }
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref bool IsBgDrawnThisFrame => ref Unsafe.AsRef<bool>(&Handle->IsBgDrawnThisFrame);
|
||||
public bool IsBgDrawnThisFrame { get => Handle->IsBgDrawnThisFrame; set => Handle->IsBgDrawnThisFrame = value; }
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref bool HasCloseButton => ref Unsafe.AsRef<bool>(&Handle->HasCloseButton);
|
||||
public bool HasCloseButton { get => Handle->HasCloseButton; set => Handle->HasCloseButton = value; }
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref bool HasWindowMenuButton => ref Unsafe.AsRef<bool>(&Handle->HasWindowMenuButton);
|
||||
public bool HasWindowMenuButton { get => Handle->HasWindowMenuButton; set => Handle->HasWindowMenuButton = value; }
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref bool HasCentralNodeChild => ref Unsafe.AsRef<bool>(&Handle->HasCentralNodeChild);
|
||||
public bool HasCentralNodeChild { get => Handle->HasCentralNodeChild; set => Handle->HasCentralNodeChild = value; }
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref bool WantCloseAll => ref Unsafe.AsRef<bool>(&Handle->WantCloseAll);
|
||||
public bool WantCloseAll { get => Handle->WantCloseAll; set => Handle->WantCloseAll = value; }
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref bool WantLockSizeOnce => ref Unsafe.AsRef<bool>(&Handle->WantLockSizeOnce);
|
||||
public bool WantLockSizeOnce { get => Handle->WantLockSizeOnce; set => Handle->WantLockSizeOnce = value; }
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref bool WantMouseMove => ref Unsafe.AsRef<bool>(&Handle->WantMouseMove);
|
||||
public bool WantMouseMove { get => Handle->WantMouseMove; set => Handle->WantMouseMove = value; }
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref bool WantHiddenTabBarUpdate => ref Unsafe.AsRef<bool>(&Handle->WantHiddenTabBarUpdate);
|
||||
public bool WantHiddenTabBarUpdate { get => Handle->WantHiddenTabBarUpdate; set => Handle->WantHiddenTabBarUpdate = value; }
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref bool WantHiddenTabBarToggle => ref Unsafe.AsRef<bool>(&Handle->WantHiddenTabBarToggle);
|
||||
public bool WantHiddenTabBarToggle { get => Handle->WantHiddenTabBarToggle; set => Handle->WantHiddenTabBarToggle = value; }
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// Stacked storage data for BeginGroup()EndGroup()<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImGuiGroupData
|
||||
|
|
|
|||
|
|
@ -2533,7 +2533,7 @@ namespace Dalamud.Bindings.ImGui
|
|||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public byte BackendUsingLegacyKeyArrays;
|
||||
public sbyte BackendUsingLegacyKeyArrays;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
|
|
@ -2554,7 +2554,7 @@ namespace Dalamud.Bindings.ImGui
|
|||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public unsafe ImGuiIO(ImGuiConfigFlags configFlags = default, ImGuiBackendFlags backendFlags = default, Vector2 displaySize = default, float deltaTime = default, float iniSavingRate = default, byte* iniFilename = default, byte* logFilename = default, float mouseDoubleClickTime = default, float mouseDoubleClickMaxDist = default, float mouseDragThreshold = default, float keyRepeatDelay = default, float keyRepeatRate = default, void* userData = default, ImFontAtlasPtr fonts = default, float fontGlobalScale = default, bool fontAllowUserScaling = default, ImFontPtr fontDefault = default, Vector2 displayFramebufferScale = default, bool configDockingNoSplit = default, bool configDockingWithShift = default, bool configDockingAlwaysTabBar = default, bool configDockingTransparentPayload = default, bool configViewportsNoAutoMerge = default, bool configViewportsNoTaskBarIcon = default, bool configViewportsNoDecoration = default, bool configViewportsNoDefaultParent = default, bool mouseDrawCursor = default, bool configMacOsxBehaviors = default, bool configInputTrickleEventQueue = default, bool configInputTextCursorBlink = default, bool configDragClickToInputText = default, bool configWindowsResizeFromEdges = default, bool configWindowsMoveFromTitleBarOnly = default, float configMemoryCompactTimer = default, byte* backendPlatformName = default, byte* backendRendererName = default, void* backendPlatformUserData = default, void* backendRendererUserData = default, void* backendLanguageUserData = default, delegate*<void*, byte*> getClipboardTextFn = default, delegate*<void*, byte*, void> setClipboardTextFn = default, void* clipboardUserData = default, delegate*<ImGuiViewport*, ImGuiPlatformImeData*, void> setPlatformImeDataFn = default, void* unusedPadding = default, bool wantCaptureMouse = default, bool wantCaptureKeyboard = default, bool wantTextInput = default, bool wantSetMousePos = default, bool wantSaveIniSettings = default, bool navActive = default, bool navVisible = default, float framerate = default, int metricsRenderVertices = default, int metricsRenderIndices = default, int metricsRenderWindows = default, int metricsActiveWindows = default, int metricsActiveAllocations = default, Vector2 mouseDelta = default, int* keyMap = default, bool* keysDown = default, Vector2 mousePos = default, bool* mouseDown = default, float mouseWheel = default, float mouseWheelH = default, uint mouseHoveredViewport = default, bool keyCtrl = default, bool keyShift = default, bool keyAlt = default, bool keySuper = default, float* navInputs = default, ImGuiModFlags keyMods = default, ImGuiKeyData* keysData = default, bool wantCaptureMouseUnlessPopupClose = default, Vector2 mousePosPrev = default, Vector2* mouseClickedPos = default, double* mouseClickedTime = default, bool* mouseClicked = default, bool* mouseDoubleClicked = default, ushort* mouseClickedCount = default, ushort* mouseClickedLastCount = default, bool* mouseReleased = default, bool* mouseDownOwned = default, bool* mouseDownOwnedUnlessPopupClose = default, float* mouseDownDuration = default, float* mouseDownDurationPrev = default, Vector2* mouseDragMaxDistanceAbs = default, float* mouseDragMaxDistanceSqr = default, float* navInputsDownDuration = default, float* navInputsDownDurationPrev = default, float penPressure = default, bool appFocusLost = default, bool appAcceptingEvents = default, byte backendUsingLegacyKeyArrays = default, bool backendUsingLegacyNavInputArray = default, ushort inputQueueSurrogate = default, ImVector<ushort> inputQueueCharacters = default)
|
||||
public unsafe ImGuiIO(ImGuiConfigFlags configFlags = default, ImGuiBackendFlags backendFlags = default, Vector2 displaySize = default, float deltaTime = default, float iniSavingRate = default, byte* iniFilename = default, byte* logFilename = default, float mouseDoubleClickTime = default, float mouseDoubleClickMaxDist = default, float mouseDragThreshold = default, float keyRepeatDelay = default, float keyRepeatRate = default, void* userData = default, ImFontAtlasPtr fonts = default, float fontGlobalScale = default, bool fontAllowUserScaling = default, ImFontPtr fontDefault = default, Vector2 displayFramebufferScale = default, bool configDockingNoSplit = default, bool configDockingWithShift = default, bool configDockingAlwaysTabBar = default, bool configDockingTransparentPayload = default, bool configViewportsNoAutoMerge = default, bool configViewportsNoTaskBarIcon = default, bool configViewportsNoDecoration = default, bool configViewportsNoDefaultParent = default, bool mouseDrawCursor = default, bool configMacOsxBehaviors = default, bool configInputTrickleEventQueue = default, bool configInputTextCursorBlink = default, bool configDragClickToInputText = default, bool configWindowsResizeFromEdges = default, bool configWindowsMoveFromTitleBarOnly = default, float configMemoryCompactTimer = default, byte* backendPlatformName = default, byte* backendRendererName = default, void* backendPlatformUserData = default, void* backendRendererUserData = default, void* backendLanguageUserData = default, delegate*<void*, byte*> getClipboardTextFn = default, delegate*<void*, byte*, void> setClipboardTextFn = default, void* clipboardUserData = default, delegate*<ImGuiViewport*, ImGuiPlatformImeData*, void> setPlatformImeDataFn = default, void* unusedPadding = default, bool wantCaptureMouse = default, bool wantCaptureKeyboard = default, bool wantTextInput = default, bool wantSetMousePos = default, bool wantSaveIniSettings = default, bool navActive = default, bool navVisible = default, float framerate = default, int metricsRenderVertices = default, int metricsRenderIndices = default, int metricsRenderWindows = default, int metricsActiveWindows = default, int metricsActiveAllocations = default, Vector2 mouseDelta = default, int* keyMap = default, bool* keysDown = default, Vector2 mousePos = default, bool* mouseDown = default, float mouseWheel = default, float mouseWheelH = default, uint mouseHoveredViewport = default, bool keyCtrl = default, bool keyShift = default, bool keyAlt = default, bool keySuper = default, float* navInputs = default, ImGuiModFlags keyMods = default, ImGuiKeyData* keysData = default, bool wantCaptureMouseUnlessPopupClose = default, Vector2 mousePosPrev = default, Vector2* mouseClickedPos = default, double* mouseClickedTime = default, bool* mouseClicked = default, bool* mouseDoubleClicked = default, ushort* mouseClickedCount = default, ushort* mouseClickedLastCount = default, bool* mouseReleased = default, bool* mouseDownOwned = default, bool* mouseDownOwnedUnlessPopupClose = default, float* mouseDownDuration = default, float* mouseDownDurationPrev = default, Vector2* mouseDragMaxDistanceAbs = default, float* mouseDragMaxDistanceSqr = default, float* navInputsDownDuration = default, float* navInputsDownDurationPrev = default, float penPressure = default, bool appFocusLost = default, bool appAcceptingEvents = default, sbyte backendUsingLegacyKeyArrays = default, bool backendUsingLegacyNavInputArray = default, ushort inputQueueSurrogate = default, ImVector<ushort> inputQueueCharacters = default)
|
||||
{
|
||||
ConfigFlags = configFlags;
|
||||
BackendFlags = backendFlags;
|
||||
|
|
@ -4765,7 +4765,7 @@ namespace Dalamud.Bindings.ImGui
|
|||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public unsafe ImGuiIO(ImGuiConfigFlags configFlags = default, ImGuiBackendFlags backendFlags = default, Vector2 displaySize = default, float deltaTime = default, float iniSavingRate = default, byte* iniFilename = default, byte* logFilename = default, float mouseDoubleClickTime = default, float mouseDoubleClickMaxDist = default, float mouseDragThreshold = default, float keyRepeatDelay = default, float keyRepeatRate = default, void* userData = default, ImFontAtlasPtr fonts = default, float fontGlobalScale = default, bool fontAllowUserScaling = default, ImFontPtr fontDefault = default, Vector2 displayFramebufferScale = default, bool configDockingNoSplit = default, bool configDockingWithShift = default, bool configDockingAlwaysTabBar = default, bool configDockingTransparentPayload = default, bool configViewportsNoAutoMerge = default, bool configViewportsNoTaskBarIcon = default, bool configViewportsNoDecoration = default, bool configViewportsNoDefaultParent = default, bool mouseDrawCursor = default, bool configMacOsxBehaviors = default, bool configInputTrickleEventQueue = default, bool configInputTextCursorBlink = default, bool configDragClickToInputText = default, bool configWindowsResizeFromEdges = default, bool configWindowsMoveFromTitleBarOnly = default, float configMemoryCompactTimer = default, byte* backendPlatformName = default, byte* backendRendererName = default, void* backendPlatformUserData = default, void* backendRendererUserData = default, void* backendLanguageUserData = default, delegate*<void*, byte*> getClipboardTextFn = default, delegate*<void*, byte*, void> setClipboardTextFn = default, void* clipboardUserData = default, delegate*<ImGuiViewport*, ImGuiPlatformImeData*, void> setPlatformImeDataFn = default, void* unusedPadding = default, bool wantCaptureMouse = default, bool wantCaptureKeyboard = default, bool wantTextInput = default, bool wantSetMousePos = default, bool wantSaveIniSettings = default, bool navActive = default, bool navVisible = default, float framerate = default, int metricsRenderVertices = default, int metricsRenderIndices = default, int metricsRenderWindows = default, int metricsActiveWindows = default, int metricsActiveAllocations = default, Vector2 mouseDelta = default, Span<int> keyMap = default, Span<bool> keysDown = default, Vector2 mousePos = default, Span<bool> mouseDown = default, float mouseWheel = default, float mouseWheelH = default, uint mouseHoveredViewport = default, bool keyCtrl = default, bool keyShift = default, bool keyAlt = default, bool keySuper = default, Span<float> navInputs = default, ImGuiModFlags keyMods = default, Span<ImGuiKeyData> keysData = default, bool wantCaptureMouseUnlessPopupClose = default, Vector2 mousePosPrev = default, Span<Vector2> mouseClickedPos = default, Span<double> mouseClickedTime = default, Span<bool> mouseClicked = default, Span<bool> mouseDoubleClicked = default, Span<ushort> mouseClickedCount = default, Span<ushort> mouseClickedLastCount = default, Span<bool> mouseReleased = default, Span<bool> mouseDownOwned = default, Span<bool> mouseDownOwnedUnlessPopupClose = default, Span<float> mouseDownDuration = default, Span<float> mouseDownDurationPrev = default, Span<Vector2> mouseDragMaxDistanceAbs = default, Span<float> mouseDragMaxDistanceSqr = default, Span<float> navInputsDownDuration = default, Span<float> navInputsDownDurationPrev = default, float penPressure = default, bool appFocusLost = default, bool appAcceptingEvents = default, byte backendUsingLegacyKeyArrays = default, bool backendUsingLegacyNavInputArray = default, ushort inputQueueSurrogate = default, ImVector<ushort> inputQueueCharacters = default)
|
||||
public unsafe ImGuiIO(ImGuiConfigFlags configFlags = default, ImGuiBackendFlags backendFlags = default, Vector2 displaySize = default, float deltaTime = default, float iniSavingRate = default, byte* iniFilename = default, byte* logFilename = default, float mouseDoubleClickTime = default, float mouseDoubleClickMaxDist = default, float mouseDragThreshold = default, float keyRepeatDelay = default, float keyRepeatRate = default, void* userData = default, ImFontAtlasPtr fonts = default, float fontGlobalScale = default, bool fontAllowUserScaling = default, ImFontPtr fontDefault = default, Vector2 displayFramebufferScale = default, bool configDockingNoSplit = default, bool configDockingWithShift = default, bool configDockingAlwaysTabBar = default, bool configDockingTransparentPayload = default, bool configViewportsNoAutoMerge = default, bool configViewportsNoTaskBarIcon = default, bool configViewportsNoDecoration = default, bool configViewportsNoDefaultParent = default, bool mouseDrawCursor = default, bool configMacOsxBehaviors = default, bool configInputTrickleEventQueue = default, bool configInputTextCursorBlink = default, bool configDragClickToInputText = default, bool configWindowsResizeFromEdges = default, bool configWindowsMoveFromTitleBarOnly = default, float configMemoryCompactTimer = default, byte* backendPlatformName = default, byte* backendRendererName = default, void* backendPlatformUserData = default, void* backendRendererUserData = default, void* backendLanguageUserData = default, delegate*<void*, byte*> getClipboardTextFn = default, delegate*<void*, byte*, void> setClipboardTextFn = default, void* clipboardUserData = default, delegate*<ImGuiViewport*, ImGuiPlatformImeData*, void> setPlatformImeDataFn = default, void* unusedPadding = default, bool wantCaptureMouse = default, bool wantCaptureKeyboard = default, bool wantTextInput = default, bool wantSetMousePos = default, bool wantSaveIniSettings = default, bool navActive = default, bool navVisible = default, float framerate = default, int metricsRenderVertices = default, int metricsRenderIndices = default, int metricsRenderWindows = default, int metricsActiveWindows = default, int metricsActiveAllocations = default, Vector2 mouseDelta = default, Span<int> keyMap = default, Span<bool> keysDown = default, Vector2 mousePos = default, Span<bool> mouseDown = default, float mouseWheel = default, float mouseWheelH = default, uint mouseHoveredViewport = default, bool keyCtrl = default, bool keyShift = default, bool keyAlt = default, bool keySuper = default, Span<float> navInputs = default, ImGuiModFlags keyMods = default, Span<ImGuiKeyData> keysData = default, bool wantCaptureMouseUnlessPopupClose = default, Vector2 mousePosPrev = default, Span<Vector2> mouseClickedPos = default, Span<double> mouseClickedTime = default, Span<bool> mouseClicked = default, Span<bool> mouseDoubleClicked = default, Span<ushort> mouseClickedCount = default, Span<ushort> mouseClickedLastCount = default, Span<bool> mouseReleased = default, Span<bool> mouseDownOwned = default, Span<bool> mouseDownOwnedUnlessPopupClose = default, Span<float> mouseDownDuration = default, Span<float> mouseDownDurationPrev = default, Span<Vector2> mouseDragMaxDistanceAbs = default, Span<float> mouseDragMaxDistanceSqr = default, Span<float> navInputsDownDuration = default, Span<float> navInputsDownDurationPrev = default, float penPressure = default, bool appFocusLost = default, bool appAcceptingEvents = default, sbyte backendUsingLegacyKeyArrays = default, bool backendUsingLegacyNavInputArray = default, ushort inputQueueSurrogate = default, ImVector<ushort> inputQueueCharacters = default)
|
||||
{
|
||||
ConfigFlags = configFlags;
|
||||
BackendFlags = backendFlags;
|
||||
|
|
@ -7806,7 +7806,7 @@ namespace Dalamud.Bindings.ImGui
|
|||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref byte BackendUsingLegacyKeyArrays => ref Unsafe.AsRef<byte>(&Handle->BackendUsingLegacyKeyArrays);
|
||||
public ref sbyte BackendUsingLegacyKeyArrays => ref Unsafe.AsRef<sbyte>(&Handle->BackendUsingLegacyKeyArrays);
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
|
|
|
|||
|
|
@ -17,8 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// FIXME: Structures in the union below need to be declared as anonymous unions appears to be an extension?<br/>
|
||||
/// Using ImVec2() would fail on Clang 'union member 'MousePos' has a non-trivial default constructor'<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImGuiInputEventMousePos
|
||||
|
|
|
|||
|
|
@ -17,15 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// Shared state of InputText(), passed as an argument to your callback when a ImGuiInputTextFlags_Callback* flag is used.<br/>
|
||||
/// The callback function should return 0 by default.<br/>
|
||||
/// Callbacks (follow a flag name and see comments in ImGuiInputTextFlags_ declarations for more details)<br/>
|
||||
/// - ImGuiInputTextFlags_CallbackEdit: Callback on buffer 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.<br/>
|
||||
/// - ImGuiInputTextFlags_CallbackAlways: Callback on each iteration<br/>
|
||||
/// - ImGuiInputTextFlags_CallbackCompletion: Callback on pressing TAB<br/>
|
||||
/// - ImGuiInputTextFlags_CallbackHistory: Callback on pressing UpDown arrows<br/>
|
||||
/// - ImGuiInputTextFlags_CallbackCharFilter: Callback on character inputs to replace or discard them. Modify 'EventChar' to replace or discard, or return 1 in callback to discard.<br/>
|
||||
/// - ImGuiInputTextFlags_CallbackResize: Callback on buffer capacity changes request (beyond 'buf_size' parameter value), allowing the string to grow.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImGuiInputTextCallbackData
|
||||
|
|
|
|||
|
|
@ -17,8 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// Internal state of the currently focusededited text input box<br/>
|
||||
/// For a given item ID, access with ImGui::GetInputTextState()<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImGuiInputTextState
|
||||
|
|
|
|||
|
|
@ -17,8 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// [Internal] Storage used by IsKeyDown(), IsKeyPressed() etc functions.<br/>
|
||||
/// If prior to 1.87 you used io.KeysDownDuration[] (which was marked as internal), you should use GetKeyData(key)->DownDuration and *NOT* io.KeysData[key]->DownDuration.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImGuiKeyData
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// Status storage for the last submitted item<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImGuiLastItemData
|
||||
|
|
|
|||
|
|
@ -17,26 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// Helper: Manually clip large list of items.<br/>
|
||||
/// If you have lots evenly spaced items and you have random access to the list, you can perform coarse<br/>
|
||||
/// clipping based on visibility to only submit items that are in view.<br/>
|
||||
/// The clipper calculates the range of visible items and advance the cursor to compensate for the non-visible items we have skipped.<br/>
|
||||
/// (Dear ImGui already clip items based on their bounds but: it needs to first layout the item to do so, and generally<br/>
|
||||
/// fetchingsubmitting your own data incurs additional cost. Coarse clipping using ImGuiListClipper allows you to easily<br/>
|
||||
/// scale using lists with tens of thousands of items without a problem)<br/>
|
||||
/// Usage:<br/>
|
||||
/// ImGuiListClipper clipper;<br/>
|
||||
/// clipper.Begin(1000); We have 1000 elements, evenly spaced.<br/>
|
||||
/// while (clipper.Step())<br/>
|
||||
/// for (int i = clipper.DisplayStart; i < clipper.DisplayEnd; i++)<br/>
|
||||
/// ImGui::Text("line number %d", i);<br/>
|
||||
/// Generally what happens is:<br/>
|
||||
/// - Clipper lets you process the first element (DisplayStart = 0, DisplayEnd = 1) regardless of it being visible or not.<br/>
|
||||
/// - User code submit that one element.<br/>
|
||||
/// - Clipper can measure the height of the first element<br/>
|
||||
/// - Clipper calculate the actual range of elements to display based on the current clipping rectangle, position the cursor before the first visible element.<br/>
|
||||
/// - User code submit visible elements.<br/>
|
||||
/// - The clipper also handles various subtleties related to keyboardgamepad navigation, wrapping etc.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImGuiListClipper
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// Temporary clipper data, buffers sharedreused between instances<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImGuiListClipperData
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// Note that Max is exclusive, so perhaps should be using a BeginEnd convention.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImGuiListClipperRange
|
||||
|
|
@ -40,18 +40,18 @@ namespace Dalamud.Bindings.ImGui
|
|||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public byte PosToIndexOffsetMin;
|
||||
public sbyte PosToIndexOffsetMin;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public byte PosToIndexOffsetMax;
|
||||
public sbyte PosToIndexOffsetMax;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public unsafe ImGuiListClipperRange(int min = default, int max = default, bool posToIndexConvert = default, byte posToIndexOffsetMin = default, byte posToIndexOffsetMax = default)
|
||||
public unsafe ImGuiListClipperRange(int min = default, int max = default, bool posToIndexConvert = default, sbyte posToIndexOffsetMin = default, sbyte posToIndexOffsetMax = default)
|
||||
{
|
||||
Min = min;
|
||||
Max = max;
|
||||
|
|
@ -119,11 +119,11 @@ namespace Dalamud.Bindings.ImGui
|
|||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref byte PosToIndexOffsetMin => ref Unsafe.AsRef<byte>(&Handle->PosToIndexOffsetMin);
|
||||
public ref sbyte PosToIndexOffsetMin => ref Unsafe.AsRef<sbyte>(&Handle->PosToIndexOffsetMin);
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref byte PosToIndexOffsetMax => ref Unsafe.AsRef<byte>(&Handle->PosToIndexOffsetMax);
|
||||
public ref sbyte PosToIndexOffsetMax => ref Unsafe.AsRef<sbyte>(&Handle->PosToIndexOffsetMax);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// Simple column measurement, currently used for MenuItem() only.. This is very short-sightedthrow-away code and NOT a generic helper.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImGuiMenuColumns
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// Storage for navigation queryresults<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImGuiNavItemData
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// Storage for SetNexWindow** functions<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImGuiNextWindowData
|
||||
|
|
|
|||
|
|
@ -17,8 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// Helper: Execute a block of code at maximum once a frame. Convenient if you want to quickly create a UI within deep-nested code that runs multiple times every frame.<br/>
|
||||
/// Usage: static ImGuiOnceUponAFrame oaf; if (oaf) ImGui::Text("This will be called only once per frame");<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImGuiOnceUponAFrame
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// Data payload for Drag and Drop operations: AcceptDragDropPayload(), GetDragDropPayload()<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImGuiPayload
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// Access via ImGui::GetPlatformIO()<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImGuiPlatformIO
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// (Optional) Support for IME (Input Method Editor) via the platform_io.Platform_SetImeDataFn() function.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImGuiPlatformImeData
|
||||
|
|
|
|||
|
|
@ -17,8 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// (Optional) This is required when enabling multi-viewport. Represent the bounds of each connected monitordisplay and their DPI.<br/>
|
||||
/// We use this information for multiple DPI support + clamping the position of popups and tooltips so they don't straddle multiple monitors.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImGuiPlatformMonitor
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// Storage for popup stacks (g.OpenPopupStack and g.BeginPopupStack)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImGuiPopupData
|
||||
|
|
|
|||
|
|
@ -17,8 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// Resizing callback data to apply custom constraint. As enabled by SetNextWindowSizeConstraints(). Callback is called during the next Begin().<br/>
|
||||
/// NB: For basic minmax size constraint on each axis you don't need to use the callback! The SetNextWindowSizeConstraints() parameters are enough.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImGuiSizeCallbackData
|
||||
|
|
|
|||
|
|
@ -30,18 +30,14 @@ namespace Dalamud.Bindings.ImGui
|
|||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public byte QueryFrameCount;
|
||||
public sbyte QueryFrameCount;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public byte QuerySuccess;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ImGuiDataType DataType;
|
||||
|
||||
public ImGuiDataType RawBits0;
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
|
|
@ -107,7 +103,7 @@ namespace Dalamud.Bindings.ImGui
|
|||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public unsafe ImGuiStackLevelInfo(uint id = default, byte queryFrameCount = default, bool querySuccess = default, ImGuiDataType dataType = default, byte* desc = default)
|
||||
public unsafe ImGuiStackLevelInfo(uint id = default, sbyte queryFrameCount = default, bool querySuccess = default, ImGuiDataType dataType = default, byte* desc = default)
|
||||
{
|
||||
ID = id;
|
||||
QueryFrameCount = queryFrameCount;
|
||||
|
|
@ -178,7 +174,7 @@ namespace Dalamud.Bindings.ImGui
|
|||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public unsafe ImGuiStackLevelInfo(uint id = default, byte queryFrameCount = default, bool querySuccess = default, ImGuiDataType dataType = default, Span<byte> desc = default)
|
||||
public unsafe ImGuiStackLevelInfo(uint id = default, sbyte queryFrameCount = default, bool querySuccess = default, ImGuiDataType dataType = default, Span<byte> desc = default)
|
||||
{
|
||||
ID = id;
|
||||
QueryFrameCount = queryFrameCount;
|
||||
|
|
@ -247,6 +243,8 @@ namespace Dalamud.Bindings.ImGui
|
|||
}
|
||||
|
||||
|
||||
public ImGuiDataType DataType { get => Bitfield.Get(RawBits0, 0, 8); set => Bitfield.Set(ref RawBits0, value, 0, 8); }
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
|
|
@ -308,7 +306,7 @@ namespace Dalamud.Bindings.ImGui
|
|||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref byte QueryFrameCount => ref Unsafe.AsRef<byte>(&Handle->QueryFrameCount);
|
||||
public ref sbyte QueryFrameCount => ref Unsafe.AsRef<sbyte>(&Handle->QueryFrameCount);
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
|
|
@ -316,7 +314,7 @@ namespace Dalamud.Bindings.ImGui
|
|||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref ImGuiDataType DataType => ref Unsafe.AsRef<ImGuiDataType>(&Handle->DataType);
|
||||
public ImGuiDataType DataType { get => Handle->DataType; set => Handle->DataType = value; }
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
|
|
|
|||
|
|
@ -85,6 +85,17 @@ namespace Dalamud.Bindings.ImGui
|
|||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public unsafe void Destroy()
|
||||
{
|
||||
fixed (ImGuiStackSizes* @this = &this)
|
||||
{
|
||||
ImGui.DestroyNative(@this);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
@ -164,6 +175,14 @@ namespace Dalamud.Bindings.ImGui
|
|||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref short SizeOfDisabledStack => ref Unsafe.AsRef<short>(&Handle->SizeOfDisabledStack);
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public unsafe void Destroy()
|
||||
{
|
||||
ImGui.DestroyNative(Handle);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -67,6 +67,17 @@ namespace Dalamud.Bindings.ImGui
|
|||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public unsafe void Destroy()
|
||||
{
|
||||
fixed (ImGuiStackTool* @this = &this)
|
||||
{
|
||||
ImGui.DestroyNative(@this);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
@ -134,6 +145,14 @@ namespace Dalamud.Bindings.ImGui
|
|||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref float CopyToClipboardLastTime => ref Unsafe.AsRef<float>(&Handle->CopyToClipboardLastTime);
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public unsafe void Destroy()
|
||||
{
|
||||
ImGui.DestroyNative(Handle);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,14 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// Helper: Key->Value storage<br/>
|
||||
/// Typically you don't have to worry about this since a storage is held within each Window.<br/>
|
||||
/// We use it to e.g. store collapse state for a tree (Int 01)<br/>
|
||||
/// This is optimized for efficient lookup (dichotomy into a contiguous buffer) and rare insertion (typically tied to user interactions aka max once a frame)<br/>
|
||||
/// You can use it as custom user storage for temporary values. Declare your own storage if, for example:<br/>
|
||||
/// - You want to manipulate the openclose state of a particular sub-tree in your interface (tree node uses Int 01 to store their state).<br/>
|
||||
/// - You want to store custom debug data easily without adding or editing structures in your code (probably not efficient, but convenient)<br/>
|
||||
/// Types are NOT stored, so it is up to you to make sure your Key don't collide with different types.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImGuiStorage
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// [Internal] Key+Value for ImGuiStorage<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImGuiStoragePair
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// Stacked style modifier, backup of modified data so we can restore it. Data type inferred from the variable.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImGuiStyleMod
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// Storage for a tab bar (sizeof() 160 bytes)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImGuiTabBar
|
||||
|
|
@ -130,7 +130,7 @@ namespace Dalamud.Bindings.ImGui
|
|||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public byte BeginCount;
|
||||
public sbyte BeginCount;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
|
|
@ -181,7 +181,7 @@ namespace Dalamud.Bindings.ImGui
|
|||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public unsafe ImGuiTabBar(ImVector<ImGuiTabItem> tabs = default, ImGuiTabBarFlags flags = default, uint id = default, uint selectedTabId = default, uint nextSelectedTabId = default, uint visibleTabId = default, int currFrameVisible = default, int prevFrameVisible = default, ImRect barRect = default, float currTabsContentsHeight = default, float prevTabsContentsHeight = default, float widthAllTabs = default, float widthAllTabsIdeal = default, float scrollingAnim = default, float scrollingTarget = default, float scrollingTargetDistToVisibility = default, float scrollingSpeed = default, float scrollingRectMinX = default, float scrollingRectMaxX = default, uint reorderRequestTabId = default, short reorderRequestOffset = default, byte beginCount = default, bool wantLayout = default, bool visibleTabWasSubmitted = default, bool tabsAddedNew = default, short tabsActiveCount = default, short lastTabItemIdx = default, float itemSpacingY = default, Vector2 framePadding = default, Vector2 backupCursorPos = default, ImGuiTextBuffer tabsNames = default)
|
||||
public unsafe ImGuiTabBar(ImVector<ImGuiTabItem> tabs = default, ImGuiTabBarFlags flags = default, uint id = default, uint selectedTabId = default, uint nextSelectedTabId = default, uint visibleTabId = default, int currFrameVisible = default, int prevFrameVisible = default, ImRect barRect = default, float currTabsContentsHeight = default, float prevTabsContentsHeight = default, float widthAllTabs = default, float widthAllTabsIdeal = default, float scrollingAnim = default, float scrollingTarget = default, float scrollingTargetDistToVisibility = default, float scrollingSpeed = default, float scrollingRectMinX = default, float scrollingRectMaxX = default, uint reorderRequestTabId = default, short reorderRequestOffset = default, sbyte beginCount = default, bool wantLayout = default, bool visibleTabWasSubmitted = default, bool tabsAddedNew = default, short tabsActiveCount = default, short lastTabItemIdx = default, float itemSpacingY = default, Vector2 framePadding = default, Vector2 backupCursorPos = default, ImGuiTextBuffer tabsNames = default)
|
||||
{
|
||||
Tabs = tabs;
|
||||
Flags = flags;
|
||||
|
|
@ -358,7 +358,7 @@ namespace Dalamud.Bindings.ImGui
|
|||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref byte BeginCount => ref Unsafe.AsRef<byte>(&Handle->BeginCount);
|
||||
public ref sbyte BeginCount => ref Unsafe.AsRef<sbyte>(&Handle->BeginCount);
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// Storage for one active tab item (sizeof() 48 bytes)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImGuiTabItem
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// sizeof() ~ 592 bytes + heap allocs described in TableBeginInitMemory()<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImGuiTable
|
||||
|
|
@ -142,16 +142,7 @@ namespace Dalamud.Bindings.ImGui
|
|||
/// </summary>
|
||||
public float RowIndentOffsetX;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ImGuiTableRowFlags RowFlags;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ImGuiTableRowFlags LastRowFlags;
|
||||
|
||||
public ImGuiTableRowFlags RawBits0;
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
|
|
@ -775,6 +766,10 @@ namespace Dalamud.Bindings.ImGui
|
|||
}
|
||||
|
||||
|
||||
public ImGuiTableRowFlags RowFlags { get => Bitfield.Get(RawBits0, 0, 16); set => Bitfield.Set(ref RawBits0, value, 0, 16); }
|
||||
|
||||
public ImGuiTableRowFlags LastRowFlags { get => Bitfield.Get(RawBits0, 16, 16); set => Bitfield.Set(ref RawBits0, value, 16, 16); }
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
@ -917,11 +912,11 @@ namespace Dalamud.Bindings.ImGui
|
|||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref ImGuiTableRowFlags RowFlags => ref Unsafe.AsRef<ImGuiTableRowFlags>(&Handle->RowFlags);
|
||||
public ImGuiTableRowFlags RowFlags { get => Handle->RowFlags; set => Handle->RowFlags = value; }
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref ImGuiTableRowFlags LastRowFlags => ref Unsafe.AsRef<ImGuiTableRowFlags>(&Handle->LastRowFlags);
|
||||
public ImGuiTableRowFlags LastRowFlags { get => Handle->LastRowFlags; set => Handle->LastRowFlags = value; }
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
|
|
|
|||
|
|
@ -17,8 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// Transient cell data stored per row.<br/>
|
||||
/// sizeof() ~ 6 bytes<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImGuiTableCellData
|
||||
|
|
|
|||
|
|
@ -17,10 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// [Internal] sizeof() ~ 112<br/>
|
||||
/// We use the terminology "Enabled" to refer to a column that is not Hidden by userapi.<br/>
|
||||
/// We use the terminology "Clipped" to refer to a column that is out of sight because of scrollingclipping.<br/>
|
||||
/// This is in contrast with some user-facing api such as IsItemVisible() IsRectVisible() which use "Visible" to mean "not clipped".<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImGuiTableColumn
|
||||
|
|
@ -198,7 +195,7 @@ namespace Dalamud.Bindings.ImGui
|
|||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public byte NavLayerCurrent;
|
||||
public sbyte NavLayerCurrent;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
|
|
@ -210,21 +207,7 @@ namespace Dalamud.Bindings.ImGui
|
|||
/// </summary>
|
||||
public byte CannotSkipItemsQueue;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public byte SortDirection;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public byte SortDirectionsAvailCount;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public byte SortDirectionsAvailMask;
|
||||
|
||||
public byte RawBits0;
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
|
|
@ -234,7 +217,7 @@ namespace Dalamud.Bindings.ImGui
|
|||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public unsafe ImGuiTableColumn(ImGuiTableColumnFlags flags = default, float widthGiven = default, float minX = default, float maxX = default, float widthRequest = default, float widthAuto = default, float stretchWeight = default, float initStretchWeightOrWidth = default, ImRect clipRect = default, uint userId = default, float workMinX = default, float workMaxX = default, float itemWidth = default, float contentMaxXFrozen = default, float contentMaxXUnfrozen = default, float contentMaxXHeadersUsed = default, float contentMaxXHeadersIdeal = default, short nameOffset = default, sbyte displayOrder = default, sbyte indexWithinEnabledSet = default, sbyte prevEnabledColumn = default, sbyte nextEnabledColumn = default, sbyte sortOrder = default, byte drawChannelCurrent = default, byte drawChannelFrozen = default, byte drawChannelUnfrozen = default, bool isEnabled = default, bool isUserEnabled = default, bool isUserEnabledNextFrame = default, bool isVisibleX = default, bool isVisibleY = default, bool isRequestOutput = default, bool isSkipItems = default, bool isPreserveWidthAuto = default, byte navLayerCurrent = default, byte autoFitQueue = default, byte cannotSkipItemsQueue = default, byte sortDirection = default, byte sortDirectionsAvailCount = default, byte sortDirectionsAvailMask = default, byte sortDirectionsAvailList = default)
|
||||
public unsafe ImGuiTableColumn(ImGuiTableColumnFlags flags = default, float widthGiven = default, float minX = default, float maxX = default, float widthRequest = default, float widthAuto = default, float stretchWeight = default, float initStretchWeightOrWidth = default, ImRect clipRect = default, uint userId = default, float workMinX = default, float workMaxX = default, float itemWidth = default, float contentMaxXFrozen = default, float contentMaxXUnfrozen = default, float contentMaxXHeadersUsed = default, float contentMaxXHeadersIdeal = default, short nameOffset = default, sbyte displayOrder = default, sbyte indexWithinEnabledSet = default, sbyte prevEnabledColumn = default, sbyte nextEnabledColumn = default, sbyte sortOrder = default, byte drawChannelCurrent = default, byte drawChannelFrozen = default, byte drawChannelUnfrozen = default, bool isEnabled = default, bool isUserEnabled = default, bool isUserEnabledNextFrame = default, bool isVisibleX = default, bool isVisibleY = default, bool isRequestOutput = default, bool isSkipItems = default, bool isPreserveWidthAuto = default, sbyte navLayerCurrent = default, byte autoFitQueue = default, byte cannotSkipItemsQueue = default, byte sortDirection = default, byte sortDirectionsAvailCount = default, byte sortDirectionsAvailMask = default, byte sortDirectionsAvailList = default)
|
||||
{
|
||||
Flags = flags;
|
||||
WidthGiven = widthGiven;
|
||||
|
|
@ -280,6 +263,12 @@ namespace Dalamud.Bindings.ImGui
|
|||
}
|
||||
|
||||
|
||||
public byte SortDirection { get => Bitfield.Get(RawBits0, 0, 2); set => Bitfield.Set(ref RawBits0, value, 0, 2); }
|
||||
|
||||
public byte SortDirectionsAvailCount { get => Bitfield.Get(RawBits0, 2, 2); set => Bitfield.Set(ref RawBits0, value, 2, 2); }
|
||||
|
||||
public byte SortDirectionsAvailMask { get => Bitfield.Get(RawBits0, 4, 4); set => Bitfield.Set(ref RawBits0, value, 4, 4); }
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
|
|
@ -473,7 +462,7 @@ namespace Dalamud.Bindings.ImGui
|
|||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref byte NavLayerCurrent => ref Unsafe.AsRef<byte>(&Handle->NavLayerCurrent);
|
||||
public ref sbyte NavLayerCurrent => ref Unsafe.AsRef<sbyte>(&Handle->NavLayerCurrent);
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
|
|
@ -485,15 +474,15 @@ namespace Dalamud.Bindings.ImGui
|
|||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref byte SortDirection => ref Unsafe.AsRef<byte>(&Handle->SortDirection);
|
||||
public byte SortDirection { get => Handle->SortDirection; set => Handle->SortDirection = value; }
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref byte SortDirectionsAvailCount => ref Unsafe.AsRef<byte>(&Handle->SortDirectionsAvailCount);
|
||||
public byte SortDirectionsAvailCount { get => Handle->SortDirectionsAvailCount; set => Handle->SortDirectionsAvailCount = value; }
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref byte SortDirectionsAvailMask => ref Unsafe.AsRef<byte>(&Handle->SortDirectionsAvailMask);
|
||||
public byte SortDirectionsAvailMask { get => Handle->SortDirectionsAvailMask; set => Handle->SortDirectionsAvailMask = value; }
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// sizeof() ~ 16<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImGuiTableColumnSettings
|
||||
|
|
@ -47,21 +47,7 @@ namespace Dalamud.Bindings.ImGui
|
|||
/// </summary>
|
||||
public sbyte SortOrder;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public byte SortDirection;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public byte IsEnabled;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public byte IsStretch;
|
||||
|
||||
public byte RawBits0;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
|
|
@ -79,6 +65,12 @@ namespace Dalamud.Bindings.ImGui
|
|||
}
|
||||
|
||||
|
||||
public byte SortDirection { get => Bitfield.Get(RawBits0, 0, 2); set => Bitfield.Set(ref RawBits0, value, 0, 2); }
|
||||
|
||||
public byte IsEnabled { get => Bitfield.Get(RawBits0, 2, 1); set => Bitfield.Set(ref RawBits0, value, 2, 1); }
|
||||
|
||||
public byte IsStretch { get => Bitfield.Get(RawBits0, 3, 1); set => Bitfield.Set(ref RawBits0, value, 3, 1); }
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
|
|
@ -156,15 +148,15 @@ namespace Dalamud.Bindings.ImGui
|
|||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref byte SortDirection => ref Unsafe.AsRef<byte>(&Handle->SortDirection);
|
||||
public byte SortDirection { get => Handle->SortDirection; set => Handle->SortDirection = value; }
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref byte IsEnabled => ref Unsafe.AsRef<byte>(&Handle->IsEnabled);
|
||||
public byte IsEnabled { get => Handle->IsEnabled; set => Handle->IsEnabled = value; }
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref byte IsStretch => ref Unsafe.AsRef<byte>(&Handle->IsStretch);
|
||||
public byte IsStretch { get => Handle->IsStretch; set => Handle->IsStretch = value; }
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// Sorting specification for one column of a table (sizeof == 12 bytes)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImGuiTableColumnSortSpecs
|
||||
|
|
@ -37,11 +37,7 @@ namespace Dalamud.Bindings.ImGui
|
|||
/// </summary>
|
||||
public short SortOrder;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ImGuiSortDirection SortDirection;
|
||||
|
||||
public ImGuiSortDirection RawBits0;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
|
|
@ -55,6 +51,8 @@ namespace Dalamud.Bindings.ImGui
|
|||
}
|
||||
|
||||
|
||||
public ImGuiSortDirection SortDirection { get => Bitfield.Get(RawBits0, 0, 8); set => Bitfield.Set(ref RawBits0, value, 0, 8); }
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
|
|
@ -124,7 +122,7 @@ namespace Dalamud.Bindings.ImGui
|
|||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref ImGuiSortDirection SortDirection => ref Unsafe.AsRef<ImGuiSortDirection>(&Handle->SortDirection);
|
||||
public ImGuiSortDirection SortDirection { get => Handle->SortDirection; set => Handle->SortDirection = value; }
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
|
|
|
|||
|
|
@ -17,8 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// Per-instance data that needs preserving across frames (seemingly most others do not need to be preserved aside from debug needs. Does that means they could be moved to ImGuiTableTempData?)<br/>
|
||||
/// sizeof() ~ 24 bytes<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImGuiTableInstanceData
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// This is designed to be stored in a single ImChunkStream (1 header followed by N ImGuiTableColumnSettings, etc.)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImGuiTableSettings
|
||||
|
|
|
|||
|
|
@ -17,10 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// Sorting specifications for a table (often handling sort specs for a single column, occasionally more)<br/>
|
||||
/// Obtained by calling TableGetSortSpecs().<br/>
|
||||
/// When 'SpecsDirty == true' you can sort your data. It will be true with sorting specs have changed since last call, or the first time.<br/>
|
||||
/// Make sure to set 'SpecsDirty = false' after sorting, else you may wastefully sort your data every frame!<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImGuiTableSortSpecs
|
||||
|
|
|
|||
|
|
@ -17,11 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// Transient data that are only needed between BeginTable() and EndTable(), those buffers are shared (1 per level of stacked table).<br/>
|
||||
/// - Accessing those requires chasing an extra pointer so for very frequently used data we leave them in the main table structure.<br/>
|
||||
/// - We also leave out of this structure data that tend to be particularly useful for debuggingmetrics.<br/>
|
||||
/// FIXME-TABLE: more transient data could be stored in a stacked ImGuiTableTempData: e.g. SortSpecs.<br/>
|
||||
/// sizeof() ~ 136 bytes.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImGuiTableTempData
|
||||
|
|
|
|||
|
|
@ -17,8 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// Helper: Growable text buffer for loggingaccumulating text<br/>
|
||||
/// (this could be called 'ImGuiTextBuilder' 'ImGuiStringBuilder')<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImGuiTextBuffer
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// Helper: Parse and apply text filters. In format "aaaaa[,bbbb][,ccccc]"<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImGuiTextFilter
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// [Internal]<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImGuiTextRange
|
||||
|
|
|
|||
|
|
@ -17,13 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// - Currently represents the Platform Window created by the application which is hosting our Dear ImGui windows.<br/>
|
||||
/// - With multi-viewport enabled, we extend this concept to have multiple active viewports.<br/>
|
||||
/// - In the future we will extend this concept further to also represent Platform Monitor and support a "no main platform window" operation mode.<br/>
|
||||
/// - About Main Area vs Work Area:<br/>
|
||||
/// - Main Area = entire viewport.<br/>
|
||||
/// - Work Area = entire viewport minus sections used by main menu bars (for platform windows), or by task bar (for platform monitor).<br/>
|
||||
/// - Windows are generally trying to stay within the Work Area of their host viewport.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImGuiViewport
|
||||
|
|
|
|||
|
|
@ -17,8 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// ImGuiViewport PrivateInternals fields (cardinal sin: we are using inheritance!)<br/>
|
||||
/// Every instance of ImGuiViewport is in fact a ImGuiViewportP.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImGuiViewportP
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// Storage for one window<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImGuiWindow
|
||||
|
|
@ -265,17 +265,17 @@ namespace Dalamud.Bindings.ImGui
|
|||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public byte AutoFitFramesX;
|
||||
public sbyte AutoFitFramesX;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public byte AutoFitFramesY;
|
||||
public sbyte AutoFitFramesY;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public byte AutoFitChildAxises;
|
||||
public sbyte AutoFitChildAxises;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
|
|
@ -290,43 +290,24 @@ namespace Dalamud.Bindings.ImGui
|
|||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public byte HiddenFramesCanSkipItems;
|
||||
public sbyte HiddenFramesCanSkipItems;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public byte HiddenFramesCannotSkipItems;
|
||||
public sbyte HiddenFramesCannotSkipItems;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public byte HiddenFramesForRenderOnly;
|
||||
public sbyte HiddenFramesForRenderOnly;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public byte DisableInputsFrames;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ImGuiCond SetWindowPosAllowFlags;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ImGuiCond SetWindowSizeAllowFlags;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ImGuiCond SetWindowCollapsedAllowFlags;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ImGuiCond SetWindowDockAllowFlags;
|
||||
public sbyte DisableInputsFrames;
|
||||
|
||||
public ImGuiCond RawBits0;
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
|
|
@ -340,7 +321,7 @@ namespace Dalamud.Bindings.ImGui
|
|||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ImVector<int> IDStack;
|
||||
public ImVector<uint> IDStack;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
|
|
@ -514,26 +495,7 @@ namespace Dalamud.Bindings.ImGui
|
|||
/// </summary>
|
||||
public byte MemoryCompacted;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public byte DockIsActive;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public byte DockNodeIsVisible;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public byte DockTabIsVisible;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public byte DockTabWantClose;
|
||||
|
||||
public bool RawBits1;
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
|
|
@ -578,7 +540,7 @@ namespace Dalamud.Bindings.ImGui
|
|||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public unsafe ImGuiWindow(byte* name = default, uint id = default, ImGuiWindowFlags flags = default, ImGuiWindowFlags flagsPreviousFrame = default, ImGuiWindowClass windowClass = default, ImGuiViewportP* viewport = default, uint viewportId = default, Vector2 viewportPos = default, int viewportAllowPlatformMonitorExtend = default, Vector2 pos = default, Vector2 size = default, Vector2 sizeFull = default, Vector2 contentSize = default, Vector2 contentSizeIdeal = default, Vector2 contentSizeExplicit = default, Vector2 windowPadding = default, float windowRounding = default, float windowBorderSize = default, int nameBufLen = default, uint moveId = default, uint tabId = default, uint childId = default, Vector2 scroll = default, Vector2 scrollMax = default, Vector2 scrollTarget = default, Vector2 scrollTargetCenterRatio = default, Vector2 scrollTargetEdgeSnapDist = default, Vector2 scrollbarSizes = default, bool scrollbarX = default, bool scrollbarY = default, bool viewportOwned = default, bool active = default, bool wasActive = default, bool writeAccessed = default, bool collapsed = default, bool wantCollapseToggle = default, bool skipItems = default, bool appearing = default, bool hidden = default, bool isFallbackWindow = default, bool isExplicitChild = default, bool hasCloseButton = default, byte resizeBorderHeld = default, short beginCount = default, short beginOrderWithinParent = default, short beginOrderWithinContext = default, short focusOrder = default, uint popupId = default, byte autoFitFramesX = default, byte autoFitFramesY = default, byte autoFitChildAxises = default, bool autoFitOnlyGrows = default, ImGuiDir autoPosLastDirection = default, byte hiddenFramesCanSkipItems = default, byte hiddenFramesCannotSkipItems = default, byte hiddenFramesForRenderOnly = default, byte disableInputsFrames = default, ImGuiCond setWindowPosAllowFlags = default, ImGuiCond setWindowSizeAllowFlags = default, ImGuiCond setWindowCollapsedAllowFlags = default, ImGuiCond setWindowDockAllowFlags = default, Vector2 setWindowPosVal = default, Vector2 setWindowPosPivot = default, ImVector<int> idStack = default, ImGuiWindowTempData dc = default, ImRect outerRectClipped = default, ImRect innerRect = default, ImRect innerClipRect = default, ImRect workRect = default, ImRect parentWorkRect = default, ImRect clipRect = default, ImRect contentRegionRect = default, ImVec2Ih hitTestHoleSize = default, ImVec2Ih hitTestHoleOffset = default, int lastFrameActive = default, int lastFrameJustFocused = default, float lastTimeActive = default, float itemWidthDefault = default, ImGuiStorage stateStorage = default, ImVector<ImGuiOldColumns> columnsStorage = default, float fontWindowScale = default, float fontDpiScale = default, int settingsOffset = default, ImDrawListPtr drawList = default, ImDrawList drawListInst = default, ImGuiWindow* parentWindow = default, ImGuiWindow* parentWindowInBeginStack = default, ImGuiWindow* rootWindow = default, ImGuiWindow* rootWindowPopupTree = default, ImGuiWindow* rootWindowDockTree = default, ImGuiWindow* rootWindowForTitleBarHighlight = default, ImGuiWindow* rootWindowForNav = default, ImGuiWindow* navLastChildNavWindow = default, uint* navLastIds = default, ImRect* navRectRel = default, int memoryDrawListIdxCapacity = default, int memoryDrawListVtxCapacity = default, bool memoryCompacted = default, bool dockIsActive = default, bool dockNodeIsVisible = default, bool dockTabIsVisible = default, bool dockTabWantClose = default, short dockOrder = default, ImGuiWindowDockStyle dockStyle = default, ImGuiDockNode* dockNode = default, ImGuiDockNode* dockNodeAsHost = default, uint dockId = default, ImGuiItemStatusFlags dockTabItemStatusFlags = default, ImRect dockTabItemRect = default, bool inheritNoInputs = default)
|
||||
public unsafe ImGuiWindow(byte* name = default, uint id = default, ImGuiWindowFlags flags = default, ImGuiWindowFlags flagsPreviousFrame = default, ImGuiWindowClass windowClass = default, ImGuiViewportP* viewport = default, uint viewportId = default, Vector2 viewportPos = default, int viewportAllowPlatformMonitorExtend = default, Vector2 pos = default, Vector2 size = default, Vector2 sizeFull = default, Vector2 contentSize = default, Vector2 contentSizeIdeal = default, Vector2 contentSizeExplicit = default, Vector2 windowPadding = default, float windowRounding = default, float windowBorderSize = default, int nameBufLen = default, uint moveId = default, uint tabId = default, uint childId = default, Vector2 scroll = default, Vector2 scrollMax = default, Vector2 scrollTarget = default, Vector2 scrollTargetCenterRatio = default, Vector2 scrollTargetEdgeSnapDist = default, Vector2 scrollbarSizes = default, bool scrollbarX = default, bool scrollbarY = default, bool viewportOwned = default, bool active = default, bool wasActive = default, bool writeAccessed = default, bool collapsed = default, bool wantCollapseToggle = default, bool skipItems = default, bool appearing = default, bool hidden = default, bool isFallbackWindow = default, bool isExplicitChild = default, bool hasCloseButton = default, byte resizeBorderHeld = default, short beginCount = default, short beginOrderWithinParent = default, short beginOrderWithinContext = default, short focusOrder = default, uint popupId = default, sbyte autoFitFramesX = default, sbyte autoFitFramesY = default, sbyte autoFitChildAxises = default, bool autoFitOnlyGrows = default, ImGuiDir autoPosLastDirection = default, sbyte hiddenFramesCanSkipItems = default, sbyte hiddenFramesCannotSkipItems = default, sbyte hiddenFramesForRenderOnly = default, sbyte disableInputsFrames = default, ImGuiCond setWindowPosAllowFlags = default, ImGuiCond setWindowSizeAllowFlags = default, ImGuiCond setWindowCollapsedAllowFlags = default, ImGuiCond setWindowDockAllowFlags = default, Vector2 setWindowPosVal = default, Vector2 setWindowPosPivot = default, ImVector<uint> idStack = default, ImGuiWindowTempData dc = default, ImRect outerRectClipped = default, ImRect innerRect = default, ImRect innerClipRect = default, ImRect workRect = default, ImRect parentWorkRect = default, ImRect clipRect = default, ImRect contentRegionRect = default, ImVec2Ih hitTestHoleSize = default, ImVec2Ih hitTestHoleOffset = default, int lastFrameActive = default, int lastFrameJustFocused = default, float lastTimeActive = default, float itemWidthDefault = default, ImGuiStorage stateStorage = default, ImVector<ImGuiOldColumns> columnsStorage = default, float fontWindowScale = default, float fontDpiScale = default, int settingsOffset = default, ImDrawListPtr drawList = default, ImDrawList drawListInst = default, ImGuiWindow* parentWindow = default, ImGuiWindow* parentWindowInBeginStack = default, ImGuiWindow* rootWindow = default, ImGuiWindow* rootWindowPopupTree = default, ImGuiWindow* rootWindowDockTree = default, ImGuiWindow* rootWindowForTitleBarHighlight = default, ImGuiWindow* rootWindowForNav = default, ImGuiWindow* navLastChildNavWindow = default, uint* navLastIds = default, ImRect* navRectRel = default, int memoryDrawListIdxCapacity = default, int memoryDrawListVtxCapacity = default, bool memoryCompacted = default, bool dockIsActive = default, bool dockNodeIsVisible = default, bool dockTabIsVisible = default, bool dockTabWantClose = default, short dockOrder = default, ImGuiWindowDockStyle dockStyle = default, ImGuiDockNode* dockNode = default, ImGuiDockNode* dockNodeAsHost = default, uint dockId = default, ImGuiItemStatusFlags dockTabItemStatusFlags = default, ImRect dockTabItemRect = default, bool inheritNoInputs = default)
|
||||
{
|
||||
Name = name;
|
||||
ID = id;
|
||||
|
|
@ -686,10 +648,10 @@ namespace Dalamud.Bindings.ImGui
|
|||
MemoryDrawListIdxCapacity = memoryDrawListIdxCapacity;
|
||||
MemoryDrawListVtxCapacity = memoryDrawListVtxCapacity;
|
||||
MemoryCompacted = memoryCompacted ? (byte)1 : (byte)0;
|
||||
DockIsActive = dockIsActive ? (byte)1 : (byte)0;
|
||||
DockNodeIsVisible = dockNodeIsVisible ? (byte)1 : (byte)0;
|
||||
DockTabIsVisible = dockTabIsVisible ? (byte)1 : (byte)0;
|
||||
DockTabWantClose = dockTabWantClose ? (byte)1 : (byte)0;
|
||||
DockIsActive = dockIsActive;
|
||||
DockNodeIsVisible = dockNodeIsVisible;
|
||||
DockTabIsVisible = dockTabIsVisible;
|
||||
DockTabWantClose = dockTabWantClose;
|
||||
DockOrder = dockOrder;
|
||||
DockStyle = dockStyle;
|
||||
DockNode = dockNode;
|
||||
|
|
@ -703,7 +665,7 @@ namespace Dalamud.Bindings.ImGui
|
|||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public unsafe ImGuiWindow(byte* name = default, uint id = default, ImGuiWindowFlags flags = default, ImGuiWindowFlags flagsPreviousFrame = default, ImGuiWindowClass windowClass = default, ImGuiViewportP* viewport = default, uint viewportId = default, Vector2 viewportPos = default, int viewportAllowPlatformMonitorExtend = default, Vector2 pos = default, Vector2 size = default, Vector2 sizeFull = default, Vector2 contentSize = default, Vector2 contentSizeIdeal = default, Vector2 contentSizeExplicit = default, Vector2 windowPadding = default, float windowRounding = default, float windowBorderSize = default, int nameBufLen = default, uint moveId = default, uint tabId = default, uint childId = default, Vector2 scroll = default, Vector2 scrollMax = default, Vector2 scrollTarget = default, Vector2 scrollTargetCenterRatio = default, Vector2 scrollTargetEdgeSnapDist = default, Vector2 scrollbarSizes = default, bool scrollbarX = default, bool scrollbarY = default, bool viewportOwned = default, bool active = default, bool wasActive = default, bool writeAccessed = default, bool collapsed = default, bool wantCollapseToggle = default, bool skipItems = default, bool appearing = default, bool hidden = default, bool isFallbackWindow = default, bool isExplicitChild = default, bool hasCloseButton = default, byte resizeBorderHeld = default, short beginCount = default, short beginOrderWithinParent = default, short beginOrderWithinContext = default, short focusOrder = default, uint popupId = default, byte autoFitFramesX = default, byte autoFitFramesY = default, byte autoFitChildAxises = default, bool autoFitOnlyGrows = default, ImGuiDir autoPosLastDirection = default, byte hiddenFramesCanSkipItems = default, byte hiddenFramesCannotSkipItems = default, byte hiddenFramesForRenderOnly = default, byte disableInputsFrames = default, ImGuiCond setWindowPosAllowFlags = default, ImGuiCond setWindowSizeAllowFlags = default, ImGuiCond setWindowCollapsedAllowFlags = default, ImGuiCond setWindowDockAllowFlags = default, Vector2 setWindowPosVal = default, Vector2 setWindowPosPivot = default, ImVector<int> idStack = default, ImGuiWindowTempData dc = default, ImRect outerRectClipped = default, ImRect innerRect = default, ImRect innerClipRect = default, ImRect workRect = default, ImRect parentWorkRect = default, ImRect clipRect = default, ImRect contentRegionRect = default, ImVec2Ih hitTestHoleSize = default, ImVec2Ih hitTestHoleOffset = default, int lastFrameActive = default, int lastFrameJustFocused = default, float lastTimeActive = default, float itemWidthDefault = default, ImGuiStorage stateStorage = default, ImVector<ImGuiOldColumns> columnsStorage = default, float fontWindowScale = default, float fontDpiScale = default, int settingsOffset = default, ImDrawListPtr drawList = default, ImDrawList drawListInst = default, ImGuiWindow* parentWindow = default, ImGuiWindow* parentWindowInBeginStack = default, ImGuiWindow* rootWindow = default, ImGuiWindow* rootWindowPopupTree = default, ImGuiWindow* rootWindowDockTree = default, ImGuiWindow* rootWindowForTitleBarHighlight = default, ImGuiWindow* rootWindowForNav = default, ImGuiWindow* navLastChildNavWindow = default, Span<uint> navLastIds = default, Span<ImRect> navRectRel = default, int memoryDrawListIdxCapacity = default, int memoryDrawListVtxCapacity = default, bool memoryCompacted = default, bool dockIsActive = default, bool dockNodeIsVisible = default, bool dockTabIsVisible = default, bool dockTabWantClose = default, short dockOrder = default, ImGuiWindowDockStyle dockStyle = default, ImGuiDockNode* dockNode = default, ImGuiDockNode* dockNodeAsHost = default, uint dockId = default, ImGuiItemStatusFlags dockTabItemStatusFlags = default, ImRect dockTabItemRect = default, bool inheritNoInputs = default)
|
||||
public unsafe ImGuiWindow(byte* name = default, uint id = default, ImGuiWindowFlags flags = default, ImGuiWindowFlags flagsPreviousFrame = default, ImGuiWindowClass windowClass = default, ImGuiViewportP* viewport = default, uint viewportId = default, Vector2 viewportPos = default, int viewportAllowPlatformMonitorExtend = default, Vector2 pos = default, Vector2 size = default, Vector2 sizeFull = default, Vector2 contentSize = default, Vector2 contentSizeIdeal = default, Vector2 contentSizeExplicit = default, Vector2 windowPadding = default, float windowRounding = default, float windowBorderSize = default, int nameBufLen = default, uint moveId = default, uint tabId = default, uint childId = default, Vector2 scroll = default, Vector2 scrollMax = default, Vector2 scrollTarget = default, Vector2 scrollTargetCenterRatio = default, Vector2 scrollTargetEdgeSnapDist = default, Vector2 scrollbarSizes = default, bool scrollbarX = default, bool scrollbarY = default, bool viewportOwned = default, bool active = default, bool wasActive = default, bool writeAccessed = default, bool collapsed = default, bool wantCollapseToggle = default, bool skipItems = default, bool appearing = default, bool hidden = default, bool isFallbackWindow = default, bool isExplicitChild = default, bool hasCloseButton = default, byte resizeBorderHeld = default, short beginCount = default, short beginOrderWithinParent = default, short beginOrderWithinContext = default, short focusOrder = default, uint popupId = default, sbyte autoFitFramesX = default, sbyte autoFitFramesY = default, sbyte autoFitChildAxises = default, bool autoFitOnlyGrows = default, ImGuiDir autoPosLastDirection = default, sbyte hiddenFramesCanSkipItems = default, sbyte hiddenFramesCannotSkipItems = default, sbyte hiddenFramesForRenderOnly = default, sbyte disableInputsFrames = default, ImGuiCond setWindowPosAllowFlags = default, ImGuiCond setWindowSizeAllowFlags = default, ImGuiCond setWindowCollapsedAllowFlags = default, ImGuiCond setWindowDockAllowFlags = default, Vector2 setWindowPosVal = default, Vector2 setWindowPosPivot = default, ImVector<uint> idStack = default, ImGuiWindowTempData dc = default, ImRect outerRectClipped = default, ImRect innerRect = default, ImRect innerClipRect = default, ImRect workRect = default, ImRect parentWorkRect = default, ImRect clipRect = default, ImRect contentRegionRect = default, ImVec2Ih hitTestHoleSize = default, ImVec2Ih hitTestHoleOffset = default, int lastFrameActive = default, int lastFrameJustFocused = default, float lastTimeActive = default, float itemWidthDefault = default, ImGuiStorage stateStorage = default, ImVector<ImGuiOldColumns> columnsStorage = default, float fontWindowScale = default, float fontDpiScale = default, int settingsOffset = default, ImDrawListPtr drawList = default, ImDrawList drawListInst = default, ImGuiWindow* parentWindow = default, ImGuiWindow* parentWindowInBeginStack = default, ImGuiWindow* rootWindow = default, ImGuiWindow* rootWindowPopupTree = default, ImGuiWindow* rootWindowDockTree = default, ImGuiWindow* rootWindowForTitleBarHighlight = default, ImGuiWindow* rootWindowForNav = default, ImGuiWindow* navLastChildNavWindow = default, Span<uint> navLastIds = default, Span<ImRect> navRectRel = default, int memoryDrawListIdxCapacity = default, int memoryDrawListVtxCapacity = default, bool memoryCompacted = default, bool dockIsActive = default, bool dockNodeIsVisible = default, bool dockTabIsVisible = default, bool dockTabWantClose = default, short dockOrder = default, ImGuiWindowDockStyle dockStyle = default, ImGuiDockNode* dockNode = default, ImGuiDockNode* dockNodeAsHost = default, uint dockId = default, ImGuiItemStatusFlags dockTabItemStatusFlags = default, ImRect dockTabItemRect = default, bool inheritNoInputs = default)
|
||||
{
|
||||
Name = name;
|
||||
ID = id;
|
||||
|
|
@ -811,10 +773,10 @@ namespace Dalamud.Bindings.ImGui
|
|||
MemoryDrawListIdxCapacity = memoryDrawListIdxCapacity;
|
||||
MemoryDrawListVtxCapacity = memoryDrawListVtxCapacity;
|
||||
MemoryCompacted = memoryCompacted ? (byte)1 : (byte)0;
|
||||
DockIsActive = dockIsActive ? (byte)1 : (byte)0;
|
||||
DockNodeIsVisible = dockNodeIsVisible ? (byte)1 : (byte)0;
|
||||
DockTabIsVisible = dockTabIsVisible ? (byte)1 : (byte)0;
|
||||
DockTabWantClose = dockTabWantClose ? (byte)1 : (byte)0;
|
||||
DockIsActive = dockIsActive;
|
||||
DockNodeIsVisible = dockNodeIsVisible;
|
||||
DockTabIsVisible = dockTabIsVisible;
|
||||
DockTabWantClose = dockTabWantClose;
|
||||
DockOrder = dockOrder;
|
||||
DockStyle = dockStyle;
|
||||
DockNode = dockNode;
|
||||
|
|
@ -826,6 +788,22 @@ namespace Dalamud.Bindings.ImGui
|
|||
}
|
||||
|
||||
|
||||
public ImGuiCond SetWindowPosAllowFlags { get => Bitfield.Get(RawBits0, 0, 8); set => Bitfield.Set(ref RawBits0, value, 0, 8); }
|
||||
|
||||
public ImGuiCond SetWindowSizeAllowFlags { get => Bitfield.Get(RawBits0, 8, 8); set => Bitfield.Set(ref RawBits0, value, 8, 8); }
|
||||
|
||||
public ImGuiCond SetWindowCollapsedAllowFlags { get => Bitfield.Get(RawBits0, 16, 8); set => Bitfield.Set(ref RawBits0, value, 16, 8); }
|
||||
|
||||
public ImGuiCond SetWindowDockAllowFlags { get => Bitfield.Get(RawBits0, 24, 8); set => Bitfield.Set(ref RawBits0, value, 24, 8); }
|
||||
|
||||
public bool DockIsActive { get => Bitfield.Get(RawBits1, 0, 1); set => Bitfield.Set(ref RawBits1, value, 0, 1); }
|
||||
|
||||
public bool DockNodeIsVisible { get => Bitfield.Get(RawBits1, 1, 1); set => Bitfield.Set(ref RawBits1, value, 1, 1); }
|
||||
|
||||
public bool DockTabIsVisible { get => Bitfield.Get(RawBits1, 2, 1); set => Bitfield.Set(ref RawBits1, value, 2, 1); }
|
||||
|
||||
public bool DockTabWantClose { get => Bitfield.Get(RawBits1, 3, 1); set => Bitfield.Set(ref RawBits1, value, 3, 1); }
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
|
|
@ -1078,15 +1056,15 @@ namespace Dalamud.Bindings.ImGui
|
|||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref byte AutoFitFramesX => ref Unsafe.AsRef<byte>(&Handle->AutoFitFramesX);
|
||||
public ref sbyte AutoFitFramesX => ref Unsafe.AsRef<sbyte>(&Handle->AutoFitFramesX);
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref byte AutoFitFramesY => ref Unsafe.AsRef<byte>(&Handle->AutoFitFramesY);
|
||||
public ref sbyte AutoFitFramesY => ref Unsafe.AsRef<sbyte>(&Handle->AutoFitFramesY);
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref byte AutoFitChildAxises => ref Unsafe.AsRef<byte>(&Handle->AutoFitChildAxises);
|
||||
public ref sbyte AutoFitChildAxises => ref Unsafe.AsRef<sbyte>(&Handle->AutoFitChildAxises);
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
|
|
@ -1098,35 +1076,35 @@ namespace Dalamud.Bindings.ImGui
|
|||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref byte HiddenFramesCanSkipItems => ref Unsafe.AsRef<byte>(&Handle->HiddenFramesCanSkipItems);
|
||||
public ref sbyte HiddenFramesCanSkipItems => ref Unsafe.AsRef<sbyte>(&Handle->HiddenFramesCanSkipItems);
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref byte HiddenFramesCannotSkipItems => ref Unsafe.AsRef<byte>(&Handle->HiddenFramesCannotSkipItems);
|
||||
public ref sbyte HiddenFramesCannotSkipItems => ref Unsafe.AsRef<sbyte>(&Handle->HiddenFramesCannotSkipItems);
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref byte HiddenFramesForRenderOnly => ref Unsafe.AsRef<byte>(&Handle->HiddenFramesForRenderOnly);
|
||||
public ref sbyte HiddenFramesForRenderOnly => ref Unsafe.AsRef<sbyte>(&Handle->HiddenFramesForRenderOnly);
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref byte DisableInputsFrames => ref Unsafe.AsRef<byte>(&Handle->DisableInputsFrames);
|
||||
public ref sbyte DisableInputsFrames => ref Unsafe.AsRef<sbyte>(&Handle->DisableInputsFrames);
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref ImGuiCond SetWindowPosAllowFlags => ref Unsafe.AsRef<ImGuiCond>(&Handle->SetWindowPosAllowFlags);
|
||||
public ImGuiCond SetWindowPosAllowFlags { get => Handle->SetWindowPosAllowFlags; set => Handle->SetWindowPosAllowFlags = value; }
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref ImGuiCond SetWindowSizeAllowFlags => ref Unsafe.AsRef<ImGuiCond>(&Handle->SetWindowSizeAllowFlags);
|
||||
public ImGuiCond SetWindowSizeAllowFlags { get => Handle->SetWindowSizeAllowFlags; set => Handle->SetWindowSizeAllowFlags = value; }
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref ImGuiCond SetWindowCollapsedAllowFlags => ref Unsafe.AsRef<ImGuiCond>(&Handle->SetWindowCollapsedAllowFlags);
|
||||
public ImGuiCond SetWindowCollapsedAllowFlags { get => Handle->SetWindowCollapsedAllowFlags; set => Handle->SetWindowCollapsedAllowFlags = value; }
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref ImGuiCond SetWindowDockAllowFlags => ref Unsafe.AsRef<ImGuiCond>(&Handle->SetWindowDockAllowFlags);
|
||||
public ImGuiCond SetWindowDockAllowFlags { get => Handle->SetWindowDockAllowFlags; set => Handle->SetWindowDockAllowFlags = value; }
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
|
|
@ -1138,7 +1116,7 @@ namespace Dalamud.Bindings.ImGui
|
|||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref ImVector<int> IDStack => ref Unsafe.AsRef<ImVector<int>>(&Handle->IDStack);
|
||||
public ref ImVector<uint> IDStack => ref Unsafe.AsRef<ImVector<uint>>(&Handle->IDStack);
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
|
|
@ -1292,19 +1270,19 @@ namespace Dalamud.Bindings.ImGui
|
|||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref bool DockIsActive => ref Unsafe.AsRef<bool>(&Handle->DockIsActive);
|
||||
public bool DockIsActive { get => Handle->DockIsActive; set => Handle->DockIsActive = value; }
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref bool DockNodeIsVisible => ref Unsafe.AsRef<bool>(&Handle->DockNodeIsVisible);
|
||||
public bool DockNodeIsVisible { get => Handle->DockNodeIsVisible; set => Handle->DockNodeIsVisible = value; }
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref bool DockTabIsVisible => ref Unsafe.AsRef<bool>(&Handle->DockTabIsVisible);
|
||||
public bool DockTabIsVisible { get => Handle->DockTabIsVisible; set => Handle->DockTabIsVisible = value; }
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref bool DockTabWantClose => ref Unsafe.AsRef<bool>(&Handle->DockTabWantClose);
|
||||
public bool DockTabWantClose { get => Handle->DockTabWantClose; set => Handle->DockTabWantClose = value; }
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
|
|
|
|||
|
|
@ -17,13 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// [ALPHA] Rarely used very advanced uses only. Use with SetNextWindowClass() and DockSpace() functions.<br/>
|
||||
/// Important: the content of this class is still highly WIP and likely to change and be refactored<br/>
|
||||
/// before we stabilize Docking features. Please be mindful if using this.<br/>
|
||||
/// Provide hints:<br/>
|
||||
/// - To the platform backend via altered viewport flags (enabledisable OS decoration, OS task bar icons, etc.)<br/>
|
||||
/// - To the platform backend for OS level parentchild relationships of viewport.<br/>
|
||||
/// - To the docking system for various options and filtering.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImGuiWindowClass
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// We don't store style.Alpha: dock_node->LastBgColor embeds it and otherwise it would only affect the docking tab, which intuitively I would say we don't want to.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImGuiWindowDockStyle
|
||||
|
|
|
|||
|
|
@ -17,9 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// Windows data saved in imgui.ini file<br/>
|
||||
/// Because we never destroy or rename ImGuiWindowSettings, we can store the names in a separate buffer easily.<br/>
|
||||
/// (this is designed to be stored in a ImChunkStream buffer, with the variable-length Name following our structure)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImGuiWindowSettings
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// Data saved for each window pushed into the stack<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImGuiWindowStackData
|
||||
|
|
|
|||
|
|
@ -17,9 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// Transient per-window data, reset at the beginning of the frame. This used to be called ImGuiDrawContext, hence the DC variable name in ImGuiWindow.<br/>
|
||||
/// (That's theory, in practice the delimitation between ImGuiWindow and ImGuiWindowTempData is quite tenuous and could be reconsidered..)<br/>
|
||||
/// (This doesn't need a constructor because we zero-clear it as part of ImGuiWindow and all frame-temporary data are setup on Begin)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImGuiWindowTempData
|
||||
|
|
|
|||
|
|
@ -17,8 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// Helper: ImRect (2D axis aligned bounding-box)<br/>
|
||||
/// NB: we can't rely on ImVec2 math operators being available here!<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImRect
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// Helper: ImVec2ih (2D vector, half-size integer, for long-term packed storage)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImVec2Ih
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue