MCPcopy Create free account
hub / github.com/Wemino/MarkerPatch / ClearDragDrop

Method ClearDragDrop

include/imgui/imgui.cpp:14837–14851  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14835}
14836
14837void 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
14853bool ImGui::BeginTooltipHidden()
14854{

Callers

nothing calls this directly

Calls 2

ClearMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected