public final class ImGuiDragDropFlags
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
AcceptBeforeDelivery
AcceptDragDropPayload() will returns true even before the mouse button is released.
|
static int |
AcceptNoDrawDefaultRect
Do not draw the default highlight rectangle when hovering over target.
|
static int |
AcceptNoPreviewTooltip
Request hiding the BeginDragDropSource tooltip from the BeginDragDropTarget site.
|
static int |
AcceptPeekOnly
For peeking ahead and inspecting the payload before delivery.
|
static int |
None |
static int |
SourceAllowNullID
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.
|
static int |
SourceAutoExpirePayload
Automatically expire the payload if the source cease to be submitted (otherwise payloads are persisting while being dragged)
|
static int |
SourceExtern
External source (from outside of dear imgui), won't attempt to read current item/window info.
|
static int |
SourceNoDisableHover
By default, when dragging we clear data so that IsItemHovered() will return false, to avoid subsequent user code submitting tooltips.
|
static int |
SourceNoHoldToOpenOthers
Disable the behavior that allows to open tree nodes and collapsing header by holding over them while dragging a source item.
|
static int |
SourceNoPreviewTooltip
By default, a successful call to BeginDragDropSource opens a tooltip so you can display a preview or description of the source contents.
|
public static final int None
public static final int SourceNoPreviewTooltip
public static final int SourceNoDisableHover
public static final int SourceNoHoldToOpenOthers
public static final int SourceAllowNullID
public static final int SourceExtern
public static final int SourceAutoExpirePayload
public static final int AcceptBeforeDelivery
public static final int AcceptNoDrawDefaultRect
public static final int AcceptNoPreviewTooltip
public static final int AcceptPeekOnly