Blender V4.5
blender::ed::asset::shelf::AssetDragController Class Reference

Inherits blender::ui::AbstractViewItemDragController.

Public Member Functions

 AssetDragController (ui::AbstractGridView &view, asset_system::AssetRepresentation &asset)
eWM_DragDataType get_drag_type () const override
void * create_drag_data () const override
Public Member Functions inherited from blender::ui::AbstractViewItemDragController
virtual ~AbstractViewItemDragController ()=default
 AbstractViewItemDragController (AbstractView &view)
virtual void on_drag_start ()
template<class ViewType>
ViewType & get_view () const

Additional Inherited Members

Protected Attributes inherited from blender::ui::AbstractViewItemDragController
AbstractViewview_

Detailed Description

Definition at line 78 of file asset_shelf_asset_view.cc.

Constructor & Destructor Documentation

◆ AssetDragController()

blender::ed::asset::shelf::AssetDragController::AssetDragController ( ui::AbstractGridView & view,
asset_system::AssetRepresentation & asset )

Member Function Documentation

◆ create_drag_data()

void * blender::ed::asset::shelf::AssetDragController::create_drag_data ( ) const
overridevirtual

◆ get_drag_type()

eWM_DragDataType blender::ed::asset::shelf::AssetDragController::get_drag_type ( ) const
overridevirtual

Implements blender::ui::AbstractViewItemDragController.

Definition at line 378 of file asset_shelf_asset_view.cc.

References WM_DRAG_ASSET, and WM_DRAG_ID.


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