You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -4310,6 +4343,30 @@ public static void setNextWindowClass(ImGuiWindowClass windowClass) {
4310
4343
return ImGui::BeginDragDropTarget();
4311
4344
*/
4312
4345
4346
+
/**
4347
+
* Accept contents of a given type. If ImGuiDragDropFlags_AcceptBeforeDelivery is set you can peek into the payload before the mouse button is released.
4348
+
* <p>
4349
+
* BINDING NOTICE: Alternative for {@link #acceptDragDropPayload(String)}.
4350
+
* Use in combination with {@link #setDragDropPayloadObject(String, Object)}.
* Accept contents of a given type. If ImGuiDragDropFlags_AcceptBeforeDelivery is set you can peek into the payload before the mouse button is released.
4358
+
* <p>
4359
+
* BINDING NOTICE: Alternative for {@link #acceptDragDropPayload(String, int)}.
4360
+
* Use in combination with {@link #setDragDropPayloadObject(String, Object)}.
* Accept contents of a given type. If ImGuiDragDropFlags_AcceptBeforeDelivery is set you can peek into the payload before the mouse button is released.
4315
4372
*/
@@ -4342,7 +4399,20 @@ public static byte[] acceptDragDropPayload(String type, int imGuiDragDropFlags)
4342
4399
4343
4400
/**
4344
4401
* Peek directly into the current payload from anywhere. May return NULL. use ImGuiPayload::IsDataType() to test for the payload type.
4345
-
* TODO implement ImGuiPayload class
4402
+
* <p>
4403
+
* BINDING NOTICE: Binding alternative for {@link #getDragDropPayload()}.
4404
+
* Use in combination with {@link #setDragDropPayloadObject(String, Object)}.
0 commit comments