Blender  V3.3
Public Attributes | List of all members
wmDragAssetListItem Struct Reference

#include <WM_types.h>

Public Attributes

struct wmDragAssetListItemnext
 
struct wmDragAssetListItemprev
 
union {
   struct 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 1102 of file WM_types.h.

Member Data Documentation

◆ 

union { ... } wmDragAssetListItem::asset_data

◆ external_info

wmDragAsset* wmDragAssetListItem::external_info

Definition at line 1107 of file WM_types.h.

Referenced by WM_drag_add_asset_list_item().

◆ is_external

bool wmDragAssetListItem::is_external

Definition at line 1110 of file WM_types.h.

Referenced by WM_drag_add_asset_list_item().

◆ local_id

struct ID* wmDragAssetListItem::local_id

Definition at line 1106 of file WM_types.h.

Referenced by WM_drag_add_asset_list_item().

◆ next

struct wmDragAssetListItem* wmDragAssetListItem::next

Definition at line 1103 of file WM_types.h.

◆ prev

struct wmDragAssetListItem * wmDragAssetListItem::prev

Definition at line 1103 of file WM_types.h.


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