Blender Git Loki
Git Commits -> Revision 398c669
Revision 398c669 by Julian Eisel (temp_widgets_c++_experiment) December 25, 2015, 01:29 (GMT) |
Refactor widget library * Rename folder 3d_widgets/ to widget_library/ * Split up wm_generic_widgets.c into separate .cc files for each widget, move them into widget_library/ * Rename files containing geometry vectors from xxx_widget.c to geom_xxx_widget.cc * Rename wm_widget_library.h to widget_geometry.h (contains the geom_xxx_widget.cc declarations) * Add widget_library.h (contains widget library API declarations for external access) * Move widget drawing function to wm_widget.cc * Add/improve (doxygen) comments * Remove wm_generic_widgets.c * Usual cleanup We have 22 files for widgets now :S Seems a lot, but maaaaaan things are so nicely structured now! |
Commit Details:
Full Hash: 398c669d6329db9f74278fba579c0ddd73fd4e56
Parent Commit: 52b2999
Lines Changed: +2918, -2627
10 Added Paths:
/source/blender/windowmanager/widgets/widget_library/arrow_widget.cc (+659, -0) (View)
/source/blender/windowmanager/widgets/widget_library/cage_widget.cc (+548, -0) (View)
/source/blender/windowmanager/widgets/widget_library/dial_widget.cc (+219, -0) (View)
/source/blender/windowmanager/widgets/widget_library/facemap_widget.cc (+137, -0) (View)
/source/blender/windowmanager/widgets/widget_library/geom_arrow_widget.cc (+107, -0) (View)
/source/blender/windowmanager/widgets/widget_library/geom_cube_widget.cc (+39, -0) (View)
/source/blender/windowmanager/widgets/widget_library/geom_dial_widget.cc (+779, -0) (View)
/source/blender/windowmanager/widgets/widget_library/plane_widget.cc (+195, -0) (View)
/source/blender/windowmanager/widgets/widget_library/widget_geometry.h (+64, -0) (View)
/source/blender/windowmanager/widgets/widget_library/widget_library.h (+64, -0) (View)
/source/blender/windowmanager/widgets/widget_library/cage_widget.cc (+548, -0) (View)
/source/blender/windowmanager/widgets/widget_library/dial_widget.cc (+219, -0) (View)
/source/blender/windowmanager/widgets/widget_library/facemap_widget.cc (+137, -0) (View)
/source/blender/windowmanager/widgets/widget_library/geom_arrow_widget.cc (+107, -0) (View)
/source/blender/windowmanager/widgets/widget_library/geom_cube_widget.cc (+39, -0) (View)
/source/blender/windowmanager/widgets/widget_library/geom_dial_widget.cc (+779, -0) (View)
/source/blender/windowmanager/widgets/widget_library/plane_widget.cc (+195, -0) (View)
/source/blender/windowmanager/widgets/widget_library/widget_geometry.h (+64, -0) (View)
/source/blender/windowmanager/widgets/widget_library/widget_library.h (+64, -0) (View)
5 Deleted Paths:
/source/blender/windowmanager/widgets/3d_widgets/arrow_widget.c (+0, -107)
/source/blender/windowmanager/widgets/3d_widgets/cube_widget.c (+0, -39)
/source/blender/windowmanager/widgets/3d_widgets/dial_widget.c (+0, -779)
/source/blender/windowmanager/widgets/3d_widgets/wm_widget_library.h (+0, -24)
/source/blender/windowmanager/widgets/wm_generic_widgets.c (+0, -1639)
/source/blender/windowmanager/widgets/3d_widgets/cube_widget.c (+0, -39)
/source/blender/windowmanager/widgets/3d_widgets/dial_widget.c (+0, -779)
/source/blender/windowmanager/widgets/3d_widgets/wm_widget_library.h (+0, -24)
/source/blender/windowmanager/widgets/wm_generic_widgets.c (+0, -1639)
6 Modified Paths:
/release/datafiles/widget_export.py (+4, -4) (Diff)
/source/blender/windowmanager/CMakeLists.txt (+10, -5) (Diff)
/source/blender/windowmanager/widgets/wm_widget.cc (+67, -1) (Diff)
/source/blender/windowmanager/widgets/wm_widget.h (+18, -0) (Diff)
/source/blender/windowmanager/widgets/wm_widgets_c_api.h (+5, -5) (Diff)
/source/blender/windowmanager/WM_api.h (+3, -24) (Diff)
/source/blender/windowmanager/CMakeLists.txt (+10, -5) (Diff)
/source/blender/windowmanager/widgets/wm_widget.cc (+67, -1) (Diff)
/source/blender/windowmanager/widgets/wm_widget.h (+18, -0) (Diff)
/source/blender/windowmanager/widgets/wm_widgets_c_api.h (+5, -5) (Diff)
/source/blender/windowmanager/WM_api.h (+3, -24) (Diff)