Changeset View
Changeset View
Standalone View
Standalone View
source/blender/windowmanager/WM_api.h
| Show First 20 Lines • Show All 737 Lines • ▼ Show 20 Lines | struct wmDropBox *WM_dropbox_add( | ||||
| const char *idname, | const char *idname, | ||||
| bool (*poll)(struct bContext *, struct wmDrag *, const struct wmEvent *event), | bool (*poll)(struct bContext *, struct wmDrag *, const struct wmEvent *event), | ||||
| void (*copy)(struct wmDrag *, struct wmDropBox *), | void (*copy)(struct wmDrag *, struct wmDropBox *), | ||||
| void (*cancel)(struct Main *, struct wmDrag *, struct wmDropBox *), | void (*cancel)(struct Main *, struct wmDrag *, struct wmDropBox *), | ||||
| WMDropboxTooltipFunc tooltip); | WMDropboxTooltipFunc tooltip); | ||||
| ListBase *WM_dropboxmap_find(const char *idname, int spaceid, int regionid); | ListBase *WM_dropboxmap_find(const char *idname, int spaceid, int regionid); | ||||
| /* ID drag and drop */ | /* ID drag and drop */ | ||||
| ID *WM_drag_asset_id_import(wmDragAsset *asset_drag, int flag_extra); | |||||
| void WM_drag_add_local_ID(struct wmDrag *drag, struct ID *id, struct ID *from_parent); | void WM_drag_add_local_ID(struct wmDrag *drag, struct ID *id, struct ID *from_parent); | ||||
| struct ID *WM_drag_get_local_ID(const struct wmDrag *drag, short idcode); | struct ID *WM_drag_get_local_ID(const struct wmDrag *drag, short idcode); | ||||
| struct ID *WM_drag_get_local_ID_from_event(const struct wmEvent *event, short idcode); | struct ID *WM_drag_get_local_ID_from_event(const struct wmEvent *event, short idcode); | ||||
| bool WM_drag_is_ID_type(const struct wmDrag *drag, int idcode); | bool WM_drag_is_ID_type(const struct wmDrag *drag, int idcode); | ||||
| wmDragAsset *WM_drag_create_asset_data(const struct AssetHandle *asset, | wmDragAsset *WM_drag_create_asset_data(const struct AssetHandle *asset, | ||||
| const char *path, | const char *path, | ||||
| int import_type); | int import_type); | ||||
| ▲ Show 20 Lines • Show All 369 Lines • Show Last 20 Lines | |||||