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
71
Brutal.ImGui/Generated/PInvoke/CollapsingHeader.gen.cs
Normal file
71
Brutal.ImGui/Generated/PInvoke/CollapsingHeader.gen.cs
Normal file
|
|
@ -0,0 +1,71 @@
|
|||
// <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>
|
||||
/// if returning 'true' the header is open. doesn't indent nor push on ID stack. user doesn't have to
|
||||
/// call TreePop().
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L762">imgui.h:762</see>
|
||||
/// ,
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_widgets.cpp#L7070">imgui_widgets.cpp:7070</see>
|
||||
/// <br/><c>bool CollapsingHeader(const char* label, ImGuiTreeNodeFlags flags = 0)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Widgets: Trees
|
||||
/// - TreeNode functions return true when the node is open, in which case you need to also call TreePop() when you are finished displaying the tree node contents.
|
||||
/// </code>
|
||||
/// <code>
|
||||
/// CollapsingHeader returns true when opened but do not indent nor push into the ID stack (because of the ImGuiTreeNodeFlags_NoTreePushOnOpen flag).
|
||||
/// This is basically the same as calling TreeNodeEx(label, ImGuiTreeNodeFlags_CollapsingHeader). You can remove the _NoTreePushOnOpen flag if you want behavior closer to normal TreeNode().
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[LibraryImport("imgui")]
|
||||
public static unsafe partial Bool8 CollapsingHeader_0(byte* label, ImGuiTreeNodeFlags flags);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// when 'p_visible != NULL': if '*p_visible==true' display an additional small close button on upper
|
||||
/// right of the header which will set the bool to false when clicked, if '*p_visible==false' don't
|
||||
/// display the header.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L763">imgui.h:763</see>
|
||||
/// ,
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_widgets.cpp#L7083">imgui_widgets.cpp:7083</see>
|
||||
/// <br/><c>bool CollapsingHeader(const char* label, bool* p_visible, ImGuiTreeNodeFlags flags = 0)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Widgets: Trees
|
||||
/// - TreeNode functions return true when the node is open, in which case you need to also call TreePop() when you are finished displaying the tree node contents.
|
||||
/// </code>
|
||||
/// <code>
|
||||
/// p_visible == NULL : regular collapsing header
|
||||
/// p_visible != NULL && *p_visible == true : show a small close button on the corner of the header, clicking the button will set *p_visible = false
|
||||
/// p_visible != NULL && *p_visible == false : do not show the header at all
|
||||
/// Do not mistake this with the Open state of the header itself, which you can adjust with SetNextItemOpen() or ImGuiTreeNodeFlags_DefaultOpen.
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[LibraryImport("imgui")]
|
||||
public static unsafe partial Bool8 CollapsingHeader_1(
|
||||
byte* label,
|
||||
Bool8* p_visible,
|
||||
ImGuiTreeNodeFlags flags
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue