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 |
PayloadAutoExpire
Automatically expire the payload if the source cease to be submitted (otherwise payloads are persisting while being dragged)
|
static int |
PayloadNoCrossContext
Hint to specify that the payload may not be copied outside current dear imgui context.
|
static int |
PayloadNoCrossProcess
Hint to specify that the payload may not be copied outside current process.
|
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
Renamed in 1.90.9
|
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
Disable preview tooltip.
|
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 PayloadAutoExpire
Definition: 1 << 5
public static final int PayloadNoCrossContext
Definition: 1 << 6
public static final int PayloadNoCrossProcess
Definition: 1 << 7
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
public static final int SourceAutoExpirePayload
Definition: ImGuiDragDropFlags_PayloadAutoExpire