| 13192 | } |
| 13193 | |
| 13194 | void ImGui::ClearDragDrop() |
| 13195 | { |
| 13196 | ImGuiContext& g = *GImGui; |
| 13197 | if (g.DragDropActive) |
| 13198 | IMGUI_DEBUG_LOG_ACTIVEID("[dragdrop] ClearDragDrop()\n"); |
| 13199 | g.DragDropActive = false; |
| 13200 | g.DragDropPayload.Clear(); |
| 13201 | g.DragDropAcceptFlags = ImGuiDragDropFlags_None; |
| 13202 | g.DragDropAcceptIdCurr = g.DragDropAcceptIdPrev = 0; |
| 13203 | g.DragDropAcceptIdCurrRectSurface = FLT_MAX; |
| 13204 | g.DragDropAcceptFrameCount = -1; |
| 13205 | |
| 13206 | g.DragDropPayloadBufHeap.clear(); |
| 13207 | memset(&g.DragDropPayloadBufLocal, 0, sizeof(g.DragDropPayloadBufLocal)); |
| 13208 | } |
| 13209 | |
| 13210 | bool ImGui::BeginTooltipHidden() |
| 13211 | { |