Changeset View
Changeset View
Standalone View
Standalone View
source/blender/windowmanager/WM_api.h
| Show First 20 Lines • Show All 734 Lines • ▼ Show 20 Lines | |||||
| void WM_drag_free_list(struct ListBase *lb); | void WM_drag_free_list(struct ListBase *lb); | ||||
| struct wmDropBox *WM_dropbox_add( | struct wmDropBox *WM_dropbox_add( | ||||
| ListBase *lb, | ListBase *lb, | ||||
| 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); | ||||
| void WM_drag_draw_item_name_fn(struct bContext *C, | |||||
| struct wmWindow *win, | |||||
| struct wmDrag *drag, | |||||
| const int xy[2]); | |||||
| void WM_drag_draw_default_fn(struct bContext *C, | |||||
| struct wmWindow *win, | |||||
| struct wmDrag *drag, | |||||
| const int xy[2]); | |||||
| 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 */ | ||||
| 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); | ||||
| ▲ Show 20 Lines • Show All 372 Lines • Show Last 20 Lines | |||||