| 14790 | } |
| 14791 | |
| 14792 | void ImGui::ClearDragDrop() |
| 14793 | { |
| 14794 | ImGuiContext& g = *GImGui; |
| 14795 | if (g.DragDropActive) |
| 14796 | IMGUI_DEBUG_LOG_ACTIVEID("[dragdrop] ClearDragDrop()\n"); |
| 14797 | g.DragDropActive = false; |
| 14798 | g.DragDropPayload.Clear(); |
| 14799 | g.DragDropAcceptFlagsCurr = ImGuiDragDropFlags_None; |
| 14800 | g.DragDropAcceptIdCurr = g.DragDropAcceptIdPrev = 0; |
| 14801 | g.DragDropAcceptIdCurrRectSurface = FLT_MAX; |
| 14802 | g.DragDropAcceptFrameCount = -1; |
| 14803 | |
| 14804 | g.DragDropPayloadBufHeap.clear(); |
| 14805 | memset(&g.DragDropPayloadBufLocal, 0, sizeof(g.DragDropPayloadBufLocal)); |
| 14806 | } |
| 14807 | |
| 14808 | bool ImGui::BeginTooltipHidden() |
| 14809 | { |