mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-27 13:38:25 +01:00
first
This commit is contained in:
parent
bd62d51ec9
commit
b578433e37
1 changed files with 784842 additions and 0 deletions
67
Brutal.ImGui/Generated/PInvoke/MenuItem.gen.cs
Normal file
67
Brutal.ImGui/Generated/PInvoke/MenuItem.gen.cs
Normal file
|
|
@ -0,0 +1,67 @@
|
|||
// <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>
|
||||
/// return true when activated.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L822">imgui.h:822</see>
|
||||
/// ,
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_widgets.cpp#L9332">imgui_widgets.cpp:9332</see>
|
||||
/// <br/>
|
||||
/// <c>bool MenuItem(const char* label, const char* shortcut = NULL, bool selected = false, bool enabled = true)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Widgets: Menus
|
||||
/// - Use BeginMenuBar() on a window ImGuiWindowFlags_MenuBar to append to its menu bar.
|
||||
/// - Use BeginMainMenuBar() to create a menu bar at the top of the screen and append to it.
|
||||
/// - Use BeginMenu() to create a menu. You can call BeginMenu() multiple time with the same identifier to append more items to it.
|
||||
/// - Not that MenuItem() keyboardshortcuts are displayed as a convenience but _not processed_ by Dear ImGui at the moment.
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[LibraryImport("imgui")]
|
||||
public static unsafe partial Bool8 MenuItem_0(byte* label, byte* shortcut, Bool8 selected, Bool8 enabled);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// return true when activated + toggle (*p_selected) if p_selected != NULL
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L823">imgui.h:823</see>
|
||||
/// ,
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_widgets.cpp#L9337">imgui_widgets.cpp:9337</see>
|
||||
/// <br/>
|
||||
/// <c>bool MenuItem(const char* label, const char* shortcut, bool* p_selected, bool enabled = true)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Widgets: Menus
|
||||
/// - Use BeginMenuBar() on a window ImGuiWindowFlags_MenuBar to append to its menu bar.
|
||||
/// - Use BeginMainMenuBar() to create a menu bar at the top of the screen and append to it.
|
||||
/// - Use BeginMenu() to create a menu. You can call BeginMenu() multiple time with the same identifier to append more items to it.
|
||||
/// - Not that MenuItem() keyboardshortcuts are displayed as a convenience but _not processed_ by Dear ImGui at the moment.
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[LibraryImport("imgui")]
|
||||
public static unsafe partial Bool8 MenuItem_1(
|
||||
byte* label,
|
||||
byte* shortcut,
|
||||
Bool8* p_selected,
|
||||
Bool8 enabled
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue