UI: split theme draw style into separate field
authorCampbell Barton <ideasman42@gmail.com>
Tue, 11 Sep 2018 00:56:08 +0000 (10:56 +1000)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 11 Sep 2018 00:56:08 +0000 (10:56 +1000)
commit5bb11cfde2526a849e0b2de791f99293abf7615b
treea86d9343b3131c200cf94a7d3b9e17b21e842309
parent76a4042c23f7bb45999a2aa3209a3aaf853ff36c
UI: split theme draw style into separate field

Was using UI_BLOCK_LOOP to control draw style,
this meant we couldn't use popup theme colors for cases
where it the interface has the same purpose as a popup but happens
not to use this flag.
13 files changed:
source/blender/editors/include/UI_interface.h
source/blender/editors/interface/interface.c
source/blender/editors/interface/interface_intern.h
source/blender/editors/interface/interface_region_color_picker.c
source/blender/editors/interface/interface_region_menu_pie.c
source/blender/editors/interface/interface_region_menu_popup.c
source/blender/editors/interface/interface_region_popup.c
source/blender/editors/interface/interface_templates.c
source/blender/editors/interface/interface_widgets.c
source/blender/editors/space_node/node_select.c
source/blender/editors/space_view3d/view3d_toolbar.c
source/blender/windowmanager/intern/wm_operators.c
source/blender/windowmanager/intern/wm_window.c