diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-01-09 04:26:10 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-01-09 04:26:10 +0300 |
commit | 34143a9e7ae0017bb4825d5f9e885a87da236159 (patch) | |
tree | f64b329db113d6b0cb157ed5fe75bfa2bc73c5ee /source/blender/windowmanager/WM_keymap.h | |
parent | d6152033420a7d5aed12c463b6d30fe957b12787 (diff) |
WM: add keymap.find_from_operator(...)
Diffstat (limited to 'source/blender/windowmanager/WM_keymap.h')
-rw-r--r-- | source/blender/windowmanager/WM_keymap.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/windowmanager/WM_keymap.h b/source/blender/windowmanager/WM_keymap.h index 8f31685e453..7780c060243 100644 --- a/source/blender/windowmanager/WM_keymap.h +++ b/source/blender/windowmanager/WM_keymap.h @@ -152,6 +152,10 @@ char *WM_key_event_operator_string( struct IDProperty *properties, const bool is_strict, char *result, const int result_len); +wmKeyMapItem *WM_key_event_operator_from_keymap( + struct wmKeyMap *keymap, const char *opname, struct IDProperty *properties, + const short include_mask, const short exclude_mask); + const char *WM_bool_as_string(bool test); #ifdef __cplusplus |