//
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
namespace Brutal.ImGuiApi
{
///
///
/// C++:
/// imgui.h:1359
///
enum ImGuiPopupFlags_
///
///
///
///
/// Flags for OpenPopup*(), BeginPopupContext*(), IsPopupOpen() functions.
/// - To be backward compatible with older API which took an 'int mouse_button = 1' argument instead of 'ImGuiPopupFlags flags',
/// we need to treat small flags values as a mouse button index, so we encode the mouse button in the first few bits of the flags.
/// It is therefore guaranteed to be legal to pass a mouse button index in ImGuiPopupFlags.
/// - For the same reason, we exceptionally default the ImGuiPopupFlags argument of BeginPopupContextXXX functions to 1 instead of 0.
/// IMPORTANT: because the default parameter is 1 (==ImGuiPopupFlags_MouseButtonRight), if you rely on the default parameter
/// and want to use another flag, you need to pass in the ImGuiPopupFlags_MouseButtonRight flag explicitly.
/// - Multiple buttons currently cannot be combined/or-ed in those functions (we could allow it later).
///
///
[Flags]
public enum ImGuiPopupFlags : int
{
///
///
/// C++:
/// imgui.h:1361
///
ImGuiPopupFlags_None = 0
///
///
///
///
/// Flags for OpenPopup*(), BeginPopupContext*(), IsPopupOpen() functions.
/// - To be backward compatible with older API which took an 'int mouse_button = 1' argument instead of 'ImGuiPopupFlags flags',
/// we need to treat small flags values as a mouse button index, so we encode the mouse button in the first few bits of the flags.
/// It is therefore guaranteed to be legal to pass a mouse button index in ImGuiPopupFlags.
/// - For the same reason, we exceptionally default the ImGuiPopupFlags argument of BeginPopupContextXXX functions to 1 instead of 0.
/// IMPORTANT: because the default parameter is 1 (==ImGuiPopupFlags_MouseButtonRight), if you rely on the default parameter
/// and want to use another flag, you need to pass in the ImGuiPopupFlags_MouseButtonRight flag explicitly.
/// - Multiple buttons currently cannot be combined/or-ed in those functions (we could allow it later).
///
///
None = 0,
///
///
/// For BeginPopupContext*(): open on Left Mouse release. Guaranteed to always be == 0 (same as
/// ImGuiMouseButton_Left)
///
///
/// C++:
/// imgui.h:1362
///
ImGuiPopupFlags_MouseButtonLeft = 0
///
///
///
///
/// Flags for OpenPopup*(), BeginPopupContext*(), IsPopupOpen() functions.
/// - To be backward compatible with older API which took an 'int mouse_button = 1' argument instead of 'ImGuiPopupFlags flags',
/// we need to treat small flags values as a mouse button index, so we encode the mouse button in the first few bits of the flags.
/// It is therefore guaranteed to be legal to pass a mouse button index in ImGuiPopupFlags.
/// - For the same reason, we exceptionally default the ImGuiPopupFlags argument of BeginPopupContextXXX functions to 1 instead of 0.
/// IMPORTANT: because the default parameter is 1 (==ImGuiPopupFlags_MouseButtonRight), if you rely on the default parameter
/// and want to use another flag, you need to pass in the ImGuiPopupFlags_MouseButtonRight flag explicitly.
/// - Multiple buttons currently cannot be combined/or-ed in those functions (we could allow it later).
///
///
MouseButtonLeft = 0,
///
///
/// For BeginPopupContext*(): open on Right Mouse release. Guaranteed to always be == 1 (same as
/// ImGuiMouseButton_Right)
///
///
/// C++:
/// imgui.h:1363
///
ImGuiPopupFlags_MouseButtonRight = 1
///
///
///
///
/// Flags for OpenPopup*(), BeginPopupContext*(), IsPopupOpen() functions.
/// - To be backward compatible with older API which took an 'int mouse_button = 1' argument instead of 'ImGuiPopupFlags flags',
/// we need to treat small flags values as a mouse button index, so we encode the mouse button in the first few bits of the flags.
/// It is therefore guaranteed to be legal to pass a mouse button index in ImGuiPopupFlags.
/// - For the same reason, we exceptionally default the ImGuiPopupFlags argument of BeginPopupContextXXX functions to 1 instead of 0.
/// IMPORTANT: because the default parameter is 1 (==ImGuiPopupFlags_MouseButtonRight), if you rely on the default parameter
/// and want to use another flag, you need to pass in the ImGuiPopupFlags_MouseButtonRight flag explicitly.
/// - Multiple buttons currently cannot be combined/or-ed in those functions (we could allow it later).
///
///
MouseButtonRight = 1,
///
///
/// For BeginPopupContext*(): open on Middle Mouse release. Guaranteed to always be == 2 (same as
/// ImGuiMouseButton_Middle)
///
///
/// C++:
/// imgui.h:1364
///
ImGuiPopupFlags_MouseButtonMiddle = 2
///
///
///
///
/// Flags for OpenPopup*(), BeginPopupContext*(), IsPopupOpen() functions.
/// - To be backward compatible with older API which took an 'int mouse_button = 1' argument instead of 'ImGuiPopupFlags flags',
/// we need to treat small flags values as a mouse button index, so we encode the mouse button in the first few bits of the flags.
/// It is therefore guaranteed to be legal to pass a mouse button index in ImGuiPopupFlags.
/// - For the same reason, we exceptionally default the ImGuiPopupFlags argument of BeginPopupContextXXX functions to 1 instead of 0.
/// IMPORTANT: because the default parameter is 1 (==ImGuiPopupFlags_MouseButtonRight), if you rely on the default parameter
/// and want to use another flag, you need to pass in the ImGuiPopupFlags_MouseButtonRight flag explicitly.
/// - Multiple buttons currently cannot be combined/or-ed in those functions (we could allow it later).
///
///
MouseButtonMiddle = 2,
///
///
/// C++:
/// imgui.h:1365
///
ImGuiPopupFlags_MouseButtonMask_ = 0x1F
///
///
///
///
/// Flags for OpenPopup*(), BeginPopupContext*(), IsPopupOpen() functions.
/// - To be backward compatible with older API which took an 'int mouse_button = 1' argument instead of 'ImGuiPopupFlags flags',
/// we need to treat small flags values as a mouse button index, so we encode the mouse button in the first few bits of the flags.
/// It is therefore guaranteed to be legal to pass a mouse button index in ImGuiPopupFlags.
/// - For the same reason, we exceptionally default the ImGuiPopupFlags argument of BeginPopupContextXXX functions to 1 instead of 0.
/// IMPORTANT: because the default parameter is 1 (==ImGuiPopupFlags_MouseButtonRight), if you rely on the default parameter
/// and want to use another flag, you need to pass in the ImGuiPopupFlags_MouseButtonRight flag explicitly.
/// - Multiple buttons currently cannot be combined/or-ed in those functions (we could allow it later).
///
///
MouseButtonMask = 0x1F,
///
///
/// C++:
/// imgui.h:1366
///
ImGuiPopupFlags_MouseButtonDefault_ = 1
///
///
///
///
/// Flags for OpenPopup*(), BeginPopupContext*(), IsPopupOpen() functions.
/// - To be backward compatible with older API which took an 'int mouse_button = 1' argument instead of 'ImGuiPopupFlags flags',
/// we need to treat small flags values as a mouse button index, so we encode the mouse button in the first few bits of the flags.
/// It is therefore guaranteed to be legal to pass a mouse button index in ImGuiPopupFlags.
/// - For the same reason, we exceptionally default the ImGuiPopupFlags argument of BeginPopupContextXXX functions to 1 instead of 0.
/// IMPORTANT: because the default parameter is 1 (==ImGuiPopupFlags_MouseButtonRight), if you rely on the default parameter
/// and want to use another flag, you need to pass in the ImGuiPopupFlags_MouseButtonRight flag explicitly.
/// - Multiple buttons currently cannot be combined/or-ed in those functions (we could allow it later).
///
///
MouseButtonDefault = 1,
///
///
/// For OpenPopup*(), BeginPopupContext*(): don't reopen same popup if already open (won't reposition, won't
/// reinitialize navigation)
///
///
/// C++:
/// imgui.h:1367
///
ImGuiPopupFlags_NoReopen = 1 << 5
///
///
///
///
/// Flags for OpenPopup*(), BeginPopupContext*(), IsPopupOpen() functions.
/// - To be backward compatible with older API which took an 'int mouse_button = 1' argument instead of 'ImGuiPopupFlags flags',
/// we need to treat small flags values as a mouse button index, so we encode the mouse button in the first few bits of the flags.
/// It is therefore guaranteed to be legal to pass a mouse button index in ImGuiPopupFlags.
/// - For the same reason, we exceptionally default the ImGuiPopupFlags argument of BeginPopupContextXXX functions to 1 instead of 0.
/// IMPORTANT: because the default parameter is 1 (==ImGuiPopupFlags_MouseButtonRight), if you rely on the default parameter
/// and want to use another flag, you need to pass in the ImGuiPopupFlags_MouseButtonRight flag explicitly.
/// - Multiple buttons currently cannot be combined/or-ed in those functions (we could allow it later).
///
///
NoReopen = 1 << 5,
///
///
/// For OpenPopup*(), BeginPopupContext*(): don't open if there's already a popup at the same level of the
/// popup stack
///
///
/// C++:
/// imgui.h:1369
///
ImGuiPopupFlags_NoOpenOverExistingPopup = 1 << 7
///
///
///
///
/// Flags for OpenPopup*(), BeginPopupContext*(), IsPopupOpen() functions.
/// - To be backward compatible with older API which took an 'int mouse_button = 1' argument instead of 'ImGuiPopupFlags flags',
/// we need to treat small flags values as a mouse button index, so we encode the mouse button in the first few bits of the flags.
/// It is therefore guaranteed to be legal to pass a mouse button index in ImGuiPopupFlags.
/// - For the same reason, we exceptionally default the ImGuiPopupFlags argument of BeginPopupContextXXX functions to 1 instead of 0.
/// IMPORTANT: because the default parameter is 1 (==ImGuiPopupFlags_MouseButtonRight), if you rely on the default parameter
/// and want to use another flag, you need to pass in the ImGuiPopupFlags_MouseButtonRight flag explicitly.
/// - Multiple buttons currently cannot be combined/or-ed in those functions (we could allow it later).
///
///
NoOpenOverExistingPopup = 1 << 7,
///
///
/// For BeginPopupContextWindow(): don't return true when hovering items, only when hovering empty space
///
///
/// C++:
/// imgui.h:1370
///
ImGuiPopupFlags_NoOpenOverItems = 1 << 8
///
///
///
///
/// Flags for OpenPopup*(), BeginPopupContext*(), IsPopupOpen() functions.
/// - To be backward compatible with older API which took an 'int mouse_button = 1' argument instead of 'ImGuiPopupFlags flags',
/// we need to treat small flags values as a mouse button index, so we encode the mouse button in the first few bits of the flags.
/// It is therefore guaranteed to be legal to pass a mouse button index in ImGuiPopupFlags.
/// - For the same reason, we exceptionally default the ImGuiPopupFlags argument of BeginPopupContextXXX functions to 1 instead of 0.
/// IMPORTANT: because the default parameter is 1 (==ImGuiPopupFlags_MouseButtonRight), if you rely on the default parameter
/// and want to use another flag, you need to pass in the ImGuiPopupFlags_MouseButtonRight flag explicitly.
/// - Multiple buttons currently cannot be combined/or-ed in those functions (we could allow it later).
///
///
NoOpenOverItems = 1 << 8,
///
///
/// For IsPopupOpen(): ignore the ImGuiID parameter and test for any popup.
///
///
/// C++:
/// imgui.h:1371
///
ImGuiPopupFlags_AnyPopupId = 1 << 10
///
///
///
///
/// Flags for OpenPopup*(), BeginPopupContext*(), IsPopupOpen() functions.
/// - To be backward compatible with older API which took an 'int mouse_button = 1' argument instead of 'ImGuiPopupFlags flags',
/// we need to treat small flags values as a mouse button index, so we encode the mouse button in the first few bits of the flags.
/// It is therefore guaranteed to be legal to pass a mouse button index in ImGuiPopupFlags.
/// - For the same reason, we exceptionally default the ImGuiPopupFlags argument of BeginPopupContextXXX functions to 1 instead of 0.
/// IMPORTANT: because the default parameter is 1 (==ImGuiPopupFlags_MouseButtonRight), if you rely on the default parameter
/// and want to use another flag, you need to pass in the ImGuiPopupFlags_MouseButtonRight flag explicitly.
/// - Multiple buttons currently cannot be combined/or-ed in those functions (we could allow it later).
///
///
AnyPopupId = 1 << 10,
///
///
/// For IsPopupOpen(): search/test at any level of the popup stack (default test in the current level)
///
///
/// C++:
/// imgui.h:1372
///
ImGuiPopupFlags_AnyPopupLevel = 1 << 11
///
///
///
///
/// Flags for OpenPopup*(), BeginPopupContext*(), IsPopupOpen() functions.
/// - To be backward compatible with older API which took an 'int mouse_button = 1' argument instead of 'ImGuiPopupFlags flags',
/// we need to treat small flags values as a mouse button index, so we encode the mouse button in the first few bits of the flags.
/// It is therefore guaranteed to be legal to pass a mouse button index in ImGuiPopupFlags.
/// - For the same reason, we exceptionally default the ImGuiPopupFlags argument of BeginPopupContextXXX functions to 1 instead of 0.
/// IMPORTANT: because the default parameter is 1 (==ImGuiPopupFlags_MouseButtonRight), if you rely on the default parameter
/// and want to use another flag, you need to pass in the ImGuiPopupFlags_MouseButtonRight flag explicitly.
/// - Multiple buttons currently cannot be combined/or-ed in those functions (we could allow it later).
///
///
AnyPopupLevel = 1 << 11,
///
///
/// C++:
/// imgui.h:1373
///
ImGuiPopupFlags_AnyPopup = ImGuiPopupFlags_AnyPopupId | ImGuiPopupFlags_AnyPopupLevel
///
///
///
///
/// Flags for OpenPopup*(), BeginPopupContext*(), IsPopupOpen() functions.
/// - To be backward compatible with older API which took an 'int mouse_button = 1' argument instead of 'ImGuiPopupFlags flags',
/// we need to treat small flags values as a mouse button index, so we encode the mouse button in the first few bits of the flags.
/// It is therefore guaranteed to be legal to pass a mouse button index in ImGuiPopupFlags.
/// - For the same reason, we exceptionally default the ImGuiPopupFlags argument of BeginPopupContextXXX functions to 1 instead of 0.
/// IMPORTANT: because the default parameter is 1 (==ImGuiPopupFlags_MouseButtonRight), if you rely on the default parameter
/// and want to use another flag, you need to pass in the ImGuiPopupFlags_MouseButtonRight flag explicitly.
/// - Multiple buttons currently cannot be combined/or-ed in those functions (we could allow it later).
///
///
AnyPopup = AnyPopupId | AnyPopupLevel,
}
}