| 14480 | } |
| 14481 | |
| 14482 | void ImGui::ClearDragDrop() |
| 14483 | { |
| 14484 | ImGuiContext& g = *GImGui; |
| 14485 | if (g.DragDropActive) |
| 14486 | IMGUI_DEBUG_LOG_ACTIVEID("[dragdrop] ClearDragDrop()\n"); |
| 14487 | g.DragDropActive = false; |
| 14488 | g.DragDropPayload.Clear(); |
| 14489 | g.DragDropAcceptFlags = ImGuiDragDropFlags_None; |
| 14490 | g.DragDropAcceptIdCurr = g.DragDropAcceptIdPrev = 0; |
| 14491 | g.DragDropAcceptIdCurrRectSurface = FLT_MAX; |
| 14492 | g.DragDropAcceptFrameCount = -1; |
| 14493 | |
| 14494 | g.DragDropPayloadBufHeap.clear(); |
| 14495 | memset(&g.DragDropPayloadBufLocal, 0, sizeof(g.DragDropPayloadBufLocal)); |
| 14496 | } |
| 14497 | |
| 14498 | bool ImGui::BeginTooltipHidden() |
| 14499 | { |