diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-03-24 23:08:24 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-03-24 23:08:24 +0400 |
commit | 8bf206ce4b5fb3d8bb0e143d9b5e8422f71aefc7 (patch) | |
tree | a9b333a7bdfd20100a6e0299ca5ca04a4ecc86c6 /source/blender/editors/include | |
parent | d74cf435755ebf4b69efc015e49ccdc2f77ad6e5 (diff) |
edit to 55549, replace fake click event with call to uiButActiveOnly().
also make it more clear args are for rna buttons.
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r-- | source/blender/editors/include/UI_interface.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/include/UI_interface.h b/source/blender/editors/include/UI_interface.h index a446b1d98a3..54f10d2ff30 100644 --- a/source/blender/editors/include/UI_interface.h +++ b/source/blender/editors/include/UI_interface.h @@ -643,7 +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 UI_textbutton_activate_event(const struct bContext *C, struct ARegion *ar, + const void *rna_poin_data, const char *rna_prop_id); void uiButSetFocusOnEnter(struct wmWindow *win, uiBut *but); |