|
Blender V5.3
|
Inherits blender::ui::AbstractViewItemDragController.
Public Member Functions | |
| BoneCollectionDragController (BoneCollectionTreeView &tree_view, bArmature &armature, const int bcoll_index) | |
| std::optional< eWM_DragDataType > | get_drag_type () const override |
| void * | create_drag_data () const override |
| void | on_drag_start (bContext &C, AbstractViewItem &item) override |
| Public Member Functions inherited from blender::ui::AbstractViewItemDragController | |
| virtual | ~AbstractViewItemDragController ()=default |
| AbstractViewItemDragController (AbstractView &view) | |
| template<class ViewType> | |
| ViewType & | get_view () const |
Additional Inherited Members | |
| Protected Attributes inherited from blender::ui::AbstractViewItemDragController | |
| AbstractView & | view_ |
Definition at line 81 of file interface_template_bone_collection_tree.cc.
| blender::ui::bonecollections::BoneCollectionDragController::BoneCollectionDragController | ( | BoneCollectionTreeView & | tree_view, |
| bArmature & | armature, | ||
| const int | bcoll_index ) |
Definition at line 456 of file interface_template_bone_collection_tree.cc.
References blender::ui::AbstractViewItemDragController::AbstractViewItemDragController().
|
overridevirtual |
Implements blender::ui::AbstractViewItemDragController.
Definition at line 468 of file interface_template_bone_collection_tree.cc.
References blender::MEM_new_zeroed().
|
overridevirtual |
Implements blender::ui::AbstractViewItemDragController.
Definition at line 463 of file interface_template_bone_collection_tree.cc.
References blender::WM_DRAG_BONE_COLLECTION.
|
overridevirtual |
Called when beginning to drag. Also called when get_drag_type() doesn't return a value, so an arbitrary action can be executed.
| item | The item this drag controller was created from. It's passed so it doesn't have to be stored (especially as non-const). |
Reimplemented from blender::ui::AbstractViewItemDragController.
Definition at line 475 of file interface_template_bone_collection_tree.cc.
References blender::ANIM_armature_bonecoll_active_index_set().