| 2217 | bool Delivery; // Set when AcceptDragDropPayload() was called and mouse button is released over the target item. |
| 2218 | |
| 2219 | ImGuiPayload() { Clear(); } |
| 2220 | void Clear() { SourceId = SourceParentId = 0; Data = NULL; DataSize = 0; memset(DataType, 0, sizeof(DataType)); DataFrameCount = -1; Preview = Delivery = false; } |
| 2221 | bool IsDataType(const char* type) const { return DataFrameCount != -1 && strcmp(type, DataType) == 0; } |
| 2222 | bool IsPreview() const { return Preview; } |