//
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
namespace Brutal.ImGuiApi.Internal
{
public unsafe partial class PInvoke
{
///
///
/// C++:
/// imgui_internal.h:3853
/// ,
/// imgui_widgets.cpp:1012
///
/// bool ScrollbarEx(const ImRect& bb, ImGuiID id, ImGuiAxis axis, ImS64* p_scroll_v, ImS64 avail_v, ImS64 contents_v, ImDrawFlags draw_rounding_flags = 0)
///
///
///
///
/// Widgets: Window Decorations
///
///
/// 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..
///
///
[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
);
}
}