Blender V5.0
blender::ui::bonecollections::BoneCollectionDragController Class Reference

Inherits blender::ui::AbstractViewItemDragController.

Public Member Functions

 BoneCollectionDragController (BoneCollectionTreeView &tree_view, bArmature &armature, const int bcoll_index)
std::optional< eWM_DragDataTypeget_drag_type () const override
void * create_drag_data () const override
void on_drag_start (bContext &C) 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
AbstractViewview_

Detailed Description

Definition at line 75 of file interface_template_bone_collection_tree.cc.

Constructor & Destructor Documentation

◆ BoneCollectionDragController()

blender::ui::bonecollections::BoneCollectionDragController::BoneCollectionDragController ( BoneCollectionTreeView & tree_view,
bArmature & armature,
const int bcoll_index )

Member Function Documentation

◆ create_drag_data()

void * blender::ui::bonecollections::BoneCollectionDragController::create_drag_data ( ) const
overridevirtual

◆ get_drag_type()

std::optional< eWM_DragDataType > blender::ui::bonecollections::BoneCollectionDragController::get_drag_type ( ) const
overridevirtual

◆ on_drag_start()

void blender::ui::bonecollections::BoneCollectionDragController::on_drag_start ( bContext & C)
overridevirtual

Called when beginning to drag. Also called when get_drag_type() doesn't return a value, so an arbitrary action can be executed.

Reimplemented from blender::ui::AbstractViewItemDragController.

Definition at line 458 of file interface_template_bone_collection_tree.cc.

References ANIM_armature_bonecoll_active_index_set().


The documentation for this class was generated from the following file: