| 14835 | } |
| 14836 | |
| 14837 | void ImGui::ClearDragDrop() |
| 14838 | { |
| 14839 | ImGuiContext& g = *GImGui; |
| 14840 | if (g.DragDropActive) |
| 14841 | IMGUI_DEBUG_LOG_ACTIVEID("[dragdrop] ClearDragDrop()\n"); |
| 14842 | g.DragDropActive = false; |
| 14843 | g.DragDropPayload.Clear(); |
| 14844 | g.DragDropAcceptFlagsCurr = ImGuiDragDropFlags_None; |
| 14845 | g.DragDropAcceptIdCurr = g.DragDropAcceptIdPrev = 0; |
| 14846 | g.DragDropAcceptIdCurrRectSurface = FLT_MAX; |
| 14847 | g.DragDropAcceptFrameCount = -1; |
| 14848 | |
| 14849 | g.DragDropPayloadBufHeap.clear(); |
| 14850 | memset(&g.DragDropPayloadBufLocal, 0, sizeof(g.DragDropPayloadBufLocal)); |
| 14851 | } |
| 14852 | |
| 14853 | bool ImGui::BeginTooltipHidden() |
| 14854 | { |