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,49 @@
|
|||
// <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>
|
||||
/// Create 2 child nodes in this parent node.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L3668">imgui_internal.h:3668</see>
|
||||
/// ,
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.cpp#L20379">imgui.cpp:20379</see>
|
||||
/// <br/>
|
||||
/// <c>ImGuiID DockBuilderSplitNode(ImGuiID node_id, ImGuiDir split_dir, float size_ratio_for_node_at_dir, ImGuiID* out_id_at_dir, ImGuiID* out_id_at_opposite_dir)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Docking - Builder function needs to be generally called before the node is used/submitted.
|
||||
/// - The DockBuilderXXX functions are designed to _eventually_ become a public API, but it is too early to expose it and guarantee stability.
|
||||
/// - Do not hold on ImGuiDockNode* pointers! They may be invalidated by any split/merge/remove operation and every frame.
|
||||
/// - To create a DockSpace() node, make sure to set the ImGuiDockNodeFlags_DockSpace flag when calling DockBuilderAddNode().
|
||||
/// You can create dockspace nodes (attached to a window) _or_ floating nodes (carry its own window) with this API.
|
||||
/// - DockBuilderSplitNode() create 2 child nodes within 1 node. The initial node becomes a parent node.
|
||||
/// - If you intend to split the node immediately after creation using DockBuilderSplitNode(), make sure
|
||||
/// to call DockBuilderSetNodeSize() beforehand. If you don't, the resulting split sizes may not be reliable.
|
||||
/// - Call DockBuilderFinish() after you are done.
|
||||
/// </code>
|
||||
/// <code>
|
||||
/// If 'out_id_at_dir' or 'out_id_at_opposite_dir' are non NULL, the function will write out the ID of the two new nodes created.
|
||||
/// Return value is ID of the node at the specified direction, so same as (*out_id_at_dir) if that pointer is set.
|
||||
/// FIXME-DOCK: We are not exposing nor using split_outer.
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[LibraryImport("imgui")]
|
||||
public static unsafe partial ImGuiID DockBuilderSplitNode_internal(
|
||||
ImGuiID node_id,
|
||||
ImGuiDir split_dir,
|
||||
float size_ratio_for_node_at_dir,
|
||||
ImGuiID* out_id_at_dir,
|
||||
ImGuiID* out_id_at_opposite_dir
|
||||
);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue