diff options
author | Ton Roosendaal <ton@blender.org> | 2013-03-24 17:43:40 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2013-03-24 17:43:40 +0400 |
commit | 1165236f69f0ca792df05919a48ae4058746d9bd (patch) | |
tree | 80bbebc880ca7bea68b0239672c3debde0ce0628 /source/blender/editors/include | |
parent | c4ae6f2c3653faed47644713382ae78a49ef074e (diff) |
Usablity:
In text editor, the CTRL+F find now opens property region (or keeps it) and
activates the search button for input.
That's already nice! But next step should be to do a search on exit of
the button (or while typing). That's stuff I need Campbell to help with though.
Notes:
- Probably Py api for property buttons could get an "operator=" arg?
- The warning menu "not found" should go away
- I also suggest to make "wrap" search default for new editors
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r-- | source/blender/editors/include/UI_interface.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/include/UI_interface.h b/source/blender/editors/include/UI_interface.h index 3b4415703d5..a446b1d98a3 100644 --- a/source/blender/editors/include/UI_interface.h +++ b/source/blender/editors/include/UI_interface.h @@ -643,6 +643,8 @@ void uiBlockSetDrawExtraFunc(uiBlock *block, void (*func)(const struct bContext *C, void *, void *, void *, struct rcti *rect), void *arg1, void *arg2); +void UI_textbutton_activate_event(const struct bContext *C, struct ARegion *ar, void *basepoin, const char *identifier); + void uiButSetFocusOnEnter(struct wmWindow *win, uiBut *but); /* Autocomplete |