mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
71 lines
3.8 KiB
C#
71 lines
3.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>
|
|
/// 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
|
|
);
|
|
}
|
|
}
|
|
}
|