MCPcopy Create free account
hub / github.com/cinder/Cinder / ClearDragDrop

Method ClearDragDrop

src/imgui/imgui.cpp:14482–14496  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14480}
14481
14482void ImGui::ClearDragDrop()
14483{
14484 ImGuiContext& g = *GImGui;
14485 if (g.DragDropActive)
14486 IMGUI_DEBUG_LOG_ACTIVEID("[dragdrop] ClearDragDrop()\n");
14487 g.DragDropActive = false;
14488 g.DragDropPayload.Clear();
14489 g.DragDropAcceptFlags = ImGuiDragDropFlags_None;
14490 g.DragDropAcceptIdCurr = g.DragDropAcceptIdPrev = 0;
14491 g.DragDropAcceptIdCurrRectSurface = FLT_MAX;
14492 g.DragDropAcceptFrameCount = -1;
14493
14494 g.DragDropPayloadBufHeap.clear();
14495 memset(&g.DragDropPayloadBufLocal, 0, sizeof(g.DragDropPayloadBufLocal));
14496}
14497
14498bool ImGui::BeginTooltipHidden()
14499{

Callers

nothing calls this directly

Calls 2

ClearMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected