Blender Git Loki

Git Commits -> Revision 96dd299

Revision 96dd299 by Hans Goudey (master)
October 13, 2020, 17:43 (GMT)
UI: Add highlight arguments to tab buttons

This adds arguments to `uiLayout.prop_tabs_enum` and the C equivalent
(`uiItemTabsEnumR_prop`) to gray out tabs based on a boolean array.

For property search in multiple tabs, we need a way to show which tabs
have a search result, but we still need to show which tab is active.

Differential Revision: https://developer.blender.org/D8858

Commit Details:

Full Hash: 96dd299055a1ce35819480f3c4b938f8e6f91537
Parent Commit: 9fe5817
Lines Changed: +65, -6

3 Modified Paths:

/source/blender/editors/include/UI_interface.h (+2, -0) (Diff)
/source/blender/editors/interface/interface_layout.c (+26, -3) (Diff)
/source/blender/makesrna/intern/rna_ui_api.c (+37, -3) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021