diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-05-25 16:46:22 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-05-25 16:47:12 +0300 |
commit | 5901c1ca4290e24e1deb44933297e61f1af02fcc (patch) | |
tree | 2c56def820145c60cfea5013b8825cacdcde873b /source/blender/editors/interface/interface_intern.h | |
parent | dd22080b9ad4182c0ae10bfb2808021d0fa7d7ac (diff) |
UI: fix event handling direction
Correct arrow key direction in popovers,
also de-duplicate menu callback,
Diffstat (limited to 'source/blender/editors/interface/interface_intern.h')
-rw-r--r-- | source/blender/editors/interface/interface_intern.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/interface/interface_intern.h b/source/blender/editors/interface/interface_intern.h index b851d1d8c5b..c7cf03a44dd 100644 --- a/source/blender/editors/interface/interface_intern.h +++ b/source/blender/editors/interface/interface_intern.h @@ -794,6 +794,8 @@ void ui_resources_free(void); void ui_layout_add_but(uiLayout *layout, uiBut *but); void ui_but_add_search(uiBut *but, PointerRNA *ptr, PropertyRNA *prop, PointerRNA *searchptr, PropertyRNA *searchprop); void ui_layout_list_set_labels_active(uiLayout *layout); +/* menu callback */ +void ui_item_paneltype_func(struct bContext *C, struct uiLayout *layout, void *arg_pt); /* interface_align.c */ bool ui_but_can_align(const uiBut *but) ATTR_WARN_UNUSED_RESULT; |