Cleanup: minor UI code changes
authorCampbell Barton <ideasman42@gmail.com>
Fri, 22 Mar 2019 13:18:16 +0000 (00:18 +1100)
committerCampbell Barton <ideasman42@gmail.com>
Fri, 22 Mar 2019 13:18:16 +0000 (00:18 +1100)
commitbe750e2aeebb8d0016675e52481a946cfc471629
tree840a52ac8d9f3e42380a623c6167e9e0a834ca3c
parent8f3ecd08e1e458cd9de06f17cecd38ce535d2048
Cleanup: minor UI code changes

- Rename ui_but_find_active_in_region -> ui_region_find_active_but
- Remove ui_but_is_active (use ui_region_find_active_but instead)
- Re-order ui_but_* functions take the button as their first arg.
source/blender/editors/interface/interface_handlers.c
source/blender/editors/interface/interface_intern.h
source/blender/editors/interface/interface_ops.c
source/blender/editors/interface/interface_panel.c
source/blender/editors/interface/interface_query.c