Blender Git Loki

Git Commits -> Revision 35f431b

Revision 35f431b by Campbell Barton (master)
December 14, 2010, 02:38 (GMT)
Menu UI feature common in other widget sets:
Automatically assign menu keys based on name, alternative to pressing number 0-9 on menus items.

keys are assigned by first giving each menu item the first character of any word, if that fails any key in the name is used.

- active key is shown underlined.
- only ascii keys are assigned currently.
- can run operators, open menu items.
- currently this only works in cases where number buttons were used (UI_BLOCK_NUMSELECT), but could be enabled for file menu, splash etc by removing this check.

Commit Details:

Full Hash: 35f431b3d0edda651fda97cb0156181fab07562c
SVN Revision: 33648
Parent Commit: 17bd906
Lines Changed: +186, -4

6 Modified Paths:

/source/blender/editors/include/UI_interface.h (+2, -0) (Diff)
/source/blender/editors/interface/interface.c (+73, -0) (Diff)
/source/blender/editors/interface/interface_handlers.c (+57, -0) (Diff)
/source/blender/editors/interface/interface_intern.h (+3, -2) (Diff)
/source/blender/editors/interface/interface_style.c (+13, -1) (Diff)
/source/blender/editors/interface/interface_widgets.c (+38, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021