mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-29 06:28:25 +01:00
first
This commit is contained in:
parent
bd62d51ec9
commit
b578433e37
1 changed files with 784842 additions and 0 deletions
66
Brutal.ImGui/Generated/PInvoke/OpenPopup.gen.cs
Normal file
66
Brutal.ImGui/Generated/PInvoke/OpenPopup.gen.cs
Normal file
|
|
@ -0,0 +1,66 @@
|
|||
// <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>
|
||||
/// call to mark popup as open (don't call every frame!).
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L864">imgui.h:864</see>
|
||||
/// ,
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.cpp#L12641">imgui.cpp:12641</see>
|
||||
/// <br/><c>void OpenPopup(const char* str_id, ImGuiPopupFlags popup_flags = 0)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Popups: open/close functions
|
||||
/// - OpenPopup(): set popup state to open. ImGuiPopupFlags are available for opening options.
|
||||
/// - If not modal: they can be closed by clicking anywhere outside them, or by pressing ESCAPE.
|
||||
/// - CloseCurrentPopup(): use inside the BeginPopup()/EndPopup() scope to close manually.
|
||||
/// - CloseCurrentPopup() is called by default by Selectable()/MenuItem() when activated (FIXME: need some options).
|
||||
/// - Use ImGuiPopupFlags_NoOpenOverExistingPopup to avoid opening a popup if there's already one at the same level. This is equivalent to e.g. testing for !IsAnyPopupOpen() prior to OpenPopup().
|
||||
/// - Use IsWindowAppearing() after BeginPopup() to tell if a window just opened.
|
||||
/// - IMPORTANT: Notice that for OpenPopupOnItemClick() we exceptionally default flags to 1 (== ImGuiPopupFlags_MouseButtonRight) for backward compatibility with older API taking 'int mouse_button = 1' parameter
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[LibraryImport("imgui")]
|
||||
public static unsafe partial void OpenPopup_0(byte* str_id, ImGuiPopupFlags popup_flags);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// id overload to facilitate calling from nested stacks
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L865">imgui.h:865</see>
|
||||
/// ,
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.cpp#L12649">imgui.cpp:12649</see>
|
||||
/// <br/><c>void OpenPopup(ImGuiID id, ImGuiPopupFlags popup_flags = 0)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Popups: open/close functions
|
||||
/// - OpenPopup(): set popup state to open. ImGuiPopupFlags are available for opening options.
|
||||
/// - If not modal: they can be closed by clicking anywhere outside them, or by pressing ESCAPE.
|
||||
/// - CloseCurrentPopup(): use inside the BeginPopup()/EndPopup() scope to close manually.
|
||||
/// - CloseCurrentPopup() is called by default by Selectable()/MenuItem() when activated (FIXME: need some options).
|
||||
/// - Use ImGuiPopupFlags_NoOpenOverExistingPopup to avoid opening a popup if there's already one at the same level. This is equivalent to e.g. testing for !IsAnyPopupOpen() prior to OpenPopup().
|
||||
/// - Use IsWindowAppearing() after BeginPopup() to tell if a window just opened.
|
||||
/// - IMPORTANT: Notice that for OpenPopupOnItemClick() we exceptionally default flags to 1 (== ImGuiPopupFlags_MouseButtonRight) for backward compatibility with older API taking 'int mouse_button = 1' parameter
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[LibraryImport("imgui")]
|
||||
public static unsafe partial void OpenPopup_1(ImGuiID id, ImGuiPopupFlags popup_flags);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue