diff options
author | Hans Goudey <h.goudey@me.com> | 2020-09-15 19:39:25 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2020-09-15 19:39:25 +0300 |
commit | bedbd8655ed1d331aeaf756874c46dbed93168a1 (patch) | |
tree | 418b4b78b8cb4ed8f12963050ce11375d3086f6e /source/blender/editors/space_buttons/buttons_intern.h | |
parent | 8bcdcab659fb688d976a50d892dcb4285ff2a180 (diff) |
Property Search: Quick start and clear operators
`ctrl-F` to start the search is obviously necessary, but the clear
operator, `alt-F` requires some of explanation. First, it maps nicely
to the paradigm of "key to set, alt-key to clear," which makes it
unobtrusive. Second, it can be a quicker way to clear the search than
moving the mouse to the top. Finally, in the future, it could a reset
the panels to their expansion before the search started.
Differential Revision: https://developer.blender.org/D8857
Diffstat (limited to 'source/blender/editors/space_buttons/buttons_intern.h')
-rw-r--r-- | source/blender/editors/space_buttons/buttons_intern.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/space_buttons/buttons_intern.h b/source/blender/editors/space_buttons/buttons_intern.h index 76a4d72057f..a5419fea5ca 100644 --- a/source/blender/editors/space_buttons/buttons_intern.h +++ b/source/blender/editors/space_buttons/buttons_intern.h @@ -89,6 +89,8 @@ extern const char *buttons_context_dir[]; /* doc access */ void buttons_texture_context_compute(const struct bContext *C, struct SpaceProperties *sbuts); /* buttons_ops.c */ +void BUTTONS_OT_start_filter(struct wmOperatorType *ot); +void BUTTONS_OT_clear_filter(struct wmOperatorType *ot); void BUTTONS_OT_toggle_pin(struct wmOperatorType *ot); void BUTTONS_OT_file_browse(struct wmOperatorType *ot); void BUTTONS_OT_directory_browse(struct wmOperatorType *ot); |