SOURCE DUMP v1

This commit is contained in:
Rian Drake 2026-10-15 14:09:11 +13:00
commit fb20299e9d
1138 changed files with 768360 additions and 0 deletions

View file

@ -0,0 +1,245 @@
using System.Globalization;
using CommunityToolkit.HighPerformance;
using Backend32 = System.Int32;
using Backend64 = System.Int64;
using Backend8 = System.Byte;
namespace Brutal;
/// An argument meant to be passed to a C++ variadic function,
/// in <a href="https://en.cppreference.com/w/cpp/utility/variadic/va_list.html">va_list</a> flavor, eg vprintf.
public readonly struct VariadicArgument
{
public readonly TypeCode Type;
public readonly Backend64 Value64;
public readonly string? ValueString;
private VariadicArgument(TypeCode type, Backend64 value)
{
Type = type;
Value64 = value;
}
public VariadicArgument(string? value)
{
Type = TypeCode.String;
ValueString = value;
}
public static implicit operator VariadicArgument(Char16 value) => new(TypeCode.Char, (Char8)value);
public static implicit operator VariadicArgument(int value) => new(TypeCode.Int32, As<int, Backend32>(value));
public static implicit operator VariadicArgument(uint value) => new(TypeCode.UInt32, As<uint, Backend32>(value));
public static implicit operator VariadicArgument(long value) => new(TypeCode.Int64, As<long, Backend64>(value));
public static implicit operator VariadicArgument(ulong value) => new(TypeCode.UInt64, As<ulong, Backend64>(value));
public static implicit operator VariadicArgument(float value) => new(TypeCode.Single, As<double, Backend64>(value));
public static implicit operator VariadicArgument(double value) =>
new(TypeCode.Double, As<double, Backend64>(value));
public static implicit operator VariadicArgument(string? arg) => new(arg);
public static VariadicArgument Convert(object o) =>
o switch
{
Char16 v => v,
int v => v,
uint v => v,
long v => v,
ulong v => v,
float v => v,
double v => v,
string v => v,
_ => throw new ArgumentException($"type {o.GetType()} not supported"),
};
#region debugging
Backend8 Value8 => (Backend8)Value64;
Backend32 Value32 => (Backend32)Value64;
public Char16 AsChar16 => (Char16)Value8;
public int AsInt => As<Backend32, int>(Value32);
public uint AsUint => As<Backend32, uint>(Value32);
public long AsLong => As<Backend64, long>(Value64);
public ulong AsUlong => As<Backend64, ulong>(Value64);
public float AsFloat => (float)As<Backend64, double>(Value64);
public double AsDouble => As<Backend64, double>(Value64);
public string? AsString => ValueString;
int BackendSize =>
Type switch
{
TypeCode.Char => sizeof(Backend8),
TypeCode.Int32 => sizeof(Backend32),
TypeCode.UInt32 => sizeof(Backend32),
TypeCode.Int64 => sizeof(Backend64),
TypeCode.UInt64 => sizeof(Backend64),
TypeCode.Single => sizeof(Backend64),
TypeCode.Double => sizeof(Backend64),
TypeCode.String => sizeof(Backend64),
_ => throw new ArgumentOutOfRangeException(),
};
private int StringSize => ValueString != null ? Utf8.GetByteCount(ValueString) + 1 : 0;
public int Size => sizeof(Backend64) + StringSize;
public string ValueToString =>
Type switch
{
TypeCode.Char => AsChar16.ToString(),
TypeCode.Int32 => AsInt.ToString(),
TypeCode.UInt32 => AsUint.ToString(),
TypeCode.Int64 => AsLong.ToString(),
TypeCode.UInt64 => AsUlong.ToString(),
TypeCode.Single => AsFloat.ToString(CultureInfo.InvariantCulture),
TypeCode.Double => AsDouble.ToString(CultureInfo.InvariantCulture),
TypeCode.String => AsString ?? "<null>",
_ => throw new ArgumentOutOfRangeException(),
};
public override string ToString()
{
return $"{Type} ({BackendSize}): {ValueToString}";
}
#endregion
public void CopyTo(ref Backend64 vaList, ref Span<byte> stringBuffer)
{
switch (Type)
{
case TypeCode.Char:
case TypeCode.Int32:
case TypeCode.UInt32:
case TypeCode.Int64:
case TypeCode.UInt64:
case TypeCode.Single:
case TypeCode.Double:
{
vaList = Value64;
return;
}
case TypeCode.String:
{
if (ValueString == null)
return;
// add the pointer to the string buffer
vaList = (Backend64)stringBuffer.AsPtr();
// add the string
var stringSize = Utf8.GetBytes(ValueString, stringBuffer);
stringBuffer[stringSize] = 0; // null-terminator
stringBuffer = stringBuffer[(stringSize + 1)..];
return;
}
default:
throw new ArgumentOutOfRangeException(nameof(Type), Type, null);
}
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
static TTo As<TFrom, TTo>(TFrom source)
where TFrom : allows ref struct
where TTo : allows ref struct
{
return Unsafe.As<TFrom, TTo>(ref source);
}
}
/// Utility to interop variadic arguments to a C++ <a href="https://en.cppreference.com/w/cpp/utility/variadic/va_list.html">va_list</a>, eg vprintf.
/// Usage: GetSize(), stackalloc, Pack().
public static class VaList
{
/*
* va_list ABI layout:
* - [VaListHeader, if Linux / System V ABI]
* (contains a pointer to the argument list below)
* - 64 bits-aligned span of arguments (ints, floats, string pointers, ...)
* (this is the old school C ABI format)
* - [string buffers (if any), each null-terminated]
*/
private static readonly int headerSize = Platform.IsLinux ? Unsafe.SizeOf<VaListHeader>() : 0;
/// Compute the size of a va_list for this set of arguments.
/// stackalloc a byte array of the returned size, and pass it to <see cref="Pack"/>.
/// <param name="args">The arguments to interop / compute size for.</param>
public static int GetSize(ReadOnlySpan<VariadicArgument> args)
{
var argsSize = headerSize;
foreach (var arg in args)
argsSize += arg.Size;
return argsSize;
}
/// Pack the given arguments to a va_list that can be interop'd to C++.
/// <param name="buffer">A buffer you stackalloc'd use the size returned by <see cref="GetSize"/></param>
/// <param name="args">The arguments to interop / pack.</param>
/// <returns>The buffer you passed in, with arguments packed in.</returns>
public static Span<byte> Pack(Span<byte> buffer, ReadOnlySpan<VariadicArgument> args)
{
// argument buffer, 64-bits aligned
var vaListSize = args.Length * sizeof(Backend64);
var vaList = buffer.Slice(headerSize, vaListSize).Cast<byte, Backend64>();
// string buffers, if any
var stringBuffer = buffer[(headerSize + vaListSize)..];
if (headerSize > 0)
{
unsafe
{
// va_list header, if the platform ABI requires it
ref var header = ref buffer.Cast<byte, VaListHeader>()[0];
header = new VaListHeader(vaList.AsPointer());
}
}
for (var i = 0; i < args.Length; i++)
{
args[i].CopyTo(ref vaList[i], ref stringBuffer);
}
return buffer;
}
/// The va_list structure of <a href="https://blog.nelhage.com/2010/10/amd64-and-va_arg/">System V ABI</a> (Linux x64).
[StructLayout(LayoutKind.Sequential, Pack = 4)]
private readonly unsafe struct VaListHeader
{
private readonly uint gp_offset;
private readonly uint fp_offset;
private readonly void* overflow_arg_area;
private readonly void* reg_save_area;
/// Wrap the given arguments in a header structure.
/// <param name="va_list">A pointer to the arguments already packed in C ABI format.</param>
public VaListHeader(void* va_list)
{
/*
* This ABI tries to put arguments in registers if any are left, then pushes the rest on the stack.
* We bypass the register mechanism by maxing out the offsets, then put everything in the overflow area.
*
* Source: https://stackoverflow.com/questions/11695237/creating-va-list-dynamically-in-gcc-can-it-be-done/30632712#30632712
* The va_args() macro will read from the overflow area:
* - if the gp_offset is greater than or equal to 48 (6 gp registers * 8 bytes/register)
* - and the fp_offset is greater than or equal to 304 (gp_offset +16 fp registers * 16 bytes/register)
*/
gp_offset = 48;
fp_offset = 304;
reg_save_area = null;
overflow_arg_area = va_list;
}
}
}

View file

@ -0,0 +1,18 @@
// <auto-generated/>
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
using System.Runtime.InteropServices;
namespace Brutal.ImGuiApi.Internal
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2314">imgui_internal.h:2314</see>
/// <br/><c>typedef void (*ImGuiContextHookCallback)(ImGuiContext* ctx, ImGuiContextHook* hook)</c>
/// </para>
/// </summary>
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
public unsafe delegate void ImGuiContextHookCallback(ImGuiContext* ctx, ImGuiContextHook* hook);
}

View file

@ -0,0 +1,26 @@
// <auto-generated/>
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
using System.Runtime.InteropServices;
namespace Brutal.ImGuiApi.Internal
{
/// <summary>
/// <para>
/// Function signature for g.ErrorCallback
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2220">imgui_internal.h:2220</see>
/// <br/><c>typedef void (*ImGuiErrorCallback)(ImGuiContext* ctx, void* user_data, const char* msg)</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// The error callback is currently not public, as it is expected that only advanced users will rely on it.
/// </para>
/// </remarks>
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
public unsafe delegate void ImGuiErrorCallback(ImGuiContext* ctx, void* user_data, byte* msg);
}

View file

@ -0,0 +1,87 @@
// <auto-generated/>
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
namespace Brutal.ImGuiApi.Internal
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1669">imgui_internal.h:1669</see>
/// <br/><c>enum ImGuiActivateFlags_</c>
/// </para>
/// </summary>
[Flags]
public enum ImGuiActivateFlags : int
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1671">imgui_internal.h:1671</see>
/// <br/><c>ImGuiActivateFlags_None = 0</c>
/// </para>
/// </summary>
None = 0,
/// <summary>
/// <para>
/// Favor activation that requires keyboard text input (e.g. for Slider/Drag). Default for Enter key.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1672">imgui_internal.h:1672</see>
/// <br/><c>ImGuiActivateFlags_PreferInput = 1 &lt;&lt; 0</c>
/// </para>
/// </summary>
PreferInput = 1 << 0,
/// <summary>
/// <para>
/// Favor activation for tweaking with arrows or gamepad (e.g. for Slider/Drag). Default for Space key and
/// if keyboard is not used.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1673">imgui_internal.h:1673</see>
/// <br/><c>ImGuiActivateFlags_PreferTweak = 1 &lt;&lt; 1</c>
/// </para>
/// </summary>
PreferTweak = 1 << 1,
/// <summary>
/// <para>
/// Request widget to preserve state if it can (e.g. InputText will try to preserve cursor/selection)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1674">imgui_internal.h:1674</see>
/// <br/><c>ImGuiActivateFlags_TryToPreserveState = 1 &lt;&lt; 2</c>
/// </para>
/// </summary>
TryToPreserveState = 1 << 2,
/// <summary>
/// <para>
/// Activation requested by a tabbing request
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1675">imgui_internal.h:1675</see>
/// <br/><c>ImGuiActivateFlags_FromTabbing = 1 &lt;&lt; 3</c>
/// </para>
/// </summary>
FromTabbing = 1 << 3,
/// <summary>
/// <para>
/// Activation requested by an item shortcut via SetNextItemShortcut() function.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1676">imgui_internal.h:1676</see>
/// <br/><c>ImGuiActivateFlags_FromShortcut = 1 &lt;&lt; 4</c>
/// </para>
/// </summary>
FromShortcut = 1 << 4,
}
}

View file

@ -0,0 +1,63 @@
// <auto-generated/>
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
namespace Brutal.ImGuiApi.Internal
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1134">imgui_internal.h:1134</see>
/// <br/><c>enum ImGuiAxis</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// X/Y enums are fixed to 0/1 so they may be used to index ImVec2
/// </para>
/// </remarks>
public enum ImGuiAxis : int
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1136">imgui_internal.h:1136</see>
/// <br/><c>ImGuiAxis_None = -1</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// X/Y enums are fixed to 0/1 so they may be used to index ImVec2
/// </para>
/// </remarks>
None = -1,
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1137">imgui_internal.h:1137</see>
/// <br/><c>ImGuiAxis_X = 0</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// X/Y enums are fixed to 0/1 so they may be used to index ImVec2
/// </para>
/// </remarks>
X = 0,
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1138">imgui_internal.h:1138</see>
/// <br/><c>ImGuiAxis_Y = 1</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// X/Y enums are fixed to 0/1 so they may be used to index ImVec2
/// </para>
/// </remarks>
Y = 1,
}
}

View file

@ -0,0 +1,435 @@
// <auto-generated/>
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
namespace Brutal.ImGuiApi.Internal
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1020">imgui_internal.h:1020</see>
/// <br/><c>enum ImGuiButtonFlagsPrivate_</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Extend ImGuiButtonFlags_
/// </para>
/// </remarks>
public enum ImGuiButtonFlagsPrivate : int
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1916">imgui.h:1916</see>
/// <br/><c>ImGuiButtonFlags_None = 0</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Flags for InvisibleButton() [extended in imgui_internal.h]
/// </para>
/// </remarks>
None = ImGuiButtonFlags.None,
/// <summary>
/// <para>
/// React on left mouse button (default)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1917">imgui.h:1917</see>
/// <br/><c>ImGuiButtonFlags_MouseButtonLeft = 1 &lt;&lt; 0</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Flags for InvisibleButton() [extended in imgui_internal.h]
/// </para>
/// </remarks>
MouseButtonLeft = ImGuiButtonFlags.MouseButtonLeft,
/// <summary>
/// <para>
/// React on right mouse button
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1918">imgui.h:1918</see>
/// <br/><c>ImGuiButtonFlags_MouseButtonRight = 1 &lt;&lt; 1</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Flags for InvisibleButton() [extended in imgui_internal.h]
/// </para>
/// </remarks>
MouseButtonRight = ImGuiButtonFlags.MouseButtonRight,
/// <summary>
/// <para>
/// React on center mouse button
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1919">imgui.h:1919</see>
/// <br/><c>ImGuiButtonFlags_MouseButtonMiddle = 1 &lt;&lt; 2</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Flags for InvisibleButton() [extended in imgui_internal.h]
/// </para>
/// </remarks>
MouseButtonMiddle = ImGuiButtonFlags.MouseButtonMiddle,
/// <summary>
/// <para>
/// [Internal]
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1920">imgui.h:1920</see>
/// <br/>
/// <c>ImGuiButtonFlags_MouseButtonMask_ = ImGuiButtonFlags_MouseButtonLeft | ImGuiButtonFlags_MouseButtonRight | ImGuiButtonFlags_MouseButtonMiddle</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Flags for InvisibleButton() [extended in imgui_internal.h]
/// </para>
/// </remarks>
MouseButtonMask = ImGuiButtonFlags.MouseButtonMask,
/// <summary>
/// <para>
/// InvisibleButton(): do not disable navigation/tabbing. Otherwise disabled by default.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1921">imgui.h:1921</see>
/// <br/><c>ImGuiButtonFlags_EnableNav = 1 &lt;&lt; 3</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Flags for InvisibleButton() [extended in imgui_internal.h]
/// </para>
/// </remarks>
EnableNav = ImGuiButtonFlags.EnableNav,
/// <summary>
/// <para>
/// return true on click (mouse down event)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1022">imgui_internal.h:1022</see>
/// <br/><c>ImGuiButtonFlags_PressedOnClick = 1 &lt;&lt; 4</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Extend ImGuiButtonFlags_
/// </para>
/// </remarks>
PressedOnClick = 1 << 4,
/// <summary>
/// <para>
/// [Default] return true on click + release on same item &lt;-- this is what the majority of Button are
/// using
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1023">imgui_internal.h:1023</see>
/// <br/><c>ImGuiButtonFlags_PressedOnClickRelease = 1 &lt;&lt; 5</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Extend ImGuiButtonFlags_
/// </para>
/// </remarks>
PressedOnClickRelease = 1 << 5,
/// <summary>
/// <para>
/// return true on click + release even if the release event is not done while hovering the item
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1024">imgui_internal.h:1024</see>
/// <br/><c>ImGuiButtonFlags_PressedOnClickReleaseAnywhere = 1 &lt;&lt; 6</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Extend ImGuiButtonFlags_
/// </para>
/// </remarks>
PressedOnClickReleaseAnywhere = 1 << 6,
/// <summary>
/// <para>
/// return true on release (default requires click+release)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1025">imgui_internal.h:1025</see>
/// <br/><c>ImGuiButtonFlags_PressedOnRelease = 1 &lt;&lt; 7</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Extend ImGuiButtonFlags_
/// </para>
/// </remarks>
PressedOnRelease = 1 << 7,
/// <summary>
/// <para>
/// return true on double-click (default requires click+release)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1026">imgui_internal.h:1026</see>
/// <br/><c>ImGuiButtonFlags_PressedOnDoubleClick = 1 &lt;&lt; 8</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Extend ImGuiButtonFlags_
/// </para>
/// </remarks>
PressedOnDoubleClick = 1 << 8,
/// <summary>
/// <para>
/// return true when held into while we are drag and dropping another item (used by e.g. tree nodes,
/// collapsing headers)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1027">imgui_internal.h:1027</see>
/// <br/><c>ImGuiButtonFlags_PressedOnDragDropHold = 1 &lt;&lt; 9</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Extend ImGuiButtonFlags_
/// </para>
/// </remarks>
PressedOnDragDropHold = 1 << 9,
/// <summary>
/// <para>
/// allow interactions even if a child window is overlapping
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1029">imgui_internal.h:1029</see>
/// <br/><c>ImGuiButtonFlags_FlattenChildren = 1 &lt;&lt; 11</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Extend ImGuiButtonFlags_
/// </para>
/// </remarks>
FlattenChildren = 1 << 11,
/// <summary>
/// <para>
/// require previous frame HoveredId to either match id or be null before being usable.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1030">imgui_internal.h:1030</see>
/// <br/><c>ImGuiButtonFlags_AllowOverlap = 1 &lt;&lt; 12</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Extend ImGuiButtonFlags_
/// </para>
/// </remarks>
AllowOverlap = 1 << 12,
/// <summary>
/// <para>
/// vertically align button to match text baseline - ButtonEx() only // FIXME: Should be removed and handled
/// by SmallButton(), not possible currently because of DC.CursorPosPrevLine
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1033">imgui_internal.h:1033</see>
/// <br/><c>ImGuiButtonFlags_AlignTextBaseLine = 1 &lt;&lt; 15</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Extend ImGuiButtonFlags_
/// </para>
/// </remarks>
AlignTextBaseLine = 1 << 15,
/// <summary>
/// <para>
/// disable mouse interaction if a key modifier is held
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1034">imgui_internal.h:1034</see>
/// <br/><c>ImGuiButtonFlags_NoKeyModsAllowed = 1 &lt;&lt; 16</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Extend ImGuiButtonFlags_
/// </para>
/// </remarks>
NoKeyModsAllowed = 1 << 16,
/// <summary>
/// <para>
/// don't set ActiveId while holding the mouse (ImGuiButtonFlags_PressedOnClick only)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1035">imgui_internal.h:1035</see>
/// <br/><c>ImGuiButtonFlags_NoHoldingActiveId = 1 &lt;&lt; 17</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Extend ImGuiButtonFlags_
/// </para>
/// </remarks>
NoHoldingActiveId = 1 << 17,
/// <summary>
/// <para>
/// don't override navigation focus when activated (FIXME: this is essentially used every time an item uses
/// ImGuiItemFlags_NoNav, but because legacy specs don't requires LastItemData to be set ButtonBehavior(),
/// we can't poll g.LastItemData.ItemFlags)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1036">imgui_internal.h:1036</see>
/// <br/><c>ImGuiButtonFlags_NoNavFocus = 1 &lt;&lt; 18</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Extend ImGuiButtonFlags_
/// </para>
/// </remarks>
NoNavFocus = 1 << 18,
/// <summary>
/// <para>
/// don't report as hovered when nav focus is on this item
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1037">imgui_internal.h:1037</see>
/// <br/><c>ImGuiButtonFlags_NoHoveredOnFocus = 1 &lt;&lt; 19</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Extend ImGuiButtonFlags_
/// </para>
/// </remarks>
NoHoveredOnFocus = 1 << 19,
/// <summary>
/// <para>
/// don't set key/input owner on the initial click (note: mouse buttons are keys! often, the key in question
/// will be ImGuiKey_MouseLeft!)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1038">imgui_internal.h:1038</see>
/// <br/><c>ImGuiButtonFlags_NoSetKeyOwner = 1 &lt;&lt; 20</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Extend ImGuiButtonFlags_
/// </para>
/// </remarks>
NoSetKeyOwner = 1 << 20,
/// <summary>
/// <para>
/// don't test key/input owner when polling the key (note: mouse buttons are keys! often, the key in
/// question will be ImGuiKey_MouseLeft!)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1039">imgui_internal.h:1039</see>
/// <br/><c>ImGuiButtonFlags_NoTestKeyOwner = 1 &lt;&lt; 21</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Extend ImGuiButtonFlags_
/// </para>
/// </remarks>
NoTestKeyOwner = 1 << 21,
/// <summary>
/// <para>
/// [EXPERIMENTAL: Not very well specced]. Don't focus parent window when clicking.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1040">imgui_internal.h:1040</see>
/// <br/><c>ImGuiButtonFlags_NoFocus = 1 &lt;&lt; 22</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Extend ImGuiButtonFlags_
/// </para>
/// </remarks>
NoFocus = 1 << 22,
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1041">imgui_internal.h:1041</see>
/// <br/>
/// <c>ImGuiButtonFlags_PressedOnMask_ = ImGuiButtonFlags_PressedOnClick | ImGuiButtonFlags_PressedOnClickRelease | ImGuiButtonFlags_PressedOnClickReleaseAnywhere | ImGuiButtonFlags_PressedOnRelease | ImGuiButtonFlags_PressedOnDoubleClick | ImGuiButtonFlags_PressedOnDragDropHold</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Extend ImGuiButtonFlags_
/// </para>
/// </remarks>
PressedOnMask =
PressedOnClick
| PressedOnClickRelease
| PressedOnClickReleaseAnywhere
| PressedOnRelease
| PressedOnDoubleClick
| PressedOnDragDropHold,
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1042">imgui_internal.h:1042</see>
/// <br/><c>ImGuiButtonFlags_PressedOnDefault_ = ImGuiButtonFlags_PressedOnClickRelease</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Extend ImGuiButtonFlags_
/// </para>
/// </remarks>
PressedOnDefault = PressedOnClickRelease,
}
}

View file

@ -0,0 +1,204 @@
// <auto-generated/>
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
namespace Brutal.ImGuiApi.Internal
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1047">imgui_internal.h:1047</see>
/// <br/><c>enum ImGuiComboFlagsPrivate_</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Extend ImGuiComboFlags_
/// </para>
/// </remarks>
public enum ImGuiComboFlagsPrivate : int
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1396">imgui.h:1396</see>
/// <br/><c>ImGuiComboFlags_None = 0</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Flags for ImGui::BeginCombo()
/// </para>
/// </remarks>
None = ImGuiComboFlags.None,
/// <summary>
/// <para>
/// Align the popup toward the left by default
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1397">imgui.h:1397</see>
/// <br/><c>ImGuiComboFlags_PopupAlignLeft = 1 &lt;&lt; 0</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Flags for ImGui::BeginCombo()
/// </para>
/// </remarks>
PopupAlignLeft = ImGuiComboFlags.PopupAlignLeft,
/// <summary>
/// <para>
/// Max ~4 items visible. Tip: If you want your combo popup to be a specific size you can use
/// SetNextWindowSizeConstraints() prior to calling BeginCombo()
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1398">imgui.h:1398</see>
/// <br/><c>ImGuiComboFlags_HeightSmall = 1 &lt;&lt; 1</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Flags for ImGui::BeginCombo()
/// </para>
/// </remarks>
HeightSmall = ImGuiComboFlags.HeightSmall,
/// <summary>
/// <para>
/// Max ~8 items visible (default)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1399">imgui.h:1399</see>
/// <br/><c>ImGuiComboFlags_HeightRegular = 1 &lt;&lt; 2</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Flags for ImGui::BeginCombo()
/// </para>
/// </remarks>
HeightRegular = ImGuiComboFlags.HeightRegular,
/// <summary>
/// <para>
/// Max ~20 items visible
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1400">imgui.h:1400</see>
/// <br/><c>ImGuiComboFlags_HeightLarge = 1 &lt;&lt; 3</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Flags for ImGui::BeginCombo()
/// </para>
/// </remarks>
HeightLarge = ImGuiComboFlags.HeightLarge,
/// <summary>
/// <para>
/// As many fitting items as possible
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1401">imgui.h:1401</see>
/// <br/><c>ImGuiComboFlags_HeightLargest = 1 &lt;&lt; 4</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Flags for ImGui::BeginCombo()
/// </para>
/// </remarks>
HeightLargest = ImGuiComboFlags.HeightLargest,
/// <summary>
/// <para>
/// Display on the preview box without the square arrow button
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1402">imgui.h:1402</see>
/// <br/><c>ImGuiComboFlags_NoArrowButton = 1 &lt;&lt; 5</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Flags for ImGui::BeginCombo()
/// </para>
/// </remarks>
NoArrowButton = ImGuiComboFlags.NoArrowButton,
/// <summary>
/// <para>
/// Display only a square arrow button
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1403">imgui.h:1403</see>
/// <br/><c>ImGuiComboFlags_NoPreview = 1 &lt;&lt; 6</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Flags for ImGui::BeginCombo()
/// </para>
/// </remarks>
NoPreview = ImGuiComboFlags.NoPreview,
/// <summary>
/// <para>
/// Width dynamically calculated from preview contents
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1404">imgui.h:1404</see>
/// <br/><c>ImGuiComboFlags_WidthFitPreview = 1 &lt;&lt; 7</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Flags for ImGui::BeginCombo()
/// </para>
/// </remarks>
WidthFitPreview = ImGuiComboFlags.WidthFitPreview,
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1405">imgui.h:1405</see>
/// <br/>
/// <c>ImGuiComboFlags_HeightMask_ = ImGuiComboFlags_HeightSmall | ImGuiComboFlags_HeightRegular | ImGuiComboFlags_HeightLarge | ImGuiComboFlags_HeightLargest</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Flags for ImGui::BeginCombo()
/// </para>
/// </remarks>
HeightMask = ImGuiComboFlags.HeightMask,
/// <summary>
/// <para>
/// enable BeginComboPreview()
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1049">imgui_internal.h:1049</see>
/// <br/><c>ImGuiComboFlags_CustomPreview = 1 &lt;&lt; 20</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Extend ImGuiComboFlags_
/// </para>
/// </remarks>
CustomPreview = 1 << 20,
}
}

View file

@ -0,0 +1,89 @@
// <auto-generated/>
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
namespace Brutal.ImGuiApi.Internal
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2315">imgui_internal.h:2315</see>
/// <br/>
/// <c>enum ImGuiContextHookType { ImGuiContextHookType_NewFramePre, ImGuiContextHookType_NewFramePost, ImGuiContextHookType_EndFramePre, ImGuiContextHookType_EndFramePost, ImGuiContextHookType_RenderPre, ImGuiContextHookType_RenderPost, ImGuiContextHookType_Shutdown, ImGuiContextHookType_PendingRemoval_ }</c>
/// </para>
/// </summary>
public enum ImGuiContextHookType : int
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2315">imgui_internal.h:2315</see>
/// <br/><c>ImGuiContextHookType_NewFramePre</c>
/// </para>
/// </summary>
NewFramePre,
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2315">imgui_internal.h:2315</see>
/// <br/><c>ImGuiContextHookType_NewFramePost</c>
/// </para>
/// </summary>
NewFramePost,
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2315">imgui_internal.h:2315</see>
/// <br/><c>ImGuiContextHookType_EndFramePre</c>
/// </para>
/// </summary>
EndFramePre,
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2315">imgui_internal.h:2315</see>
/// <br/><c>ImGuiContextHookType_EndFramePost</c>
/// </para>
/// </summary>
EndFramePost,
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2315">imgui_internal.h:2315</see>
/// <br/><c>ImGuiContextHookType_RenderPre</c>
/// </para>
/// </summary>
RenderPre,
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2315">imgui_internal.h:2315</see>
/// <br/><c>ImGuiContextHookType_RenderPost</c>
/// </para>
/// </summary>
RenderPost,
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2315">imgui_internal.h:2315</see>
/// <br/><c>ImGuiContextHookType_Shutdown</c>
/// </para>
/// </summary>
Shutdown,
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2315">imgui_internal.h:2315</see>
/// <br/><c>ImGuiContextHookType_PendingRemoval_</c>
/// </para>
/// </summary>
PendingRemoval,
}
}

View file

