Blender Git Loki
Git Commits -> Revision 02e23c1
Revision 02e23c1 by Ton Roosendaal (master) December 8, 2008, 15:02 (GMT) |
2.5 Part one of wrapping up area/region management. Read design doc here: http://wiki.blender.org/index.php/BlenderDev/Blender2.5/AreaManager This commit: - brings keymap storage to WM, based on names/types. This structure allows rna-ifying it too, so you can browse keymaps etc. - creating areas and regions works slightly different now, wich regiontypes stored in areatype. Todo: - better callbacks and structure for defining which handlers need to be added. - using region types to validate regions - proper implementation of local region data - code method for customizing keymaps. Current idea is that you have to indicate an entire keymap to be custom, to prevent too complicated merging problems of default and custom maps (like order, multiple keys for same operator, disabling options, etc). |
Commit Details:
Full Hash: 02e23c16dd9e403deb1694829c11d16dc47392ee
SVN Revision: 17747
Parent Commit: 11e15bf
Lines Changed: +353, -207
22 Modified Paths:
/source/blender/blenkernel/BKE_screen.h (+25, -7) (Diff)
/source/blender/blenkernel/intern/blender.c (+4, -0) (Diff)
/source/blender/blenkernel/intern/screen.c (+33, -0) (Diff)
/source/blender/blenloader/intern/readfile.c (+1, -5) (Diff)
/source/blender/editors/include/ED_screen.h (+3, -0) (Diff)
/source/blender/editors/interface/interface_ops.c (+2, -2) (Diff)
/source/blender/editors/interface/interface_regions.c (+6, -3) (Diff)
/source/blender/editors/interface/view2d_ops.c (+12, -12) (Diff)
/source/blender/editors/screen/screen_ops.c (+9, -7) (Diff)
/source/blender/editors/screen/spacetypes.c (+18, -2) (Diff)
/source/blender/editors/space_outliner/space_outliner.c (+45, -35) (Diff)
/source/blender/editors/space_time/space_time.c (+56, -45) (Diff)
/source/blender/editors/space_time/time_ops.c (+14, -12) (Diff)
/source/blender/editors/space_view3d/space_view3d.c (+10, -10) (Diff)
/source/blender/makesdna/DNA_windowmanager_types.h (+15, -7) (Diff)
/source/blender/windowmanager/intern/wm.c (+6, -5) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+15, -15) (Diff)
/source/blender/windowmanager/intern/wm_keymap.c (+57, -32) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+6, -4) (Diff)
/source/blender/windowmanager/intern/wm_window.c (+7, -3) (Diff)
/source/blender/windowmanager/WM_api.h (+4, -0) (Diff)
/source/blender/windowmanager/wm_event_system.h (+5, -1) (Diff)
/source/blender/blenkernel/intern/blender.c (+4, -0) (Diff)
/source/blender/blenkernel/intern/screen.c (+33, -0) (Diff)
/source/blender/blenloader/intern/readfile.c (+1, -5) (Diff)
/source/blender/editors/include/ED_screen.h (+3, -0) (Diff)
/source/blender/editors/interface/interface_ops.c (+2, -2) (Diff)
/source/blender/editors/interface/interface_regions.c (+6, -3) (Diff)
/source/blender/editors/interface/view2d_ops.c (+12, -12) (Diff)
/source/blender/editors/screen/screen_ops.c (+9, -7) (Diff)
/source/blender/editors/screen/spacetypes.c (+18, -2) (Diff)
/source/blender/editors/space_outliner/space_outliner.c (+45, -35) (Diff)
/source/blender/editors/space_time/space_time.c (+56, -45) (Diff)
/source/blender/editors/space_time/time_ops.c (+14, -12) (Diff)
/source/blender/editors/space_view3d/space_view3d.c (+10, -10) (Diff)
/source/blender/makesdna/DNA_windowmanager_types.h (+15, -7) (Diff)
/source/blender/windowmanager/intern/wm.c (+6, -5) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+15, -15) (Diff)
/source/blender/windowmanager/intern/wm_keymap.c (+57, -32) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+6, -4) (Diff)
/source/blender/windowmanager/intern/wm_window.c (+7, -3) (Diff)
/source/blender/windowmanager/WM_api.h (+4, -0) (Diff)
/source/blender/windowmanager/wm_event_system.h (+5, -1) (Diff)