Blender Git Commit Log
Git Commits -> Revision 391c464
February 9, 2016, 16:13 (GMT) |
Refactor widget code into isolated window manager submodule files (merges temp_widgets_files_refactor) Widgets core code is now located in own folder, source/blender/windowmanager/widgets/. It is now more centralized, better structured and mixing with regular WM code was greatly minimized. wm_widgets.c was split up into multiple files in windowmanager/widgets/intern/, wm_generic_widgets.c was split up into multiple files in windowmanager/widgets/intern/widget_library/. Both initial files are gone. The geometry files for widget types that were previously located under windowmanager/3d_widgets are now also in windowmanager/widgets/intern/widget_library/, with a geom_ prefix. Header files: Widgets got own .h files, which are included into window manager .h files if needed. API and defines for external access are in WM_widget_api.h, WM_widget_types.h and WM_widget_library.h. Also, wm_widget_wmapi.h was added as header for window manager usage only (could add #error printing for usage outside of window manager later). Also did some minor cleanups here and there. |
Commit Details:
Full Hash: 391c464c4780be95e78d15621c33f0aae5a8c1e2
Parent Commit: f678714
Lines Changed: +5314, -4564
17 Added Paths:
/source/blender/windowmanager/widgets/intern/widget_library/arrow_widget.c (+665, -0) (View)
/source/blender/windowmanager/widgets/intern/widget_library/cage_widget.c (+555, -0) (View)
/source/blender/windowmanager/widgets/intern/widget_library/dial_widget.c (+229, -0) (View)
/source/blender/windowmanager/widgets/intern/widget_library/facemap_widget.c (+143, -0) (View)
/source/blender/windowmanager/widgets/intern/widget_library/geom_arrow_widget.c (+137, -0) (View)
/source/blender/windowmanager/widgets/intern/widget_library/geom_cube_widget.c (+69, -0) (View)
/source/blender/windowmanager/widgets/intern/widget_library/geom_dial_widget.c (+809, -0) (View)
/source/blender/windowmanager/widgets/intern/widget_library/plane_widget.c (+198, -0) (View)
/source/blender/windowmanager/widgets/intern/widget_library/widget_geometry.h (+67, -0) (View)
/source/blender/windowmanager/widgets/intern/wm_widget.c (+530, -0) (View)
/source/blender/windowmanager/widgets/intern/wm_widgetgroup.c (+508, -0) (View)
/source/blender/windowmanager/widgets/intern/wm_widgetmap.c (+725, -0) (View)
/source/blender/windowmanager/widgets/intern/wm_widget_intern.h (+113, -0) (View)
/source/blender/windowmanager/widgets/WM_widget_api.h (+119, -0) (View)
/source/blender/windowmanager/widgets/WM_widget_library.h (+115, -0) (View)
/source/blender/windowmanager/widgets/WM_widget_types.h (+146, -0) (View)
/source/blender/windowmanager/widgets/wm_widget_wmapi.h (+149, -0) (View)
/source/blender/windowmanager/widgets/intern/widget_library/cage_widget.c (+555, -0) (View)
/source/blender/windowmanager/widgets/intern/widget_library/dial_widget.c (+229, -0) (View)
/source/blender/windowmanager/widgets/intern/widget_library/facemap_widget.c (+143, -0) (View)
/source/blender/windowmanager/widgets/intern/widget_library/geom_arrow_widget.c (+137, -0) (View)
/source/blender/windowmanager/widgets/intern/widget_library/geom_cube_widget.c (+69, -0) (View)
/source/blender/windowmanager/widgets/intern/widget_library/geom_dial_widget.c (+809, -0) (View)
/source/blender/windowmanager/widgets/intern/widget_library/plane_widget.c (+198, -0) (View)
/source/blender/windowmanager/widgets/intern/widget_library/widget_geometry.h (+67, -0) (View)
/source/blender/windowmanager/widgets/intern/wm_widget.c (+530, -0) (View)
/source/blender/windowmanager/widgets/intern/wm_widgetgroup.c (+508, -0) (View)
/source/blender/windowmanager/widgets/intern/wm_widgetmap.c (+725, -0) (View)
/source/blender/windowmanager/widgets/intern/wm_widget_intern.h (+113, -0) (View)
/source/blender/windowmanager/widgets/WM_widget_api.h (+119, -0) (View)
/source/blender/windowmanager/widgets/WM_widget_library.h (+115, -0) (View)
/source/blender/windowmanager/widgets/WM_widget_types.h (+146, -0) (View)
/source/blender/windowmanager/widgets/wm_widget_wmapi.h (+149, -0) (View)
6 Deleted Paths:
/source/blender/windowmanager/3d_widgets/arrow_widget.c (+0, -107)
/source/blender/windowmanager/3d_widgets/cube_widget.c (+0, -39)
/source/blender/windowmanager/3d_widgets/dial_widget.c (+0, -779)
/source/blender/windowmanager/3d_widgets/ui_widget_library.h (+0, -24)
/source/blender/windowmanager/intern/wm_generic_widgets.c (+0, -1651)
/source/blender/windowmanager/intern/wm_widgets.c (+0, -1600)
/source/blender/windowmanager/3d_widgets/cube_widget.c (+0, -39)
/source/blender/windowmanager/3d_widgets/dial_widget.c (+0, -779)
/source/blender/windowmanager/3d_widgets/ui_widget_library.h (+0, -24)
/source/blender/windowmanager/intern/wm_generic_widgets.c (+0, -1651)
/source/blender/windowmanager/intern/wm_widgets.c (+0, -1600)
13 Modified Paths:
/source/blender/editors/object/object_edit.c (+1, -1) (Diff)
/source/blender/editors/space_graph/graph_edit.c (+1, -1) (Diff)
/source/blender/editors/space_node/space_node.c (+1, -1) (Diff)
/source/blender/editors/space_sequencer/sequencer_view.c (+2, -2) (Diff)
/source/blender/editors/space_view3d/space_view3d.c (+3, -3) (Diff)
/source/blender/makesdna/DNA_widget_types.h (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_wm.c (+1, -1) (Diff)
/source/blender/windowmanager/CMakeLists.txt (+17, -6) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+1, -1) (Diff)
/source/blender/windowmanager/wm.h (+2, -87) (Diff)
/source/blender/windowmanager/WM_api.h (+5, -147) (Diff)
/source/blender/windowmanager/wm_event_system.h (+0, -18) (Diff)
/source/blender/windowmanager/WM_types.h (+1, -94) (Diff)
/source/blender/editors/space_graph/graph_edit.c (+1, -1) (Diff)
/source/blender/editors/space_node/space_node.c (+1, -1) (Diff)
/source/blender/editors/space_sequencer/sequencer_view.c (+2, -2) (Diff)
/source/blender/editors/space_view3d/space_view3d.c (+3, -3) (Diff)
/source/blender/makesdna/DNA_widget_types.h (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_wm.c (+1, -1) (Diff)
/source/blender/windowmanager/CMakeLists.txt (+17, -6) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+1, -1) (Diff)
/source/blender/windowmanager/wm.h (+2, -87) (Diff)
/source/blender/windowmanager/WM_api.h (+5, -147) (Diff)
/source/blender/windowmanager/wm_event_system.h (+0, -18) (Diff)
/source/blender/windowmanager/WM_types.h (+1, -94) (Diff)