@ -0,0 +1,63 @@
// <auto-generated/>
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
namespace Brutal.ImGuiApi.Internal
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1972">imgui_internal.h:1972</see>
/// <br/><c>enum ImGuiDataAuthority_</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Store the source authority (dock node vs window) of a field
/// </para>
/// </remarks>
public enum ImGuiDataAuthority : int
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1974">imgui_internal.h:1974</see>
/// <br/><c>ImGuiDataAuthority_Auto</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Store the source authority (dock node vs window) of a field
/// </para>
/// </remarks>
Auto,
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1975">imgui_internal.h:1975</see>
/// <br/><c>ImGuiDataAuthority_DockNode</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Store the source authority (dock node vs window) of a field
/// </para>
/// </remarks>
DockNode,
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1976">imgui_internal.h:1976</see>
/// <br/><c>ImGuiDataAuthority_Window</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Store the source authority (dock node vs window) of a field
/// </para>
/// </remarks>
Window,
}
}

View file

@ -0,0 +1,267 @@
// <auto-generated/>
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
namespace Brutal.ImGuiApi.Internal
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L938">imgui_internal.h:938</see>
/// <br/><c>enum ImGuiDataTypePrivate_</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Extend ImGuiDataType_
/// </para>
/// </remarks>
public enum ImGuiDataTypePrivate : int
{
/// <summary>
/// <para>
/// signed char / char (with sensible compilers)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1551">imgui.h:1551</see>
/// <br/><c>ImGuiDataType_S8</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// A primary data type
/// </para>
/// </remarks>
S8 = ImGuiDataType.S8,
/// <summary>
/// <para>
/// unsigned char
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1552">imgui.h:1552</see>
/// <br/><c>ImGuiDataType_U8</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// A primary data type
/// </para>
/// </remarks>
U8 = ImGuiDataType.U8,
/// <summary>
/// <para>
/// short
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1553">imgui.h:1553</see>
/// <br/><c>ImGuiDataType_S16</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// A primary data type
/// </para>
/// </remarks>
S16 = ImGuiDataType.S16,
/// <summary>
/// <para>
/// unsigned short
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1554">imgui.h:1554</see>
/// <br/><c>ImGuiDataType_U16</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// A primary data type
/// </para>
/// </remarks>
U16 = ImGuiDataType.U16,
/// <summary>
/// <para>
/// int
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1555">imgui.h:1555</see>
/// <br/><c>ImGuiDataType_S32</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// A primary data type
/// </para>
/// </remarks>
S32 = ImGuiDataType.S32,
/// <summary>
/// <para>
/// unsigned int
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1556">imgui.h:1556</see>
/// <br/><c>ImGuiDataType_U32</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// A primary data type
/// </para>
/// </remarks>
U32 = ImGuiDataType.U32,
/// <summary>
/// <para>
/// long long / __int64
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1557">imgui.h:1557</see>
/// <br/><c>ImGuiDataType_S64</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// A primary data type
/// </para>
/// </remarks>
S64 = ImGuiDataType.S64,
/// <summary>
/// <para>
/// unsigned long long / unsigned __int64
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1558">imgui.h:1558</see>
/// <br/><c>ImGuiDataType_U64</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// A primary data type
/// </para>
/// </remarks>
U64 = ImGuiDataType.U64,
/// <summary>
/// <para>
/// float
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1559">imgui.h:1559</see>
/// <br/><c>ImGuiDataType_Float</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// A primary data type
/// </para>
/// </remarks>
Float = ImGuiDataType.Float,
/// <summary>
/// <para>
/// double
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1560">imgui.h:1560</see>
/// <br/><c>ImGuiDataType_Double</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// A primary data type
/// </para>
/// </remarks>
Double = ImGuiDataType.Double,
/// <summary>
/// <para>
/// bool (provided for user convenience, not supported by scalar widgets)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1561">imgui.h:1561</see>
/// <br/><c>ImGuiDataType_Bool</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// A primary data type
/// </para>
/// </remarks>
Bool = ImGuiDataType.Bool,
/// <summary>
/// <para>
/// char* (provided for user convenience, not supported by scalar widgets)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1562">imgui.h:1562</see>
/// <br/><c>ImGuiDataType_String</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// A primary data type
/// </para>
/// </remarks>
String = ImGuiDataType.String,
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1563">imgui.h:1563</see>
/// <br/><c>ImGuiDataType_COUNT</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// A primary data type
/// </para>
/// </remarks>
COUNT = ImGuiDataType.COUNT,
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L940">imgui_internal.h:940</see>
/// <br/><c>ImGuiDataType_Pointer = ImGuiDataType_COUNT</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Extend ImGuiDataType_
/// </para>
/// </remarks>
Pointer = ImGuiDataType.COUNT,
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L941">imgui_internal.h:941</see>
/// <br/><c>ImGuiDataType_ID</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Extend ImGuiDataType_
/// </para>
/// </remarks>
ID,
}
}

View file

@ -0,0 +1,253 @@
// <auto-generated/>
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
namespace Brutal.ImGuiApi.Internal
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2227">imgui_internal.h:2227</see>
/// <br/><c>enum ImGuiDebugLogFlags_</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// See IMGUI_DEBUG_LOG() and IMGUI_DEBUG_LOG_XXX() macros.
/// </para>
/// </remarks>
[Flags]
public enum ImGuiDebugLogFlags : int
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2230">imgui_internal.h:2230</see>
/// <br/><c>ImGuiDebugLogFlags_None = 0</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Event types
/// </para>
/// </remarks>
None = 0,
/// <summary>
/// <para>
/// Error submitted by IM_ASSERT_USER_ERROR()
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2231">imgui_internal.h:2231</see>
/// <br/><c>ImGuiDebugLogFlags_EventError = 1 &lt;&lt; 0</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Event types
/// </para>
/// </remarks>
EventError = 1 << 0,
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2232">imgui_internal.h:2232</see>
/// <br/><c>ImGuiDebugLogFlags_EventActiveId = 1 &lt;&lt; 1</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Event types
/// </para>
/// </remarks>
EventActiveId = 1 << 1,
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2233">imgui_internal.h:2233</see>
/// <br/><c>ImGuiDebugLogFlags_EventFocus = 1 &lt;&lt; 2</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Event types
/// </para>
/// </remarks>
EventFocus = 1 << 2,
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2234">imgui_internal.h:2234</see>
/// <br/><c>ImGuiDebugLogFlags_EventPopup = 1 &lt;&lt; 3</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Event types
/// </para>
/// </remarks>
EventPopup = 1 << 3,
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2235">imgui_internal.h:2235</see>
/// <br/><c>ImGuiDebugLogFlags_EventNav = 1 &lt;&lt; 4</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Event types
/// </para>
/// </remarks>
EventNav = 1 << 4,
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2236">imgui_internal.h:2236</see>
/// <br/><c>ImGuiDebugLogFlags_EventClipper = 1 &lt;&lt; 5</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Event types
/// </para>
/// </remarks>
EventClipper = 1 << 5,
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2237">imgui_internal.h:2237</see>
/// <br/><c>ImGuiDebugLogFlags_EventSelection = 1 &lt;&lt; 6</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Event types
/// </para>
/// </remarks>
EventSelection = 1 << 6,
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2238">imgui_internal.h:2238</see>
/// <br/><c>ImGuiDebugLogFlags_EventIO = 1 &lt;&lt; 7</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Event types
/// </para>
/// </remarks>
EventIO = 1 << 7,
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2239">imgui_internal.h:2239</see>
/// <br/><c>ImGuiDebugLogFlags_EventFont = 1 &lt;&lt; 8</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Event types
/// </para>
/// </remarks>
EventFont = 1 << 8,
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2240">imgui_internal.h:2240</see>
/// <br/><c>ImGuiDebugLogFlags_EventInputRouting = 1 &lt;&lt; 9</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Event types
/// </para>
/// </remarks>
EventInputRouting = 1 << 9,
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2241">imgui_internal.h:2241</see>
/// <br/><c>ImGuiDebugLogFlags_EventDocking = 1 &lt;&lt; 10</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Event types
/// </para>
/// </remarks>
EventDocking = 1 << 10,
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2242">imgui_internal.h:2242</see>
/// <br/><c>ImGuiDebugLogFlags_EventViewport = 1 &lt;&lt; 11</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Event types
/// </para>
/// </remarks>
EventViewport = 1 << 11,
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2244">imgui_internal.h:2244</see>
/// <br/>
/// <c>ImGuiDebugLogFlags_EventMask_ = ImGuiDebugLogFlags_EventError | ImGuiDebugLogFlags_EventActiveId | ImGuiDebugLogFlags_EventFocus | ImGuiDebugLogFlags_EventPopup | ImGuiDebugLogFlags_EventNav | ImGuiDebugLogFlags_EventClipper | ImGuiDebugLogFlags_EventSelection | ImGuiDebugLogFlags_EventIO | ImGuiDebugLogFlags_EventFont | ImGuiDebugLogFlags_EventInputRouting | ImGuiDebugLogFlags_EventDocking | ImGuiDebugLogFlags_EventViewport</c>
/// </para>
/// </summary>
EventMask =
EventError
| EventActiveId
| EventFocus
| EventPopup
| EventNav
| EventClipper
| EventSelection
| EventIO
| EventFont
| EventInputRouting
| EventDocking
| EventViewport,
/// <summary>
/// <para>
/// Also send output to TTY
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2245">imgui_internal.h:2245</see>
/// <br/><c>ImGuiDebugLogFlags_OutputToTTY = 1 &lt;&lt; 20</c>
/// </para>
/// </summary>
OutputToTTY = 1 << 20,
/// <summary>
/// <para>
/// Also send output to Test Engine
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2246">imgui_internal.h:2246</see>
/// <br/><c>ImGuiDebugLogFlags_OutputToTestEngine = 1 &lt;&lt; 21</c>
/// </para>
/// </summary>
OutputToTestEngine = 1 << 21,
}
}

View file

