Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2015-07-03 16:54:34 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2015-07-03 16:55:22 +0300
commit1ace3272aa4fbde703c975ddec4e1ccf31066da5 (patch)
treee448e20a584a8b3f626c5496df2ef64618473650 /source/blender/windowmanager/intern/wm_keymap.c
parent9133f5a3571b9c8b05cfb6b04a09fd03fd439988 (diff)
Walk mode: Add modal shortcuts in UI (header help message).
Diffstat (limited to 'source/blender/windowmanager/intern/wm_keymap.c')
-rw-r--r--source/blender/windowmanager/intern/wm_keymap.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/source/blender/windowmanager/intern/wm_keymap.c b/source/blender/windowmanager/intern/wm_keymap.c
index 6676776475c..29d54f47947 100644
--- a/source/blender/windowmanager/intern/wm_keymap.c
+++ b/source/blender/windowmanager/intern/wm_keymap.c
@@ -900,9 +900,10 @@ const char *WM_key_event_string(const short type, const bool compact)
}
/* TODO: also support (some) value, like e.g. double-click? */
-int WM_keymap_item_raw_to_string(const short shift, const short ctrl, const short alt, const short oskey,
- const short keymodifier, const short type, const bool compact,
- const int len, char *r_str)
+int WM_keymap_item_raw_to_string(
+ const short shift, const short ctrl, const short alt, const short oskey,
+ const short keymodifier, const short type, const bool compact,
+ const int len, char *r_str)
{
#define ADD_SEP if (p != buf) *p++ = ' '; (void)0
@@ -966,8 +967,8 @@ int WM_keymap_item_raw_to_string(const short shift, const short ctrl, const shor
int WM_keymap_item_to_string(wmKeyMapItem *kmi, const bool compact, const int len, char *r_str)
{
- return WM_keymap_item_raw_to_string(kmi->shift, kmi->ctrl, kmi->alt, kmi->oskey,
- kmi->keymodifier, kmi->type, compact, len, r_str);
+ return WM_keymap_item_raw_to_string(
+ kmi->shift, kmi->ctrl, kmi->alt, kmi->oskey, kmi->keymodifier, kmi->type, compact, len, r_str);
}
int WM_modalkeymap_operator_items_to_string(