Blender Git Loki
Git Commits -> Revision e519bfe
Revision e519bfe by Julian Eisel (temp-tab_drag_drop) April 16, 2018, 17:09 (GMT) |
Initial working drag & drop for workspace tabs Had to do quite some changes to get this to work, mainly because we'd want to have the customized order written to files. Also wanted to use existing wmDrag and wmDropBox code but modify it for our needs. And of course, this should not just work for a single case, code should be applicable to other areas as well. Note that file read/write is not working (yet), neither is versioning, region copying and deleting workspaces working. Code is also very WIP, much of it is placed in temporary places and such. Once the basics are done, we can add nicer feeback during drag & drop. |
Commit Details:
Full Hash: e519bfea37212cbec3668978db73bb647754225a
Parent Commit: d03634b
Lines Changed: +612, -70
1 Added Path:
/source/blender/editors/interface/interface_init_exit.c (+57, -0) (View)
17 Modified Paths:
/source/blender/blenkernel/BKE_screen.h (+15, -0) (Diff)
/source/blender/blenkernel/intern/screen.c (+6, -0) (Diff)
/source/blender/editors/include/UI_interface.h (+6, -0) (Diff)
/source/blender/editors/interface/CMakeLists.txt (+1, -0) (Diff)
/source/blender/editors/interface/interface.c (+32, -7) (Diff)
/source/blender/editors/interface/interface_handlers.c (+125, -2) (Diff)
/source/blender/editors/interface/interface_intern.h (+9, -0) (Diff)
/source/blender/editors/interface/interface_ops.c (+2, -0) (Diff)
/source/blender/editors/interface/interface_templates.c (+196, -34) (Diff)
/source/blender/editors/screen/workspace_edit.c (+1, -0) (Diff)
/source/blender/makesdna/DNA_screen_types.h (+24, -0) (Diff)
/source/blender/windowmanager/intern/wm.c (+38, -0) (Diff)
/source/blender/windowmanager/intern/wm_dragdrop.c (+50, -10) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+17, -6) (Diff)
/source/blender/windowmanager/intern/wm_window.c (+3, -0) (Diff)
/source/blender/windowmanager/WM_api.h (+12, -2) (Diff)
/source/blender/windowmanager/WM_types.h (+18, -9) (Diff)
/source/blender/blenkernel/intern/screen.c (+6, -0) (Diff)
/source/blender/editors/include/UI_interface.h (+6, -0) (Diff)
/source/blender/editors/interface/CMakeLists.txt (+1, -0) (Diff)
/source/blender/editors/interface/interface.c (+32, -7) (Diff)
/source/blender/editors/interface/interface_handlers.c (+125, -2) (Diff)
/source/blender/editors/interface/interface_intern.h (+9, -0) (Diff)
/source/blender/editors/interface/interface_ops.c (+2, -0) (Diff)
/source/blender/editors/interface/interface_templates.c (+196, -34) (Diff)
/source/blender/editors/screen/workspace_edit.c (+1, -0) (Diff)
/source/blender/makesdna/DNA_screen_types.h (+24, -0) (Diff)
/source/blender/windowmanager/intern/wm.c (+38, -0) (Diff)
/source/blender/windowmanager/intern/wm_dragdrop.c (+50, -10) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+17, -6) (Diff)
/source/blender/windowmanager/intern/wm_window.c (+3, -0) (Diff)
/source/blender/windowmanager/WM_api.h (+12, -2) (Diff)
/source/blender/windowmanager/WM_types.h (+18, -9) (Diff)