mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
132 lines
8 KiB
C#
132 lines
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>
|
|
/// push string into the ID stack (will hash string).
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L610">imgui.h:610</see>
|
|
/// ,
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.cpp#L9597">imgui.cpp:9597</see>
|
|
/// <br/><c>void PushID(const char* str_id)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// ID stack/scopes
|
|
/// Read the FAQ (docs/FAQ.md or http://dearimgui.com/faq) for more details about how ID are handled in dear imgui.
|
|
/// - Those questions are answered and impacted by understanding of the ID stack system:
|
|
/// - "Q: Why is my widget not reacting when I click on it?"
|
|
/// - "Q: How can I have widgets with an empty label?"
|
|
/// - "Q: How can I have multiple widgets with the same label?"
|
|
/// - Short version: ID are hashes of the entire ID stack. If you are creating widgets in a loop you most likely
|
|
/// want to push a unique identifier (e.g. object pointer, loop index) to uniquely differentiate them.
|
|
/// - You can also use the "Label##foobar" syntax within widget label to distinguish them from each others.
|
|
/// - In this header file we use the "label"/"name" terminology to denote a string that will be displayed + used as an ID,
|
|
/// whereas "str_id" denote a string that is only used as an ID and not normally displayed.
|
|
/// </code>
|
|
/// </remarks>
|
|
[LibraryImport("imgui")]
|
|
public static unsafe partial void PushID_0(byte* str_id);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// push string into the ID stack (will hash string).
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L611">imgui.h:611</see>
|
|
/// ,
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.cpp#L9605">imgui.cpp:9605</see>
|
|
/// <br/><c>void PushID(const char* str_id_begin, const char* str_id_end)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// ID stack/scopes
|
|
/// Read the FAQ (docs/FAQ.md or http://dearimgui.com/faq) for more details about how ID are handled in dear imgui.
|
|
/// - Those questions are answered and impacted by understanding of the ID stack system:
|
|
/// - "Q: Why is my widget not reacting when I click on it?"
|
|
/// - "Q: How can I have widgets with an empty label?"
|
|
/// - "Q: How can I have multiple widgets with the same label?"
|
|
/// - Short version: ID are hashes of the entire ID stack. If you are creating widgets in a loop you most likely
|
|
/// want to push a unique identifier (e.g. object pointer, loop index) to uniquely differentiate them.
|
|
/// - You can also use the "Label##foobar" syntax within widget label to distinguish them from each others.
|
|
/// - In this header file we use the "label"/"name" terminology to denote a string that will be displayed + used as an ID,
|
|
/// whereas "str_id" denote a string that is only used as an ID and not normally displayed.
|
|
/// </code>
|
|
/// </remarks>
|
|
[LibraryImport("imgui")]
|
|
public static unsafe partial void PushID_1(byte* str_id_begin, byte* str_id_end);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// push pointer into the ID stack (will hash pointer).
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L612">imgui.h:612</see>
|
|
/// ,
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.cpp#L9613">imgui.cpp:9613</see>
|
|
/// <br/><c>void PushID(const void* ptr_id)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// ID stack/scopes
|
|
/// Read the FAQ (docs/FAQ.md or http://dearimgui.com/faq) for more details about how ID are handled in dear imgui.
|
|
/// - Those questions are answered and impacted by understanding of the ID stack system:
|
|
/// - "Q: Why is my widget not reacting when I click on it?"
|
|
/// - "Q: How can I have widgets with an empty label?"
|
|
/// - "Q: How can I have multiple widgets with the same label?"
|
|
/// - Short version: ID are hashes of the entire ID stack. If you are creating widgets in a loop you most likely
|
|
/// want to push a unique identifier (e.g. object pointer, loop index) to uniquely differentiate them.
|
|
/// - You can also use the "Label##foobar" syntax within widget label to distinguish them from each others.
|
|
/// - In this header file we use the "label"/"name" terminology to denote a string that will be displayed + used as an ID,
|
|
/// whereas "str_id" denote a string that is only used as an ID and not normally displayed.
|
|
/// </code>
|
|
/// </remarks>
|
|
[LibraryImport("imgui")]
|
|
public static unsafe partial void PushID_2(void* ptr_id);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// push integer into the ID stack (will hash integer).
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L613">imgui.h:613</see>
|
|
/// ,
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.cpp#L9621">imgui.cpp:9621</see>
|
|
/// <br/><c>void PushID(int int_id)</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// ID stack/scopes
|
|
/// Read the FAQ (docs/FAQ.md or http://dearimgui.com/faq) for more details about how ID are handled in dear imgui.
|
|
/// - Those questions are answered and impacted by understanding of the ID stack system:
|
|
/// - "Q: Why is my widget not reacting when I click on it?"
|
|
/// - "Q: How can I have widgets with an empty label?"
|
|
/// - "Q: How can I have multiple widgets with the same label?"
|
|
/// - Short version: ID are hashes of the entire ID stack. If you are creating widgets in a loop you most likely
|
|
/// want to push a unique identifier (e.g. object pointer, loop index) to uniquely differentiate them.
|
|
/// - You can also use the "Label##foobar" syntax within widget label to distinguish them from each others.
|
|
/// - In this header file we use the "label"/"name" terminology to denote a string that will be displayed + used as an ID,
|
|
/// whereas "str_id" denote a string that is only used as an ID and not normally displayed.
|
|
/// </code>
|
|
/// </remarks>
|
|
[LibraryImport("imgui")]
|
|
public static unsafe partial void PushID_3(int int_id);
|
|
}
|
|
}
|
|
}
|