@ -0,0 +1,498 @@
// <auto-generated/>
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
namespace Brutal.ImGuiApi.Internal
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1940">imgui_internal.h:1940</see>
/// <br/><c>enum ImGuiDockNodeFlagsPrivate_</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Extend ImGuiDockNodeFlags_
/// </para>
/// </remarks>
public enum ImGuiDockNodeFlagsPrivate : int
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1504">imgui.h:1504</see>
/// <br/><c>ImGuiDockNodeFlags_None = 0</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for ImGui::DockSpace(), shared/inherited by child nodes.
/// (Some flags can be applied to individual nodes directly)
/// FIXME-DOCK: Also see ImGuiDockNodeFlagsPrivate_ which may involve using the WIP and internal DockBuilder api.
/// </code>
/// </remarks>
None = ImGuiDockNodeFlags.None,
/// <summary>
/// <para>
/// // Don't display the dockspace node but keep it alive. Windows docked into this dockspace node won't be
/// undocked.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1505">imgui.h:1505</see>
/// <br/><c>ImGuiDockNodeFlags_KeepAliveOnly = 1 &lt;&lt; 0</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for ImGui::DockSpace(), shared/inherited by child nodes.
/// (Some flags can be applied to individual nodes directly)
/// FIXME-DOCK: Also see ImGuiDockNodeFlagsPrivate_ which may involve using the WIP and internal DockBuilder api.
/// </code>
/// </remarks>
KeepAliveOnly = ImGuiDockNodeFlags.KeepAliveOnly,
/// <summary>
/// <para>
/// // Disable docking over the Central Node, which will be always kept empty.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1507">imgui.h:1507</see>
/// <br/><c>ImGuiDockNodeFlags_NoDockingOverCentralNode = 1 &lt;&lt; 2</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for ImGui::DockSpace(), shared/inherited by child nodes.
/// (Some flags can be applied to individual nodes directly)
/// FIXME-DOCK: Also see ImGuiDockNodeFlagsPrivate_ which may involve using the WIP and internal DockBuilder api.
/// </code>
/// </remarks>
NoDockingOverCentralNode = ImGuiDockNodeFlags.NoDockingOverCentralNode,
/// <summary>
/// <para>
/// // Enable passthru dockspace: 1) DockSpace() will render a ImGuiCol_WindowBg background covering
/// everything excepted the Central Node when empty. Meaning the host window should probably use
/// SetNextWindowBgAlpha(0.0f) prior to Begin() when using this. 2) When Central Node is empty: let inputs
/// pass-through + won't display a DockingEmptyBg background. See demo for details.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1508">imgui.h:1508</see>
/// <br/><c>ImGuiDockNodeFlags_PassthruCentralNode = 1 &lt;&lt; 3</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for ImGui::DockSpace(), shared/inherited by child nodes.
/// (Some flags can be applied to individual nodes directly)
/// FIXME-DOCK: Also see ImGuiDockNodeFlagsPrivate_ which may involve using the WIP and internal DockBuilder api.
/// </code>
/// </remarks>
PassthruCentralNode = ImGuiDockNodeFlags.PassthruCentralNode,
/// <summary>
/// <para>
/// // Disable other windows/nodes from splitting this node.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1509">imgui.h:1509</see>
/// <br/><c>ImGuiDockNodeFlags_NoDockingSplit = 1 &lt;&lt; 4</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for ImGui::DockSpace(), shared/inherited by child nodes.
/// (Some flags can be applied to individual nodes directly)
/// FIXME-DOCK: Also see ImGuiDockNodeFlagsPrivate_ which may involve using the WIP and internal DockBuilder api.
/// </code>
/// </remarks>
NoDockingSplit = ImGuiDockNodeFlags.NoDockingSplit,
/// <summary>
/// <para>
/// Saved // Disable resizing node using the splitter/separators. Useful with programmatically setup
/// dockspaces.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1510">imgui.h:1510</see>
/// <br/><c>ImGuiDockNodeFlags_NoResize = 1 &lt;&lt; 5</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for ImGui::DockSpace(), shared/inherited by child nodes.
/// (Some flags can be applied to individual nodes directly)
/// FIXME-DOCK: Also see ImGuiDockNodeFlagsPrivate_ which may involve using the WIP and internal DockBuilder api.
/// </code>
/// </remarks>
NoResize = ImGuiDockNodeFlags.NoResize,
/// <summary>
/// <para>
/// // Tab bar will automatically hide when there is a single window in the dock node.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1511">imgui.h:1511</see>
/// <br/><c>ImGuiDockNodeFlags_AutoHideTabBar = 1 &lt;&lt; 6</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for ImGui::DockSpace(), shared/inherited by child nodes.
/// (Some flags can be applied to individual nodes directly)
/// FIXME-DOCK: Also see ImGuiDockNodeFlagsPrivate_ which may involve using the WIP and internal DockBuilder api.
/// </code>
/// </remarks>
AutoHideTabBar = ImGuiDockNodeFlags.AutoHideTabBar,
/// <summary>
/// <para>
/// // Disable undocking this node.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1512">imgui.h:1512</see>
/// <br/><c>ImGuiDockNodeFlags_NoUndocking = 1 &lt;&lt; 7</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for ImGui::DockSpace(), shared/inherited by child nodes.
/// (Some flags can be applied to individual nodes directly)
/// FIXME-DOCK: Also see ImGuiDockNodeFlagsPrivate_ which may involve using the WIP and internal DockBuilder api.
/// </code>
/// </remarks>
NoUndocking = ImGuiDockNodeFlags.NoUndocking,
/// <summary>
/// <para>
/// Saved // A dockspace is a node that occupy space within an existing user window. Otherwise the node is
/// floating and create its own window.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1943">imgui_internal.h:1943</see>
/// <br/><c>ImGuiDockNodeFlags_DockSpace = 1 &lt;&lt; 10</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// [Internal]
/// </para>
/// </remarks>
DockSpace = 1 << 10,
/// <summary>
/// <para>
/// Saved // The central node has 2 main properties: stay visible when empty, only use "remaining" spaces
/// from its neighbor.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1944">imgui_internal.h:1944</see>
/// <br/><c>ImGuiDockNodeFlags_CentralNode = 1 &lt;&lt; 11</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// [Internal]
/// </para>
/// </remarks>
CentralNode = 1 << 11,
/// <summary>
/// <para>
/// Saved // Tab bar is completely unavailable. No triangle in the corner to enable it back.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1945">imgui_internal.h:1945</see>
/// <br/><c>ImGuiDockNodeFlags_NoTabBar = 1 &lt;&lt; 12</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// [Internal]
/// </para>
/// </remarks>
NoTabBar = 1 << 12,
/// <summary>
/// <para>
/// Saved // Tab bar is hidden, with a triangle in the corner to show it again (NB: actual tab-bar instance
/// may be destroyed as this is only used for single-window tab bar)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1946">imgui_internal.h:1946</see>
/// <br/><c>ImGuiDockNodeFlags_HiddenTabBar = 1 &lt;&lt; 13</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// [Internal]
/// </para>
/// </remarks>
HiddenTabBar = 1 << 13,
/// <summary>
/// <para>
/// Saved // Disable window/docking menu (that one that appears instead of the collapse button)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1947">imgui_internal.h:1947</see>
/// <br/><c>ImGuiDockNodeFlags_NoWindowMenuButton = 1 &lt;&lt; 14</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// [Internal]
/// </para>
/// </remarks>
NoWindowMenuButton = 1 << 14,
/// <summary>
/// <para>
/// Saved // Disable close button
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1948">imgui_internal.h:1948</see>
/// <br/><c>ImGuiDockNodeFlags_NoCloseButton = 1 &lt;&lt; 15</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// [Internal]
/// </para>
/// </remarks>
NoCloseButton = 1 << 15,
/// <summary>
/// <para>
/// //
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1949">imgui_internal.h:1949</see>
/// <br/><c>ImGuiDockNodeFlags_NoResizeX = 1 &lt;&lt; 16</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// [Internal]
/// </para>
/// </remarks>
NoResizeX = 1 << 16,
/// <summary>
/// <para>
/// //
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1950">imgui_internal.h:1950</see>
/// <br/><c>ImGuiDockNodeFlags_NoResizeY = 1 &lt;&lt; 17</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// [Internal]
/// </para>
/// </remarks>
NoResizeY = 1 << 17,
/// <summary>
/// <para>
/// // Any docked window will be automatically be focus-route chained (window-&gt;ParentWindowForFocusRoute
/// set to this) so Shortcut() in this window can run when any docked window is focused.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1951">imgui_internal.h:1951</see>
/// <br/><c>ImGuiDockNodeFlags_DockedWindowsInFocusRoute= 1 &lt;&lt; 18</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// [Internal]
/// </para>
/// </remarks>
DockedWindowsInFocusRoute = 1 << 18,
/// <summary>
/// <para>
/// // Disable this node from splitting other windows/nodes.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1956">imgui_internal.h:1956</see>
/// <br/><c>ImGuiDockNodeFlags_NoDockingSplitOther = 1 &lt;&lt; 19</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Disable docking/undocking actions in this dockspace or individual node (existing docked nodes will be preserved)
/// Those are not exposed in public because the desirable sharing/inheriting/copy-flag-on-split behaviors are quite difficult to design and understand.
/// The two public flags ImGuiDockNodeFlags_NoDockingOverCentralNode/ImGuiDockNodeFlags_NoDockingSplit don't have those issues.
/// </code>
/// </remarks>
NoDockingSplitOther = 1 << 19,
/// <summary>
/// <para>
/// // Disable other windows/nodes from being docked over this node.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1957">imgui_internal.h:1957</see>
/// <br/><c>ImGuiDockNodeFlags_NoDockingOverMe = 1 &lt;&lt; 20</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Disable docking/undocking actions in this dockspace or individual node (existing docked nodes will be preserved)
/// Those are not exposed in public because the desirable sharing/inheriting/copy-flag-on-split behaviors are quite difficult to design and understand.
/// The two public flags ImGuiDockNodeFlags_NoDockingOverCentralNode/ImGuiDockNodeFlags_NoDockingSplit don't have those issues.
/// </code>
/// </remarks>
NoDockingOverMe = 1 << 20,
/// <summary>
/// <para>
/// // Disable this node from being docked over another window or non-empty node.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1958">imgui_internal.h:1958</see>
/// <br/><c>ImGuiDockNodeFlags_NoDockingOverOther = 1 &lt;&lt; 21</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Disable docking/undocking actions in this dockspace or individual node (existing docked nodes will be preserved)
/// Those are not exposed in public because the desirable sharing/inheriting/copy-flag-on-split behaviors are quite difficult to design and understand.
/// The two public flags ImGuiDockNodeFlags_NoDockingOverCentralNode/ImGuiDockNodeFlags_NoDockingSplit don't have those issues.
/// </code>
/// </remarks>
NoDockingOverOther = 1 << 21,
/// <summary>
/// <para>
/// // Disable this node from being docked over an empty node (e.g. DockSpace with no other windows)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1959">imgui_internal.h:1959</see>
/// <br/><c>ImGuiDockNodeFlags_NoDockingOverEmpty = 1 &lt;&lt; 22</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Disable docking/undocking actions in this dockspace or individual node (existing docked nodes will be preserved)
/// Those are not exposed in public because the desirable sharing/inheriting/copy-flag-on-split behaviors are quite difficult to design and understand.
/// The two public flags ImGuiDockNodeFlags_NoDockingOverCentralNode/ImGuiDockNodeFlags_NoDockingSplit don't have those issues.
/// </code>
/// </remarks>
NoDockingOverEmpty = 1 << 22,
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1960">imgui_internal.h:1960</see>
/// <br/>
/// <c>ImGuiDockNodeFlags_NoDocking = ImGuiDockNodeFlags_NoDockingOverMe | ImGuiDockNodeFlags_NoDockingOverOther | ImGuiDockNodeFlags_NoDockingOverEmpty | ImGuiDockNodeFlags_NoDockingSplit | ImGuiDockNodeFlags_NoDockingSplitOther</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Disable docking/undocking actions in this dockspace or individual node (existing docked nodes will be preserved)
/// Those are not exposed in public because the desirable sharing/inheriting/copy-flag-on-split behaviors are quite difficult to design and understand.
/// The two public flags ImGuiDockNodeFlags_NoDockingOverCentralNode/ImGuiDockNodeFlags_NoDockingSplit don't have those issues.
/// </code>
/// </remarks>
NoDocking =
NoDockingOverMe
| NoDockingOverOther
| NoDockingOverEmpty
| ImGuiDockNodeFlags.NoDockingSplit
| NoDockingSplitOther,
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1963">imgui_internal.h:1963</see>
/// <br/><c>ImGuiDockNodeFlags_SharedFlagsInheritMask_ = ~0</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Masks
/// </para>
/// </remarks>
SharedFlagsInheritMask = ~0,
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1964">imgui_internal.h:1964</see>
/// <br/>
/// <c>ImGuiDockNodeFlags_NoResizeFlagsMask_ = (int)ImGuiDockNodeFlags_NoResize | ImGuiDockNodeFlags_NoResizeX | ImGuiDockNodeFlags_NoResizeY</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Masks
/// </para>
/// </remarks>
NoResizeFlagsMask = ImGuiDockNodeFlags.NoResize | NoResizeX | NoResizeY,
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1967">imgui_internal.h:1967</see>
/// <br/>
/// <c>ImGuiDockNodeFlags_LocalFlagsTransferMask_ = (int)ImGuiDockNodeFlags_NoDockingSplit | ImGuiDockNodeFlags_NoResizeFlagsMask_ | (int)ImGuiDockNodeFlags_AutoHideTabBar | ImGuiDockNodeFlags_CentralNode | ImGuiDockNodeFlags_NoTabBar | ImGuiDockNodeFlags_HiddenTabBar | ImGuiDockNodeFlags_NoWindowMenuButton | ImGuiDockNodeFlags_NoCloseButton</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// When splitting, those local flags are moved to the inheriting child, never duplicated
/// </para>
/// </remarks>
LocalFlagsTransferMask =
ImGuiDockNodeFlags.NoDockingSplit
| NoResizeFlagsMask
| ImGuiDockNodeFlags.AutoHideTabBar
| CentralNode
| NoTabBar
| HiddenTabBar
| NoWindowMenuButton
| NoCloseButton,
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1968">imgui_internal.h:1968</see>
/// <br/>
/// <c>ImGuiDockNodeFlags_SavedFlagsMask_ = ImGuiDockNodeFlags_NoResizeFlagsMask_ | ImGuiDockNodeFlags_DockSpace | ImGuiDockNodeFlags_CentralNode | ImGuiDockNodeFlags_NoTabBar | ImGuiDockNodeFlags_HiddenTabBar | ImGuiDockNodeFlags_NoWindowMenuButton | ImGuiDockNodeFlags_NoCloseButton</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// When splitting, those local flags are moved to the inheriting child, never duplicated
/// </para>
/// </remarks>
SavedFlagsMask =
NoResizeFlagsMask | DockSpace | CentralNode | NoTabBar | HiddenTabBar | NoWindowMenuButton | NoCloseButton,
}
}

View file

@ -0,0 +1,52 @@
// <auto-generated/>
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
namespace Brutal.ImGuiApi.Internal
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1979">imgui_internal.h:1979</see>
/// <br/><c>enum ImGuiDockNodeState</c>
/// </para>
/// </summary>
public enum ImGuiDockNodeState : int
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1981">imgui_internal.h:1981</see>
/// <br/><c>ImGuiDockNodeState_Unknown</c>
/// </para>
/// </summary>
Unknown,
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1982">imgui_internal.h:1982</see>
/// <br/><c>ImGuiDockNodeState_HostWindowHiddenBecauseSingleWindow</c>
/// </para>
/// </summary>
HostWindowHiddenBecauseSingleWindow,
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1983">imgui_internal.h:1983</see>
/// <br/><c>ImGuiDockNodeState_HostWindowHiddenBecauseWindowsAreResizing</c>
/// </para>
/// </summary>
HostWindowHiddenBecauseWindowsAreResizing,
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1984">imgui_internal.h:1984</see>
/// <br/><c>ImGuiDockNodeState_HostWindowVisible</c>
/// </para>
/// </summary>
HostWindowVisible,
}
}

View file

@ -0,0 +1,78 @@
// <auto-generated/>
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
namespace Brutal.ImGuiApi.Internal
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1094">imgui_internal.h:1094</see>
/// <br/><c>enum ImGuiFocusRequestFlags_</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for FocusWindow(). This is not called ImGuiFocusFlags to avoid confusion with public-facing ImGuiFocusedFlags.
/// FIXME: Once we finishing replacing more uses of GetTopMostPopupModal()+IsWindowWithinBeginStackOf()
/// and FindBlockingModal() with this, we may want to change the flag to be opt-out instead of opt-in.
/// </code>
/// </remarks>
[Flags]
public enum ImGuiFocusRequestFlags : int
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1096">imgui_internal.h:1096</see>
/// <br/><c>ImGuiFocusRequestFlags_None = 0</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for FocusWindow(). This is not called ImGuiFocusFlags to avoid confusion with public-facing ImGuiFocusedFlags.
/// FIXME: Once we finishing replacing more uses of GetTopMostPopupModal()+IsWindowWithinBeginStackOf()
/// and FindBlockingModal() with this, we may want to change the flag to be opt-out instead of opt-in.
/// </code>
/// </remarks>
None = 0,
/// <summary>
/// <para>
/// Find last focused child (if any) and focus it instead.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1097">imgui_internal.h:1097</see>
/// <br/><c>ImGuiFocusRequestFlags_RestoreFocusedChild = 1 &lt;&lt; 0</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for FocusWindow(). This is not called ImGuiFocusFlags to avoid confusion with public-facing ImGuiFocusedFlags.
/// FIXME: Once we finishing replacing more uses of GetTopMostPopupModal()+IsWindowWithinBeginStackOf()
/// and FindBlockingModal() with this, we may want to change the flag to be opt-out instead of opt-in.
/// </code>
/// </remarks>
RestoreFocusedChild = 1 << 0,
/// <summary>
/// <para>
/// Do not set focus if the window is below a modal.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1098">imgui_internal.h:1098</see>
/// <br/><c>ImGuiFocusRequestFlags_UnlessBelowModal = 1 &lt;&lt; 1</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for FocusWindow(). This is not called ImGuiFocusFlags to avoid confusion with public-facing ImGuiFocusedFlags.
/// FIXME: Once we finishing replacing more uses of GetTopMostPopupModal()+IsWindowWithinBeginStackOf()
/// and FindBlockingModal() with this, we may want to change the flag to be opt-out instead of opt-in.
/// </code>
/// </remarks>
UnlessBelowModal = 1 << 1,
}
}

View file

