Blender Git Commit Log

Git Commits -> Revision 8289051

Revision 8289051 by Julian Eisel (master)
September 9, 2019, 14:37 (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: 828905190e12432228d88563e0dcb74054b488a9
Parent Commit: 9b6233b
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)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021