Blender Git Loki
Git Commits -> Revision dc9df65
Revision dc9df65 by Julian Eisel (temp-ui-button-type-refactor) May 2, 2020, 00:06 (GMT) |
Add own derived struct for search buttons A complication was that we sometimes change the button type after it's created. So I had to add logic to reallocate the button if needed, so the derived data can be used. |
Commit Details:
Full Hash: dc9df6540c08b1195f65530be0b1a0374d636c16
Parent Commit: 4cc8123
Lines Changed: +252, -77
9 Modified Paths:
/source/blender/editors/include/UI_interface.h (+2, -3) (Diff)
/source/blender/editors/interface/interface.c (+134, -25) (Diff)
/source/blender/editors/interface/interface_context_menu.c (+1, -1) (Diff)
/source/blender/editors/interface/interface_handlers.c (+10, -5) (Diff)
/source/blender/editors/interface/interface_intern.h (+38, -15) (Diff)
/source/blender/editors/interface/interface_layout.c (+37, -9) (Diff)
/source/blender/editors/interface/interface_ops.c (+4, -2) (Diff)
/source/blender/editors/interface/interface_region_search.c (+24, -15) (Diff)
/source/blender/editors/interface/interface_templates.c (+2, -2) (Diff)
/source/blender/editors/interface/interface.c (+134, -25) (Diff)
/source/blender/editors/interface/interface_context_menu.c (+1, -1) (Diff)
/source/blender/editors/interface/interface_handlers.c (+10, -5) (Diff)
/source/blender/editors/interface/interface_intern.h (+38, -15) (Diff)
/source/blender/editors/interface/interface_layout.c (+37, -9) (Diff)
/source/blender/editors/interface/interface_ops.c (+4, -2) (Diff)
/source/blender/editors/interface/interface_region_search.c (+24, -15) (Diff)
/source/blender/editors/interface/interface_templates.c (+2, -2) (Diff)