Files
test/source/blender/editors
Julian Eisel 4ee2d9df42 UI: Support easy dropping into/onto rows in new tree-view API
Adds an easy way to add drop support for tree-view rows.

Most of the work is handled by the tree-view UI code. The tree items can
simply override a few functions (`can_drop()`, `on_drop()`,
`drop_tooltip()`) to implement their custom drop behavior.

While dragging over a tree-view item that can be dropped into/onto, the
item can show a custom and dynamic tooltip explaining what's gonna
happen on drop.

This isn't used yet, but will soon be for asset catalogs.

See documentation here:
https://wiki.blender.org/wiki/Source/Interface/Views#Further_Customizations
2021-09-30 16:39:09 +02:00
..
2021-09-30 16:34:30 +02:00
2021-09-15 14:38:32 +08:00
2021-07-13 17:10:30 +10:00
2021-09-24 11:31:23 +10:00
2021-09-28 21:36:15 -04:00