From 980e97923b5c00805f2698e84d7db92f0ded5458 Mon Sep 17 00:00:00 2001 From: Matt Ebb Date: Thu, 24 Dec 2009 09:26:06 +0000 Subject: Key map related things: * Moved 'change shortcut' (previously directly RMB on menu items) to a context-menu item, and added Remove Shortcut and Add Shortcut. This is all available now in a RMB context menu for operator buttons and menu entries. * Renamed a bunch of key maps to be consistent with UI names, and human-readable. Since these key map names are now being directly used in the UI for people to find things, they should be understandable and in plain language. This renaming may break some older saved key map setups - though previously saved .b25.blends should convert over ok. Exported .py files may need some find/replacing - in this commit check the changes in resources.c to see what's changed. --- source/blender/editors/include/UI_interface.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/editors/include') diff --git a/source/blender/editors/include/UI_interface.h b/source/blender/editors/include/UI_interface.h index 313791e28cb..2af7fe09509 100644 --- a/source/blender/editors/include/UI_interface.h +++ b/source/blender/editors/include/UI_interface.h @@ -592,6 +592,7 @@ void UI_exit(void); #define UI_ITEM_R_EVENT 32 #define UI_ITEM_R_FULL_EVENT 64 #define UI_ITEM_R_NO_BG 128 +#define UI_ITEM_R_IMMEDIATE 256 uiLayout *uiBlockLayout(uiBlock *block, int dir, int type, int x, int y, int size, int em, struct uiStyle *style); void uiBlockSetCurLayout(uiBlock *block, uiLayout *layout); -- cgit v1.2.3