mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 04:58:24 +01:00
40 lines
1.8 KiB
C#
40 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_x_ratio=0.0: left, 0.5:
|
|
/// center, 1.0: right. 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#L507">imgui.h:507</see>
|
|
/// ,
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.cpp#L12409">imgui.cpp:12409</see>
|
|
/// <br/><c>void SetScrollHereX(float center_x_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_x_ratio: 0.0f left of last item, 0.5f horizontal center of last item, 1.0f right of last
|
|
/// item.
|
|
/// </para>
|
|
/// </remarks>
|
|
[LibraryImport("imgui")]
|
|
public static unsafe partial void SetScrollHereX(float center_x_ratio);
|
|
}
|
|
}
|
|
}
|