Blender Git Commit Log

Git Commits -> Revision 933bf62

Revision 933bf62 by Hans Goudey (master)
October 2, 2020, 18:10 (GMT)
Property Search: Differentiate search filtered and inactive buttons

Currently there's no way to know if a button is inactive when it doesn't
match the search results, because they use the same 50% gray level.

This isn't a huge problem, but it could lead to confusion. This commit
uses a subtle solution, a 25% opacity when the button is inactive and
also filtered by search.

This requires flipping the meaning of the UI_SEARCH_FILTER_MATCHES
flag in the code, and also adding a widget_alpha_factor utility in
the widget code.

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

Commit Details:

Full Hash: 933bf62a611f61bd61e3e7745ce6dea58f571e72
Parent Commit: 6f96dd8
Lines Changed: +46, -50

3 Modified Paths:

/source/blender/editors/interface/interface_intern.h (+2, -5) (Diff)
/source/blender/editors/interface/interface_layout.c (+4, -15) (Diff)
/source/blender/editors/interface/interface_widgets.c (+40, -30) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021