@ -0,0 +1,494 @@
// <auto-generated/>
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
namespace Brutal.ImGuiApi.Internal
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1003">imgui_internal.h:1003</see>
/// <br/><c>enum ImGuiHoveredFlagsPrivate_</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Extend ImGuiHoveredFlags_
/// </para>
/// </remarks>
public enum ImGuiHoveredFlagsPrivate : int
{
/// <summary>
/// <para>
/// Return true if directly over the item/window, not obstructed by another window, not obstructed by an
/// active popup or modal blocking inputs under them.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1464">imgui.h:1464</see>
/// <br/><c>ImGuiHoveredFlags_None = 0</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for ImGui::IsItemHovered(), ImGui::IsWindowHovered()
/// Note: if you are trying to check whether your mouse should be dispatched to Dear ImGui or to your app, you should use 'io.WantCaptureMouse' instead! Please read the FAQ!
/// Note: windows with the ImGuiWindowFlags_NoInputs flag are ignored by IsWindowHovered() calls.
/// </code>
/// </remarks>
None = ImGuiHoveredFlags.None,
/// <summary>
/// <para>
/// IsWindowHovered() only: Return true if any children of the window is hovered
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1465">imgui.h:1465</see>
/// <br/><c>ImGuiHoveredFlags_ChildWindows = 1 &lt;&lt; 0</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for ImGui::IsItemHovered(), ImGui::IsWindowHovered()
/// Note: if you are trying to check whether your mouse should be dispatched to Dear ImGui or to your app, you should use 'io.WantCaptureMouse' instead! Please read the FAQ!
/// Note: windows with the ImGuiWindowFlags_NoInputs flag are ignored by IsWindowHovered() calls.
/// </code>
/// </remarks>
ChildWindows = ImGuiHoveredFlags.ChildWindows,
/// <summary>
/// <para>
/// IsWindowHovered() only: Test from root window (top most parent of the current hierarchy)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1466">imgui.h:1466</see>
/// <br/><c>ImGuiHoveredFlags_RootWindow = 1 &lt;&lt; 1</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for ImGui::IsItemHovered(), ImGui::IsWindowHovered()
/// Note: if you are trying to check whether your mouse should be dispatched to Dear ImGui or to your app, you should use 'io.WantCaptureMouse' instead! Please read the FAQ!
/// Note: windows with the ImGuiWindowFlags_NoInputs flag are ignored by IsWindowHovered() calls.
/// </code>
/// </remarks>
RootWindow = ImGuiHoveredFlags.RootWindow,
/// <summary>
/// <para>
/// IsWindowHovered() only: Return true if any window is hovered
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1467">imgui.h:1467</see>
/// <br/><c>ImGuiHoveredFlags_AnyWindow = 1 &lt;&lt; 2</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for ImGui::IsItemHovered(), ImGui::IsWindowHovered()
/// Note: if you are trying to check whether your mouse should be dispatched to Dear ImGui or to your app, you should use 'io.WantCaptureMouse' instead! Please read the FAQ!
/// Note: windows with the ImGuiWindowFlags_NoInputs flag are ignored by IsWindowHovered() calls.
/// </code>
/// </remarks>
AnyWindow = ImGuiHoveredFlags.AnyWindow,
/// <summary>
/// <para>
/// IsWindowHovered() only: Do not consider popup hierarchy (do not treat popup emitter as parent of popup)
/// (when used with _ChildWindows or _RootWindow)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1468">imgui.h:1468</see>
/// <br/><c>ImGuiHoveredFlags_NoPopupHierarchy = 1 &lt;&lt; 3</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for ImGui::IsItemHovered(), ImGui::IsWindowHovered()
/// Note: if you are trying to check whether your mouse should be dispatched to Dear ImGui or to your app, you should use 'io.WantCaptureMouse' instead! Please read the FAQ!
/// Note: windows with the ImGuiWindowFlags_NoInputs flag are ignored by IsWindowHovered() calls.
/// </code>
/// </remarks>
NoPopupHierarchy = ImGuiHoveredFlags.NoPopupHierarchy,
/// <summary>
/// <para>
/// IsWindowHovered() only: Consider docking hierarchy (treat dockspace host as parent of docked window)
/// (when used with _ChildWindows or _RootWindow)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1469">imgui.h:1469</see>
/// <br/><c>ImGuiHoveredFlags_DockHierarchy = 1 &lt;&lt; 4</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for ImGui::IsItemHovered(), ImGui::IsWindowHovered()
/// Note: if you are trying to check whether your mouse should be dispatched to Dear ImGui or to your app, you should use 'io.WantCaptureMouse' instead! Please read the FAQ!
/// Note: windows with the ImGuiWindowFlags_NoInputs flag are ignored by IsWindowHovered() calls.
/// </code>
/// </remarks>
DockHierarchy = ImGuiHoveredFlags.DockHierarchy,
/// <summary>
/// <para>
/// Return true even if a popup window is normally blocking access to this item/window
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1470">imgui.h:1470</see>
/// <br/><c>ImGuiHoveredFlags_AllowWhenBlockedByPopup = 1 &lt;&lt; 5</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for ImGui::IsItemHovered(), ImGui::IsWindowHovered()
/// Note: if you are trying to check whether your mouse should be dispatched to Dear ImGui or to your app, you should use 'io.WantCaptureMouse' instead! Please read the FAQ!
/// Note: windows with the ImGuiWindowFlags_NoInputs flag are ignored by IsWindowHovered() calls.
/// </code>
/// </remarks>
AllowWhenBlockedByPopup = ImGuiHoveredFlags.AllowWhenBlockedByPopup,
/// <summary>
/// <para>
/// Return true even if an active item is blocking access to this item/window. Useful for Drag and Drop
/// patterns.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1472">imgui.h:1472</see>
/// <br/><c>ImGuiHoveredFlags_AllowWhenBlockedByActiveItem = 1 &lt;&lt; 7</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for ImGui::IsItemHovered(), ImGui::IsWindowHovered()
/// Note: if you are trying to check whether your mouse should be dispatched to Dear ImGui or to your app, you should use 'io.WantCaptureMouse' instead! Please read the FAQ!
/// Note: windows with the ImGuiWindowFlags_NoInputs flag are ignored by IsWindowHovered() calls.
/// </code>
/// </remarks>
AllowWhenBlockedByActiveItem = ImGuiHoveredFlags.AllowWhenBlockedByActiveItem,
/// <summary>
/// <para>
/// IsItemHovered() only: Return true even if the item uses AllowOverlap mode and is overlapped by another
/// hoverable item.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1473">imgui.h:1473</see>
/// <br/><c>ImGuiHoveredFlags_AllowWhenOverlappedByItem = 1 &lt;&lt; 8</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for ImGui::IsItemHovered(), ImGui::IsWindowHovered()
/// Note: if you are trying to check whether your mouse should be dispatched to Dear ImGui or to your app, you should use 'io.WantCaptureMouse' instead! Please read the FAQ!
/// Note: windows with the ImGuiWindowFlags_NoInputs flag are ignored by IsWindowHovered() calls.
/// </code>
/// </remarks>
AllowWhenOverlappedByItem = ImGuiHoveredFlags.AllowWhenOverlappedByItem,
/// <summary>
/// <para>
/// IsItemHovered() only: Return true even if the position is obstructed or overlapped by another window.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1474">imgui.h:1474</see>
/// <br/><c>ImGuiHoveredFlags_AllowWhenOverlappedByWindow = 1 &lt;&lt; 9</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for ImGui::IsItemHovered(), ImGui::IsWindowHovered()
/// Note: if you are trying to check whether your mouse should be dispatched to Dear ImGui or to your app, you should use 'io.WantCaptureMouse' instead! Please read the FAQ!
/// Note: windows with the ImGuiWindowFlags_NoInputs flag are ignored by IsWindowHovered() calls.
/// </code>
/// </remarks>
AllowWhenOverlappedByWindow = ImGuiHoveredFlags.AllowWhenOverlappedByWindow,
/// <summary>
/// <para>
/// IsItemHovered() only: Return true even if the item is disabled
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1475">imgui.h:1475</see>
/// <br/><c>ImGuiHoveredFlags_AllowWhenDisabled = 1 &lt;&lt; 10</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for ImGui::IsItemHovered(), ImGui::IsWindowHovered()
/// Note: if you are trying to check whether your mouse should be dispatched to Dear ImGui or to your app, you should use 'io.WantCaptureMouse' instead! Please read the FAQ!
/// Note: windows with the ImGuiWindowFlags_NoInputs flag are ignored by IsWindowHovered() calls.
/// </code>
/// </remarks>
AllowWhenDisabled = ImGuiHoveredFlags.AllowWhenDisabled,
/// <summary>
/// <para>
/// IsItemHovered() only: Disable using keyboard/gamepad navigation state when active, always query mouse
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1476">imgui.h:1476</see>
/// <br/><c>ImGuiHoveredFlags_NoNavOverride = 1 &lt;&lt; 11</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for ImGui::IsItemHovered(), ImGui::IsWindowHovered()
/// Note: if you are trying to check whether your mouse should be dispatched to Dear ImGui or to your app, you should use 'io.WantCaptureMouse' instead! Please read the FAQ!
/// Note: windows with the ImGuiWindowFlags_NoInputs flag are ignored by IsWindowHovered() calls.
/// </code>
/// </remarks>
NoNavOverride = ImGuiHoveredFlags.NoNavOverride,
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1477">imgui.h:1477</see>
/// <br/>
/// <c>ImGuiHoveredFlags_AllowWhenOverlapped = ImGuiHoveredFlags_AllowWhenOverlappedByItem | ImGuiHoveredFlags_AllowWhenOverlappedByWindow</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for ImGui::IsItemHovered(), ImGui::IsWindowHovered()
/// Note: if you are trying to check whether your mouse should be dispatched to Dear ImGui or to your app, you should use 'io.WantCaptureMouse' instead! Please read the FAQ!
/// Note: windows with the ImGuiWindowFlags_NoInputs flag are ignored by IsWindowHovered() calls.
/// </code>
/// </remarks>
AllowWhenOverlapped = ImGuiHoveredFlags.AllowWhenOverlapped,
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1478">imgui.h:1478</see>
/// <br/>
/// <c>ImGuiHoveredFlags_RectOnly = ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for ImGui::IsItemHovered(), ImGui::IsWindowHovered()
/// Note: if you are trying to check whether your mouse should be dispatched to Dear ImGui or to your app, you should use 'io.WantCaptureMouse' instead! Please read the FAQ!
/// Note: windows with the ImGuiWindowFlags_NoInputs flag are ignored by IsWindowHovered() calls.
/// </code>
/// </remarks>
RectOnly = ImGuiHoveredFlags.RectOnly,
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1479">imgui.h:1479</see>
/// <br/>
/// <c>ImGuiHoveredFlags_RootAndChildWindows = ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for ImGui::IsItemHovered(), ImGui::IsWindowHovered()
/// Note: if you are trying to check whether your mouse should be dispatched to Dear ImGui or to your app, you should use 'io.WantCaptureMouse' instead! Please read the FAQ!
/// Note: windows with the ImGuiWindowFlags_NoInputs flag are ignored by IsWindowHovered() calls.
/// </code>
/// </remarks>
RootAndChildWindows = ImGuiHoveredFlags.RootAndChildWindows,
/// <summary>
/// <para>
/// Shortcut for standard flags when using IsItemHovered() + SetTooltip() sequence.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1487">imgui.h:1487</see>
/// <br/><c>ImGuiHoveredFlags_ForTooltip = 1 &lt;&lt; 12</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Tooltips mode
/// - typically used in IsItemHovered() + SetTooltip() sequence.
/// - this is a shortcut to pull flags from 'style.HoverFlagsForTooltipMouse' or 'style.HoverFlagsForTooltipNav' where you can reconfigure desired behavior.
/// e.g. 'TooltipHoveredFlagsForMouse' defaults to 'ImGuiHoveredFlags_Stationary | ImGuiHoveredFlags_DelayShort'.
/// - for frequently actioned or hovered items providing a tooltip, you want may to use ImGuiHoveredFlags_ForTooltip (stationary + delay) so the tooltip doesn't show too often.
/// - for items which main purpose is to be hovered, or items with low affordance, or in less consistent apps, prefer no delay or shorter delay.
/// </code>
/// </remarks>
ForTooltip = ImGuiHoveredFlags.ForTooltip,
/// <summary>
/// <para>
/// Require mouse to be stationary for style.HoverStationaryDelay (~0.15 sec) _at least one time_. After
/// this, can move on same item/window. Using the stationary test tends to reduces the need for a long
/// delay.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1492">imgui.h:1492</see>
/// <br/><c>ImGuiHoveredFlags_Stationary = 1 &lt;&lt; 13</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// (Advanced) Mouse Hovering delays.
/// - generally you can use ImGuiHoveredFlags_ForTooltip to use application-standardized flags.
/// - use those if you need specific overrides.
/// </code>
/// </remarks>
Stationary = ImGuiHoveredFlags.Stationary,
/// <summary>
/// <para>
/// IsItemHovered() only: Return true immediately (default). As this is the default you generally ignore
/// this.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1493">imgui.h:1493</see>
/// <br/><c>ImGuiHoveredFlags_DelayNone = 1 &lt;&lt; 14</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// (Advanced) Mouse Hovering delays.
/// - generally you can use ImGuiHoveredFlags_ForTooltip to use application-standardized flags.
/// - use those if you need specific overrides.
/// </code>
/// </remarks>
DelayNone = ImGuiHoveredFlags.DelayNone,
/// <summary>
/// <para>
/// IsItemHovered() only: Return true after style.HoverDelayShort elapsed (~0.15 sec) (shared between items)
/// + requires mouse to be stationary for style.HoverStationaryDelay (once per item).
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1494">imgui.h:1494</see>
/// <br/><c>ImGuiHoveredFlags_DelayShort = 1 &lt;&lt; 15</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// (Advanced) Mouse Hovering delays.
/// - generally you can use ImGuiHoveredFlags_ForTooltip to use application-standardized flags.
/// - use those if you need specific overrides.
/// </code>
/// </remarks>
DelayShort = ImGuiHoveredFlags.DelayShort,
/// <summary>
/// <para>
/// IsItemHovered() only: Return true after style.HoverDelayNormal elapsed (~0.40 sec) (shared between
/// items) + requires mouse to be stationary for style.HoverStationaryDelay (once per item).
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1495">imgui.h:1495</see>
/// <br/><c>ImGuiHoveredFlags_DelayNormal = 1 &lt;&lt; 16</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// (Advanced) Mouse Hovering delays.
/// - generally you can use ImGuiHoveredFlags_ForTooltip to use application-standardized flags.
/// - use those if you need specific overrides.
/// </code>
/// </remarks>
DelayNormal = ImGuiHoveredFlags.DelayNormal,
/// <summary>
/// <para>
/// IsItemHovered() only: Disable shared delay system where moving from one item to the next keeps the
/// previous timer for a short time (standard for tooltips with long delays)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1496">imgui.h:1496</see>
/// <br/><c>ImGuiHoveredFlags_NoSharedDelay = 1 &lt;&lt; 17</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// (Advanced) Mouse Hovering delays.
/// - generally you can use ImGuiHoveredFlags_ForTooltip to use application-standardized flags.
/// - use those if you need specific overrides.
/// </code>
/// </remarks>
NoSharedDelay = ImGuiHoveredFlags.NoSharedDelay,
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1005">imgui_internal.h:1005</see>
/// <br/>
/// <c>ImGuiHoveredFlags_DelayMask_ = ImGuiHoveredFlags_DelayNone | ImGuiHoveredFlags_DelayShort | ImGuiHoveredFlags_DelayNormal | ImGuiHoveredFlags_NoSharedDelay</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Extend ImGuiHoveredFlags_
/// </para>
/// </remarks>
DelayMask =
ImGuiHoveredFlags.DelayNone
| ImGuiHoveredFlags.DelayShort
| ImGuiHoveredFlags.DelayNormal
| ImGuiHoveredFlags.NoSharedDelay,
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1006">imgui_internal.h:1006</see>
/// <br/>
/// <c>ImGuiHoveredFlags_AllowedMaskForIsWindowHovered = ImGuiHoveredFlags_ChildWindows | ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_AnyWindow | ImGuiHoveredFlags_NoPopupHierarchy | ImGuiHoveredFlags_DockHierarchy | ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_ForTooltip | ImGuiHoveredFlags_Stationary</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Extend ImGuiHoveredFlags_
/// </para>
/// </remarks>
AllowedMaskForIsWindowHovered =
ImGuiHoveredFlags.ChildWindows
| ImGuiHoveredFlags.RootWindow
| ImGuiHoveredFlags.AnyWindow
| ImGuiHoveredFlags.NoPopupHierarchy
| ImGuiHoveredFlags.DockHierarchy
| ImGuiHoveredFlags.AllowWhenBlockedByPopup
| ImGuiHoveredFlags.AllowWhenBlockedByActiveItem
| ImGuiHoveredFlags.ForTooltip
| ImGuiHoveredFlags.Stationary,
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1007">imgui_internal.h:1007</see>
/// <br/>
/// <c>ImGuiHoveredFlags_AllowedMaskForIsItemHovered = ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped | ImGuiHoveredFlags_AllowWhenDisabled | ImGuiHoveredFlags_NoNavOverride | ImGuiHoveredFlags_ForTooltip | ImGuiHoveredFlags_Stationary | ImGuiHoveredFlags_DelayMask_</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Extend ImGuiHoveredFlags_
/// </para>
/// </remarks>
AllowedMaskForIsItemHovered =
ImGuiHoveredFlags.AllowWhenBlockedByPopup
| ImGuiHoveredFlags.AllowWhenBlockedByActiveItem
| ImGuiHoveredFlags.AllowWhenOverlapped
| ImGuiHoveredFlags.AllowWhenDisabled
| ImGuiHoveredFlags.NoNavOverride
| ImGuiHoveredFlags.ForTooltip
| ImGuiHoveredFlags.Stationary
| DelayMask,
}
}

