mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 13:08:24 +01:00
43 lines
1.9 KiB
C#
43 lines
1.9 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#L3853">imgui_internal.h:3853</see>
|
|
/// ,
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_widgets.cpp#L1012">imgui_widgets.cpp:1012</see>
|
|
/// <br/>
|
|
/// <c>bool ScrollbarEx(const ImRect& bb, ImGuiID id, ImGuiAxis axis, ImS64* p_scroll_v, ImS64 avail_v, ImS64 contents_v, ImDrawFlags draw_rounding_flags = 0)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Widgets: Window Decorations
|
|
/// </para>
|
|
/// <code>
|
|
/// Vertical/Horizontal scrollbar
|
|
/// The entire piece of code below is rather confusing because:
|
|
/// - We handle absolute seeking (when first clicking outside the grab) and relative manipulation (afterward or when clicking inside the grab)
|
|
/// - We store values as normalized ratio and in a form that allows the window content to change while we are holding on a scrollbar
|
|
/// - We handle both horizontal and vertical scrollbars, which makes the terminology not ideal.
|
|
/// Still, the code should probably be made simpler..
|
|
/// </code>
|
|
/// </remarks>
|
|
[LibraryImport("imgui")]
|
|
public static unsafe partial Bool8 ScrollbarEx_internal(
|
|
floatRect* bb,
|
|
ImGuiID id,
|
|
ImGuiAxis axis,
|
|
long* p_scroll_v,
|
|
long avail_v,
|
|
long contents_v,
|
|
ImDrawFlags draw_rounding_flags
|
|
);
|
|
}
|
|
}
|