mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 04:58:24 +01:00
39 lines
1.8 KiB
C#
39 lines
1.8 KiB
C#
// <auto-generated/>
|
|
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
|
#nullable enable
|
|
|
|
namespace Brutal.ImGuiApi
|
|
{
|
|
public partial class ImGui
|
|
{
|
|
public unsafe partial class PInvoke
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// adjust scrolling amount to make current cursor position visible. center_y_ratio=0.0: top, 0.5:
|
|
/// center, 1.0: bottom. When using to make a "default/current item" visible, consider using
|
|
/// SetItemDefaultFocus() instead.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L508">imgui.h:508</see>
|
|
/// ,
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.cpp#L12422">imgui.cpp:12422</see>
|
|
/// <br/><c>void SetScrollHereY(float center_y_ratio = 0.5f)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Windows Scrolling
|
|
/// - Any change of Scroll will be applied at the beginning of next frame in the first call to Begin().
|
|
/// - You may instead use SetNextWindowScroll() prior to calling Begin() to avoid this delay, as an alternative to using SetScrollX()/SetScrollY().
|
|
/// </code>
|
|
/// <para>
|
|
/// center_y_ratio: 0.0f top of last item, 0.5f vertical center of last item, 1.0f bottom of last item.
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("imgui")]
|
|
public static unsafe partial void SetScrollHereY(float center_y_ratio);
|
|
}
|
|
}
|
|
}
|