MCPcopy Create free account
hub / github.com/BlitterStudio/amiberry / ClearDragDrop

Method ClearDragDrop

external/imgui/imgui.cpp:14844–14858  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14842}
14843
14844void ImGui::ClearDragDrop()
14845{
14846 ImGuiContext& g = *GImGui;
14847 if (g.DragDropActive)
14848 IMGUI_DEBUG_LOG_ACTIVEID("[dragdrop] ClearDragDrop()\n");
14849 g.DragDropActive = false;
14850 g.DragDropPayload.Clear();
14851 g.DragDropAcceptFlagsCurr = ImGuiDragDropFlags_None;
14852 g.DragDropAcceptIdCurr = g.DragDropAcceptIdPrev = 0;
14853 g.DragDropAcceptIdCurrRectSurface = FLT_MAX;
14854 g.DragDropAcceptFrameCount = -1;
14855
14856 g.DragDropPayloadBufHeap.clear();
14857 memset(&g.DragDropPayloadBufLocal, 0, sizeof(g.DragDropPayloadBufLocal));
14858}
14859
14860bool ImGui::BeginTooltipHidden()
14861{

Callers

nothing calls this directly

Calls 2

ClearMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected