Blender V5.0
wmDragAssetListItem Struct Reference

#include <WM_types.hh>

Public Attributes

wmDragAssetListItemnext
wmDragAssetListItemprev
union { 
   ID *   local_id 
   wmDragAsset *   external_info 
asset_data
bool is_external

Detailed Description

For some specific cases we support dragging multiple assets (WM_DRAG_ASSET_LIST). There is no proper support for dragging multiple items in the wmDrag/wmDrop API yet, so this is really just to enable specific features for assets.

This struct basically contains a tagged union to either store a local ID pointer, or information about an externally stored asset.

Definition at line 1259 of file WM_types.hh.

Member Data Documentation

◆ [union]

union { ... } wmDragAssetListItem::asset_data

◆ external_info

wmDragAsset* wmDragAssetListItem::external_info

Definition at line 1264 of file WM_types.hh.

Referenced by WM_drag_add_asset_list_item().

◆ is_external

bool wmDragAssetListItem::is_external

Definition at line 1267 of file WM_types.hh.

Referenced by WM_drag_add_asset_list_item().

◆ local_id

ID* wmDragAssetListItem::local_id

Definition at line 1263 of file WM_types.hh.

Referenced by WM_drag_add_asset_list_item().

◆ next

wmDragAssetListItem* wmDragAssetListItem::next

Definition at line 1260 of file WM_types.hh.

◆ prev

wmDragAssetListItem * wmDragAssetListItem::prev

Definition at line 1260 of file WM_types.hh.


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