Blender Git Commit Log
Git Commits -> Revision 6255447
Revision 6255447 by Vincent Akkermans (soc-2013-ui_replay) September 5, 2013, 17:25 (GMT) |
Started to implement operator to icon pairing. * wmOperatorType has an extra icon() method that is used to determine which icon to use based on the operator properties set for a button. * wmOperatorType has a default_icon field, exposed to python as bl_icon, that is used if the icon() function is not set. * Buttons have to have a but->icon value of ICON_AUTOMATIC, which is -1. |
Commit Details:
Full Hash: 6255447154439f8c33458c979ba9de5af6054efc
SVN Revision: 59849
Parent Commit: 1565fbf
Lines Changed: +62, -13
8 Modified Paths:
/source/blender/editors/gpencil/gpencil_buttons.c (+4, -4) (Diff)
/source/blender/editors/gpencil/gpencil_paint.c (+20, -0) (Diff)
/source/blender/editors/include/UI_icons.h (+4, -0) (Diff)
/source/blender/editors/interface/interface_handlers.c (+6, -6) (Diff)
/source/blender/editors/interface/interface_widgets.c (+17, -0) (Diff)
/source/blender/editors/space_view3d/view3d_toolbar.c (+1, -3) (Diff)
/source/blender/makesrna/intern/rna_wm.c (+6, -0) (Diff)
/source/blender/windowmanager/WM_types.h (+4, -0) (Diff)
/source/blender/editors/gpencil/gpencil_paint.c (+20, -0) (Diff)
/source/blender/editors/include/UI_icons.h (+4, -0) (Diff)
/source/blender/editors/interface/interface_handlers.c (+6, -6) (Diff)
/source/blender/editors/interface/interface_widgets.c (+17, -0) (Diff)
/source/blender/editors/space_view3d/view3d_toolbar.c (+1, -3) (Diff)
/source/blender/makesrna/intern/rna_wm.c (+6, -0) (Diff)
/source/blender/windowmanager/WM_types.h (+4, -0) (Diff)