MCPcopy Create free account
hub / github.com/TheForceEngine/TheForceEngine / ClearDragDrop

Method ClearDragDrop

TheForceEngine/TFE_Ui/imGUI/imgui.cpp:13194–13208  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13192}
13193
13194void ImGui::ClearDragDrop()
13195{
13196 ImGuiContext& g = *GImGui;
13197 if (g.DragDropActive)
13198 IMGUI_DEBUG_LOG_ACTIVEID("[dragdrop] ClearDragDrop()\n");
13199 g.DragDropActive = false;
13200 g.DragDropPayload.Clear();
13201 g.DragDropAcceptFlags = ImGuiDragDropFlags_None;
13202 g.DragDropAcceptIdCurr = g.DragDropAcceptIdPrev = 0;
13203 g.DragDropAcceptIdCurrRectSurface = FLT_MAX;
13204 g.DragDropAcceptFrameCount = -1;
13205
13206 g.DragDropPayloadBufHeap.clear();
13207 memset(&g.DragDropPayloadBufLocal, 0, sizeof(g.DragDropPayloadBufLocal));
13208}
13209
13210bool ImGui::BeginTooltipHidden()
13211{

Callers

nothing calls this directly

Calls 2

ClearMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected