Blender Git Loki
Git Commits -> Revision f0cf10b
Revision f0cf10b by Antonis Ryakiotakis (gooseberry, gooseberry_farm, hair_immediate_fixes, hair_system, temp_constraint_volume, temp_hair_flow, temp_hair_modifiers, temp_motionpaths, temp_widgets_c++_experiment, temp_widgets_files_refactor, temp_widgets_update_tagging, UI-experiments, wiggly-widgets) September 19, 2014, 11:07 (GMT) |
Widgets API. This commit has first WIP code for widgets API. Generally widgets should be registered similar to dropboxes, that is, any code can query for a widgetmap for a certain space and area type and the window manager will take care of initializing the handlers automatically. The owner will be able remove and readd widgets to a certain widgetmap dynamically. Generally owners should cleanup their widgets though initial code cleans up leftover widgets automatically. All this is the theory still, some parts are in that commit, more to come later, but it's a solid base to build from for an initial commit. |
Commit Details:
Full Hash: f0cf10b3b95c3f3858ce785c5839dc2b389a413a
Parent Commit: d04e488
Lines Changed: +275, -9
1 Added Path:
/source/blender/windowmanager/intern/wm_widgets.c (+226, -0) (View)
13 Modified Paths:
/source/blender/editors/space_view3d/space_view3d.c (+6, -2) (Diff)
/source/blender/editors/space_view3d/view3d_draw.c (+1, -0) (Diff)
/source/blender/editors/transform/transform_manipulator.c (+1, -2) (Diff)
/source/blender/makesdna/DNA_screen_types.h (+1, -0) (Diff)
/source/blender/makesdna/DNA_view3d_types.h (+2, -1) (Diff)
/source/blender/makesdna/DNA_windowmanager_types.h (+2, -1) (Diff)
/source/blender/windowmanager/CMakeLists.txt (+1, -0) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+4, -3) (Diff)
/source/blender/windowmanager/intern/wm_init_exit.c (+1, -0) (Diff)
/source/blender/windowmanager/wm.h (+1, -0) (Diff)
/source/blender/windowmanager/WM_api.h (+18, -0) (Diff)
/source/blender/windowmanager/wm_event_system.h (+5, -0) (Diff)
/source/blender/windowmanager/WM_types.h (+6, -0) (Diff)
/source/blender/editors/space_view3d/view3d_draw.c (+1, -0) (Diff)
/source/blender/editors/transform/transform_manipulator.c (+1, -2) (Diff)
/source/blender/makesdna/DNA_screen_types.h (+1, -0) (Diff)
/source/blender/makesdna/DNA_view3d_types.h (+2, -1) (Diff)
/source/blender/makesdna/DNA_windowmanager_types.h (+2, -1) (Diff)
/source/blender/windowmanager/CMakeLists.txt (+1, -0) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+4, -3) (Diff)
/source/blender/windowmanager/intern/wm_init_exit.c (+1, -0) (Diff)
/source/blender/windowmanager/wm.h (+1, -0) (Diff)
/source/blender/windowmanager/WM_api.h (+18, -0) (Diff)
/source/blender/windowmanager/wm_event_system.h (+5, -0) (Diff)
/source/blender/windowmanager/WM_types.h (+6, -0) (Diff)