Blender Git Commit Log
Git Commits -> Revision f8233e0
Revision f8233e0 by Julian Eisel (temp-lanpr-staging) September 12, 2019, 01:13 (GMT) |
UI: Refactor and improve buttton extra icons Without this patch there could only be one superimposed icon and the operators were hard coded for the button types. This keeps the previous, sort of predefined extra icons working in a rather generic way, but allows adding specific ones for specific case through `UI_but_extra_operator_icon_set()`. Reviewed by: Campbell Barton Differential Revision: https://developer.blender.org/D5730 |
Commit Details:
Full Hash: f8233e05f5a3bdeb0751f644d33878f37bb27199
Parent Commit: c1c27a2
Committed By: YimingWu
Lines Changed: +338, -140
7 Modified Paths:
/source/blender/editors/include/UI_interface.h (+5, -0) (Diff)
/source/blender/editors/interface/interface.c (+183, -63) (Diff)
/source/blender/editors/interface/interface_handlers.c (+77, -50) (Diff)
/source/blender/editors/interface/interface_intern.h (+16, -9) (Diff)
/source/blender/editors/interface/interface_ops.c (+29, -0) (Diff)
/source/blender/editors/interface/interface_widgets.c (+18, -18) (Diff)
/source/blender/windowmanager/WM_types.h (+10, -0) (Diff)
/source/blender/editors/interface/interface.c (+183, -63) (Diff)
/source/blender/editors/interface/interface_handlers.c (+77, -50) (Diff)
/source/blender/editors/interface/interface_intern.h (+16, -9) (Diff)
/source/blender/editors/interface/interface_ops.c (+29, -0) (Diff)
/source/blender/editors/interface/interface_widgets.c (+18, -18) (Diff)
/source/blender/windowmanager/WM_types.h (+10, -0) (Diff)