View file

@ -0,0 +1,97 @@
// <auto-generated/>
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
namespace Brutal.ImGuiApi.Internal
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1497">imgui_internal.h:1497</see>
/// <br/><c>enum ImGuiInputEventType</c>
/// </para>
/// </summary>
public enum ImGuiInputEventType : int
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1499">imgui_internal.h:1499</see>
/// <br/><c>ImGuiInputEventType_None = 0</c>
/// </para>
/// </summary>
None = 0,
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1500">imgui_internal.h:1500</see>
/// <br/><c>ImGuiInputEventType_MousePos</c>
/// </para>
/// </summary>
MousePos,
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1501">imgui_internal.h:1501</see>
/// <br/><c>ImGuiInputEventType_MouseWheel</c>
/// </para>
/// </summary>
MouseWheel,
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1502">imgui_internal.h:1502</see>
/// <br/><c>ImGuiInputEventType_MouseButton</c>
/// </para>
/// </summary>
MouseButton,
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1503">imgui_internal.h:1503</see>
/// <br/><c>ImGuiInputEventType_MouseViewport</c>
/// </para>
/// </summary>
MouseViewport,
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1504">imgui_internal.h:1504</see>
/// <br/><c>ImGuiInputEventType_Key</c>
/// </para>
/// </summary>
Key,
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1505">imgui_internal.h:1505</see>
/// <br/><c>ImGuiInputEventType_Text</c>
/// </para>
/// </summary>
Text,
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1506">imgui_internal.h:1506</see>
/// <br/><c>ImGuiInputEventType_Focus</c>
/// </para>
/// </summary>
Focus,
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1507">imgui_internal.h:1507</see>
/// <br/><c>ImGuiInputEventType_COUNT</c>
/// </para>
/// </summary>
COUNT,
}
}

View file

@ -0,0 +1,624 @@
// <auto-generated/>
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
namespace Brutal.ImGuiApi.Internal
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1596">imgui_internal.h:1596</see>
/// <br/><c>enum ImGuiInputFlagsPrivate_</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Extend ImGuiInputFlags_
/// Flags for extended versions of IsKeyPressed(), IsMouseClicked(), Shortcut(), SetKeyOwner(), SetItemKeyOwner()
/// Don't mistake with ImGuiInputTextFlags! (which is for ImGui::InputText() function)
/// </code>
/// </remarks>
public enum ImGuiInputFlagsPrivate : int
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1722">imgui.h:1722</see>
/// <br/><c>ImGuiInputFlags_None = 0</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for Shortcut(), SetNextItemShortcut(),
/// (and for upcoming extended versions of IsKeyPressed(), IsMouseClicked(), Shortcut(), SetKeyOwner(), SetItemKeyOwner() that are still in imgui_internal.h)
/// Don't mistake with ImGuiInputTextFlags! (which is for ImGui::InputText() function)
/// </code>
/// </remarks>
None = ImGuiInputFlags.None,
/// <summary>
/// <para>
/// Enable repeat. Return true on successive repeats. Default for legacy IsKeyPressed(). NOT Default for
/// legacy IsMouseClicked(). MUST BE == 1.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1723">imgui.h:1723</see>
/// <br/><c>ImGuiInputFlags_Repeat = 1 &lt;&lt; 0</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for Shortcut(), SetNextItemShortcut(),
/// (and for upcoming extended versions of IsKeyPressed(), IsMouseClicked(), Shortcut(), SetKeyOwner(), SetItemKeyOwner() that are still in imgui_internal.h)
/// Don't mistake with ImGuiInputTextFlags! (which is for ImGui::InputText() function)
/// </code>
/// </remarks>
Repeat = ImGuiInputFlags.Repeat,
/// <summary>
/// <para>
/// Route to active item only.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1728">imgui.h:1728</see>
/// <br/><c>ImGuiInputFlags_RouteActive = 1 &lt;&lt; 10</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for Shortcut(), SetNextItemShortcut()
/// - Routing policies: RouteGlobal+OverActive &gt;&gt; RouteActive or RouteFocused (if owner is active item) &gt;&gt; RouteGlobal+OverFocused &gt;&gt; RouteFocused (if in focused window stack) &gt;&gt; RouteGlobal.
/// - Default policy is RouteFocused. Can select only 1 policy among all available.
/// </code>
/// </remarks>
RouteActive = ImGuiInputFlags.RouteActive,
/// <summary>
/// <para>
/// Route to windows in the focus stack (DEFAULT). Deep-most focused window takes inputs. Active item takes
/// inputs over deep-most focused window.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1729">imgui.h:1729</see>
/// <br/><c>ImGuiInputFlags_RouteFocused = 1 &lt;&lt; 11</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for Shortcut(), SetNextItemShortcut()
/// - Routing policies: RouteGlobal+OverActive &gt;&gt; RouteActive or RouteFocused (if owner is active item) &gt;&gt; RouteGlobal+OverFocused &gt;&gt; RouteFocused (if in focused window stack) &gt;&gt; RouteGlobal.
/// - Default policy is RouteFocused. Can select only 1 policy among all available.
/// </code>
/// </remarks>
RouteFocused = ImGuiInputFlags.RouteFocused,
/// <summary>
/// <para>
/// Global route (unless a focused window or active item registered the route).
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1730">imgui.h:1730</see>
/// <br/><c>ImGuiInputFlags_RouteGlobal = 1 &lt;&lt; 12</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for Shortcut(), SetNextItemShortcut()
/// - Routing policies: RouteGlobal+OverActive &gt;&gt; RouteActive or RouteFocused (if owner is active item) &gt;&gt; RouteGlobal+OverFocused &gt;&gt; RouteFocused (if in focused window stack) &gt;&gt; RouteGlobal.
/// - Default policy is RouteFocused. Can select only 1 policy among all available.
/// </code>
/// </remarks>
RouteGlobal = ImGuiInputFlags.RouteGlobal,
/// <summary>
/// <para>
/// Do not register route, poll keys directly.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1731">imgui.h:1731</see>
/// <br/><c>ImGuiInputFlags_RouteAlways = 1 &lt;&lt; 13</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for Shortcut(), SetNextItemShortcut()
/// - Routing policies: RouteGlobal+OverActive &gt;&gt; RouteActive or RouteFocused (if owner is active item) &gt;&gt; RouteGlobal+OverFocused &gt;&gt; RouteFocused (if in focused window stack) &gt;&gt; RouteGlobal.
/// - Default policy is RouteFocused. Can select only 1 policy among all available.
/// </code>
/// </remarks>
RouteAlways = ImGuiInputFlags.RouteAlways,
/// <summary>
/// <para>
/// Option: global route: higher priority than focused route (unless active item in focused route).
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1733">imgui.h:1733</see>
/// <br/><c>ImGuiInputFlags_RouteOverFocused = 1 &lt;&lt; 14</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// - Routing options
/// </para>
/// </remarks>
RouteOverFocused = ImGuiInputFlags.RouteOverFocused,
/// <summary>
/// <para>
/// Option: global route: higher priority than active item. Unlikely you need to use that: will interfere
/// with every active items, e.g. CTRL+A registered by InputText will be overridden by this. May not be
/// fully honored as user/internal code is likely to always assume they can access keys when active.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1734">imgui.h:1734</see>
/// <br/><c>ImGuiInputFlags_RouteOverActive = 1 &lt;&lt; 15</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// - Routing options
/// </para>
/// </remarks>
RouteOverActive = ImGuiInputFlags.RouteOverActive,
/// <summary>
/// <para>
/// Option: global route: will not be applied if underlying background/void is focused (== no Dear ImGui
/// windows are focused). Useful for overlay applications.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1735">imgui.h:1735</see>
/// <br/><c>ImGuiInputFlags_RouteUnlessBgFocused = 1 &lt;&lt; 16</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// - Routing options
/// </para>
/// </remarks>
RouteUnlessBgFocused = ImGuiInputFlags.RouteUnlessBgFocused,
/// <summary>
/// <para>
/// Option: route evaluated from the point of view of root window rather than current window.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1736">imgui.h:1736</see>
/// <br/><c>ImGuiInputFlags_RouteFromRootWindow = 1 &lt;&lt; 17</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// - Routing options
/// </para>
/// </remarks>
RouteFromRootWindow = ImGuiInputFlags.RouteFromRootWindow,
/// <summary>
/// <para>
/// Automatically display a tooltip when hovering item [BETA] Unsure of right api (opt-in/opt-out)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1739">imgui.h:1739</see>
/// <br/><c>ImGuiInputFlags_Tooltip = 1 &lt;&lt; 18</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Flags for SetNextItemShortcut()
/// </para>
/// </remarks>
Tooltip = ImGuiInputFlags.Tooltip,
/// <summary>
/// <para>
/// Repeat rate: Regular (default)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1600">imgui_internal.h:1600</see>
/// <br/><c>ImGuiInputFlags_RepeatRateDefault = 1 &lt;&lt; 1</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for IsKeyPressed(), IsKeyChordPressed(), IsMouseClicked(), Shortcut()
/// - Repeat mode: Repeat rate selection
/// </code>
/// </remarks>
RepeatRateDefault = 1 << 1,
/// <summary>
/// <para>
/// Repeat rate: Fast
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1601">imgui_internal.h:1601</see>
/// <br/><c>ImGuiInputFlags_RepeatRateNavMove = 1 &lt;&lt; 2</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for IsKeyPressed(), IsKeyChordPressed(), IsMouseClicked(), Shortcut()
/// - Repeat mode: Repeat rate selection
/// </code>
/// </remarks>
RepeatRateNavMove = 1 << 2,
/// <summary>
/// <para>
/// Repeat rate: Faster
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1602">imgui_internal.h:1602</see>
/// <br/><c>ImGuiInputFlags_RepeatRateNavTweak = 1 &lt;&lt; 3</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for IsKeyPressed(), IsKeyChordPressed(), IsMouseClicked(), Shortcut()
/// - Repeat mode: Repeat rate selection
/// </code>
/// </remarks>
RepeatRateNavTweak = 1 << 3,
/// <summary>
/// <para>
/// Stop repeating when released (default for all functions except Shortcut). This only exists to allow
/// overriding Shortcut() default behavior.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1605">imgui_internal.h:1605</see>
/// <br/><c>ImGuiInputFlags_RepeatUntilRelease = 1 &lt;&lt; 4</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// - Repeat mode: Specify when repeating key pressed can be interrupted.
/// - In theory ImGuiInputFlags_RepeatUntilOtherKeyPress may be a desirable default, but it would break too many behavior so everything is opt-in.
/// </code>
/// </remarks>
RepeatUntilRelease = 1 << 4,
/// <summary>
/// <para>
/// Stop repeating when released OR if keyboard mods are changed (default for Shortcut)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1606">imgui_internal.h:1606</see>
/// <br/><c>ImGuiInputFlags_RepeatUntilKeyModsChange = 1 &lt;&lt; 5</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// - Repeat mode: Specify when repeating key pressed can be interrupted.
/// - In theory ImGuiInputFlags_RepeatUntilOtherKeyPress may be a desirable default, but it would break too many behavior so everything is opt-in.
/// </code>
/// </remarks>
RepeatUntilKeyModsChange = 1 << 5,
/// <summary>
/// <para>
/// Stop repeating when released OR if keyboard mods are leaving the None state. Allows going from Mod+Key
/// to Key by releasing Mod.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1607">imgui_internal.h:1607</see>
/// <br/><c>ImGuiInputFlags_RepeatUntilKeyModsChangeFromNone = 1 &lt;&lt; 6</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// - Repeat mode: Specify when repeating key pressed can be interrupted.
/// - In theory ImGuiInputFlags_RepeatUntilOtherKeyPress may be a desirable default, but it would break too many behavior so everything is opt-in.
/// </code>
/// </remarks>
RepeatUntilKeyModsChangeFromNone = 1 << 6,
/// <summary>
/// <para>
/// Stop repeating when released OR if any other keyboard key is pressed during the repeat
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1608">imgui_internal.h:1608</see>
/// <br/><c>ImGuiInputFlags_RepeatUntilOtherKeyPress = 1 &lt;&lt; 7</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// - Repeat mode: Specify when repeating key pressed can be interrupted.
/// - In theory ImGuiInputFlags_RepeatUntilOtherKeyPress may be a desirable default, but it would break too many behavior so everything is opt-in.
/// </code>
/// </remarks>
RepeatUntilOtherKeyPress = 1 << 7,
/// <summary>
/// <para>
/// Further accesses to key data will require EXPLICIT owner ID (ImGuiKeyOwner_Any/0 will NOT accepted for
/// polling). Cleared at end of frame.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1612">imgui_internal.h:1612</see>
/// <br/><c>ImGuiInputFlags_LockThisFrame = 1 &lt;&lt; 20</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for SetKeyOwner(), SetItemKeyOwner()
/// - Locking key away from non-input aware code. Locking is useful to make input-owner-aware code steal keys from non-input-owner-aware code. If all code is input-owner-aware locking would never be necessary.
/// </code>
/// </remarks>
LockThisFrame = 1 << 20,
/// <summary>
/// <para>
/// Further accesses to key data will require EXPLICIT owner ID (ImGuiKeyOwner_Any/0 will NOT accepted for
/// polling). Cleared when the key is released or at end of each frame if key is released.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1613">imgui_internal.h:1613</see>
/// <br/><c>ImGuiInputFlags_LockUntilRelease = 1 &lt;&lt; 21</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for SetKeyOwner(), SetItemKeyOwner()
/// - Locking key away from non-input aware code. Locking is useful to make input-owner-aware code steal keys from non-input-owner-aware code. If all code is input-owner-aware locking would never be necessary.
/// </code>
/// </remarks>
LockUntilRelease = 1 << 21,
/// <summary>
/// <para>
/// Only set if item is hovered (default to both)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1616">imgui_internal.h:1616</see>
/// <br/><c>ImGuiInputFlags_CondHovered = 1 &lt;&lt; 22</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// - Condition for SetItemKeyOwner()
/// </para>
/// </remarks>
CondHovered = 1 << 22,
/// <summary>
/// <para>
/// Only set if item is active (default to both)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1617">imgui_internal.h:1617</see>
/// <br/><c>ImGuiInputFlags_CondActive = 1 &lt;&lt; 23</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// - Condition for SetItemKeyOwner()
/// </para>
/// </remarks>
CondActive = 1 << 23,
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1618">imgui_internal.h:1618</see>
/// <br/><c>ImGuiInputFlags_CondDefault_ = ImGuiInputFlags_CondHovered | ImGuiInputFlags_CondActive</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// - Condition for SetItemKeyOwner()
/// </para>
/// </remarks>
CondDefault = CondHovered | CondActive,
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1621">imgui_internal.h:1621</see>
/// <br/>
/// <c>ImGuiInputFlags_RepeatRateMask_ = ImGuiInputFlags_RepeatRateDefault | ImGuiInputFlags_RepeatRateNavMove | ImGuiInputFlags_RepeatRateNavTweak</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// [Internal] Mask of which function support which flags
/// </para>
/// </remarks>
RepeatRateMask = RepeatRateDefault | RepeatRateNavMove | RepeatRateNavTweak,
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1622">imgui_internal.h:1622</see>
/// <br/>
/// <c>ImGuiInputFlags_RepeatUntilMask_ = ImGuiInputFlags_RepeatUntilRelease | ImGuiInputFlags_RepeatUntilKeyModsChange | ImGuiInputFlags_RepeatUntilKeyModsChangeFromNone | ImGuiInputFlags_RepeatUntilOtherKeyPress</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// [Internal] Mask of which function support which flags
/// </para>
/// </remarks>
RepeatUntilMask =
RepeatUntilRelease | RepeatUntilKeyModsChange | RepeatUntilKeyModsChangeFromNone | RepeatUntilOtherKeyPress,
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1623">imgui_internal.h:1623</see>
/// <br/>
/// <c>ImGuiInputFlags_RepeatMask_ = ImGuiInputFlags_Repeat | ImGuiInputFlags_RepeatRateMask_ | ImGuiInputFlags_RepeatUntilMask_</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// [Internal] Mask of which function support which flags
/// </para>
/// </remarks>
RepeatMask = ImGuiInputFlags.Repeat | RepeatRateMask | RepeatUntilMask,
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1624">imgui_internal.h:1624</see>
/// <br/><c>ImGuiInputFlags_CondMask_ = ImGuiInputFlags_CondHovered | ImGuiInputFlags_CondActive</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// [Internal] Mask of which function support which flags
/// </para>
/// </remarks>
CondMask = CondHovered | CondActive,
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1625">imgui_internal.h:1625</see>
/// <br/>
/// <c>ImGuiInputFlags_RouteTypeMask_ = ImGuiInputFlags_RouteActive | ImGuiInputFlags_RouteFocused | ImGuiInputFlags_RouteGlobal | ImGuiInputFlags_RouteAlways</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// [Internal] Mask of which function support which flags
/// </para>
/// </remarks>
RouteTypeMask =
ImGuiInputFlags.RouteActive
| ImGuiInputFlags.RouteFocused
| ImGuiInputFlags.RouteGlobal
| ImGuiInputFlags.RouteAlways,
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1626">imgui_internal.h:1626</see>
/// <br/>
/// <c>ImGuiInputFlags_RouteOptionsMask_ = ImGuiInputFlags_RouteOverFocused | ImGuiInputFlags_RouteOverActive | ImGuiInputFlags_RouteUnlessBgFocused | ImGuiInputFlags_RouteFromRootWindow</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// [Internal] Mask of which function support which flags
/// </para>
/// </remarks>
RouteOptionsMask =
ImGuiInputFlags.RouteOverFocused
| ImGuiInputFlags.RouteOverActive
| ImGuiInputFlags.RouteUnlessBgFocused
| ImGuiInputFlags.RouteFromRootWindow,
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1627">imgui_internal.h:1627</see>
/// <br/><c>ImGuiInputFlags_SupportedByIsKeyPressed = ImGuiInputFlags_RepeatMask_</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// [Internal] Mask of which function support which flags
/// </para>
/// </remarks>
SupportedByIsKeyPressed = RepeatMask,
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1628">imgui_internal.h:1628</see>
/// <br/><c>ImGuiInputFlags_SupportedByIsMouseClicked = ImGuiInputFlags_Repeat</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// [Internal] Mask of which function support which flags
/// </para>
/// </remarks>
SupportedByIsMouseClicked = ImGuiInputFlags.Repeat,
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1629">imgui_internal.h:1629</see>
/// <br/>
/// <c>ImGuiInputFlags_SupportedByShortcut = ImGuiInputFlags_RepeatMask_ | ImGuiInputFlags_RouteTypeMask_ | ImGuiInputFlags_RouteOptionsMask_</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// [Internal] Mask of which function support which flags
/// </para>
/// </remarks>
SupportedByShortcut = RepeatMask | RouteTypeMask | RouteOptionsMask,
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1630">imgui_internal.h:1630</see>
/// <br/>
/// <c>ImGuiInputFlags_SupportedBySetNextItemShortcut = ImGuiInputFlags_RepeatMask_ | ImGuiInputFlags_RouteTypeMask_ | ImGuiInputFlags_RouteOptionsMask_ | ImGuiInputFlags_Tooltip</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// [Internal] Mask of which function support which flags
/// </para>
/// </remarks>
SupportedBySetNextItemShortcut = RepeatMask | RouteTypeMask | RouteOptionsMask | ImGuiInputFlags.Tooltip,
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1631">imgui_internal.h:1631</see>
/// <br/>
/// <c>ImGuiInputFlags_SupportedBySetKeyOwner = ImGuiInputFlags_LockThisFrame | ImGuiInputFlags_LockUntilRelease</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// [Internal] Mask of which function support which flags
/// </para>
/// </remarks>
SupportedBySetKeyOwner = LockThisFrame | LockUntilRelease,
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1632">imgui_internal.h:1632</see>
/// <br/>
/// <c>ImGuiInputFlags_SupportedBySetItemKeyOwner = ImGuiInputFlags_SupportedBySetKeyOwner | ImGuiInputFlags_CondMask_</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// [Internal] Mask of which function support which flags
/// </para>
/// </remarks>
SupportedBySetItemKeyOwner = SupportedBySetKeyOwner | CondMask,
}
}

View file

@ -0,0 +1,64 @@
// <auto-generated/>
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
namespace Brutal.ImGuiApi.Internal
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1510">imgui_internal.h:1510</see>
/// <br/><c>enum ImGuiInputSource</c>
/// </para>
/// </summary>
public enum ImGuiInputSource : int
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1512">imgui_internal.h:1512</see>
/// <br/><c>ImGuiInputSource_None = 0</c>
/// </para>
/// </summary>
None = 0,
/// <summary>
/// <para>
/// Note: may be Mouse or TouchScreen or Pen. See io.MouseSource to distinguish them.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1513">imgui_internal.h:1513</see>
/// <br/><c>ImGuiInputSource_Mouse</c>
/// </para>
/// </summary>
Mouse,
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1514">imgui_internal.h:1514</see>
/// <br/><c>ImGuiInputSource_Keyboard</c>
/// </para>
/// </summary>
Keyboard,
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1515">imgui_internal.h:1515</see>
/// <br/><c>ImGuiInputSource_Gamepad</c>
/// </para>
/// </summary>
Gamepad,
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1516">imgui_internal.h:1516</see>
/// <br/><c>ImGuiInputSource_COUNT</c>
/// </para>
/// </summary>
COUNT,
}
}

View file

@ -0,0 +1,506 @@
// <auto-generated/>
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
namespace Brutal.ImGuiApi.Internal
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1011">imgui_internal.h:1011</see>
/// <br/><c>enum ImGuiInputTextFlagsPrivate_</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Extend ImGuiInputTextFlags_
/// </para>
/// </remarks>
public enum ImGuiInputTextFlagsPrivate : int
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1276">imgui.h:1276</see>
/// <br/><c>ImGuiInputTextFlags_None = 0</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Basic filters (also see ImGuiInputTextFlags_CallbackCharFilter)
/// </para>
/// </remarks>
None = ImGuiInputTextFlags.None,
/// <summary>
/// <para>
/// Allow 0123456789.+-*/
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1277">imgui.h:1277</see>
/// <br/><c>ImGuiInputTextFlags_CharsDecimal = 1 &lt;&lt; 0</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Basic filters (also see ImGuiInputTextFlags_CallbackCharFilter)
/// </para>
/// </remarks>
CharsDecimal = ImGuiInputTextFlags.CharsDecimal,
/// <summary>
/// <para>
/// Allow 0123456789ABCDEFabcdef
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1278">imgui.h:1278</see>
/// <br/><c>ImGuiInputTextFlags_CharsHexadecimal = 1 &lt;&lt; 1</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Basic filters (also see ImGuiInputTextFlags_CallbackCharFilter)
/// </para>
/// </remarks>
CharsHexadecimal = ImGuiInputTextFlags.CharsHexadecimal,
/// <summary>
/// <para>
/// Allow 0123456789.+-*/eE (Scientific notation input)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1279">imgui.h:1279</see>
/// <br/><c>ImGuiInputTextFlags_CharsScientific = 1 &lt;&lt; 2</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Basic filters (also see ImGuiInputTextFlags_CallbackCharFilter)
/// </para>
/// </remarks>
CharsScientific = ImGuiInputTextFlags.CharsScientific,
/// <summary>
/// <para>
/// Turn a..z into A..Z
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1280">imgui.h:1280</see>
/// <br/><c>ImGuiInputTextFlags_CharsUppercase = 1 &lt;&lt; 3</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Basic filters (also see ImGuiInputTextFlags_CallbackCharFilter)
/// </para>
/// </remarks>
CharsUppercase = ImGuiInputTextFlags.CharsUppercase,
/// <summary>
/// <para>
/// Filter out spaces, tabs
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1281">imgui.h:1281</see>
/// <br/><c>ImGuiInputTextFlags_CharsNoBlank = 1 &lt;&lt; 4</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Basic filters (also see ImGuiInputTextFlags_CallbackCharFilter)
/// </para>
/// </remarks>
CharsNoBlank = ImGuiInputTextFlags.CharsNoBlank,
/// <summary>
/// <para>
/// Pressing TAB input a '\t' character into the text field
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1284">imgui.h:1284</see>
/// <br/><c>ImGuiInputTextFlags_AllowTabInput = 1 &lt;&lt; 5</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Inputs
/// </para>
/// </remarks>
AllowTabInput = ImGuiInputTextFlags.AllowTabInput,
/// <summary>
/// <para>
/// Return 'true' when Enter is pressed (as opposed to every time the value was modified). Consider using
/// IsItemDeactivatedAfterEdit() instead!
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1285">imgui.h:1285</see>
/// <br/><c>ImGuiInputTextFlags_EnterReturnsTrue = 1 &lt;&lt; 6</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Inputs
/// </para>
/// </remarks>
EnterReturnsTrue = ImGuiInputTextFlags.EnterReturnsTrue,
/// <summary>
/// <para>
/// Escape key clears content if not empty, and deactivate otherwise (contrast to default behavior of Escape
/// to revert)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1286">imgui.h:1286</see>
/// <br/><c>ImGuiInputTextFlags_EscapeClearsAll = 1 &lt;&lt; 7</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Inputs
/// </para>
/// </remarks>
EscapeClearsAll = ImGuiInputTextFlags.EscapeClearsAll,
/// <summary>
/// <para>
/// In multi-line mode, validate with Enter, add new line with Ctrl+Enter (default is opposite: validate
/// with Ctrl+Enter, add line with Enter).
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1287">imgui.h:1287</see>
/// <br/><c>ImGuiInputTextFlags_CtrlEnterForNewLine = 1 &lt;&lt; 8</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Inputs
/// </para>
/// </remarks>
CtrlEnterForNewLine = ImGuiInputTextFlags.CtrlEnterForNewLine,
/// <summary>
/// <para>
/// Read-only mode
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1290">imgui.h:1290</see>
/// <br/><c>ImGuiInputTextFlags_ReadOnly = 1 &lt;&lt; 9</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Other options
/// </para>
/// </remarks>
ReadOnly = ImGuiInputTextFlags.ReadOnly,
/// <summary>
/// <para>
/// Password mode, display all characters as '*', disable copy
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1291">imgui.h:1291</see>
/// <br/><c>ImGuiInputTextFlags_Password = 1 &lt;&lt; 10</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Other options
/// </para>
/// </remarks>
Password = ImGuiInputTextFlags.Password,
/// <summary>
/// <para>
/// Overwrite mode
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1292">imgui.h:1292</see>
/// <br/><c>ImGuiInputTextFlags_AlwaysOverwrite = 1 &lt;&lt; 11</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Other options
/// </para>
/// </remarks>
AlwaysOverwrite = ImGuiInputTextFlags.AlwaysOverwrite,
/// <summary>
/// <para>
/// Select entire text when first taking mouse focus
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1293">imgui.h:1293</see>
/// <br/><c>ImGuiInputTextFlags_AutoSelectAll = 1 &lt;&lt; 12</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Other options
/// </para>
/// </remarks>
AutoSelectAll = ImGuiInputTextFlags.AutoSelectAll,
/// <summary>
/// <para>
/// InputFloat(), InputInt(), InputScalar() etc. only: parse empty string as zero value.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1294">imgui.h:1294</see>
/// <br/><c>ImGuiInputTextFlags_ParseEmptyRefVal = 1 &lt;&lt; 13</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Other options
/// </para>
/// </remarks>
ParseEmptyRefVal = ImGuiInputTextFlags.ParseEmptyRefVal,
/// <summary>
/// <para>
/// InputFloat(), InputInt(), InputScalar() etc. only: when value is zero, do not display it. Generally used
/// with ImGuiInputTextFlags_ParseEmptyRefVal.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1295">imgui.h:1295</see>
/// <br/><c>ImGuiInputTextFlags_DisplayEmptyRefVal = 1 &lt;&lt; 14</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Other options
/// </para>
/// </remarks>
DisplayEmptyRefVal = ImGuiInputTextFlags.DisplayEmptyRefVal,
/// <summary>
/// <para>
/// Disable following the cursor horizontally
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1296">imgui.h:1296</see>
/// <br/><c>ImGuiInputTextFlags_NoHorizontalScroll = 1 &lt;&lt; 15</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Other options
/// </para>
/// </remarks>
NoHorizontalScroll = ImGuiInputTextFlags.NoHorizontalScroll,
/// <summary>
/// <para>
/// Disable undo/redo. Note that input text owns the text data while active, if you want to provide your own
/// undo/redo stack you need e.g. to call ClearActiveID().
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1297">imgui.h:1297</see>
/// <br/><c>ImGuiInputTextFlags_NoUndoRedo = 1 &lt;&lt; 16</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Other options
/// </para>
/// </remarks>
NoUndoRedo = ImGuiInputTextFlags.NoUndoRedo,
/// <summary>
/// <para>
/// When text doesn't fit, elide left side to ensure right side stays visible. Useful for path/filenames.
/// Single-line only!
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1300">imgui.h:1300</see>
/// <br/><c>ImGuiInputTextFlags_ElideLeft = 1 &lt;&lt; 17</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Elide display / Alignment
/// </para>
/// </remarks>
ElideLeft = ImGuiInputTextFlags.ElideLeft,
/// <summary>
/// <para>
/// Callback on pressing TAB (for completion handling)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1303">imgui.h:1303</see>
/// <br/><c>ImGuiInputTextFlags_CallbackCompletion = 1 &lt;&lt; 18</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Callback features
/// </para>
/// </remarks>
CallbackCompletion = ImGuiInputTextFlags.CallbackCompletion,
/// <summary>
/// <para>
/// Callback on pressing Up/Down arrows (for history handling)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1304">imgui.h:1304</see>
/// <br/><c>ImGuiInputTextFlags_CallbackHistory = 1 &lt;&lt; 19</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Callback features
/// </para>
/// </remarks>
CallbackHistory = ImGuiInputTextFlags.CallbackHistory,
/// <summary>
/// <para>
/// Callback on each iteration. User code may query cursor position, modify text buffer.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1305">imgui.h:1305</see>
/// <br/><c>ImGuiInputTextFlags_CallbackAlways = 1 &lt;&lt; 20</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Callback features
/// </para>
/// </remarks>
CallbackAlways = ImGuiInputTextFlags.CallbackAlways,
/// <summary>
/// <para>
/// Callback on character inputs to replace or discard them. Modify 'EventChar' to replace or discard, or
/// return 1 in callback to discard.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1306">imgui.h:1306</see>
/// <br/><c>ImGuiInputTextFlags_CallbackCharFilter = 1 &lt;&lt; 21</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Callback features
/// </para>
/// </remarks>
CallbackCharFilter = ImGuiInputTextFlags.CallbackCharFilter,
/// <summary>
/// <para>
/// Callback on buffer capacity changes request (beyond 'buf_size' parameter value), allowing the string to
/// grow. Notify when the string wants to be resized (for string types which hold a cache of their Size).
/// You will be provided a new BufSize in the callback and NEED to honor it. (see misc/cpp/imgui_stdlib.h
/// for an example of using this)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1307">imgui.h:1307</see>
/// <br/><c>ImGuiInputTextFlags_CallbackResize = 1 &lt;&lt; 22</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Callback features
/// </para>
/// </remarks>
CallbackResize = ImGuiInputTextFlags.CallbackResize,
/// <summary>
/// <para>
/// Callback on any edit. Note that InputText() already returns true on edit + you can always use
/// IsItemEdited(). The callback is useful to manipulate the underlying buffer while focus is active.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1308">imgui.h:1308</see>
/// <br/><c>ImGuiInputTextFlags_CallbackEdit = 1 &lt;&lt; 23</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Callback features
/// </para>
/// </remarks>
CallbackEdit = ImGuiInputTextFlags.CallbackEdit,
/// <summary>
/// <para>
/// For internal use by InputTextMultiline()
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1014">imgui_internal.h:1014</see>
/// <br/><c>ImGuiInputTextFlags_Multiline = 1 &lt;&lt; 26</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// [Internal]
/// </para>
/// </remarks>
Multiline = 1 << 26,
/// <summary>
/// <para>
/// For internal use by TempInputText(), will skip calling ItemAdd(). Require bounding-box to strictly
/// match.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1015">imgui_internal.h:1015</see>
/// <br/><c>ImGuiInputTextFlags_MergedItem = 1 &lt;&lt; 27</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// [Internal]
/// </para>
/// </remarks>
MergedItem = 1 << 27,
/// <summary>
/// <para>
/// For internal use by InputScalar() and TempInputScalar()
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1016">imgui_internal.h:1016</see>
/// <br/><c>ImGuiInputTextFlags_LocalizeDecimalPoint= 1 &lt;&lt; 28</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// [Internal]
/// </para>
/// </remarks>
LocalizeDecimalPoint = 1 << 28,
}
}

