mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-28 14:08:25 +01:00
first
This commit is contained in:
parent
bd62d51ec9
commit
b578433e37
1 changed files with 784842 additions and 0 deletions
|
|
@ -0,0 +1,43 @@
|
|||
// <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
|
||||
);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue