Blender Git Commit Log
Git Commits -> Revision 0e56297
Revision 0e56297 by Julian Eisel (temp_widgets_c++_experiment) December 11, 2015, 04:25 (GMT) |
Initial steps for porting wmWidget types to C++ Antony and myself came to the conclusion that widgets could make good use of C++ features, so I decided to try porting them over. Main changes in this commit are: * Introduce object oriented file structure * Port some wmWidget structs to classes * Add initial C API * Actually use some of this stuff Some things are a bit tricky to port over (ListBase, registering widgets in rna_ files for Python API, etc), but they're definitely solvable. NOTE: This branch is completely unstable for now, but that is expected. Also some parts of the Python API are commented out now (I'd be surprised if it still worked anyway :S). |
Commit Details:
Full Hash: 0e56297ca9a7a294c06d612e69b42a473ec64133
Parent Commit: ad2f210
Lines Changed: +907, -174
12 Added Paths:
/source/blender/windowmanager/intern/widgets/wm_widget.cpp (+36, -0) (View)
/source/blender/windowmanager/intern/widgets/wm_widget.h (+40, -0) (View)
/source/blender/windowmanager/intern/widgets/wm_widgetgroup.cpp (+38, -0) (View)
/source/blender/windowmanager/intern/widgets/wm_widgetgroup.h (+46, -0) (View)
/source/blender/windowmanager/intern/widgets/wm_widgetgrouptype.cpp (+140, -0) (View)
/source/blender/windowmanager/intern/widgets/wm_widgetgrouptype.h (+96, -0) (View)
/source/blender/windowmanager/intern/widgets/wm_widgetmap.cpp (+62, -0) (View)
/source/blender/windowmanager/intern/widgets/wm_widgetmap.h (+75, -0) (View)
/source/blender/windowmanager/intern/widgets/wm_widgetmaptype.cpp (+72, -0) (View)
/source/blender/windowmanager/intern/widgets/wm_widgetmaptype.h (+58, -0) (View)
/source/blender/windowmanager/intern/widgets/wm_widgets_c_api.cpp (+94, -0) (View)
/source/blender/windowmanager/intern/widgets/wm_widgets_c_api.h (+72, -0) (View)
/source/blender/windowmanager/intern/widgets/wm_widget.h (+40, -0) (View)
/source/blender/windowmanager/intern/widgets/wm_widgetgroup.cpp (+38, -0) (View)
/source/blender/windowmanager/intern/widgets/wm_widgetgroup.h (+46, -0) (View)
/source/blender/windowmanager/intern/widgets/wm_widgetgrouptype.cpp (+140, -0) (View)
/source/blender/windowmanager/intern/widgets/wm_widgetgrouptype.h (+96, -0) (View)
/source/blender/windowmanager/intern/widgets/wm_widgetmap.cpp (+62, -0) (View)
/source/blender/windowmanager/intern/widgets/wm_widgetmap.h (+75, -0) (View)
/source/blender/windowmanager/intern/widgets/wm_widgetmaptype.cpp (+72, -0) (View)
/source/blender/windowmanager/intern/widgets/wm_widgetmaptype.h (+58, -0) (View)
/source/blender/windowmanager/intern/widgets/wm_widgets_c_api.cpp (+94, -0) (View)
/source/blender/windowmanager/intern/widgets/wm_widgets_c_api.h (+72, -0) (View)
12 Modified Paths:
/source/blender/editors/object/object_edit.c (+12, -7) (Diff)
/source/blender/editors/space_graph/graph_edit.c (+6, -6) (Diff)
/source/blender/editors/space_sequencer/sequencer_view.c (+12, -12) (Diff)
/source/blender/editors/space_view3d/view3d_widgets.c (+3, -3) (Diff)
/source/blender/makesdna/DNA_widget_types.h (+2, -1) (Diff)
/source/blender/makesrna/intern/rna_wm.c (+13, -7) (Diff)
/source/blender/windowmanager/CMakeLists.txt (+14, -0) (Diff)
/source/blender/windowmanager/intern/wm_widgets.c (+5, -114) (Diff)
/source/blender/windowmanager/WM_api.h (+5, -12) (Diff)
/source/blender/windowmanager/wm_event_system.h (+1, -1) (Diff)
/source/blender/windowmanager/WM_types.h (+4, -4) (Diff)
/source/blenderplayer/bad_level_call_stubs/stubs.c (+1, -7) (Diff)
/source/blender/editors/space_graph/graph_edit.c (+6, -6) (Diff)
/source/blender/editors/space_sequencer/sequencer_view.c (+12, -12) (Diff)
/source/blender/editors/space_view3d/view3d_widgets.c (+3, -3) (Diff)
/source/blender/makesdna/DNA_widget_types.h (+2, -1) (Diff)
/source/blender/makesrna/intern/rna_wm.c (+13, -7) (Diff)
/source/blender/windowmanager/CMakeLists.txt (+14, -0) (Diff)
/source/blender/windowmanager/intern/wm_widgets.c (+5, -114) (Diff)
/source/blender/windowmanager/WM_api.h (+5, -12) (Diff)
/source/blender/windowmanager/wm_event_system.h (+1, -1) (Diff)
/source/blender/windowmanager/WM_types.h (+4, -4) (Diff)
/source/blenderplayer/bad_level_call_stubs/stubs.c (+1, -7) (Diff)