MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / ClearDragDrop

Method ClearDragDrop

Source/3rdParty/imgui/imgui.cpp:14792–14806  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14790}
14791
14792void 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
14808bool ImGui::BeginTooltipHidden()
14809{

Callers

nothing calls this directly

Calls 3

clearMethod · 0.65
memsetFunction · 0.50
ClearMethod · 0.45

Tested by

no test coverage detected