Blender Git Loki

Git Commits -> Revision d16e732

Revision d16e732 by Julian Eisel (master)
October 25, 2021, 08:46 (GMT)
UI: Refactor dropping support for the tree-view API

Introduces a dropping-controller API for the tree-view items,
`AbstractTreeViewItemDropController`. This reduces responsibilities of the main
tree-view item classes, which are already getting quite big. As I expect even
more functionality to be needed for it (e.g. drag support), it's better to
start introducing such controller types already.

Commit Details:

Full Hash: d16e7326386d055fc5cdfa9f60bcd3d75bcbbed5
Parent Commit: c4fa17c
Lines Changed: +187, -101

5 Modified Paths:

/source/blender/editors/include/UI_interface.h (+1, -4) (Diff)
/source/blender/editors/include/UI_tree_view.hh (+55, -11) (Diff)
/source/blender/editors/interface/interface_dropboxes.cc (+1, -1) (Diff)
/source/blender/editors/interface/tree_view.cc (+29, -23) (Diff)
/source/blender/editors/space_file/asset_catalog_tree_view.cc (+101, -62) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021