View file

@ -0,0 +1,358 @@
// <auto-generated/>
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
namespace Brutal.ImGuiApi.Internal
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L951">imgui_internal.h:951</see>
/// <br/><c>enum ImGuiItemFlagsPrivate_</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Extend ImGuiItemFlags
/// - input: PushItemFlag() manipulates g.CurrentItemFlags, g.NextItemData.ItemFlags, ItemAdd() calls may add extra flags too.
/// - output: stored in g.LastItemData.ItemFlags
/// </code>
/// </remarks>
public enum ImGuiItemFlagsPrivate : int
{
/// <summary>
/// <para>
/// (Default)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1262">imgui.h:1262</see>
/// <br/><c>ImGuiItemFlags_None = 0</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for ImGui::PushItemFlag()
/// (Those are shared by all items)
/// </code>
/// </remarks>
None = ImGuiItemFlags.None,
/// <summary>
/// <para>
/// false // Disable keyboard tabbing. This is a "lighter" version of ImGuiItemFlags_NoNav.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1263">imgui.h:1263</see>
/// <br/><c>ImGuiItemFlags_NoTabStop = 1 &lt;&lt; 0</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for ImGui::PushItemFlag()
/// (Those are shared by all items)
/// </code>
/// </remarks>
NoTabStop = ImGuiItemFlags.NoTabStop,
/// <summary>
/// <para>
/// false // Disable any form of focusing (keyboard/gamepad directional navigation and
/// SetKeyboardFocusHere() calls).
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1264">imgui.h:1264</see>
/// <br/><c>ImGuiItemFlags_NoNav = 1 &lt;&lt; 1</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for ImGui::PushItemFlag()
/// (Those are shared by all items)
/// </code>
/// </remarks>
NoNav = ImGuiItemFlags.NoNav,
/// <summary>
/// <para>
/// false // Disable item being a candidate for default focus (e.g. used by title bar items).
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1265">imgui.h:1265</see>
/// <br/><c>ImGuiItemFlags_NoNavDefaultFocus = 1 &lt;&lt; 2</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for ImGui::PushItemFlag()
/// (Those are shared by all items)
/// </code>
/// </remarks>
NoNavDefaultFocus = ImGuiItemFlags.NoNavDefaultFocus,
/// <summary>
/// <para>
/// false // Any button-like behavior will have repeat mode enabled (based on io.KeyRepeatDelay and
/// io.KeyRepeatRate values). Note that you can also call IsItemActive() after any button to tell if it is
/// being held.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1266">imgui.h:1266</see>
/// <br/><c>ImGuiItemFlags_ButtonRepeat = 1 &lt;&lt; 3</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for ImGui::PushItemFlag()
/// (Those are shared by all items)
/// </code>
/// </remarks>
ButtonRepeat = ImGuiItemFlags.ButtonRepeat,
/// <summary>
/// <para>
/// true // MenuItem()/Selectable() automatically close their parent popup window.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1267">imgui.h:1267</see>
/// <br/><c>ImGuiItemFlags_AutoClosePopups = 1 &lt;&lt; 4</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for ImGui::PushItemFlag()
/// (Those are shared by all items)
/// </code>
/// </remarks>
AutoClosePopups = ImGuiItemFlags.AutoClosePopups,
/// <summary>
/// <para>
/// false // Allow submitting an item with the same identifier as an item already submitted this frame
/// without triggering a warning tooltip if io.ConfigDebugHighlightIdConflicts is set.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1268">imgui.h:1268</see>
/// <br/><c>ImGuiItemFlags_AllowDuplicateId = 1 &lt;&lt; 5</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for ImGui::PushItemFlag()
/// (Those are shared by all items)
/// </code>
/// </remarks>
AllowDuplicateId = ImGuiItemFlags.AllowDuplicateId,
/// <summary>
/// <para>
/// false // Disable interactions (DOES NOT affect visuals. DO NOT mix direct use of this with
/// BeginDisabled(). See BeginDisabled()/EndDisabled() for full disable feature, and github #211).
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L954">imgui_internal.h:954</see>
/// <br/><c>ImGuiItemFlags_Disabled = 1 &lt;&lt; 10</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Controlled by user
/// </para>
/// </remarks>
Disabled = 1 << 10,
/// <summary>
/// <para>
/// false // [ALPHA] Allow hovering interactions but underlying value is not changed.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L955">imgui_internal.h:955</see>
/// <br/><c>ImGuiItemFlags_ReadOnly = 1 &lt;&lt; 11</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Controlled by user
/// </para>
/// </remarks>
ReadOnly = 1 << 11,
/// <summary>
/// <para>
/// false // [BETA] Represent a mixed/indeterminate value, generally multi-selection where values
/// differ. Currently only supported by Checkbox() (later should support all sorts of widgets)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L956">imgui_internal.h:956</see>
/// <br/><c>ImGuiItemFlags_MixedValue = 1 &lt;&lt; 12</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Controlled by user
/// </para>
/// </remarks>
MixedValue = 1 << 12,
/// <summary>
/// <para>
/// false // Disable hoverable check in ItemHoverable()
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L957">imgui_internal.h:957</see>
/// <br/><c>ImGuiItemFlags_NoWindowHoverableCheck = 1 &lt;&lt; 13</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Controlled by user
/// </para>
/// </remarks>
NoWindowHoverableCheck = 1 << 13,
/// <summary>
/// <para>
/// false // Allow being overlapped by another widget. Not-hovered to Hovered transition deferred by a
/// frame.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L958">imgui_internal.h:958</see>
/// <br/><c>ImGuiItemFlags_AllowOverlap = 1 &lt;&lt; 14</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Controlled by user
/// </para>
/// </remarks>
AllowOverlap = 1 << 14,
/// <summary>
/// <para>
/// false // Nav keyboard/gamepad mode doesn't disable hover highlight (behave as if
/// NavHighlightItemUnderNav==false).
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L959">imgui_internal.h:959</see>
/// <br/><c>ImGuiItemFlags_NoNavDisableMouseHover = 1 &lt;&lt; 15</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Controlled by user
/// </para>
/// </remarks>
NoNavDisableMouseHover = 1 << 15,
/// <summary>
/// <para>
/// false // Skip calling MarkItemEdited()
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L960">imgui_internal.h:960</see>
/// <br/><c>ImGuiItemFlags_NoMarkEdited = 1 &lt;&lt; 16</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Controlled by user
/// </para>
/// </remarks>
NoMarkEdited = 1 << 16,
/// <summary>
/// <para>
/// false // [EXPERIMENTAL: Not very well specced] Clicking doesn't take focus. Automatically sets
/// ImGuiButtonFlags_NoFocus + ImGuiButtonFlags_NoNavFocus in ButtonBehavior().
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L961">imgui_internal.h:961</see>
/// <br/><c>ImGuiItemFlags_NoFocus = 1 &lt;&lt; 17</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Controlled by user
/// </para>
/// </remarks>
NoFocus = 1 << 17,
/// <summary>
/// <para>
/// false // [WIP] Auto-activate input mode when tab focused. Currently only used and supported by a few
/// items before it becomes a generic feature.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L964">imgui_internal.h:964</see>
/// <br/><c>ImGuiItemFlags_Inputable = 1 &lt;&lt; 20</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Controlled by widget code
/// </para>
/// </remarks>
Inputable = 1 << 20,
/// <summary>
/// <para>
/// false // Set by SetNextItemSelectionUserData()
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L965">imgui_internal.h:965</see>
/// <br/><c>ImGuiItemFlags_HasSelectionUserData = 1 &lt;&lt; 21</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Controlled by widget code
/// </para>
/// </remarks>
HasSelectionUserData = 1 << 21,
/// <summary>
/// <para>
/// false // Set by SetNextItemSelectionUserData()
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L966">imgui_internal.h:966</see>
/// <br/><c>ImGuiItemFlags_IsMultiSelect = 1 &lt;&lt; 22</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Controlled by widget code
/// </para>
/// </remarks>
IsMultiSelect = 1 << 22,
/// <summary>
/// <para>
/// Please don't change, use PushItemFlag() instead.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L968">imgui_internal.h:968</see>
/// <br/><c>ImGuiItemFlags_Default_ = ImGuiItemFlags_AutoClosePopups</c>
/// </para>
/// </summary>
Default = ImGuiItemFlags.AutoClosePopups,
}
}

Some files were not shown because too many files have changed in this diff Show more