mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-29 03:49:19 +01:00
wip2
This commit is contained in:
parent
cc741cec67
commit
51a20300d8
237 changed files with 104170 additions and 24 deletions
|
|
@ -1,3 +1,5 @@
|
|||
using System.Numerics;
|
||||
|
||||
using Dalamud.Bindings.ImGui;
|
||||
using Dalamud.Interface.Internal.UiDebug2.Utility;
|
||||
using Dalamud.Interface.Utility.Raii;
|
||||
|
|
@ -110,7 +112,7 @@ public unsafe partial class AddonTree
|
|||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
ImGui.TextColored(new(1, 0, 0, 1), $"{ex}");
|
||||
ImGui.TextColored(new Vector4(1, 0, 0, 1), $"{ex}");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -121,7 +121,7 @@ public unsafe partial class AddonTree : IDisposable
|
|||
ImGui.SameLine();
|
||||
|
||||
ImGui.SameLine();
|
||||
ImGui.TextColored(isVisible ? new(0.1f, 1f, 0.1f, 1f) : new(0.6f, 0.6f, 0.6f, 1), isVisible ? "Visible" : "Not Visible");
|
||||
ImGui.TextColored(isVisible ? new Vector4(0.1f, 1f, 0.1f, 1f) : new(0.6f, 0.6f, 0.6f, 1), isVisible ? "Visible" : "Not Visible");
|
||||
|
||||
ImGui.SameLine(ImGui.GetWindowWidth() - 100);
|
||||
|
||||
|
|
|
|||
|
|
@ -226,13 +226,13 @@ internal unsafe partial class ImageNodeTree : ResNodeTree
|
|||
|
||||
ImGui.TableNextColumn();
|
||||
|
||||
ImGui.TextColored(!hiRes ? new(1) : new(0.6f, 0.6f, 0.6f, 1), "Standard:\t");
|
||||
ImGui.TextColored(!hiRes ? new Vector4(1) : new(0.6f, 0.6f, 0.6f, 1), "Standard:\t");
|
||||
ImGui.SameLine();
|
||||
var cursX = ImGui.GetCursorPosX();
|
||||
|
||||
PrintPartCoords(u / 2f, v / 2f, width / 2f, height / 2f);
|
||||
|
||||
ImGui.TextColored(hiRes ? new(1) : new(0.6f, 0.6f, 0.6f, 1), "Hi-Res:\t");
|
||||
ImGui.TextColored(hiRes ? new Vector4(1) : new(0.6f, 0.6f, 0.6f, 1), "Hi-Res:\t");
|
||||
ImGui.SameLine();
|
||||
ImGui.SetCursorPosX(cursX);
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
using System.Numerics;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
using Dalamud.Bindings.ImGui;
|
||||
|
|
@ -46,7 +47,7 @@ internal unsafe partial class TextNodeTree : ResNodeTree
|
|||
return;
|
||||
}
|
||||
|
||||
ImGui.TextColored(new(1), "Text:");
|
||||
ImGui.TextColored(new Vector4(1), "Text:");
|
||||
ImGui.SameLine();
|
||||
|
||||
try
|
||||
|
|
|
|||
|
|
@ -74,7 +74,7 @@ public readonly unsafe partial struct TimelineTree
|
|||
("Frame Time", $"{this.NodeTimeline->FrameTime:F2} ({this.NodeTimeline->FrameTime * 30:F0})"));
|
||||
|
||||
PrintFieldValuePairs(("Active Label Id", $"{this.NodeTimeline->ActiveLabelId}"), ("Duration", $"{this.NodeTimeline->LabelFrameIdxDuration}"), ("End Frame", $"{this.NodeTimeline->LabelEndFrameIdx}"));
|
||||
ImGui.TextColored(new(0.6f, 0.6f, 0.6f, 1), "Animation List");
|
||||
ImGui.TextColored(new Vector4(0.6f, 0.6f, 0.6f, 1), "Animation List");
|
||||
|
||||
for (var a = 0; a < animationCount; a++)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -293,8 +293,7 @@ internal class GamePrebakedFontsTestWidget : IDataWindowWidget, IDisposable
|
|||
}
|
||||
else if (!handle.Value.Available)
|
||||
{
|
||||
fixed (byte* labelPtr = "Loading..."u8)
|
||||
ImGui.TextUnformatted(labelPtr, labelPtr + 8 + ((Environment.TickCount / 200) % 3));
|
||||
ImGui.TextUnformatted("Loading..."u8[..(8 + ((Environment.TickCount / 200) % 3))]);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
@ -303,16 +302,12 @@ internal class GamePrebakedFontsTestWidget : IDataWindowWidget, IDisposable
|
|||
if (counter++ % 2 == 0)
|
||||
{
|
||||
using var pushPop = handle.Value.Push();
|
||||
ImGui.TextUnformatted(
|
||||
this.testStringBuffer.Data,
|
||||
this.testStringBuffer.Data + this.testStringBuffer.Length);
|
||||
ImGui.TextUnformatted(this.testStringBuffer.DataSpan);
|
||||
}
|
||||
else
|
||||
{
|
||||
handle.Value.Push();
|
||||
ImGui.TextUnformatted(
|
||||
this.testStringBuffer.Data,
|
||||
this.testStringBuffer.Data + this.testStringBuffer.Length);
|
||||
ImGui.TextUnformatted(this.testStringBuffer.DataSpan);
|
||||
handle.Value.Pop();
|
||||
}
|
||||
}
|
||||
|
|
@ -379,12 +374,9 @@ internal class GamePrebakedFontsTestWidget : IDataWindowWidget, IDisposable
|
|||
|
||||
return;
|
||||
|
||||
unsafe void TestSingle(ImFontPtr fontPtr, IFontHandle handle)
|
||||
void TestSingle(ImFontPtr fontPtr, IFontHandle handle)
|
||||
{
|
||||
var dim = default(Vector2);
|
||||
var test = "Test string"u8;
|
||||
fixed (byte* pTest = test)
|
||||
ImGui.CalcTextSizeA(ref dim, fontPtr, fontPtr.FontSize, float.MaxValue, 0f, pTest, (string)null, null);
|
||||
var dim = ImGui.CalcTextSizeA(fontPtr, fontPtr.FontSize, float.MaxValue, 0f, "Test string"u8, out _);
|
||||
Log.Information($"{nameof(GamePrebakedFontsTestWidget)}: {handle} => {dim}");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -210,7 +210,8 @@ public class SettingsTabLook : SettingsTab
|
|||
var len = Encoding.UTF8.GetByteCount(buildingFonts);
|
||||
var p = stackalloc byte[len];
|
||||
Encoding.UTF8.GetBytes(buildingFonts, new(p, len));
|
||||
ImGui.TextUnformatted(p, (p + len + ((Environment.TickCount / 200) % 3)) - 2);
|
||||
ImGui.TextUnformatted(
|
||||
new ReadOnlySpan<byte>(p, len)[..((len + ((Environment.TickCount / 200) % 3)) - 2)]);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -44,7 +44,14 @@ public static class ImGuiExtensions
|
|||
if (needClipping)
|
||||
{
|
||||
var fineClipRect = new Vector4(clipMin.X, clipMin.Y, clipMax.X, clipMax.Y);
|
||||
drawListPtr.AddText(ImGui.GetFont(), ImGui.GetFontSize(), pos, ImGui.GetColorU32(ImGuiCol.Text), text, ref fineClipRect);
|
||||
drawListPtr.AddText(
|
||||
ImGui.GetFont(),
|
||||
ImGui.GetFontSize(),
|
||||
pos,
|
||||
ImGui.GetColorU32(ImGuiCol.Text),
|
||||
text,
|
||||
0,
|
||||
fineClipRect);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
|
|
@ -674,8 +674,7 @@ public static partial class ImGuiHelpers
|
|||
var len = Encoding.UTF8.GetByteCount(s);
|
||||
var buf = len < 1024 ? stackalloc byte[len] : new byte[len];
|
||||
Encoding.UTF8.GetBytes(s, buf);
|
||||
fixed (byte* pBuf = buf)
|
||||
data->InsertChars(0, pBuf, pBuf + len);
|
||||
data->InsertChars(0, buf);
|
||||
data->SelectAll();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ namespace Dalamud.Utility;
|
|||
/// <summary>
|
||||
/// Class providing various helper methods for use in Dalamud and plugins.
|
||||
/// </summary>
|
||||
public static class Util
|
||||
public static partial class Util
|
||||
{
|
||||
private static readonly string[] PageProtectionFlagNames = [
|
||||
"PAGE_NOACCESS",
|
||||
|
|
|
|||
165
imgui/Dalamud.Bindings.ImGui/Custom/AutoUtf8Buffer.cs
Normal file
165
imgui/Dalamud.Bindings.ImGui/Custom/AutoUtf8Buffer.cs
Normal file
|
|
@ -0,0 +1,165 @@
|
|||
using System.Buffers;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public ref struct AutoUtf8Buffer : IDisposable
|
||||
{
|
||||
private const int StackBufferSize = 1024 - 1 - 8 - 8;
|
||||
|
||||
private byte[]? RentedBuffer;
|
||||
private ReadOnlySpan<byte> span;
|
||||
private State state;
|
||||
private unsafe fixed byte buffer[StackBufferSize];
|
||||
|
||||
[Flags]
|
||||
private enum State
|
||||
{
|
||||
None = 0,
|
||||
Initialized = 1 << 0,
|
||||
NullTerminated = 1 << 1,
|
||||
}
|
||||
|
||||
public AutoUtf8Buffer(ReadOnlySpan<byte> text)
|
||||
{
|
||||
this.state = State.Initialized;
|
||||
if (text.IsEmpty)
|
||||
{
|
||||
unsafe
|
||||
{
|
||||
this.span = MemoryMarshal.CreateSpan(ref this.buffer[0], 0);
|
||||
this.buffer[0] = 0;
|
||||
}
|
||||
|
||||
this.state |= State.NullTerminated;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.span = text;
|
||||
if (Unsafe.Add(ref Unsafe.AsRef(in text[0]), text.Length) == 0)
|
||||
this.state |= State.NullTerminated;
|
||||
}
|
||||
}
|
||||
|
||||
public AutoUtf8Buffer(ReadOnlyMemory<byte> text) : this(text.Span)
|
||||
{
|
||||
}
|
||||
|
||||
public AutoUtf8Buffer(ReadOnlySpan<char> text)
|
||||
{
|
||||
this.state = State.Initialized | State.NullTerminated;
|
||||
var cb = Encoding.UTF8.GetByteCount(text);
|
||||
if (cb + 1 < StackBufferSize)
|
||||
{
|
||||
unsafe
|
||||
{
|
||||
var newSpan = MemoryMarshal.CreateSpan(ref this.buffer[0], cb);
|
||||
this.span = newSpan;
|
||||
Encoding.UTF8.GetBytes(text, newSpan);
|
||||
this.buffer[cb] = 0;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
this.RentedBuffer = ArrayPool<byte>.Shared.Rent(cb + 1);
|
||||
var newSpan = this.RentedBuffer.AsSpan(0, cb);
|
||||
this.span = newSpan;
|
||||
Encoding.UTF8.GetBytes(text, newSpan);
|
||||
this.RentedBuffer[cb] = 0;
|
||||
}
|
||||
}
|
||||
|
||||
public AutoUtf8Buffer(ReadOnlyMemory<char> text) : this(text.Span)
|
||||
{
|
||||
}
|
||||
|
||||
public AutoUtf8Buffer(string? text) : this(text.AsSpan())
|
||||
{
|
||||
}
|
||||
|
||||
public unsafe AutoUtf8Buffer(byte* text) : this(MemoryMarshal.CreateReadOnlySpanFromNullTerminated(text))
|
||||
{
|
||||
this.state |= State.NullTerminated;
|
||||
}
|
||||
|
||||
public unsafe AutoUtf8Buffer(char* text) : this(MemoryMarshal.CreateReadOnlySpanFromNullTerminated(text))
|
||||
{
|
||||
}
|
||||
|
||||
public readonly bool IsInitialized => (this.state & State.Initialized) != 0;
|
||||
|
||||
public readonly ReadOnlySpan<byte> Span => this.span;
|
||||
|
||||
public readonly int Length => this.span.Length;
|
||||
|
||||
public readonly bool IsEmpty => this.span.IsEmpty;
|
||||
|
||||
public ReadOnlySpan<byte> NullTerminatedSpan
|
||||
{
|
||||
get
|
||||
{
|
||||
if ((this.state & State.NullTerminated) != 0)
|
||||
{
|
||||
if (this.Span.Length + 1 < StackBufferSize)
|
||||
{
|
||||
unsafe
|
||||
{
|
||||
var newSpan = MemoryMarshal.CreateSpan(ref this.buffer[0], this.span.Length);
|
||||
this.span.CopyTo(newSpan);
|
||||
this.buffer[newSpan.Length] = 0;
|
||||
this.span = newSpan;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
this.RentedBuffer = ArrayPool<byte>.Shared.Rent(this.span.Length + 1);
|
||||
var newSpan = this.RentedBuffer.AsSpan(0, this.span.Length);
|
||||
this.span.CopyTo(newSpan);
|
||||
this.RentedBuffer[newSpan.Length] = 0;
|
||||
}
|
||||
|
||||
this.state |= State.NullTerminated;
|
||||
}
|
||||
|
||||
return this.span;
|
||||
}
|
||||
}
|
||||
|
||||
public static implicit operator AutoUtf8Buffer(ReadOnlySpan<byte> text) => new(text);
|
||||
public static implicit operator AutoUtf8Buffer(ReadOnlyMemory<byte> text) => new(text);
|
||||
public static implicit operator AutoUtf8Buffer(ReadOnlySpan<char> text) => new(text);
|
||||
public static implicit operator AutoUtf8Buffer(ReadOnlyMemory<char> text) => new(text);
|
||||
public static implicit operator AutoUtf8Buffer(string? text) => new(text);
|
||||
public static unsafe implicit operator AutoUtf8Buffer(byte* text) => new(text);
|
||||
public static unsafe implicit operator AutoUtf8Buffer(char* text) => new(text);
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
if (this.RentedBuffer is { } rentedBuffer)
|
||||
{
|
||||
this.RentedBuffer = null;
|
||||
this.span = default;
|
||||
ArrayPool<byte>.Shared.Return(rentedBuffer);
|
||||
}
|
||||
|
||||
this.state = State.None;
|
||||
}
|
||||
|
||||
public AutoUtf8Buffer MoveOrDefault(AutoUtf8Buffer other)
|
||||
{
|
||||
if (this.IsInitialized)
|
||||
{
|
||||
other.Dispose();
|
||||
var res = this;
|
||||
this = default;
|
||||
return res;
|
||||
}
|
||||
|
||||
return other;
|
||||
}
|
||||
|
||||
public override readonly string ToString() => Encoding.UTF8.GetString(this.span);
|
||||
}
|
||||
|
|
@ -0,0 +1,695 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
/* Functions.000.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.001.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.002.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.003.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.004.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.005.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.006.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.007.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.008.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.009.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.010.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.011.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.012.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.013.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.014.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.015.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.016.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.017.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.018.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.019.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.020.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.021.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.022.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.023.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.024.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.025.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.026.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.027.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.028.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.029.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.030.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.031.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.032.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.033.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.034.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.035.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.036.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.037.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.038.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.039.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.040.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.041.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.042.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.043.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.044.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.045.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.046.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.047.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.048.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.049.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.050.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.051.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.052.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.053.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.054.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.055.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.056.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.057.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.058.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.059.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.060.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.061.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.062.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.063.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.064.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.065.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.066.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.067.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.068.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.069.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.070.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.071.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.072.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.073.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.074.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.075.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.076.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.077.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.078.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.079.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.080.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.081.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.082.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.083.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.084.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.085.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.086.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.087.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.088.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.089.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.090.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.091.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.092.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.093.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.094.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.095.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.096.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
/* Functions.097.cs */
|
||||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
}
|
||||
}
|
||||
20359
imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated.Structs.gen.cs
Normal file
20359
imgui/Dalamud.Bindings.ImGui/Custom/Generated/Generated.Structs.gen.cs
Normal file
File diff suppressed because one or more lines are too long
|
|
@ -0,0 +1,15 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImBitArrayImGuiKeyNamedKeyCOUNTLessImGuiKeyNamedKeyBEGIN
|
||||
{
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImBitVector
|
||||
{
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImBitVectorPtr
|
||||
{
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImChunkStreamImGuiTableSettings
|
||||
{
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImChunkStreamImGuiWindowSettings
|
||||
{
|
||||
}
|
||||
|
||||
50
imgui/Dalamud.Bindings.ImGui/Custom/Generated/ImColor.gen.cs
Normal file
50
imgui/Dalamud.Bindings.ImGui/Custom/Generated/ImColor.gen.cs
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImColor
|
||||
{
|
||||
public unsafe void Destroy()
|
||||
{
|
||||
fixed (ImColor* @this = &this)
|
||||
{
|
||||
ImGuiNative.Destroy(@this);
|
||||
}
|
||||
}
|
||||
public unsafe void HSV(float h, float s, float v, float a)
|
||||
{
|
||||
fixed (ImColor* @this = &this)
|
||||
{
|
||||
ImGuiNative.HSV(@this, h, s, v, a);
|
||||
}
|
||||
}
|
||||
public unsafe void HSV(float h, float s, float v)
|
||||
{
|
||||
fixed (ImColor* @this = &this)
|
||||
{
|
||||
ImGuiNative.HSV(@this, h, s, v, (float)(1.0f));
|
||||
}
|
||||
}
|
||||
public unsafe void SetHSV(float h, float s, float v, float a)
|
||||
{
|
||||
fixed (ImColor* @this = &this)
|
||||
{
|
||||
ImGuiNative.SetHSV(@this, h, s, v, a);
|
||||
}
|
||||
}
|
||||
public unsafe void SetHSV(float h, float s, float v)
|
||||
{
|
||||
fixed (ImColor* @this = &this)
|
||||
{
|
||||
ImGuiNative.SetHSV(@this, h, s, v, (float)(1.0f));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,35 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImColorPtr
|
||||
{
|
||||
public unsafe void Destroy()
|
||||
{
|
||||
ImGuiNative.Destroy(Handle);
|
||||
}
|
||||
public unsafe void HSV(float h, float s, float v, float a)
|
||||
{
|
||||
ImGuiNative.HSV(Handle, h, s, v, a);
|
||||
}
|
||||
public unsafe void HSV(float h, float s, float v)
|
||||
{
|
||||
ImGuiNative.HSV(Handle, h, s, v, (float)(1.0f));
|
||||
}
|
||||
public unsafe void SetHSV(float h, float s, float v, float a)
|
||||
{
|
||||
ImGuiNative.SetHSV(Handle, h, s, v, a);
|
||||
}
|
||||
public unsafe void SetHSV(float h, float s, float v)
|
||||
{
|
||||
ImGuiNative.SetHSV(Handle, h, s, v, (float)(1.0f));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImDrawChannel
|
||||
{
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImDrawChannelPtr
|
||||
{
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,30 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImDrawCmd
|
||||
{
|
||||
public unsafe void Destroy()
|
||||
{
|
||||
fixed (ImDrawCmd* @this = &this)
|
||||
{
|
||||
ImGuiNative.Destroy(@this);
|
||||
}
|
||||
}
|
||||
public unsafe ImTextureID GetTexID()
|
||||
{
|
||||
fixed (ImDrawCmd* @this = &this)
|
||||
{
|
||||
ImTextureID ret = ImGuiNative.GetTexID(@this);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImDrawCmdHeader
|
||||
{
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,24 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImDrawCmdPtr
|
||||
{
|
||||
public unsafe void Destroy()
|
||||
{
|
||||
ImGuiNative.Destroy(Handle);
|
||||
}
|
||||
public unsafe ImTextureID GetTexID()
|
||||
{
|
||||
ImTextureID ret = ImGuiNative.GetTexID(Handle);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,43 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImDrawData
|
||||
{
|
||||
public unsafe void Clear()
|
||||
{
|
||||
fixed (ImDrawData* @this = &this)
|
||||
{
|
||||
ImGuiNative.Clear(@this);
|
||||
}
|
||||
}
|
||||
public unsafe void DeIndexAllBuffers()
|
||||
{
|
||||
fixed (ImDrawData* @this = &this)
|
||||
{
|
||||
ImGuiNative.DeIndexAllBuffers(@this);
|
||||
}
|
||||
}
|
||||
public unsafe void Destroy()
|
||||
{
|
||||
fixed (ImDrawData* @this = &this)
|
||||
{
|
||||
ImGuiNative.Destroy(@this);
|
||||
}
|
||||
}
|
||||
public unsafe void ScaleClipRects(Vector2 fbScale)
|
||||
{
|
||||
fixed (ImDrawData* @this = &this)
|
||||
{
|
||||
ImGuiNative.ScaleClipRects(@this, fbScale);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImDrawDataBuilder
|
||||
{
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImDrawDataBuilderPtr
|
||||
{
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,31 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImDrawDataPtr
|
||||
{
|
||||
public unsafe void Clear()
|
||||
{
|
||||
ImGuiNative.Clear(Handle);
|
||||
}
|
||||
public unsafe void DeIndexAllBuffers()
|
||||
{
|
||||
ImGuiNative.DeIndexAllBuffers(Handle);
|
||||
}
|
||||
public unsafe void Destroy()
|
||||
{
|
||||
ImGuiNative.Destroy(Handle);
|
||||
}
|
||||
public unsafe void ScaleClipRects(Vector2 fbScale)
|
||||
{
|
||||
ImGuiNative.ScaleClipRects(Handle, fbScale);
|
||||
}
|
||||
}
|
||||
|
||||
759
imgui/Dalamud.Bindings.ImGui/Custom/Generated/ImDrawList.gen.cs
Normal file
759
imgui/Dalamud.Bindings.ImGui/Custom/Generated/ImDrawList.gen.cs
Normal file
|
|
@ -0,0 +1,759 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImDrawList
|
||||
{
|
||||
public unsafe int _CalcCircleAutoSegmentCount(float radius)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
int ret = ImGuiNative._CalcCircleAutoSegmentCount(@this, radius);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
public unsafe void _ClearFreeMemory()
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative._ClearFreeMemory(@this);
|
||||
}
|
||||
}
|
||||
public unsafe void _OnChangedClipRect()
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative._OnChangedClipRect(@this);
|
||||
}
|
||||
}
|
||||
public unsafe void _OnChangedTextureID()
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative._OnChangedTextureID(@this);
|
||||
}
|
||||
}
|
||||
public unsafe void _OnChangedVtxOffset()
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative._OnChangedVtxOffset(@this);
|
||||
}
|
||||
}
|
||||
public unsafe void _PathArcToFastEx(Vector2 center, float radius, int aMinSample, int aMaxSample, int aStep)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative._PathArcToFastEx(@this, center, radius, aMinSample, aMaxSample, aStep);
|
||||
}
|
||||
}
|
||||
public unsafe void _PathArcToN(Vector2 center, float radius, float aMin, float aMax, int numSegments)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative._PathArcToN(@this, center, radius, aMin, aMax, numSegments);
|
||||
}
|
||||
}
|
||||
public unsafe void _PopUnusedDrawCmd()
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative._PopUnusedDrawCmd(@this);
|
||||
}
|
||||
}
|
||||
public unsafe void _ResetForNewFrame()
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative._ResetForNewFrame(@this);
|
||||
}
|
||||
}
|
||||
public unsafe void _TryMergeDrawCmds()
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative._TryMergeDrawCmds(@this);
|
||||
}
|
||||
}
|
||||
public unsafe void AddBezierCubic(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col, float thickness, int numSegments)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.AddBezierCubic(@this, p1, p2, p3, p4, col, thickness, numSegments);
|
||||
}
|
||||
}
|
||||
public unsafe void AddBezierCubic(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col, float thickness)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.AddBezierCubic(@this, p1, p2, p3, p4, col, thickness, (int)(0));
|
||||
}
|
||||
}
|
||||
public unsafe void AddBezierQuadratic(Vector2 p1, Vector2 p2, Vector2 p3, uint col, float thickness, int numSegments)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.AddBezierQuadratic(@this, p1, p2, p3, col, thickness, numSegments);
|
||||
}
|
||||
}
|
||||
public unsafe void AddBezierQuadratic(Vector2 p1, Vector2 p2, Vector2 p3, uint col, float thickness)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.AddBezierQuadratic(@this, p1, p2, p3, col, thickness, (int)(0));
|
||||
}
|
||||
}
|
||||
public unsafe void AddCallback(ImDrawCallback callback, void* callbackData)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.AddCallback(@this, callback, callbackData);
|
||||
}
|
||||
}
|
||||
public unsafe void AddCircle(Vector2 center, float radius, uint col, int numSegments, float thickness)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.AddCircle(@this, center, radius, col, numSegments, thickness);
|
||||
}
|
||||
}
|
||||
public unsafe void AddCircle(Vector2 center, float radius, uint col, int numSegments)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.AddCircle(@this, center, radius, col, numSegments, (float)(1.0f));
|
||||
}
|
||||
}
|
||||
public unsafe void AddCircle(Vector2 center, float radius, uint col)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.AddCircle(@this, center, radius, col, (int)(0), (float)(1.0f));
|
||||
}
|
||||
}
|
||||
public unsafe void AddCircle(Vector2 center, float radius, uint col, float thickness)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.AddCircle(@this, center, radius, col, (int)(0), thickness);
|
||||
}
|
||||
}
|
||||
public unsafe void AddCircleFilled(Vector2 center, float radius, uint col, int numSegments)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.AddCircleFilled(@this, center, radius, col, numSegments);
|
||||
}
|
||||
}
|
||||
public unsafe void AddCircleFilled(Vector2 center, float radius, uint col)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.AddCircleFilled(@this, center, radius, col, (int)(0));
|
||||
}
|
||||
}
|
||||
public unsafe void AddConvexPolyFilled(Vector2* points, int numPoints, uint col)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.AddConvexPolyFilled(@this, points, numPoints, col);
|
||||
}
|
||||
}
|
||||
public unsafe void AddConvexPolyFilled(ref Vector2 points, int numPoints, uint col)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
fixed (Vector2* ppoints = &points)
|
||||
{
|
||||
ImGuiNative.AddConvexPolyFilled(@this, (Vector2*)ppoints, numPoints, col);
|
||||
}
|
||||
}
|
||||
}
|
||||
public unsafe void AddDrawCmd()
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.AddDrawCmd(@this);
|
||||
}
|
||||
}
|
||||
public unsafe void AddImage(ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, Vector2 uvMax, uint col)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.AddImage(@this, userTextureId, pMin, pMax, uvMin, uvMax, col);
|
||||
}
|
||||
}
|
||||
public unsafe void AddImage(ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, Vector2 uvMax)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.AddImage(@this, userTextureId, pMin, pMax, uvMin, uvMax, (uint)(4294967295));
|
||||
}
|
||||
}
|
||||
public unsafe void AddImage(ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.AddImage(@this, userTextureId, pMin, pMax, uvMin, (Vector2)(new Vector2(1,1)), (uint)(4294967295));
|
||||
}
|
||||
}
|
||||
public unsafe void AddImage(ImTextureID userTextureId, Vector2 pMin, Vector2 pMax)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.AddImage(@this, userTextureId, pMin, pMax, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), (uint)(4294967295));
|
||||
}
|
||||
}
|
||||
public unsafe void AddImage(ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, uint col)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.AddImage(@this, userTextureId, pMin, pMax, uvMin, (Vector2)(new Vector2(1,1)), col);
|
||||
}
|
||||
}
|
||||
public unsafe void AddImage(ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, uint col)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.AddImage(@this, userTextureId, pMin, pMax, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), col);
|
||||
}
|
||||
}
|
||||
public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, Vector2 uv3, Vector2 uv4, uint col)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.AddImageQuad(@this, userTextureId, p1, p2, p3, p4, uv1, uv2, uv3, uv4, col);
|
||||
}
|
||||
}
|
||||
public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, Vector2 uv3, Vector2 uv4)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.AddImageQuad(@this, userTextureId, p1, p2, p3, p4, uv1, uv2, uv3, uv4, (uint)(4294967295));
|
||||
}
|
||||
}
|
||||
public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, Vector2 uv3)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.AddImageQuad(@this, userTextureId, p1, p2, p3, p4, uv1, uv2, uv3, (Vector2)(new Vector2(0,1)), (uint)(4294967295));
|
||||
}
|
||||
}
|
||||
public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.AddImageQuad(@this, userTextureId, p1, p2, p3, p4, uv1, uv2, (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), (uint)(4294967295));
|
||||
}
|
||||
}
|
||||
public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.AddImageQuad(@this, userTextureId, p1, p2, p3, p4, uv1, (Vector2)(new Vector2(1,0)), (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), (uint)(4294967295));
|
||||
}
|
||||
}
|
||||
public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.AddImageQuad(@this, userTextureId, p1, p2, p3, p4, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,0)), (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), (uint)(4294967295));
|
||||
}
|
||||
}
|
||||
public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, Vector2 uv3, uint col)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.AddImageQuad(@this, userTextureId, p1, p2, p3, p4, uv1, uv2, uv3, (Vector2)(new Vector2(0,1)), col);
|
||||
}
|
||||
}
|
||||
public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, uint col)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.AddImageQuad(@this, userTextureId, p1, p2, p3, p4, uv1, uv2, (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), col);
|
||||
}
|
||||
}
|
||||
public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, uint col)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.AddImageQuad(@this, userTextureId, p1, p2, p3, p4, uv1, (Vector2)(new Vector2(1,0)), (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), col);
|
||||
}
|
||||
}
|
||||
public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.AddImageQuad(@this, userTextureId, p1, p2, p3, p4, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,0)), (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), col);
|
||||
}
|
||||
}
|
||||
public unsafe void AddImageRounded(ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, Vector2 uvMax, uint col, float rounding, ImDrawFlags flags)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.AddImageRounded(@this, userTextureId, pMin, pMax, uvMin, uvMax, col, rounding, flags);
|
||||
}
|
||||
}
|
||||
public unsafe void AddImageRounded(ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, Vector2 uvMax, uint col, float rounding)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.AddImageRounded(@this, userTextureId, pMin, pMax, uvMin, uvMax, col, rounding, (ImDrawFlags)(0));
|
||||
}
|
||||
}
|
||||
public unsafe void AddLine(Vector2 p1, Vector2 p2, uint col, float thickness)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.AddLine(@this, p1, p2, col, thickness);
|
||||
}
|
||||
}
|
||||
public unsafe void AddLine(Vector2 p1, Vector2 p2, uint col)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.AddLine(@this, p1, p2, col, (float)(1.0f));
|
||||
}
|
||||
}
|
||||
public unsafe void AddNgon(Vector2 center, float radius, uint col, int numSegments, float thickness)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.AddNgon(@this, center, radius, col, numSegments, thickness);
|
||||
}
|
||||
}
|
||||
public unsafe void AddNgon(Vector2 center, float radius, uint col, int numSegments)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.AddNgon(@this, center, radius, col, numSegments, (float)(1.0f));
|
||||
}
|
||||
}
|
||||
public unsafe void AddNgonFilled(Vector2 center, float radius, uint col, int numSegments)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.AddNgonFilled(@this, center, radius, col, numSegments);
|
||||
}
|
||||
}
|
||||
public unsafe void AddPolyline(Vector2* points, int numPoints, uint col, ImDrawFlags flags, float thickness)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.AddPolyline(@this, points, numPoints, col, flags, thickness);
|
||||
}
|
||||
}
|
||||
public unsafe void AddPolyline(ref Vector2 points, int numPoints, uint col, ImDrawFlags flags, float thickness)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
fixed (Vector2* ppoints = &points)
|
||||
{
|
||||
ImGuiNative.AddPolyline(@this, (Vector2*)ppoints, numPoints, col, flags, thickness);
|
||||
}
|
||||
}
|
||||
}
|
||||
public unsafe void AddQuad(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col, float thickness)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.AddQuad(@this, p1, p2, p3, p4, col, thickness);
|
||||
}
|
||||
}
|
||||
public unsafe void AddQuad(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.AddQuad(@this, p1, p2, p3, p4, col, (float)(1.0f));
|
||||
}
|
||||
}
|
||||
public unsafe void AddQuadFilled(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.AddQuadFilled(@this, p1, p2, p3, p4, col);
|
||||
}
|
||||
}
|
||||
public unsafe void AddRect(Vector2 pMin, Vector2 pMax, uint col, float rounding, ImDrawFlags flags, float thickness)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.AddRect(@this, pMin, pMax, col, rounding, flags, thickness);
|
||||
}
|
||||
}
|
||||
public unsafe void AddRect(Vector2 pMin, Vector2 pMax, uint col, float rounding, ImDrawFlags flags)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.AddRect(@this, pMin, pMax, col, rounding, flags, (float)(1.0f));
|
||||
}
|
||||
}
|
||||
public unsafe void AddRect(Vector2 pMin, Vector2 pMax, uint col, float rounding)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.AddRect(@this, pMin, pMax, col, rounding, (ImDrawFlags)(0), (float)(1.0f));
|
||||
}
|
||||
}
|
||||
public unsafe void AddRect(Vector2 pMin, Vector2 pMax, uint col)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.AddRect(@this, pMin, pMax, col, (float)(0.0f), (ImDrawFlags)(0), (float)(1.0f));
|
||||
}
|
||||
}
|
||||
public unsafe void AddRect(Vector2 pMin, Vector2 pMax, uint col, ImDrawFlags flags)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.AddRect(@this, pMin, pMax, col, (float)(0.0f), flags, (float)(1.0f));
|
||||
}
|
||||
}
|
||||
public unsafe void AddRect(Vector2 pMin, Vector2 pMax, uint col, float rounding, float thickness)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.AddRect(@this, pMin, pMax, col, rounding, (ImDrawFlags)(0), thickness);
|
||||
}
|
||||
}
|
||||
public unsafe void AddRect(Vector2 pMin, Vector2 pMax, uint col, ImDrawFlags flags, float thickness)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.AddRect(@this, pMin, pMax, col, (float)(0.0f), flags, thickness);
|
||||
}
|
||||
}
|
||||
public unsafe void AddRectFilled(Vector2 pMin, Vector2 pMax, uint col, float rounding, ImDrawFlags flags)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.AddRectFilled(@this, pMin, pMax, col, rounding, flags);
|
||||
}
|
||||
}
|
||||
public unsafe void AddRectFilled(Vector2 pMin, Vector2 pMax, uint col, float rounding)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.AddRectFilled(@this, pMin, pMax, col, rounding, (ImDrawFlags)(0));
|
||||
}
|
||||
}
|
||||
public unsafe void AddRectFilled(Vector2 pMin, Vector2 pMax, uint col)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.AddRectFilled(@this, pMin, pMax, col, (float)(0.0f), (ImDrawFlags)(0));
|
||||
}
|
||||
}
|
||||
public unsafe void AddRectFilled(Vector2 pMin, Vector2 pMax, uint col, ImDrawFlags flags)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.AddRectFilled(@this, pMin, pMax, col, (float)(0.0f), flags);
|
||||
}
|
||||
}
|
||||
public unsafe void AddRectFilledMultiColor(Vector2 pMin, Vector2 pMax, uint colUprLeft, uint colUprRight, uint colBotRight, uint colBotLeft)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.AddRectFilledMultiColor(@this, pMin, pMax, colUprLeft, colUprRight, colBotRight, colBotLeft);
|
||||
}
|
||||
}
|
||||
public unsafe void AddTriangle(Vector2 p1, Vector2 p2, Vector2 p3, uint col, float thickness)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.AddTriangle(@this, p1, p2, p3, col, thickness);
|
||||
}
|
||||
}
|
||||
public unsafe void AddTriangle(Vector2 p1, Vector2 p2, Vector2 p3, uint col)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.AddTriangle(@this, p1, p2, p3, col, (float)(1.0f));
|
||||
}
|
||||
}
|
||||
public unsafe void AddTriangleFilled(Vector2 p1, Vector2 p2, Vector2 p3, uint col)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.AddTriangleFilled(@this, p1, p2, p3, col);
|
||||
}
|
||||
}
|
||||
public unsafe void ChannelsMerge()
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.ChannelsMerge(@this);
|
||||
}
|
||||
}
|
||||
public unsafe void ChannelsSetCurrent(int n)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.ChannelsSetCurrent(@this, n);
|
||||
}
|
||||
}
|
||||
public unsafe void ChannelsSplit(int count)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.ChannelsSplit(@this, count);
|
||||
}
|
||||
}
|
||||
public unsafe ImDrawList* CloneOutput()
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImDrawList* ret = ImGuiNative.CloneOutput(@this);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
public unsafe void Destroy()
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.Destroy(@this);
|
||||
}
|
||||
}
|
||||
public unsafe void PathArcTo(Vector2 center, float radius, float aMin, float aMax, int numSegments)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.PathArcTo(@this, center, radius, aMin, aMax, numSegments);
|
||||
}
|
||||
}
|
||||
public unsafe void PathArcTo(Vector2 center, float radius, float aMin, float aMax)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.PathArcTo(@this, center, radius, aMin, aMax, (int)(0));
|
||||
}
|
||||
}
|
||||
public unsafe void PathArcToFast(Vector2 center, float radius, int aMinOf12, int aMaxOf12)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.PathArcToFast(@this, center, radius, aMinOf12, aMaxOf12);
|
||||
}
|
||||
}
|
||||
public unsafe void PathBezierCubicCurveTo(Vector2 p2, Vector2 p3, Vector2 p4, int numSegments)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.PathBezierCubicCurveTo(@this, p2, p3, p4, numSegments);
|
||||
}
|
||||
}
|
||||
public unsafe void PathBezierCubicCurveTo(Vector2 p2, Vector2 p3, Vector2 p4)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.PathBezierCubicCurveTo(@this, p2, p3, p4, (int)(0));
|
||||
}
|
||||
}
|
||||
public unsafe void PathBezierQuadraticCurveTo(Vector2 p2, Vector2 p3, int numSegments)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.PathBezierQuadraticCurveTo(@this, p2, p3, numSegments);
|
||||
}
|
||||
}
|
||||
public unsafe void PathBezierQuadraticCurveTo(Vector2 p2, Vector2 p3)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.PathBezierQuadraticCurveTo(@this, p2, p3, (int)(0));
|
||||
}
|
||||
}
|
||||
public unsafe void PathClear()
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.PathClear(@this);
|
||||
}
|
||||
}
|
||||
public unsafe void PathFillConvex(uint col)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.PathFillConvex(@this, col);
|
||||
}
|
||||
}
|
||||
public unsafe void PathLineTo(Vector2 pos)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.PathLineTo(@this, pos);
|
||||
}
|
||||
}
|
||||
public unsafe void PathLineToMergeDuplicate(Vector2 pos)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.PathLineToMergeDuplicate(@this, pos);
|
||||
}
|
||||
}
|
||||
public unsafe void PathRect(Vector2 rectMin, Vector2 rectMax, float rounding, ImDrawFlags flags)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.PathRect(@this, rectMin, rectMax, rounding, flags);
|
||||
}
|
||||
}
|
||||
public unsafe void PathRect(Vector2 rectMin, Vector2 rectMax, float rounding)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.PathRect(@this, rectMin, rectMax, rounding, (ImDrawFlags)(0));
|
||||
}
|
||||
}
|
||||
public unsafe void PathRect(Vector2 rectMin, Vector2 rectMax)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.PathRect(@this, rectMin, rectMax, (float)(0.0f), (ImDrawFlags)(0));
|
||||
}
|
||||
}
|
||||
public unsafe void PathRect(Vector2 rectMin, Vector2 rectMax, ImDrawFlags flags)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.PathRect(@this, rectMin, rectMax, (float)(0.0f), flags);
|
||||
}
|
||||
}
|
||||
public unsafe void PathStroke(uint col, ImDrawFlags flags, float thickness)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.PathStroke(@this, col, flags, thickness);
|
||||
}
|
||||
}
|
||||
public unsafe void PathStroke(uint col, ImDrawFlags flags)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.PathStroke(@this, col, flags, (float)(1.0f));
|
||||
}
|
||||
}
|
||||
public unsafe void PathStroke(uint col)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.PathStroke(@this, col, (ImDrawFlags)(0), (float)(1.0f));
|
||||
}
|
||||
}
|
||||
public unsafe void PathStroke(uint col, float thickness)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.PathStroke(@this, col, (ImDrawFlags)(0), thickness);
|
||||
}
|
||||
}
|
||||
public unsafe void PopClipRect()
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.PopClipRect(@this);
|
||||
}
|
||||
}
|
||||
public unsafe void PopTextureID()
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.PopTextureID(@this);
|
||||
}
|
||||
}
|
||||
public unsafe void PrimQuadUV(Vector2 a, Vector2 b, Vector2 c, Vector2 d, Vector2 uvA, Vector2 uvB, Vector2 uvC, Vector2 uvD, uint col)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.PrimQuadUV(@this, a, b, c, d, uvA, uvB, uvC, uvD, col);
|
||||
}
|
||||
}
|
||||
public unsafe void PrimRect(Vector2 a, Vector2 b, uint col)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.PrimRect(@this, a, b, col);
|
||||
}
|
||||
}
|
||||
public unsafe void PrimRectUV(Vector2 a, Vector2 b, Vector2 uvA, Vector2 uvB, uint col)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.PrimRectUV(@this, a, b, uvA, uvB, col);
|
||||
}
|
||||
}
|
||||
public unsafe void PrimReserve(int idxCount, int vtxCount)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.PrimReserve(@this, idxCount, vtxCount);
|
||||
}
|
||||
}
|
||||
public unsafe void PrimUnreserve(int idxCount, int vtxCount)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.PrimUnreserve(@this, idxCount, vtxCount);
|
||||
}
|
||||
}
|
||||
public unsafe void PrimVtx(Vector2 pos, Vector2 uv, uint col)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.PrimVtx(@this, pos, uv, col);
|
||||
}
|
||||
}
|
||||
public unsafe void PrimWriteIdx(ushort idx)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.PrimWriteIdx(@this, idx);
|
||||
}
|
||||
}
|
||||
public unsafe void PrimWriteVtx(Vector2 pos, Vector2 uv, uint col)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.PrimWriteVtx(@this, pos, uv, col);
|
||||
}
|
||||
}
|
||||
public unsafe void PushClipRect(Vector2 clipRectMin, Vector2 clipRectMax, bool intersectWithCurrentClipRect)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.PushClipRect(@this, clipRectMin, clipRectMax, intersectWithCurrentClipRect ? (byte)1 : (byte)0);
|
||||
}
|
||||
}
|
||||
public unsafe void PushClipRect(Vector2 clipRectMin, Vector2 clipRectMax)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.PushClipRect(@this, clipRectMin, clipRectMax, (byte)(0));
|
||||
}
|
||||
}
|
||||
public unsafe void PushClipRectFullScreen()
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.PushClipRectFullScreen(@this);
|
||||
}
|
||||
}
|
||||
public unsafe void PushTextureID(ImTextureID textureId)
|
||||
{
|
||||
fixed (ImDrawList* @this = &this)
|
||||
{
|
||||
ImGuiNative.PushTextureID(@this, textureId);
|
||||
}
|
||||
}
|
||||
}
|
||||
// DISCARDED: AddText
|
||||
|
||||
|
|
@ -0,0 +1,444 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImDrawListPtr
|
||||
{
|
||||
public unsafe int _CalcCircleAutoSegmentCount(float radius)
|
||||
{
|
||||
int ret = ImGuiNative._CalcCircleAutoSegmentCount(Handle, radius);
|
||||
return ret;
|
||||
}
|
||||
public unsafe void _ClearFreeMemory()
|
||||
{
|
||||
ImGuiNative._ClearFreeMemory(Handle);
|
||||
}
|
||||
public unsafe void _OnChangedClipRect()
|
||||
{
|
||||
ImGuiNative._OnChangedClipRect(Handle);
|
||||
}
|
||||
public unsafe void _OnChangedTextureID()
|
||||
{
|
||||
ImGuiNative._OnChangedTextureID(Handle);
|
||||
}
|
||||
public unsafe void _OnChangedVtxOffset()
|
||||
{
|
||||
ImGuiNative._OnChangedVtxOffset(Handle);
|
||||
}
|
||||
public unsafe void _PathArcToFastEx(Vector2 center, float radius, int aMinSample, int aMaxSample, int aStep)
|
||||
{
|
||||
ImGuiNative._PathArcToFastEx(Handle, center, radius, aMinSample, aMaxSample, aStep);
|
||||
}
|
||||
public unsafe void _PathArcToN(Vector2 center, float radius, float aMin, float aMax, int numSegments)
|
||||
{
|
||||
ImGuiNative._PathArcToN(Handle, center, radius, aMin, aMax, numSegments);
|
||||
}
|
||||
public unsafe void _PopUnusedDrawCmd()
|
||||
{
|
||||
ImGuiNative._PopUnusedDrawCmd(Handle);
|
||||
}
|
||||
public unsafe void _ResetForNewFrame()
|
||||
{
|
||||
ImGuiNative._ResetForNewFrame(Handle);
|
||||
}
|
||||
public unsafe void _TryMergeDrawCmds()
|
||||
{
|
||||
ImGuiNative._TryMergeDrawCmds(Handle);
|
||||
}
|
||||
public unsafe void AddBezierCubic(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col, float thickness, int numSegments)
|
||||
{
|
||||
ImGuiNative.AddBezierCubic(Handle, p1, p2, p3, p4, col, thickness, numSegments);
|
||||
}
|
||||
public unsafe void AddBezierCubic(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col, float thickness)
|
||||
{
|
||||
ImGuiNative.AddBezierCubic(Handle, p1, p2, p3, p4, col, thickness, (int)(0));
|
||||
}
|
||||
public unsafe void AddBezierQuadratic(Vector2 p1, Vector2 p2, Vector2 p3, uint col, float thickness, int numSegments)
|
||||
{
|
||||
ImGuiNative.AddBezierQuadratic(Handle, p1, p2, p3, col, thickness, numSegments);
|
||||
}
|
||||
public unsafe void AddBezierQuadratic(Vector2 p1, Vector2 p2, Vector2 p3, uint col, float thickness)
|
||||
{
|
||||
ImGuiNative.AddBezierQuadratic(Handle, p1, p2, p3, col, thickness, (int)(0));
|
||||
}
|
||||
public unsafe void AddCallback(ImDrawCallback callback, void* callbackData)
|
||||
{
|
||||
ImGuiNative.AddCallback(Handle, callback, callbackData);
|
||||
}
|
||||
public unsafe void AddCircle(Vector2 center, float radius, uint col, int numSegments, float thickness)
|
||||
{
|
||||
ImGuiNative.AddCircle(Handle, center, radius, col, numSegments, thickness);
|
||||
}
|
||||
public unsafe void AddCircle(Vector2 center, float radius, uint col, int numSegments)
|
||||
{
|
||||
ImGuiNative.AddCircle(Handle, center, radius, col, numSegments, (float)(1.0f));
|
||||
}
|
||||
public unsafe void AddCircle(Vector2 center, float radius, uint col)
|
||||
{
|
||||
ImGuiNative.AddCircle(Handle, center, radius, col, (int)(0), (float)(1.0f));
|
||||
}
|
||||
public unsafe void AddCircle(Vector2 center, float radius, uint col, float thickness)
|
||||
{
|
||||
ImGuiNative.AddCircle(Handle, center, radius, col, (int)(0), thickness);
|
||||
}
|
||||
public unsafe void AddCircleFilled(Vector2 center, float radius, uint col, int numSegments)
|
||||
{
|
||||
ImGuiNative.AddCircleFilled(Handle, center, radius, col, numSegments);
|
||||
}
|
||||
public unsafe void AddCircleFilled(Vector2 center, float radius, uint col)
|
||||
{
|
||||
ImGuiNative.AddCircleFilled(Handle, center, radius, col, (int)(0));
|
||||
}
|
||||
public unsafe void AddConvexPolyFilled(Vector2* points, int numPoints, uint col)
|
||||
{
|
||||
ImGuiNative.AddConvexPolyFilled(Handle, points, numPoints, col);
|
||||
}
|
||||
public unsafe void AddConvexPolyFilled(ref Vector2 points, int numPoints, uint col)
|
||||
{
|
||||
fixed (Vector2* ppoints = &points)
|
||||
{
|
||||
ImGuiNative.AddConvexPolyFilled(Handle, (Vector2*)ppoints, numPoints, col);
|
||||
}
|
||||
}
|
||||
public unsafe void AddDrawCmd()
|
||||
{
|
||||
ImGuiNative.AddDrawCmd(Handle);
|
||||
}
|
||||
public unsafe void AddImage(ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, Vector2 uvMax, uint col)
|
||||
{
|
||||
ImGuiNative.AddImage(Handle, userTextureId, pMin, pMax, uvMin, uvMax, col);
|
||||
}
|
||||
public unsafe void AddImage(ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, Vector2 uvMax)
|
||||
{
|
||||
ImGuiNative.AddImage(Handle, userTextureId, pMin, pMax, uvMin, uvMax, (uint)(4294967295));
|
||||
}
|
||||
public unsafe void AddImage(ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin)
|
||||
{
|
||||
ImGuiNative.AddImage(Handle, userTextureId, pMin, pMax, uvMin, (Vector2)(new Vector2(1,1)), (uint)(4294967295));
|
||||
}
|
||||
public unsafe void AddImage(ImTextureID userTextureId, Vector2 pMin, Vector2 pMax)
|
||||
{
|
||||
ImGuiNative.AddImage(Handle, userTextureId, pMin, pMax, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), (uint)(4294967295));
|
||||
}
|
||||
public unsafe void AddImage(ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, uint col)
|
||||
{
|
||||
ImGuiNative.AddImage(Handle, userTextureId, pMin, pMax, uvMin, (Vector2)(new Vector2(1,1)), col);
|
||||
}
|
||||
public unsafe void AddImage(ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, uint col)
|
||||
{
|
||||
ImGuiNative.AddImage(Handle, userTextureId, pMin, pMax, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,1)), col);
|
||||
}
|
||||
public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, Vector2 uv3, Vector2 uv4, uint col)
|
||||
{
|
||||
ImGuiNative.AddImageQuad(Handle, userTextureId, p1, p2, p3, p4, uv1, uv2, uv3, uv4, col);
|
||||
}
|
||||
public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, Vector2 uv3, Vector2 uv4)
|
||||
{
|
||||
ImGuiNative.AddImageQuad(Handle, userTextureId, p1, p2, p3, p4, uv1, uv2, uv3, uv4, (uint)(4294967295));
|
||||
}
|
||||
public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, Vector2 uv3)
|
||||
{
|
||||
ImGuiNative.AddImageQuad(Handle, userTextureId, p1, p2, p3, p4, uv1, uv2, uv3, (Vector2)(new Vector2(0,1)), (uint)(4294967295));
|
||||
}
|
||||
public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2)
|
||||
{
|
||||
ImGuiNative.AddImageQuad(Handle, userTextureId, p1, p2, p3, p4, uv1, uv2, (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), (uint)(4294967295));
|
||||
}
|
||||
public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1)
|
||||
{
|
||||
ImGuiNative.AddImageQuad(Handle, userTextureId, p1, p2, p3, p4, uv1, (Vector2)(new Vector2(1,0)), (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), (uint)(4294967295));
|
||||
}
|
||||
public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4)
|
||||
{
|
||||
ImGuiNative.AddImageQuad(Handle, userTextureId, p1, p2, p3, p4, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,0)), (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), (uint)(4294967295));
|
||||
}
|
||||
public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, Vector2 uv3, uint col)
|
||||
{
|
||||
ImGuiNative.AddImageQuad(Handle, userTextureId, p1, p2, p3, p4, uv1, uv2, uv3, (Vector2)(new Vector2(0,1)), col);
|
||||
}
|
||||
public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, Vector2 uv2, uint col)
|
||||
{
|
||||
ImGuiNative.AddImageQuad(Handle, userTextureId, p1, p2, p3, p4, uv1, uv2, (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), col);
|
||||
}
|
||||
public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, Vector2 uv1, uint col)
|
||||
{
|
||||
ImGuiNative.AddImageQuad(Handle, userTextureId, p1, p2, p3, p4, uv1, (Vector2)(new Vector2(1,0)), (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), col);
|
||||
}
|
||||
public unsafe void AddImageQuad(ImTextureID userTextureId, Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col)
|
||||
{
|
||||
ImGuiNative.AddImageQuad(Handle, userTextureId, p1, p2, p3, p4, (Vector2)(new Vector2(0,0)), (Vector2)(new Vector2(1,0)), (Vector2)(new Vector2(1,1)), (Vector2)(new Vector2(0,1)), col);
|
||||
}
|
||||
public unsafe void AddImageRounded(ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, Vector2 uvMax, uint col, float rounding, ImDrawFlags flags)
|
||||
{
|
||||
ImGuiNative.AddImageRounded(Handle, userTextureId, pMin, pMax, uvMin, uvMax, col, rounding, flags);
|
||||
}
|
||||
public unsafe void AddImageRounded(ImTextureID userTextureId, Vector2 pMin, Vector2 pMax, Vector2 uvMin, Vector2 uvMax, uint col, float rounding)
|
||||
{
|
||||
ImGuiNative.AddImageRounded(Handle, userTextureId, pMin, pMax, uvMin, uvMax, col, rounding, (ImDrawFlags)(0));
|
||||
}
|
||||
public unsafe void AddLine(Vector2 p1, Vector2 p2, uint col, float thickness)
|
||||
{
|
||||
ImGuiNative.AddLine(Handle, p1, p2, col, thickness);
|
||||
}
|
||||
public unsafe void AddLine(Vector2 p1, Vector2 p2, uint col)
|
||||
{
|
||||
ImGuiNative.AddLine(Handle, p1, p2, col, (float)(1.0f));
|
||||
}
|
||||
public unsafe void AddNgon(Vector2 center, float radius, uint col, int numSegments, float thickness)
|
||||
{
|
||||
ImGuiNative.AddNgon(Handle, center, radius, col, numSegments, thickness);
|
||||
}
|
||||
public unsafe void AddNgon(Vector2 center, float radius, uint col, int numSegments)
|
||||
{
|
||||
ImGuiNative.AddNgon(Handle, center, radius, col, numSegments, (float)(1.0f));
|
||||
}
|
||||
public unsafe void AddNgonFilled(Vector2 center, float radius, uint col, int numSegments)
|
||||
{
|
||||
ImGuiNative.AddNgonFilled(Handle, center, radius, col, numSegments);
|
||||
}
|
||||
public unsafe void AddPolyline(Vector2* points, int numPoints, uint col, ImDrawFlags flags, float thickness)
|
||||
{
|
||||
ImGuiNative.AddPolyline(Handle, points, numPoints, col, flags, thickness);
|
||||
}
|
||||
public unsafe void AddPolyline(ref Vector2 points, int numPoints, uint col, ImDrawFlags flags, float thickness)
|
||||
{
|
||||
fixed (Vector2* ppoints = &points)
|
||||
{
|
||||
ImGuiNative.AddPolyline(Handle, (Vector2*)ppoints, numPoints, col, flags, thickness);
|
||||
}
|
||||
}
|
||||
public unsafe void AddQuad(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col, float thickness)
|
||||
{
|
||||
ImGuiNative.AddQuad(Handle, p1, p2, p3, p4, col, thickness);
|
||||
}
|
||||
public unsafe void AddQuad(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col)
|
||||
{
|
||||
ImGuiNative.AddQuad(Handle, p1, p2, p3, p4, col, (float)(1.0f));
|
||||
}
|
||||
public unsafe void AddQuadFilled(Vector2 p1, Vector2 p2, Vector2 p3, Vector2 p4, uint col)
|
||||
{
|
||||
ImGuiNative.AddQuadFilled(Handle, p1, p2, p3, p4, col);
|
||||
}
|
||||
public unsafe void AddRect(Vector2 pMin, Vector2 pMax, uint col, float rounding, ImDrawFlags flags, float thickness)
|
||||
{
|
||||
ImGuiNative.AddRect(Handle, pMin, pMax, col, rounding, flags, thickness);
|
||||
}
|
||||
public unsafe void AddRect(Vector2 pMin, Vector2 pMax, uint col, float rounding, ImDrawFlags flags)
|
||||
{
|
||||
ImGuiNative.AddRect(Handle, pMin, pMax, col, rounding, flags, (float)(1.0f));
|
||||
}
|
||||
public unsafe void AddRect(Vector2 pMin, Vector2 pMax, uint col, float rounding)
|
||||
{
|
||||
ImGuiNative.AddRect(Handle, pMin, pMax, col, rounding, (ImDrawFlags)(0), (float)(1.0f));
|
||||
}
|
||||
public unsafe void AddRect(Vector2 pMin, Vector2 pMax, uint col)
|
||||
{
|
||||
ImGuiNative.AddRect(Handle, pMin, pMax, col, (float)(0.0f), (ImDrawFlags)(0), (float)(1.0f));
|
||||
}
|
||||
public unsafe void AddRect(Vector2 pMin, Vector2 pMax, uint col, ImDrawFlags flags)
|
||||
{
|
||||
ImGuiNative.AddRect(Handle, pMin, pMax, col, (float)(0.0f), flags, (float)(1.0f));
|
||||
}
|
||||
public unsafe void AddRect(Vector2 pMin, Vector2 pMax, uint col, float rounding, float thickness)
|
||||
{
|
||||
ImGuiNative.AddRect(Handle, pMin, pMax, col, rounding, (ImDrawFlags)(0), thickness);
|
||||
}
|
||||
public unsafe void AddRect(Vector2 pMin, Vector2 pMax, uint col, ImDrawFlags flags, float thickness)
|
||||
{
|
||||
ImGuiNative.AddRect(Handle, pMin, pMax, col, (float)(0.0f), flags, thickness);
|
||||
}
|
||||
public unsafe void AddRectFilled(Vector2 pMin, Vector2 pMax, uint col, float rounding, ImDrawFlags flags)
|
||||
{
|
||||
ImGuiNative.AddRectFilled(Handle, pMin, pMax, col, rounding, flags);
|
||||
}
|
||||
public unsafe void AddRectFilled(Vector2 pMin, Vector2 pMax, uint col, float rounding)
|
||||
{
|
||||
ImGuiNative.AddRectFilled(Handle, pMin, pMax, col, rounding, (ImDrawFlags)(0));
|
||||
}
|
||||
public unsafe void AddRectFilled(Vector2 pMin, Vector2 pMax, uint col)
|
||||
{
|
||||
ImGuiNative.AddRectFilled(Handle, pMin, pMax, col, (float)(0.0f), (ImDrawFlags)(0));
|
||||
}
|
||||
public unsafe void AddRectFilled(Vector2 pMin, Vector2 pMax, uint col, ImDrawFlags flags)
|
||||
{
|
||||
ImGuiNative.AddRectFilled(Handle, pMin, pMax, col, (float)(0.0f), flags);
|
||||
}
|
||||
public unsafe void AddRectFilledMultiColor(Vector2 pMin, Vector2 pMax, uint colUprLeft, uint colUprRight, uint colBotRight, uint colBotLeft)
|
||||
{
|
||||
ImGuiNative.AddRectFilledMultiColor(Handle, pMin, pMax, colUprLeft, colUprRight, colBotRight, colBotLeft);
|
||||
}
|
||||
public unsafe void AddTriangle(Vector2 p1, Vector2 p2, Vector2 p3, uint col, float thickness)
|
||||
{
|
||||
ImGuiNative.AddTriangle(Handle, p1, p2, p3, col, thickness);
|
||||
}
|
||||
public unsafe void AddTriangle(Vector2 p1, Vector2 p2, Vector2 p3, uint col)
|
||||
{
|
||||
ImGuiNative.AddTriangle(Handle, p1, p2, p3, col, (float)(1.0f));
|
||||
}
|
||||
public unsafe void AddTriangleFilled(Vector2 p1, Vector2 p2, Vector2 p3, uint col)
|
||||
{
|
||||
ImGuiNative.AddTriangleFilled(Handle, p1, p2, p3, col);
|
||||
}
|
||||
public unsafe void ChannelsMerge()
|
||||
{
|
||||
ImGuiNative.ChannelsMerge(Handle);
|
||||
}
|
||||
public unsafe void ChannelsSetCurrent(int n)
|
||||
{
|
||||
ImGuiNative.ChannelsSetCurrent(Handle, n);
|
||||
}
|
||||
public unsafe void ChannelsSplit(int count)
|
||||
{
|
||||
ImGuiNative.ChannelsSplit(Handle, count);
|
||||
}
|
||||
public unsafe ImDrawListPtr CloneOutput()
|
||||
{
|
||||
ImDrawListPtr ret = ImGuiNative.CloneOutput(Handle);
|
||||
return ret;
|
||||
}
|
||||
public unsafe void Destroy()
|
||||
{
|
||||
ImGuiNative.Destroy(Handle);
|
||||
}
|
||||
public unsafe void PathArcTo(Vector2 center, float radius, float aMin, float aMax, int numSegments)
|
||||
{
|
||||
ImGuiNative.PathArcTo(Handle, center, radius, aMin, aMax, numSegments);
|
||||
}
|
||||
public unsafe void PathArcTo(Vector2 center, float radius, float aMin, float aMax)
|
||||
{
|
||||
ImGuiNative.PathArcTo(Handle, center, radius, aMin, aMax, (int)(0));
|
||||
}
|
||||
public unsafe void PathArcToFast(Vector2 center, float radius, int aMinOf12, int aMaxOf12)
|
||||
{
|
||||
ImGuiNative.PathArcToFast(Handle, center, radius, aMinOf12, aMaxOf12);
|
||||
}
|
||||
public unsafe void PathBezierCubicCurveTo(Vector2 p2, Vector2 p3, Vector2 p4, int numSegments)
|
||||
{
|
||||
ImGuiNative.PathBezierCubicCurveTo(Handle, p2, p3, p4, numSegments);
|
||||
}
|
||||
public unsafe void PathBezierCubicCurveTo(Vector2 p2, Vector2 p3, Vector2 p4)
|
||||
{
|
||||
ImGuiNative.PathBezierCubicCurveTo(Handle, p2, p3, p4, (int)(0));
|
||||
}
|
||||
public unsafe void PathBezierQuadraticCurveTo(Vector2 p2, Vector2 p3, int numSegments)
|
||||
{
|
||||
ImGuiNative.PathBezierQuadraticCurveTo(Handle, p2, p3, numSegments);
|
||||
}
|
||||
public unsafe void PathBezierQuadraticCurveTo(Vector2 p2, Vector2 p3)
|
||||
{
|
||||
ImGuiNative.PathBezierQuadraticCurveTo(Handle, p2, p3, (int)(0));
|
||||
}
|
||||
public unsafe void PathClear()
|
||||
{
|
||||
ImGuiNative.PathClear(Handle);
|
||||
}
|
||||
public unsafe void PathFillConvex(uint col)
|
||||
{
|
||||
ImGuiNative.PathFillConvex(Handle, col);
|
||||
}
|
||||
public unsafe void PathLineTo(Vector2 pos)
|
||||
{
|
||||
ImGuiNative.PathLineTo(Handle, pos);
|
||||
}
|
||||
public unsafe void PathLineToMergeDuplicate(Vector2 pos)
|
||||
{
|
||||
ImGuiNative.PathLineToMergeDuplicate(Handle, pos);
|
||||
}
|
||||
public unsafe void PathRect(Vector2 rectMin, Vector2 rectMax, float rounding, ImDrawFlags flags)
|
||||
{
|
||||
ImGuiNative.PathRect(Handle, rectMin, rectMax, rounding, flags);
|
||||
}
|
||||
public unsafe void PathRect(Vector2 rectMin, Vector2 rectMax, float rounding)
|
||||
{
|
||||
ImGuiNative.PathRect(Handle, rectMin, rectMax, rounding, (ImDrawFlags)(0));
|
||||
}
|
||||
public unsafe void PathRect(Vector2 rectMin, Vector2 rectMax)
|
||||
{
|
||||
ImGuiNative.PathRect(Handle, rectMin, rectMax, (float)(0.0f), (ImDrawFlags)(0));
|
||||
}
|
||||
public unsafe void PathRect(Vector2 rectMin, Vector2 rectMax, ImDrawFlags flags)
|
||||
{
|
||||
ImGuiNative.PathRect(Handle, rectMin, rectMax, (float)(0.0f), flags);
|
||||
}
|
||||
public unsafe void PathStroke(uint col, ImDrawFlags flags, float thickness)
|
||||
{
|
||||
ImGuiNative.PathStroke(Handle, col, flags, thickness);
|
||||
}
|
||||
public unsafe void PathStroke(uint col, ImDrawFlags flags)
|
||||
{
|
||||
ImGuiNative.PathStroke(Handle, col, flags, (float)(1.0f));
|
||||
}
|
||||
public unsafe void PathStroke(uint col)
|
||||
{
|
||||
ImGuiNative.PathStroke(Handle, col, (ImDrawFlags)(0), (float)(1.0f));
|
||||
}
|
||||
public unsafe void PathStroke(uint col, float thickness)
|
||||
{
|
||||
ImGuiNative.PathStroke(Handle, col, (ImDrawFlags)(0), thickness);
|
||||
}
|
||||
public unsafe void PopClipRect()
|
||||
{
|
||||
ImGuiNative.PopClipRect(Handle);
|
||||
}
|
||||
public unsafe void PopTextureID()
|
||||
{
|
||||
ImGuiNative.PopTextureID(Handle);
|
||||
}
|
||||
public unsafe void PrimQuadUV(Vector2 a, Vector2 b, Vector2 c, Vector2 d, Vector2 uvA, Vector2 uvB, Vector2 uvC, Vector2 uvD, uint col)
|
||||
{
|
||||
ImGuiNative.PrimQuadUV(Handle, a, b, c, d, uvA, uvB, uvC, uvD, col);
|
||||
}
|
||||
public unsafe void PrimRect(Vector2 a, Vector2 b, uint col)
|
||||
{
|
||||
ImGuiNative.PrimRect(Handle, a, b, col);
|
||||
}
|
||||
public unsafe void PrimRectUV(Vector2 a, Vector2 b, Vector2 uvA, Vector2 uvB, uint col)
|
||||
{
|
||||
ImGuiNative.PrimRectUV(Handle, a, b, uvA, uvB, col);
|
||||
}
|
||||
public unsafe void PrimReserve(int idxCount, int vtxCount)
|
||||
{
|
||||
ImGuiNative.PrimReserve(Handle, idxCount, vtxCount);
|
||||
}
|
||||
public unsafe void PrimUnreserve(int idxCount, int vtxCount)
|
||||
{
|
||||
ImGuiNative.PrimUnreserve(Handle, idxCount, vtxCount);
|
||||
}
|
||||
public unsafe void PrimVtx(Vector2 pos, Vector2 uv, uint col)
|
||||
{
|
||||
ImGuiNative.PrimVtx(Handle, pos, uv, col);
|
||||
}
|
||||
public unsafe void PrimWriteIdx(ushort idx)
|
||||
{
|
||||
ImGuiNative.PrimWriteIdx(Handle, idx);
|
||||
}
|
||||
public unsafe void PrimWriteVtx(Vector2 pos, Vector2 uv, uint col)
|
||||
{
|
||||
ImGuiNative.PrimWriteVtx(Handle, pos, uv, col);
|
||||
}
|
||||
public unsafe void PushClipRect(Vector2 clipRectMin, Vector2 clipRectMax, bool intersectWithCurrentClipRect)
|
||||
{
|
||||
ImGuiNative.PushClipRect(Handle, clipRectMin, clipRectMax, intersectWithCurrentClipRect ? (byte)1 : (byte)0);
|
||||
}
|
||||
public unsafe void PushClipRect(Vector2 clipRectMin, Vector2 clipRectMax)
|
||||
{
|
||||
ImGuiNative.PushClipRect(Handle, clipRectMin, clipRectMax, (byte)(0));
|
||||
}
|
||||
public unsafe void PushClipRectFullScreen()
|
||||
{
|
||||
ImGuiNative.PushClipRectFullScreen(Handle);
|
||||
}
|
||||
public unsafe void PushTextureID(ImTextureID textureId)
|
||||
{
|
||||
ImGuiNative.PushTextureID(Handle, textureId);
|
||||
}
|
||||
}
|
||||
// DISCARDED: AddText
|
||||
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImDrawListPtrPtr
|
||||
{
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,22 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImDrawListSharedData
|
||||
{
|
||||
public unsafe void Destroy()
|
||||
{
|
||||
fixed (ImDrawListSharedData* @this = &this)
|
||||
{
|
||||
ImGuiNative.Destroy(@this);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImDrawListSharedDataPtr
|
||||
{
|
||||
public unsafe void Destroy()
|
||||
{
|
||||
ImGuiNative.Destroy(Handle);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,87 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImDrawListSplitter
|
||||
{
|
||||
public unsafe void Clear()
|
||||
{
|
||||
fixed (ImDrawListSplitter* @this = &this)
|
||||
{
|
||||
ImGuiNative.Clear(@this);
|
||||
}
|
||||
}
|
||||
public unsafe void ClearFreeMemory()
|
||||
{
|
||||
fixed (ImDrawListSplitter* @this = &this)
|
||||
{
|
||||
ImGuiNative.ClearFreeMemory(@this);
|
||||
}
|
||||
}
|
||||
public unsafe void Destroy()
|
||||
{
|
||||
fixed (ImDrawListSplitter* @this = &this)
|
||||
{
|
||||
ImGuiNative.Destroy(@this);
|
||||
}
|
||||
}
|
||||
public unsafe void Merge(ImDrawListPtr drawList)
|
||||
{
|
||||
fixed (ImDrawListSplitter* @this = &this)
|
||||
{
|
||||
ImGuiNative.Merge(@this, drawList);
|
||||
}
|
||||
}
|
||||
public unsafe void Merge(ref ImDrawList drawList)
|
||||
{
|
||||
fixed (ImDrawListSplitter* @this = &this)
|
||||
{
|
||||
fixed (ImDrawList* pdrawList = &drawList)
|
||||
{
|
||||
ImGuiNative.Merge(@this, (ImDrawList*)pdrawList);
|
||||
}
|
||||
}
|
||||
}
|
||||
public unsafe void SetCurrentChannel(ImDrawListPtr drawList, int channelIdx)
|
||||
{
|
||||
fixed (ImDrawListSplitter* @this = &this)
|
||||
{
|
||||
ImGuiNative.SetCurrentChannel(@this, drawList, channelIdx);
|
||||
}
|
||||
}
|
||||
public unsafe void SetCurrentChannel(ref ImDrawList drawList, int channelIdx)
|
||||
{
|
||||
fixed (ImDrawListSplitter* @this = &this)
|
||||
{
|
||||
fixed (ImDrawList* pdrawList = &drawList)
|
||||
{
|
||||
ImGuiNative.SetCurrentChannel(@this, (ImDrawList*)pdrawList, channelIdx);
|
||||
}
|
||||
}
|
||||
}
|
||||
public unsafe void Split(ImDrawListPtr drawList, int count)
|
||||
{
|
||||
fixed (ImDrawListSplitter* @this = &this)
|
||||
{
|
||||
ImGuiNative.Split(@this, drawList, count);
|
||||
}
|
||||
}
|
||||
public unsafe void Split(ref ImDrawList drawList, int count)
|
||||
{
|
||||
fixed (ImDrawListSplitter* @this = &this)
|
||||
{
|
||||
fixed (ImDrawList* pdrawList = &drawList)
|
||||
{
|
||||
ImGuiNative.Split(@this, (ImDrawList*)pdrawList, count);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,60 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImDrawListSplitterPtr
|
||||
{
|
||||
public unsafe void Clear()
|
||||
{
|
||||
ImGuiNative.Clear(Handle);
|
||||
}
|
||||
public unsafe void ClearFreeMemory()
|
||||
{
|
||||
ImGuiNative.ClearFreeMemory(Handle);
|
||||
}
|
||||
public unsafe void Destroy()
|
||||
{
|
||||
ImGuiNative.Destroy(Handle);
|
||||
}
|
||||
public unsafe void Merge(ImDrawListPtr drawList)
|
||||
{
|
||||
ImGuiNative.Merge(Handle, drawList);
|
||||
}
|
||||
public unsafe void Merge(ref ImDrawList drawList)
|
||||
{
|
||||
fixed (ImDrawList* pdrawList = &drawList)
|
||||
{
|
||||
ImGuiNative.Merge(Handle, (ImDrawList*)pdrawList);
|
||||
}
|
||||
}
|
||||
public unsafe void SetCurrentChannel(ImDrawListPtr drawList, int channelIdx)
|
||||
{
|
||||
ImGuiNative.SetCurrentChannel(Handle, drawList, channelIdx);
|
||||
}
|
||||
public unsafe void SetCurrentChannel(ref ImDrawList drawList, int channelIdx)
|
||||
{
|
||||
fixed (ImDrawList* pdrawList = &drawList)
|
||||
{
|
||||
ImGuiNative.SetCurrentChannel(Handle, (ImDrawList*)pdrawList, channelIdx);
|
||||
}
|
||||
}
|
||||
public unsafe void Split(ImDrawListPtr drawList, int count)
|
||||
{
|
||||
ImGuiNative.Split(Handle, drawList, count);
|
||||
}
|
||||
public unsafe void Split(ref ImDrawList drawList, int count)
|
||||
{
|
||||
fixed (ImDrawList* pdrawList = &drawList)
|
||||
{
|
||||
ImGuiNative.Split(Handle, (ImDrawList*)pdrawList, count);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImDrawVert
|
||||
{
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImDrawVertPtr
|
||||
{
|
||||
}
|
||||
|
||||
191
imgui/Dalamud.Bindings.ImGui/Custom/Generated/ImFont.gen.cs
Normal file
191
imgui/Dalamud.Bindings.ImGui/Custom/Generated/ImFont.gen.cs
Normal file
|
|
@ -0,0 +1,191 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImFont
|
||||
{
|
||||
public unsafe void AddGlyph(ImFontConfig* srcCfg, ushort c, int textureIndex, float x0, float y0, float x1, float y1, float u0, float v0, float u1, float v1, float advanceX)
|
||||
{
|
||||
fixed (ImFont* @this = &this)
|
||||
{
|
||||
ImGuiNative.AddGlyph(@this, srcCfg, c, textureIndex, x0, y0, x1, y1, u0, v0, u1, v1, advanceX);
|
||||
}
|
||||
}
|
||||
public unsafe void AddGlyph(ref ImFontConfig srcCfg, ushort c, int textureIndex, float x0, float y0, float x1, float y1, float u0, float v0, float u1, float v1, float advanceX)
|
||||
{
|
||||
fixed (ImFont* @this = &this)
|
||||
{
|
||||
fixed (ImFontConfig* psrcCfg = &srcCfg)
|
||||
{
|
||||
ImGuiNative.AddGlyph(@this, (ImFontConfig*)psrcCfg, c, textureIndex, x0, y0, x1, y1, u0, v0, u1, v1, advanceX);
|
||||
}
|
||||
}
|
||||
}
|
||||
public unsafe void AddKerningPair(ushort leftC, ushort rightC, float distanceAdjustment)
|
||||
{
|
||||
fixed (ImFont* @this = &this)
|
||||
{
|
||||
ImGuiNative.AddKerningPair(@this, leftC, rightC, distanceAdjustment);
|
||||
}
|
||||
}
|
||||
public unsafe void AddRemapChar(ushort dst, ushort src, bool overwriteDst)
|
||||
{
|
||||
fixed (ImFont* @this = &this)
|
||||
{
|
||||
ImGuiNative.AddRemapChar(@this, dst, src, overwriteDst ? (byte)1 : (byte)0);
|
||||
}
|
||||
}
|
||||
public unsafe void AddRemapChar(ushort dst, ushort src)
|
||||
{
|
||||
fixed (ImFont* @this = &this)
|
||||
{
|
||||
ImGuiNative.AddRemapChar(@this, dst, src, (byte)(1));
|
||||
}
|
||||
}
|
||||
public unsafe void BuildLookupTable()
|
||||
{
|
||||
fixed (ImFont* @this = &this)
|
||||
{
|
||||
ImGuiNative.BuildLookupTable(@this);
|
||||
}
|
||||
}
|
||||
public unsafe void ClearOutputData()
|
||||
{
|
||||
fixed (ImFont* @this = &this)
|
||||
{
|
||||
ImGuiNative.ClearOutputData(@this);
|
||||
}
|
||||
}
|
||||
public unsafe void Destroy()
|
||||
{
|
||||
fixed (ImFont* @this = &this)
|
||||
{
|
||||
ImGuiNative.Destroy(@this);
|
||||
}
|
||||
}
|
||||
public unsafe ImFontGlyph* FindGlyph(ushort c)
|
||||
{
|
||||
fixed (ImFont* @this = &this)
|
||||
{
|
||||
ImFontGlyph* ret = ImGuiNative.FindGlyph(@this, c);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
public unsafe ImFontGlyph* FindGlyphNoFallback(ushort c)
|
||||
{
|
||||
fixed (ImFont* @this = &this)
|
||||
{
|
||||
ImFontGlyph* ret = ImGuiNative.FindGlyphNoFallback(@this, c);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
public unsafe float GetCharAdvance(ushort c)
|
||||
{
|
||||
fixed (ImFont* @this = &this)
|
||||
{
|
||||
float ret = ImGuiNative.GetCharAdvance(@this, c);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
public unsafe byte* GetDebugName()
|
||||
{
|
||||
fixed (ImFont* @this = &this)
|
||||
{
|
||||
byte* ret = ImGuiNative.GetDebugName(@this);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
public unsafe string GetDebugNameS()
|
||||
{
|
||||
fixed (ImFont* @this = &this)
|
||||
{
|
||||
string ret = Utils.DecodeStringUTF8(ImGuiNative.GetDebugName(@this));
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
public unsafe float GetDistanceAdjustmentForPair(ushort leftC, ushort rightC)
|
||||
{
|
||||
fixed (ImFont* @this = &this)
|
||||
{
|
||||
float ret = ImGuiNative.GetDistanceAdjustmentForPair(@this, leftC, rightC);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
public unsafe float GetDistanceAdjustmentForPairFromHotData(ushort leftC, ImFontGlyphHotData* rightCInfo)
|
||||
{
|
||||
fixed (ImFont* @this = &this)
|
||||
{
|
||||
float ret = ImGuiNative.GetDistanceAdjustmentForPairFromHotData(@this, leftC, rightCInfo);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
public unsafe float GetDistanceAdjustmentForPairFromHotData(ushort leftC, ref ImFontGlyphHotData rightCInfo)
|
||||
{
|
||||
fixed (ImFont* @this = &this)
|
||||
{
|
||||
fixed (ImFontGlyphHotData* prightCInfo = &rightCInfo)
|
||||
{
|
||||
float ret = ImGuiNative.GetDistanceAdjustmentForPairFromHotData(@this, leftC, (ImFontGlyphHotData*)prightCInfo);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
}
|
||||
public unsafe void GrowIndex(int newSize)
|
||||
{
|
||||
fixed (ImFont* @this = &this)
|
||||
{
|
||||
ImGuiNative.GrowIndex(@this, newSize);
|
||||
}
|
||||
}
|
||||
public unsafe bool IsGlyphRangeUnused(uint cBegin, uint cLast)
|
||||
{
|
||||
fixed (ImFont* @this = &this)
|
||||
{
|
||||
byte ret = ImGuiNative.IsGlyphRangeUnused(@this, cBegin, cLast);
|
||||
return ret != 0;
|
||||
}
|
||||
}
|
||||
public unsafe bool IsLoaded()
|
||||
{
|
||||
fixed (ImFont* @this = &this)
|
||||
{
|
||||
byte ret = ImGuiNative.IsLoaded(@this);
|
||||
return ret != 0;
|
||||
}
|
||||
}
|
||||
public unsafe void RenderChar(ImDrawListPtr drawList, float size, Vector2 pos, uint col, ushort c)
|
||||
{
|
||||
fixed (ImFont* @this = &this)
|
||||
{
|
||||
ImGuiNative.RenderChar(@this, drawList, size, pos, col, c);
|
||||
}
|
||||
}
|
||||
public unsafe void RenderChar(ref ImDrawList drawList, float size, Vector2 pos, uint col, ushort c)
|
||||
{
|
||||
fixed (ImFont* @this = &this)
|
||||
{
|
||||
fixed (ImDrawList* pdrawList = &drawList)
|
||||
{
|
||||
ImGuiNative.RenderChar(@this, (ImDrawList*)pdrawList, size, pos, col, c);
|
||||
}
|
||||
}
|
||||
}
|
||||
public unsafe void SetGlyphVisible(ushort c, bool visible)
|
||||
{
|
||||
fixed (ImFont* @this = &this)
|
||||
{
|
||||
ImGuiNative.SetGlyphVisible(@this, c, visible ? (byte)1 : (byte)0);
|
||||
}
|
||||
}
|
||||
}
|
||||
// DISCARDED: CalcWordWrapPositionA
|
||||
// DISCARDED: CalcWordWrapPositionAS
|
||||
// DISCARDED: RenderText
|
||||
|
||||
1832
imgui/Dalamud.Bindings.ImGui/Custom/Generated/ImFontAtlas.gen.cs
Normal file
1832
imgui/Dalamud.Bindings.ImGui/Custom/Generated/ImFontAtlas.gen.cs
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,30 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImFontAtlasCustomRect
|
||||
{
|
||||
public unsafe void Destroy()
|
||||
{
|
||||
fixed (ImFontAtlasCustomRect* @this = &this)
|
||||
{
|
||||
ImGuiNative.Destroy(@this);
|
||||
}
|
||||
}
|
||||
public unsafe bool IsPacked()
|
||||
{
|
||||
fixed (ImFontAtlasCustomRect* @this = &this)
|
||||
{
|
||||
byte ret = ImGuiNative.IsPacked(@this);
|
||||
return ret != 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,24 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImFontAtlasCustomRectPtr
|
||||
{
|
||||
public unsafe void Destroy()
|
||||
{
|
||||
ImGuiNative.Destroy(Handle);
|
||||
}
|
||||
public unsafe bool IsPacked()
|
||||
{
|
||||
byte ret = ImGuiNative.IsPacked(Handle);
|
||||
return ret != 0;
|
||||
}
|
||||
}
|
||||
|
||||
1412
imgui/Dalamud.Bindings.ImGui/Custom/Generated/ImFontAtlasPtr.gen.cs
Normal file
1412
imgui/Dalamud.Bindings.ImGui/Custom/Generated/ImFontAtlasPtr.gen.cs
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,15 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImFontAtlasTexture
|
||||
{
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImFontAtlasTexturePtr
|
||||
{
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImFontBuilderIO
|
||||
{
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImFontBuilderIOPtr
|
||||
{
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,22 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImFontConfig
|
||||
{
|
||||
public unsafe void Destroy()
|
||||
{
|
||||
fixed (ImFontConfig* @this = &this)
|
||||
{
|
||||
ImGuiNative.Destroy(@this);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImFontConfigPtr
|
||||
{
|
||||
public unsafe void Destroy()
|
||||
{
|
||||
ImGuiNative.Destroy(Handle);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImFontGlyph
|
||||
{
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImFontGlyphHotData
|
||||
{
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImFontGlyphHotDataPtr
|
||||
{
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImFontGlyphPtr
|
||||
{
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,76 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImFontGlyphRangesBuilder
|
||||
{
|
||||
public unsafe void AddChar(ushort c)
|
||||
{
|
||||
fixed (ImFontGlyphRangesBuilder* @this = &this)
|
||||
{
|
||||
ImGuiNative.AddChar(@this, c);
|
||||
}
|
||||
}
|
||||
public unsafe void AddRanges(ushort* ranges)
|
||||
{
|
||||
fixed (ImFontGlyphRangesBuilder* @this = &this)
|
||||
{
|
||||
ImGuiNative.AddRanges(@this, ranges);
|
||||
}
|
||||
}
|
||||
public unsafe void BuildRanges(ImVector<ushort>* outRanges)
|
||||
{
|
||||
fixed (ImFontGlyphRangesBuilder* @this = &this)
|
||||
{
|
||||
ImGuiNative.BuildRanges(@this, outRanges);
|
||||
}
|
||||
}
|
||||
public unsafe void BuildRanges(ref ImVector<ushort> outRanges)
|
||||
{
|
||||
fixed (ImFontGlyphRangesBuilder* @this = &this)
|
||||
{
|
||||
fixed (ImVector<ushort>* poutRanges = &outRanges)
|
||||
{
|
||||
ImGuiNative.BuildRanges(@this, (ImVector<ushort>*)poutRanges);
|
||||
}
|
||||
}
|
||||
}
|
||||
public unsafe void Clear()
|
||||
{
|
||||
fixed (ImFontGlyphRangesBuilder* @this = &this)
|
||||
{
|
||||
ImGuiNative.Clear(@this);
|
||||
}
|
||||
}
|
||||
public unsafe void Destroy()
|
||||
{
|
||||
fixed (ImFontGlyphRangesBuilder* @this = &this)
|
||||
{
|
||||
ImGuiNative.Destroy(@this);
|
||||
}
|
||||
}
|
||||
public unsafe bool GetBit(nuint n)
|
||||
{
|
||||
fixed (ImFontGlyphRangesBuilder* @this = &this)
|
||||
{
|
||||
byte ret = ImGuiNative.GetBit(@this, n);
|
||||
return ret != 0;
|
||||
}
|
||||
}
|
||||
public unsafe void SetBit(nuint n)
|
||||
{
|
||||
fixed (ImFontGlyphRangesBuilder* @this = &this)
|
||||
{
|
||||
ImGuiNative.SetBit(@this, n);
|
||||
}
|
||||
}
|
||||
}
|
||||
// DISCARDED: AddText
|
||||
|
||||
|
|
@ -0,0 +1,52 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImFontGlyphRangesBuilderPtr
|
||||
{
|
||||
public unsafe void AddChar(ushort c)
|
||||
{
|
||||
ImGuiNative.AddChar(Handle, c);
|
||||
}
|
||||
public unsafe void AddRanges(ushort* ranges)
|
||||
{
|
||||
ImGuiNative.AddRanges(Handle, ranges);
|
||||
}
|
||||
public unsafe void BuildRanges(ImVector<ushort>* outRanges)
|
||||
{
|
||||
ImGuiNative.BuildRanges(Handle, outRanges);
|
||||
}
|
||||
public unsafe void BuildRanges(ref ImVector<ushort> outRanges)
|
||||
{
|
||||
fixed (ImVector<ushort>* poutRanges = &outRanges)
|
||||
{
|
||||
ImGuiNative.BuildRanges(Handle, (ImVector<ushort>*)poutRanges);
|
||||
}
|
||||
}
|
||||
public unsafe void Clear()
|
||||
{
|
||||
ImGuiNative.Clear(Handle);
|
||||
}
|
||||
public unsafe void Destroy()
|
||||
{
|
||||
ImGuiNative.Destroy(Handle);
|
||||
}
|
||||
public unsafe bool GetBit(nuint n)
|
||||
{
|
||||
byte ret = ImGuiNative.GetBit(Handle, n);
|
||||
return ret != 0;
|
||||
}
|
||||
public unsafe void SetBit(nuint n)
|
||||
{
|
||||
ImGuiNative.SetBit(Handle, n);
|
||||
}
|
||||
}
|
||||
// DISCARDED: AddText
|
||||
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImFontKerningPair
|
||||
{
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImFontKerningPairPtr
|
||||
{
|
||||
}
|
||||
|
||||
125
imgui/Dalamud.Bindings.ImGui/Custom/Generated/ImFontPtr.gen.cs
Normal file
125
imgui/Dalamud.Bindings.ImGui/Custom/Generated/ImFontPtr.gen.cs
Normal file
|
|
@ -0,0 +1,125 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImFontPtr
|
||||
{
|
||||
public unsafe void AddGlyph(ImFontConfig* srcCfg, ushort c, int textureIndex, float x0, float y0, float x1, float y1, float u0, float v0, float u1, float v1, float advanceX)
|
||||
{
|
||||
ImGuiNative.AddGlyph(Handle, srcCfg, c, textureIndex, x0, y0, x1, y1, u0, v0, u1, v1, advanceX);
|
||||
}
|
||||
public unsafe void AddGlyph(ref ImFontConfig srcCfg, ushort c, int textureIndex, float x0, float y0, float x1, float y1, float u0, float v0, float u1, float v1, float advanceX)
|
||||
{
|
||||
fixed (ImFontConfig* psrcCfg = &srcCfg)
|
||||
{
|
||||
ImGuiNative.AddGlyph(Handle, (ImFontConfig*)psrcCfg, c, textureIndex, x0, y0, x1, y1, u0, v0, u1, v1, advanceX);
|
||||
}
|
||||
}
|
||||
public unsafe void AddKerningPair(ushort leftC, ushort rightC, float distanceAdjustment)
|
||||
{
|
||||
ImGuiNative.AddKerningPair(Handle, leftC, rightC, distanceAdjustment);
|
||||
}
|
||||
public unsafe void AddRemapChar(ushort dst, ushort src, bool overwriteDst)
|
||||
{
|
||||
ImGuiNative.AddRemapChar(Handle, dst, src, overwriteDst ? (byte)1 : (byte)0);
|
||||
}
|
||||
public unsafe void AddRemapChar(ushort dst, ushort src)
|
||||
{
|
||||
ImGuiNative.AddRemapChar(Handle, dst, src, (byte)(1));
|
||||
}
|
||||
public unsafe void BuildLookupTable()
|
||||
{
|
||||
ImGuiNative.BuildLookupTable(Handle);
|
||||
}
|
||||
public unsafe void ClearOutputData()
|
||||
{
|
||||
ImGuiNative.ClearOutputData(Handle);
|
||||
}
|
||||
public unsafe void Destroy()
|
||||
{
|
||||
ImGuiNative.Destroy(Handle);
|
||||
}
|
||||
public unsafe ImFontGlyph* FindGlyph(ushort c)
|
||||
{
|
||||
ImFontGlyph* ret = ImGuiNative.FindGlyph(Handle, c);
|
||||
return ret;
|
||||
}
|
||||
public unsafe ImFontGlyph* FindGlyphNoFallback(ushort c)
|
||||
{
|
||||
ImFontGlyph* ret = ImGuiNative.FindGlyphNoFallback(Handle, c);
|
||||
return ret;
|
||||
}
|
||||
public unsafe float GetCharAdvance(ushort c)
|
||||
{
|
||||
float ret = ImGuiNative.GetCharAdvance(Handle, c);
|
||||
return ret;
|
||||
}
|
||||
public unsafe byte* GetDebugName()
|
||||
{
|
||||
byte* ret = ImGuiNative.GetDebugName(Handle);
|
||||
return ret;
|
||||
}
|
||||
public unsafe string GetDebugNameS()
|
||||
{
|
||||
string ret = Utils.DecodeStringUTF8(ImGuiNative.GetDebugName(Handle));
|
||||
return ret;
|
||||
}
|
||||
public unsafe float GetDistanceAdjustmentForPair(ushort leftC, ushort rightC)
|
||||
{
|
||||
float ret = ImGuiNative.GetDistanceAdjustmentForPair(Handle, leftC, rightC);
|
||||
return ret;
|
||||
}
|
||||
public unsafe float GetDistanceAdjustmentForPairFromHotData(ushort leftC, ImFontGlyphHotData* rightCInfo)
|
||||
{
|
||||
float ret = ImGuiNative.GetDistanceAdjustmentForPairFromHotData(Handle, leftC, rightCInfo);
|
||||
return ret;
|
||||
}
|
||||
public unsafe float GetDistanceAdjustmentForPairFromHotData(ushort leftC, ref ImFontGlyphHotData rightCInfo)
|
||||
{
|
||||
fixed (ImFontGlyphHotData* prightCInfo = &rightCInfo)
|
||||
{
|
||||
float ret = ImGuiNative.GetDistanceAdjustmentForPairFromHotData(Handle, leftC, (ImFontGlyphHotData*)prightCInfo);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
public unsafe void GrowIndex(int newSize)
|
||||
{
|
||||
ImGuiNative.GrowIndex(Handle, newSize);
|
||||
}
|
||||
public unsafe bool IsGlyphRangeUnused(uint cBegin, uint cLast)
|
||||
{
|
||||
byte ret = ImGuiNative.IsGlyphRangeUnused(Handle, cBegin, cLast);
|
||||
return ret != 0;
|
||||
}
|
||||
public unsafe bool IsLoaded()
|
||||
{
|
||||
byte ret = ImGuiNative.IsLoaded(Handle);
|
||||
return ret != 0;
|
||||
}
|
||||
public unsafe void RenderChar(ImDrawListPtr drawList, float size, Vector2 pos, uint col, ushort c)
|
||||
{
|
||||
ImGuiNative.RenderChar(Handle, drawList, size, pos, col, c);
|
||||
}
|
||||
public unsafe void RenderChar(ref ImDrawList drawList, float size, Vector2 pos, uint col, ushort c)
|
||||
{
|
||||
fixed (ImDrawList* pdrawList = &drawList)
|
||||
{
|
||||
ImGuiNative.RenderChar(Handle, (ImDrawList*)pdrawList, size, pos, col, c);
|
||||
}
|
||||
}
|
||||
public unsafe void SetGlyphVisible(ushort c, bool visible)
|
||||
{
|
||||
ImGuiNative.SetGlyphVisible(Handle, c, visible ? (byte)1 : (byte)0);
|
||||
}
|
||||
}
|
||||
// DISCARDED: CalcWordWrapPositionA
|
||||
// DISCARDED: CalcWordWrapPositionAS
|
||||
// DISCARDED: RenderText
|
||||
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImFontPtrPtr
|
||||
{
|
||||
}
|
||||
|
||||
22566
imgui/Dalamud.Bindings.ImGui/Custom/Generated/ImGui.gen.cs
Normal file
22566
imgui/Dalamud.Bindings.ImGui/Custom/Generated/ImGui.gen.cs
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,15 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImGuiColorMod
|
||||
{
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImGuiColorModPtr
|
||||
{
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,22 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImGuiComboPreviewData
|
||||
{
|
||||
public unsafe void Destroy()
|
||||
{
|
||||
fixed (ImGuiComboPreviewData* @this = &this)
|
||||
{
|
||||
ImGuiNative.Destroy(@this);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImGuiComboPreviewDataPtr
|
||||
{
|
||||
public unsafe void Destroy()
|
||||
{
|
||||
ImGuiNative.Destroy(Handle);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,22 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImGuiContext
|
||||
{
|
||||
public unsafe void Destroy()
|
||||
{
|
||||
fixed (ImGuiContext* @this = &this)
|
||||
{
|
||||
ImGuiNative.Destroy(@this);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,22 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImGuiContextHook
|
||||
{
|
||||
public unsafe void Destroy()
|
||||
{
|
||||
fixed (ImGuiContextHook* @this = &this)
|
||||
{
|
||||
ImGuiNative.Destroy(@this);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImGuiContextHookPtr
|
||||
{
|
||||
public unsafe void Destroy()
|
||||
{
|
||||
ImGuiNative.Destroy(Handle);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImGuiContextPtr
|
||||
{
|
||||
public unsafe void Destroy()
|
||||
{
|
||||
ImGuiNative.Destroy(Handle);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImGuiDataTypeInfo
|
||||
{
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImGuiDataTypeInfoPtr
|
||||
{
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImGuiDataTypeTempStorage
|
||||
{
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,22 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImGuiDockContext
|
||||
{
|
||||
public unsafe void Destroy()
|
||||
{
|
||||
fixed (ImGuiDockContext* @this = &this)
|
||||
{
|
||||
ImGuiNative.Destroy(@this);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImGuiDockContextPtr
|
||||
{
|
||||
public unsafe void Destroy()
|
||||
{
|
||||
ImGuiNative.Destroy(Handle);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImGuiDockNode
|
||||
{
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImGuiDockNodePtr
|
||||
{
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImGuiDockNodeSettings
|
||||
{
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImGuiDockNodeSettingsPtr
|
||||
{
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImGuiDockRequest
|
||||
{
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImGuiDockRequestPtr
|
||||
{
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImGuiGroupData
|
||||
{
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImGuiGroupDataPtr
|
||||
{
|
||||
}
|
||||
|
||||
175
imgui/Dalamud.Bindings.ImGui/Custom/Generated/ImGuiIO.gen.cs
Normal file
175
imgui/Dalamud.Bindings.ImGui/Custom/Generated/ImGuiIO.gen.cs
Normal file
|
|
@ -0,0 +1,175 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImGuiIO
|
||||
{
|
||||
public unsafe void AddFocusEvent(bool focused)
|
||||
{
|
||||
fixed (ImGuiIO* @this = &this)
|
||||
{
|
||||
ImGuiNative.AddFocusEvent(@this, focused ? (byte)1 : (byte)0);
|
||||
}
|
||||
}
|
||||
public unsafe void AddInputCharacter(uint c)
|
||||
{
|
||||
fixed (ImGuiIO* @this = &this)
|
||||
{
|
||||
ImGuiNative.AddInputCharacter(@this, c);
|
||||
}
|
||||
}
|
||||
public unsafe void AddInputCharactersUTF8(byte* str)
|
||||
{
|
||||
fixed (ImGuiIO* @this = &this)
|
||||
{
|
||||
ImGuiNative.AddInputCharactersUTF8(@this, str);
|
||||
}
|
||||
}
|
||||
public unsafe void AddInputCharactersUTF8(ref byte str)
|
||||
{
|
||||
fixed (ImGuiIO* @this = &this)
|
||||
{
|
||||
fixed (byte* pstr = &str)
|
||||
{
|
||||
ImGuiNative.AddInputCharactersUTF8(@this, (byte*)pstr);
|
||||
}
|
||||
}
|
||||
}
|
||||
public unsafe void AddInputCharactersUTF8(ReadOnlySpan<byte> str)
|
||||
{
|
||||
fixed (ImGuiIO* @this = &this)
|
||||
{
|
||||
fixed (byte* pstr = str)
|
||||
{
|
||||
ImGuiNative.AddInputCharactersUTF8(@this, (byte*)pstr);
|
||||
}
|
||||
}
|
||||
}
|
||||
public unsafe void AddInputCharactersUTF8(string str)
|
||||
{
|
||||
fixed (ImGuiIO* @this = &this)
|
||||
{
|
||||
byte* pStr0 = null;
|
||||
int pStrSize0 = 0;
|
||||
if (str != null)
|
||||
{
|
||||
pStrSize0 = Utils.GetByteCountUTF8(str);
|
||||
if (pStrSize0 >= Utils.MaxStackallocSize)
|
||||
{
|
||||
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
|
||||
}
|
||||
else
|
||||
{
|
||||
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
|
||||
pStr0 = pStrStack0;
|
||||
}
|
||||
int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0);
|
||||
pStr0[pStrOffset0] = 0;
|
||||
}
|
||||
ImGuiNative.AddInputCharactersUTF8(@this, pStr0);
|
||||
if (pStrSize0 >= Utils.MaxStackallocSize)
|
||||
{
|
||||
Utils.Free(pStr0);
|
||||
}
|
||||
}
|
||||
}
|
||||
public unsafe void AddInputCharacterUTF16(ushort c)
|
||||
{
|
||||
fixed (ImGuiIO* @this = &this)
|
||||
{
|
||||
ImGuiNative.AddInputCharacterUTF16(@this, c);
|
||||
}
|
||||
}
|
||||
public unsafe void AddKeyAnalogEvent(ImGuiKey key, bool down, float v)
|
||||
{
|
||||
fixed (ImGuiIO* @this = &this)
|
||||
{
|
||||
ImGuiNative.AddKeyAnalogEvent(@this, key, down ? (byte)1 : (byte)0, v);
|
||||
}
|
||||
}
|
||||
public unsafe void AddKeyEvent(ImGuiKey key, bool down)
|
||||
{
|
||||
fixed (ImGuiIO* @this = &this)
|
||||
{
|
||||
ImGuiNative.AddKeyEvent(@this, key, down ? (byte)1 : (byte)0);
|
||||
}
|
||||
}
|
||||
public unsafe void AddMouseButtonEvent(int button, bool down)
|
||||
{
|
||||
fixed (ImGuiIO* @this = &this)
|
||||
{
|
||||
ImGuiNative.AddMouseButtonEvent(@this, button, down ? (byte)1 : (byte)0);
|
||||
}
|
||||
}
|
||||
public unsafe void AddMousePosEvent(float x, float y)
|
||||
{
|
||||
fixed (ImGuiIO* @this = &this)
|
||||
{
|
||||
ImGuiNative.AddMousePosEvent(@this, x, y);
|
||||
}
|
||||
}
|
||||
public unsafe void AddMouseViewportEvent(uint id)
|
||||
{
|
||||
fixed (ImGuiIO* @this = &this)
|
||||
{
|
||||
ImGuiNative.AddMouseViewportEvent(@this, id);
|
||||
}
|
||||
}
|
||||
public unsafe void AddMouseWheelEvent(float whX, float whY)
|
||||
{
|
||||
fixed (ImGuiIO* @this = &this)
|
||||
{
|
||||
ImGuiNative.AddMouseWheelEvent(@this, whX, whY);
|
||||
}
|
||||
}
|
||||
public unsafe void ClearInputCharacters()
|
||||
{
|
||||
fixed (ImGuiIO* @this = &this)
|
||||
{
|
||||
ImGuiNative.ClearInputCharacters(@this);
|
||||
}
|
||||
}
|
||||
public unsafe void ClearInputKeys()
|
||||
{
|
||||
fixed (ImGuiIO* @this = &this)
|
||||
{
|
||||
ImGuiNative.ClearInputKeys(@this);
|
||||
}
|
||||
}
|
||||
public unsafe void Destroy()
|
||||
{
|
||||
fixed (ImGuiIO* @this = &this)
|
||||
{
|
||||
ImGuiNative.Destroy(@this);
|
||||
}
|
||||
}
|
||||
public unsafe void SetAppAcceptingEvents(bool acceptingEvents)
|
||||
{
|
||||
fixed (ImGuiIO* @this = &this)
|
||||
{
|
||||
ImGuiNative.SetAppAcceptingEvents(@this, acceptingEvents ? (byte)1 : (byte)0);
|
||||
}
|
||||
}
|
||||
public unsafe void SetKeyEventNativeData(ImGuiKey key, int nativeKeycode, int nativeScancode, int nativeLegacyIndex)
|
||||
{
|
||||
fixed (ImGuiIO* @this = &this)
|
||||
{
|
||||
ImGuiNative.SetKeyEventNativeData(@this, key, nativeKeycode, nativeScancode, nativeLegacyIndex);
|
||||
}
|
||||
}
|
||||
public unsafe void SetKeyEventNativeData(ImGuiKey key, int nativeKeycode, int nativeScancode)
|
||||
{
|
||||
fixed (ImGuiIO* @this = &this)
|
||||
{
|
||||
ImGuiNative.SetKeyEventNativeData(@this, key, nativeKeycode, nativeScancode, (int)(-1));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
118
imgui/Dalamud.Bindings.ImGui/Custom/Generated/ImGuiIOPtr.gen.cs
Normal file
118
imgui/Dalamud.Bindings.ImGui/Custom/Generated/ImGuiIOPtr.gen.cs
Normal file
|
|
@ -0,0 +1,118 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImGuiIOPtr
|
||||
{
|
||||
public unsafe void AddFocusEvent(bool focused)
|
||||
{
|
||||
ImGuiNative.AddFocusEvent(Handle, focused ? (byte)1 : (byte)0);
|
||||
}
|
||||
public unsafe void AddInputCharacter(uint c)
|
||||
{
|
||||
ImGuiNative.AddInputCharacter(Handle, c);
|
||||
}
|
||||
public unsafe void AddInputCharactersUTF8(byte* str)
|
||||
{
|
||||
ImGuiNative.AddInputCharactersUTF8(Handle, str);
|
||||
}
|
||||
public unsafe void AddInputCharactersUTF8(ref byte str)
|
||||
{
|
||||
fixed (byte* pstr = &str)
|
||||
{
|
||||
ImGuiNative.AddInputCharactersUTF8(Handle, (byte*)pstr);
|
||||
}
|
||||
}
|
||||
public unsafe void AddInputCharactersUTF8(ReadOnlySpan<byte> str)
|
||||
{
|
||||
fixed (byte* pstr = str)
|
||||
{
|
||||
ImGuiNative.AddInputCharactersUTF8(Handle, (byte*)pstr);
|
||||
}
|
||||
}
|
||||
public unsafe void AddInputCharactersUTF8(string str)
|
||||
{
|
||||
byte* pStr0 = null;
|
||||
int pStrSize0 = 0;
|
||||
if (str != null)
|
||||
{
|
||||
pStrSize0 = Utils.GetByteCountUTF8(str);
|
||||
if (pStrSize0 >= Utils.MaxStackallocSize)
|
||||
{
|
||||
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
|
||||
}
|
||||
else
|
||||
{
|
||||
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
|
||||
pStr0 = pStrStack0;
|
||||
}
|
||||
int pStrOffset0 = Utils.EncodeStringUTF8(str, pStr0, pStrSize0);
|
||||
pStr0[pStrOffset0] = 0;
|
||||
}
|
||||
ImGuiNative.AddInputCharactersUTF8(Handle, pStr0);
|
||||
if (pStrSize0 >= Utils.MaxStackallocSize)
|
||||
{
|
||||
Utils.Free(pStr0);
|
||||
}
|
||||
}
|
||||
public unsafe void AddInputCharacterUTF16(ushort c)
|
||||
{
|
||||
ImGuiNative.AddInputCharacterUTF16(Handle, c);
|
||||
}
|
||||
public unsafe void AddKeyAnalogEvent(ImGuiKey key, bool down, float v)
|
||||
{
|
||||
ImGuiNative.AddKeyAnalogEvent(Handle, key, down ? (byte)1 : (byte)0, v);
|
||||
}
|
||||
public unsafe void AddKeyEvent(ImGuiKey key, bool down)
|
||||
{
|
||||
ImGuiNative.AddKeyEvent(Handle, key, down ? (byte)1 : (byte)0);
|
||||
}
|
||||
public unsafe void AddMouseButtonEvent(int button, bool down)
|
||||
{
|
||||
ImGuiNative.AddMouseButtonEvent(Handle, button, down ? (byte)1 : (byte)0);
|
||||
}
|
||||
public unsafe void AddMousePosEvent(float x, float y)
|
||||
{
|
||||
ImGuiNative.AddMousePosEvent(Handle, x, y);
|
||||
}
|
||||
public unsafe void AddMouseViewportEvent(uint id)
|
||||
{
|
||||
ImGuiNative.AddMouseViewportEvent(Handle, id);
|
||||
}
|
||||
public unsafe void AddMouseWheelEvent(float whX, float whY)
|
||||
{
|
||||
ImGuiNative.AddMouseWheelEvent(Handle, whX, whY);
|
||||
}
|
||||
public unsafe void ClearInputCharacters()
|
||||
{
|
||||
ImGuiNative.ClearInputCharacters(Handle);
|
||||
}
|
||||
public unsafe void ClearInputKeys()
|
||||
{
|
||||
ImGuiNative.ClearInputKeys(Handle);
|
||||
}
|
||||
public unsafe void Destroy()
|
||||
{
|
||||
ImGuiNative.Destroy(Handle);
|
||||
}
|
||||
public unsafe void SetAppAcceptingEvents(bool acceptingEvents)
|
||||
{
|
||||
ImGuiNative.SetAppAcceptingEvents(Handle, acceptingEvents ? (byte)1 : (byte)0);
|
||||
}
|
||||
public unsafe void SetKeyEventNativeData(ImGuiKey key, int nativeKeycode, int nativeScancode, int nativeLegacyIndex)
|
||||
{
|
||||
ImGuiNative.SetKeyEventNativeData(Handle, key, nativeKeycode, nativeScancode, nativeLegacyIndex);
|
||||
}
|
||||
public unsafe void SetKeyEventNativeData(ImGuiKey key, int nativeKeycode, int nativeScancode)
|
||||
{
|
||||
ImGuiNative.SetKeyEventNativeData(Handle, key, nativeKeycode, nativeScancode, (int)(-1));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,22 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImGuiInputEvent
|
||||
{
|
||||
public unsafe void Destroy()
|
||||
{
|
||||
fixed (ImGuiInputEvent* @this = &this)
|
||||
{
|
||||
ImGuiNative.Destroy(@this);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImGuiInputEventAppFocused
|
||||
{
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImGuiInputEventKey
|
||||
{
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImGuiInputEventMouseButton
|
||||
{
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImGuiInputEventMousePos
|
||||
{
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImGuiInputEventMouseViewport
|
||||
{
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImGuiInputEventMouseWheel
|
||||
{
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImGuiInputEventPtr
|
||||
{
|
||||
public unsafe void Destroy()
|
||||
{
|
||||
ImGuiNative.Destroy(Handle);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImGuiInputEventText
|
||||
{
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,52 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImGuiInputTextCallbackData
|
||||
{
|
||||
public unsafe void ClearSelection()
|
||||
{
|
||||
fixed (ImGuiInputTextCallbackData* @this = &this)
|
||||
{
|
||||
ImGuiNative.ClearSelection(@this);
|
||||
}
|
||||
}
|
||||
public unsafe void DeleteChars(int pos, int bytesCount)
|
||||
{
|
||||
fixed (ImGuiInputTextCallbackData* @this = &this)
|
||||
{
|
||||
ImGuiNative.DeleteChars(@this, pos, bytesCount);
|
||||
}
|
||||
}
|
||||
public unsafe void Destroy()
|
||||
{
|
||||
fixed (ImGuiInputTextCallbackData* @this = &this)
|
||||
{
|
||||
ImGuiNative.Destroy(@this);
|
||||
}
|
||||
}
|
||||
public unsafe bool HasSelection()
|
||||
{
|
||||
fixed (ImGuiInputTextCallbackData* @this = &this)
|
||||
{
|
||||
byte ret = ImGuiNative.HasSelection(@this);
|
||||
return ret != 0;
|
||||
}
|
||||
}
|
||||
public unsafe void SelectAll()
|
||||
{
|
||||
fixed (ImGuiInputTextCallbackData* @this = &this)
|
||||
{
|
||||
ImGuiNative.SelectAll(@this);
|
||||
}
|
||||
}
|
||||
}
|
||||
// DISCARDED: InsertChars
|
||||
|
||||
|
|
@ -0,0 +1,37 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImGuiInputTextCallbackDataPtr
|
||||
{
|
||||
public unsafe void ClearSelection()
|
||||
{
|
||||
ImGuiNative.ClearSelection(Handle);
|
||||
}
|
||||
public unsafe void DeleteChars(int pos, int bytesCount)
|
||||
{
|
||||
ImGuiNative.DeleteChars(Handle, pos, bytesCount);
|
||||
}
|
||||
public unsafe void Destroy()
|
||||
{
|
||||
ImGuiNative.Destroy(Handle);
|
||||
}
|
||||
public unsafe bool HasSelection()
|
||||
{
|
||||
byte ret = ImGuiNative.HasSelection(Handle);
|
||||
return ret != 0;
|
||||
}
|
||||
public unsafe void SelectAll()
|
||||
{
|
||||
ImGuiNative.SelectAll(Handle);
|
||||
}
|
||||
}
|
||||
// DISCARDED: InsertChars
|
||||
|
||||
|
|
@ -0,0 +1,22 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImGuiInputTextState
|
||||
{
|
||||
public unsafe void Destroy()
|
||||
{
|
||||
fixed (ImGuiInputTextState* @this = &this)
|
||||
{
|
||||
ImGuiNative.Destroy(@this);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImGuiInputTextStatePtr
|
||||
{
|
||||
public unsafe void Destroy()
|
||||
{
|
||||
ImGuiNative.Destroy(Handle);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImGuiKeyData
|
||||
{
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImGuiKeyDataPtr
|
||||
{
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,22 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImGuiLastItemData
|
||||
{
|
||||
public unsafe void Destroy()
|
||||
{
|
||||
fixed (ImGuiLastItemData* @this = &this)
|
||||
{
|
||||
ImGuiNative.Destroy(@this);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
// <auto-generated/>
|
||||
|
||||
using HexaGen.Runtime;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Numerics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Dalamud.Bindings.ImGui;
|
||||
|
||||
public unsafe partial struct ImGuiLastItemDataPtr
|
||||
{
|
||||
public unsafe void Destroy()
|
||||
{
|
||||
ImGuiNative.Destroy(Handle);
|
||||
}
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue