brutal/brutal.imgui/Brutal.ImGui/Generated/Enums/ImGuiSliderFlags.gen.cs
2026-10-15 14:12:02 +13:00

216 lines
10 KiB
C#

// <auto-generated/>
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
namespace Brutal.ImGuiApi
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1981">imgui.h:1981</see>
/// <br/><c>enum ImGuiSliderFlags_</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for DragFloat(), DragInt(), SliderFloat(), SliderInt() etc.
/// We use the same sets of flags for DragXXX() and SliderXXX() functions as the features are the same and it makes it easier to swap them.
/// (Those are per-item flags. There is shared behavior flag too: ImGuiIO: io.ConfigDragClickToInputText)
/// </code>
/// </remarks>
[Flags]
public enum ImGuiSliderFlags : int
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1983">imgui.h:1983</see>
/// <br/><c>ImGuiSliderFlags_None = 0</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for DragFloat(), DragInt(), SliderFloat(), SliderInt() etc.
/// We use the same sets of flags for DragXXX() and SliderXXX() functions as the features are the same and it makes it easier to swap them.
/// (Those are per-item flags. There is shared behavior flag too: ImGuiIO: io.ConfigDragClickToInputText)
/// </code>
/// </remarks>
None = 0,
/// <summary>
/// <para>
/// Make the widget logarithmic (linear otherwise). Consider using ImGuiSliderFlags_NoRoundToFormat with
/// this if using a format-string with small amount of digits.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1984">imgui.h:1984</see>
/// <br/><c>ImGuiSliderFlags_Logarithmic = 1 &lt;&lt; 5</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for DragFloat(), DragInt(), SliderFloat(), SliderInt() etc.
/// We use the same sets of flags for DragXXX() and SliderXXX() functions as the features are the same and it makes it easier to swap them.
/// (Those are per-item flags. There is shared behavior flag too: ImGuiIO: io.ConfigDragClickToInputText)
/// </code>
/// </remarks>
Logarithmic = 1 << 5,
/// <summary>
/// <para>
/// Disable rounding underlying value to match precision of the display format string (e.g. %.3f values are
/// rounded to those 3 digits).
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1985">imgui.h:1985</see>
/// <br/><c>ImGuiSliderFlags_NoRoundToFormat = 1 &lt;&lt; 6</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for DragFloat(), DragInt(), SliderFloat(), SliderInt() etc.
/// We use the same sets of flags for DragXXX() and SliderXXX() functions as the features are the same and it makes it easier to swap them.
/// (Those are per-item flags. There is shared behavior flag too: ImGuiIO: io.ConfigDragClickToInputText)
/// </code>
/// </remarks>
NoRoundToFormat = 1 << 6,
/// <summary>
/// <para>
/// Disable CTRL+Click or Enter key allowing to input text directly into the widget.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1986">imgui.h:1986</see>
/// <br/><c>ImGuiSliderFlags_NoInput = 1 &lt;&lt; 7</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for DragFloat(), DragInt(), SliderFloat(), SliderInt() etc.
/// We use the same sets of flags for DragXXX() and SliderXXX() functions as the features are the same and it makes it easier to swap them.
/// (Those are per-item flags. There is shared behavior flag too: ImGuiIO: io.ConfigDragClickToInputText)
/// </code>
/// </remarks>
NoInput = 1 << 7,
/// <summary>
/// <para>
/// Enable wrapping around from max to min and from min to max. Only supported by DragXXX() functions for
/// now.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1987">imgui.h:1987</see>
/// <br/><c>ImGuiSliderFlags_WrapAround = 1 &lt;&lt; 8</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for DragFloat(), DragInt(), SliderFloat(), SliderInt() etc.
/// We use the same sets of flags for DragXXX() and SliderXXX() functions as the features are the same and it makes it easier to swap them.
/// (Those are per-item flags. There is shared behavior flag too: ImGuiIO: io.ConfigDragClickToInputText)
/// </code>
/// </remarks>
WrapAround = 1 << 8,
/// <summary>
/// <para>
/// Clamp value to min/max bounds when input manually with CTRL+Click. By default CTRL+Click allows going
/// out of bounds.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1988">imgui.h:1988</see>
/// <br/><c>ImGuiSliderFlags_ClampOnInput = 1 &lt;&lt; 9</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for DragFloat(), DragInt(), SliderFloat(), SliderInt() etc.
/// We use the same sets of flags for DragXXX() and SliderXXX() functions as the features are the same and it makes it easier to swap them.
/// (Those are per-item flags. There is shared behavior flag too: ImGuiIO: io.ConfigDragClickToInputText)
/// </code>
/// </remarks>
ClampOnInput = 1 << 9,
/// <summary>
/// <para>
/// Clamp even if min==max==0.0f. Otherwise due to legacy reason DragXXX functions don't clamp with those
/// values. When your clamping limits are dynamic you almost always want to use it.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1989">imgui.h:1989</see>
/// <br/><c>ImGuiSliderFlags_ClampZeroRange = 1 &lt;&lt; 10</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for DragFloat(), DragInt(), SliderFloat(), SliderInt() etc.
/// We use the same sets of flags for DragXXX() and SliderXXX() functions as the features are the same and it makes it easier to swap them.
/// (Those are per-item flags. There is shared behavior flag too: ImGuiIO: io.ConfigDragClickToInputText)
/// </code>
/// </remarks>
ClampZeroRange = 1 << 10,
/// <summary>
/// <para>
/// Disable keyboard modifiers altering tweak speed. Useful if you want to alter tweak speed yourself based
/// on your own logic.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1990">imgui.h:1990</see>
/// <br/><c>ImGuiSliderFlags_NoSpeedTweaks = 1 &lt;&lt; 11</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for DragFloat(), DragInt(), SliderFloat(), SliderInt() etc.
/// We use the same sets of flags for DragXXX() and SliderXXX() functions as the features are the same and it makes it easier to swap them.
/// (Those are per-item flags. There is shared behavior flag too: ImGuiIO: io.ConfigDragClickToInputText)
/// </code>
/// </remarks>
NoSpeedTweaks = 1 << 11,
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1991">imgui.h:1991</see>
/// <br/>
/// <c>ImGuiSliderFlags_AlwaysClamp = ImGuiSliderFlags_ClampOnInput | ImGuiSliderFlags_ClampZeroRange</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for DragFloat(), DragInt(), SliderFloat(), SliderInt() etc.
/// We use the same sets of flags for DragXXX() and SliderXXX() functions as the features are the same and it makes it easier to swap them.
/// (Those are per-item flags. There is shared behavior flag too: ImGuiIO: io.ConfigDragClickToInputText)
/// </code>
/// </remarks>
AlwaysClamp = ClampOnInput | ClampZeroRange,
/// <summary>
/// <para>
/// [Internal] We treat using those bits as being potentially a 'float power' argument from the previous API
/// that has got miscast to this enum, and will trigger an assert if needed.
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1992">imgui.h:1992</see>
/// <br/><c>ImGuiSliderFlags_InvalidMask_ = 0x7000000F</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Flags for DragFloat(), DragInt(), SliderFloat(), SliderInt() etc.
/// We use the same sets of flags for DragXXX() and SliderXXX() functions as the features are the same and it makes it easier to swap them.
/// (Those are per-item flags. There is shared behavior flag too: ImGuiIO: io.ConfigDragClickToInputText)
/// </code>
/// </remarks>
InvalidMask = 0x7000000F,
}
}