mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
42 lines
1.8 KiB
C#
42 lines
1.8 KiB
C#
// <auto-generated/>
|
|
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
|
#nullable enable
|
|
|
|
namespace Brutal.ImGuiApi.Internal
|
|
{
|
|
public unsafe partial class PInvoke
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L3862">imgui_internal.h:3862</see>
|
|
/// ,
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_widgets.cpp#L3240">imgui_widgets.cpp:3240</see>
|
|
/// <br/>
|
|
/// <c>bool SliderBehavior(const ImRect& bb, ImGuiID id, ImGuiDataType data_type, void* p_v, const void* p_min, const void* p_max, const char* format, ImGuiSliderFlags flags, ImRect* out_grab_bb)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Widgets low-level behaviors
|
|
/// </para>
|
|
/// <code>
|
|
/// For 32-bit and larger types, slider bounds are limited to half the natural type range.
|
|
/// So e.g. an integer Slider between INT_MAX-10 and INT_MAX will fail, but an integer Slider between INT_MAX/2-10 and INT_MAX/2 will be ok.
|
|
/// It would be possible to lift that limitation with some work but it doesn't seem to be worth it for sliders.
|
|
/// </code>
|
|
/// </remarks>
|
|
[LibraryImport("imgui")]
|
|
public static unsafe partial Bool8 SliderBehavior_internal(
|
|
floatRect* bb,
|
|
ImGuiID id,
|
|
ImGuiDataType data_type,
|
|
void* p_v,
|
|
void* p_min,
|
|
void* p_max,
|
|
byte* format,
|
|
ImGuiSliderFlags flags,
|
|
floatRect* out_grab_bb
|
|
);
|
|
}
|
|
}
|