Blender Git Commit Log

Git Commits -> Revision f0cf10b

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)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021