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

Method RenderDragDropTargetRectEx

include/imgui/imgui.cpp:15203–15208  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15201}
15202
15203void ImGui::RenderDragDropTargetRectEx(ImDrawList* draw_list, const ImRect& bb, float rounding)
15204{
15205 ImGuiContext& g = *GImGui;
15206 draw_list->AddRectFilled(bb.Min, bb.Max, GetColorU32(ImGuiCol_DragDropTargetBg), rounding, 0);
15207 draw_list->AddRect(bb.Min, bb.Max, GetColorU32(ImGuiCol_DragDropTarget), rounding, g.Style.DragDropTargetBorderSize);
15208}
15209
15210const ImGuiPayload* ImGui::GetDragDropPayload()
15211{

Callers

nothing calls this directly

Calls 2

AddRectFilledMethod · 0.80
AddRectMethod · 0.45

Tested by

no test coverage detected