| 4304 | } |
| 4305 | |
| 4306 | bool BeginDragDropSourcePlot(ImGuiDragDropFlags flags) { |
| 4307 | SetupLock(); |
| 4308 | ImPlotContext& gp = *GImPlot; |
| 4309 | ImPlotPlot* plot = gp.CurrentPlot; |
| 4310 | if (GImGui->IO.KeyMods == gp.InputMap.OverrideMod || GImGui->DragDropPayload.SourceId == plot->ID) |
| 4311 | return ImGui::ItemAdd(plot->PlotRect, plot->ID) && ImGui::BeginDragDropSource(flags); |
| 4312 | return false; |
| 4313 | } |
| 4314 | |
| 4315 | bool BeginDragDropSourceAxis(ImAxis idx, ImGuiDragDropFlags flags) { |
| 4316 | SetupLock(); |
nothing calls this directly
no test coverage detected