UI: Generalize drop target API, support them for UI views #105963

Closed
Julian Eisel wants to merge 8 commits from JulianEisel:temp-ui-view-drop-controller into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.

8 Commits

Author SHA1 Message Date
Julian Eisel c5bebee18f Merge branch 'main' into temp-ui-view-drop-controller 2023-03-22 18:40:20 +01:00
Julian Eisel b7c32d844e Improve `DropTargetInterface` comment some more 2023-03-22 18:37:18 +01:00
Julian Eisel 7d7a7e919b Update `DropTargetInterface` comment 2023-03-22 17:47:05 +01:00
Julian Eisel a3886ebbbc Move new API functions to blender::ui namespace, remove `UI_` prefix 2023-03-22 17:13:05 +01:00
Julian Eisel 232a9a9f10 Rename drop controller -> drop target 2023-03-22 15:57:22 +01:00
Julian Eisel 1bbfd4d700 Merge branch 'main' into temp-ui-view-drop-controller 2023-03-22 14:47:14 +01:00
Julian Eisel ffbd2a703c Merge branch 'main' into temp-ui-view-drop-controller 2023-03-22 11:14:04 +01:00
Julian Eisel 71e0c6c043 UI: Generalize drop controllers, support them for UI views
Previously UI view items would support custom drop controllers (so they
could react to data being dragged over them and dropped). This is now
more generalized so the views themselves can do this as well.
2023-03-21 17:29:07 +01:00