diff options
author | Ton Roosendaal <ton@blender.org> | 2004-10-01 11:51:12 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2004-10-01 11:51:12 +0400 |
commit | 19c2d34967fa64d5200e5ff381d198d12a3ba125 (patch) | |
tree | 4a91c8822c4add271f0a83572ac6cc10fcbd57f9 /source/blender/include/BIF_interface.h | |
parent | 820a83dda835c172a59c1ee474dc7a1205f36151 (diff) |
- Improved memory system for pupmenu(), which now stores 255 entries max.
Meaning menus come back to previous selection almost always. Also fixed
annoying bug that caused Mirror menu (M in editmode) to start at 2nd item
- New hotkey (test :) CTRL+TAB in editmode gives (and shows!) current
selectmode. I prefer this over cycling, since the menu is informing you
what happens.
- To enforce pupmenus to start at specific item, use pupmenu_set_active()
- pupmenu_col() to be done
Diffstat (limited to 'source/blender/include/BIF_interface.h')
-rw-r--r-- | source/blender/include/BIF_interface.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/include/BIF_interface.h b/source/blender/include/BIF_interface.h index 30b79c09136..a006c1ef44f 100644 --- a/source/blender/include/BIF_interface.h +++ b/source/blender/include/BIF_interface.h @@ -273,8 +273,9 @@ void uiBlockSetFunc (uiBlock *block, void (*func)(void *arg1, void *arg2), void void uiButSetFunc (uiBut *but, void (*func)(void *arg1, void *arg2), void *arg1, void *arg2); void uiBlockSetDrawExtraFunc(uiBlock *block, void (*func)()); -short pupmenu(char *instr); -short pupmenu_col(char *instr, int maxrow); +extern void pupmenu_set_active(int val); +extern short pupmenu(char *instr); +extern short pupmenu_col(char *instr, int maxrow); extern void uiFreePanels(struct ListBase *lb); extern void uiNewPanelTabbed(char *, char *); |