// // Generated by Brutal.ImGui.Generator; do not edit by hand. #nullable enable namespace Brutal.ImGuiApi { /// /// /// C++: /// imgui.h:1521 ///
enum ImGuiDragDropFlags_ ///
///
/// /// /// Flags for ImGui::BeginDragDropSource(), ImGui::AcceptDragDropPayload() /// /// [Flags] public enum ImGuiDragDropFlags : int { /// /// /// C++: /// imgui.h:1523 ///
ImGuiDragDropFlags_None = 0 ///
///
/// /// /// Flags for ImGui::BeginDragDropSource(), ImGui::AcceptDragDropPayload() /// /// None = 0, /// /// /// Disable preview tooltip. By default, a successful call to BeginDragDropSource opens a tooltip so you can /// display a preview or description of the source contents. This flag disables this behavior. /// /// /// C++: /// imgui.h:1525 ///
ImGuiDragDropFlags_SourceNoPreviewTooltip = 1 << 0 ///
///
/// /// /// BeginDragDropSource() flags /// /// SourceNoPreviewTooltip = 1 << 0, /// /// /// By default, when dragging we clear data so that IsItemHovered() will return false, to avoid subsequent /// user code submitting tooltips. This flag disables this behavior so you can still call IsItemHovered() on /// the source item. /// /// /// C++: /// imgui.h:1526 ///
ImGuiDragDropFlags_SourceNoDisableHover = 1 << 1 ///
///
/// /// /// BeginDragDropSource() flags /// /// SourceNoDisableHover = 1 << 1, /// /// /// Disable the behavior that allows to open tree nodes and collapsing header by holding over them while /// dragging a source item. /// /// /// C++: /// imgui.h:1527 ///
ImGuiDragDropFlags_SourceNoHoldToOpenOthers = 1 << 2 ///
///
/// /// /// BeginDragDropSource() flags /// /// SourceNoHoldToOpenOthers = 1 << 2, /// /// /// Allow items such as Text(), Image() that have no unique identifier to be used as drag source, by /// manufacturing a temporary identifier based on their window-relative position. This is extremely unusual /// within the dear imgui ecosystem and so we made it explicit. /// /// /// C++: /// imgui.h:1528 ///
ImGuiDragDropFlags_SourceAllowNullID = 1 << 3 ///
///
/// /// /// BeginDragDropSource() flags /// /// SourceAllowNullID = 1 << 3, /// /// /// External source (from outside of dear imgui), won't attempt to read current item/window info. Will /// always return true. Only one Extern source can be active simultaneously. /// /// /// C++: /// imgui.h:1529 ///
ImGuiDragDropFlags_SourceExtern = 1 << 4 ///
///
/// /// /// BeginDragDropSource() flags /// /// SourceExtern = 1 << 4, /// /// /// Automatically expire the payload if the source cease to be submitted (otherwise payloads are persisting /// while being dragged) /// /// /// C++: /// imgui.h:1530 ///
ImGuiDragDropFlags_PayloadAutoExpire = 1 << 5 ///
///
/// /// /// BeginDragDropSource() flags /// /// PayloadAutoExpire = 1 << 5, /// /// /// Hint to specify that the payload may not be copied outside current dear imgui context. /// /// /// C++: /// imgui.h:1531 ///
ImGuiDragDropFlags_PayloadNoCrossContext = 1 << 6 ///
///
/// /// /// BeginDragDropSource() flags /// /// PayloadNoCrossContext = 1 << 6, /// /// /// Hint to specify that the payload may not be copied outside current process. /// /// /// C++: /// imgui.h:1532 ///
ImGuiDragDropFlags_PayloadNoCrossProcess = 1 << 7 ///
///
/// /// /// BeginDragDropSource() flags /// /// PayloadNoCrossProcess = 1 << 7, /// /// /// AcceptDragDropPayload() will returns true even before the mouse button is released. You can then call /// IsDelivery() to test if the payload needs to be delivered. /// /// /// C++: /// imgui.h:1534 ///
ImGuiDragDropFlags_AcceptBeforeDelivery = 1 << 10 ///
///
/// /// /// AcceptDragDropPayload() flags /// /// AcceptBeforeDelivery = 1 << 10, /// /// /// Do not draw the default highlight rectangle when hovering over target. /// /// /// C++: /// imgui.h:1535 ///
ImGuiDragDropFlags_AcceptNoDrawDefaultRect = 1 << 11 ///
///
/// /// /// AcceptDragDropPayload() flags /// /// AcceptNoDrawDefaultRect = 1 << 11, /// /// /// Request hiding the BeginDragDropSource tooltip from the BeginDragDropTarget site. /// /// /// C++: /// imgui.h:1536 ///
ImGuiDragDropFlags_AcceptNoPreviewTooltip = 1 << 12 ///
///
/// /// /// AcceptDragDropPayload() flags /// /// AcceptNoPreviewTooltip = 1 << 12, /// /// /// For peeking ahead and inspecting the payload before delivery. /// /// /// C++: /// imgui.h:1537 ///
/// ImGuiDragDropFlags_AcceptPeekOnly = ImGuiDragDropFlags_AcceptBeforeDelivery | ImGuiDragDropFlags_AcceptNoDrawDefaultRect ///
///
/// /// /// AcceptDragDropPayload() flags /// /// AcceptPeekOnly = AcceptBeforeDelivery | AcceptNoDrawDefaultRect, } }