mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 13:08:24 +01:00
first
This commit is contained in:
parent
bd62d51ec9
commit
b578433e37
1 changed files with 784842 additions and 0 deletions
|
|
@ -0,0 +1,47 @@
|
|||
// <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>
|
||||
/// set next window size limits. use 0.0f or FLT_MAX if you don't want limits. Use -1 for both min and
|
||||
/// max of same axis to preserve current size (which itself is a constraint). Use callback to apply
|
||||
/// non-trivial programmatic constraints.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L482">imgui.h:482</see>
|
||||
/// ,
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.cpp#L8996">imgui.cpp:8996</see>
|
||||
/// <br/>
|
||||
/// <c>void SetNextWindowSizeConstraints(const ImVec2& size_min, const ImVec2& size_max, ImGuiSizeCallback custom_callback = NULL, void* custom_callback_data = NULL)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Window manipulation
|
||||
/// - Prefer using SetNextXXX functions (before Begin) rather that SetXXX functions (after Begin).
|
||||
/// </code>
|
||||
/// <code>
|
||||
/// For each axis:
|
||||
/// - Use 0.0f as min or FLT_MAX as max if you don't want limits, e.g. size_min = (500.0f, 0.0f), size_max = (FLT_MAX, FLT_MAX) sets a minimum width.
|
||||
/// - Use -1 for both min and max of same axis to preserve current size which itself is a constraint.
|
||||
/// - See "Demo->Examples->Constrained-resizing window" for examples.
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[LibraryImport("imgui")]
|
||||
public static unsafe partial void SetNextWindowSizeConstraints(
|
||||
float2* size_min,
|
||||
float2* size_max,
|
||||
nint custom_callback,
|
||||
void* custom_callback_data
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue