Drag and Drop: extracted a RenderDragDropTargetRect() function (#1603)

This commit is contained in:
ocornut
2022-10-25 15:07:00 +02:00
parent 431fc6a7f6
commit baea25e657
2 changed files with 7 additions and 1 deletions

View File

@ -2772,6 +2772,7 @@ namespace ImGui
IMGUI_API bool BeginDragDropTargetCustom(const ImRect& bb, ImGuiID id);
IMGUI_API void ClearDragDrop();
IMGUI_API bool IsDragDropPayloadBeingAccepted();
IMGUI_API void RenderDragDropTargetRect(const ImRect& bb);
// Internal Columns API (this is not exposed because we will encourage transitioning to the Tables API)
IMGUI_API void SetWindowClipRectBeforeSetChannel(ImGuiWindow* window, const ImRect& clip_rect);