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
Definition:
0 |
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
0
public static final int SourceNoPreviewTooltip
Definition: 1 << 0
public static final int SourceNoDisableHover
Definition: 1 << 1
public static final int SourceNoHoldToOpenOthers
Definition: 1 << 2
public static final int SourceAllowNullID
Definition: 1 << 3
public static final int SourceExtern
Definition: 1 << 4
public static final int SourceAutoExpirePayload
Definition: 1 << 5
public static final int AcceptBeforeDelivery
Definition: 1 << 10
public static final int AcceptNoDrawDefaultRect
Definition: 1 << 11
public static final int AcceptNoPreviewTooltip
Definition: 1 << 12
public static final int AcceptPeekOnly
Definition: ImGuiDragDropFlags_AcceptBeforeDelivery | ImGuiDragDropFlags_AcceptNoDrawDefaultRect