mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-28 22:18:25 +01:00
SOURCE DUMP v1
This commit is contained in:
parent
bd62d51ec9
commit
fb20299e9d
1 changed files with 768360 additions and 0 deletions
103
brutal.imgui/Brutal.ImGui/Generated/PInvoke/Combo.gen.cs
Normal file
103
brutal.imgui/Brutal.ImGui/Generated/PInvoke/Combo.gen.cs
Normal file
|
|
@ -0,0 +1,103 @@
|
|||
// <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>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L668">imgui.h:668</see>
|
||||
/// ,
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_widgets.cpp#L2179">imgui_widgets.cpp:2179</see>
|
||||
/// <br/>
|
||||
/// <c>bool Combo(const char* label, int* current_item, const char* const items[], int items_count, int popup_max_height_in_items = -1)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Widgets: Combo Box (Dropdown)
|
||||
/// - The BeginCombo()/EndCombo() api allows you to manage your contents and selection state however you want it, by creating e.g. Selectable() items.
|
||||
/// - The old Combo() api are helpers over BeginCombo()/EndCombo() which are kept available for convenience purpose. This is analogous to how ListBox are created.
|
||||
/// </code>
|
||||
/// <para>
|
||||
/// Combo box helper allowing to pass an array of strings.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("imgui")]
|
||||
public static unsafe partial Bool8 Combo_0(
|
||||
byte* label,
|
||||
int* current_item,
|
||||
byte** items,
|
||||
int items_count,
|
||||
int popup_max_height_in_items
|
||||
);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0"
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L669">imgui.h:669</see>
|
||||
/// ,
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_widgets.cpp#L2186">imgui_widgets.cpp:2186</see>
|
||||
/// <br/>
|
||||
/// <c>bool Combo(const char* label, int* current_item, const char* items_separated_by_zeros, int popup_max_height_in_items = -1)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Widgets: Combo Box (Dropdown)
|
||||
/// - The BeginCombo()/EndCombo() api allows you to manage your contents and selection state however you want it, by creating e.g. Selectable() items.
|
||||
/// - The old Combo() api are helpers over BeginCombo()/EndCombo() which are kept available for convenience purpose. This is analogous to how ListBox are created.
|
||||
/// </code>
|
||||
/// <para>
|
||||
/// Combo box helper allowing to pass all items in a single string literal holding multiple
|
||||
/// zero-terminated items "item1\0item2\0"
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("imgui")]
|
||||
public static unsafe partial Bool8 Combo_1(
|
||||
byte* label,
|
||||
int* current_item,
|
||||
byte* items_separated_by_zeros,
|
||||
int popup_max_height_in_items
|
||||
);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L670">imgui.h:670</see>
|
||||
/// ,
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_widgets.cpp#L2131">imgui_widgets.cpp:2131</see>
|
||||
/// <br/>
|
||||
/// <c>bool Combo(const char* label, int* current_item, const char* (*getter)(void* user_data, int idx), void* user_data, int items_count, int popup_max_height_in_items = -1)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Widgets: Combo Box (Dropdown)
|
||||
/// - The BeginCombo()/EndCombo() api allows you to manage your contents and selection state however you want it, by creating e.g. Selectable() items.
|
||||
/// - The old Combo() api are helpers over BeginCombo()/EndCombo() which are kept available for convenience purpose. This is analogous to how ListBox are created.
|
||||
/// </code>
|
||||
/// <para>
|
||||
/// Old API, prefer using BeginCombo() nowadays if you can.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("imgui")]
|
||||
public static unsafe partial Bool8 Combo_2(
|
||||
byte* label,
|
||||
int* current_item,
|
||||
nint getter,
|
||||
void* user_data,
|
||||
int items_count,
|
||||
int popup_max_height_in_items
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue