diff options
author | Ton Roosendaal <ton@blender.org> | 2003-10-28 18:05:11 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2003-10-28 18:05:11 +0300 |
commit | f3c219efd4c1f67259e5b43bfba6e7707e9fc157 (patch) | |
tree | 76da8355e3f2ad704b7b6870ab8a02723aea19a0 /source/blender/src/header_ipo.c | |
parent | a5247cf5b8ef9070d8fe9869324b3661382f283b (diff) |
- added Ipo Panel in 'curve' pulldown menu
- fixed: with a minimized 'object transform' panel in 3d win, another call
for it using pulldowns didnt force it open
Diffstat (limited to 'source/blender/src/header_ipo.c')
-rw-r--r-- | source/blender/src/header_ipo.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/src/header_ipo.c b/source/blender/src/header_ipo.c index dec2d6574a2..f1791638781 100644 --- a/source/blender/src/header_ipo.c +++ b/source/blender/src/header_ipo.c @@ -283,6 +283,9 @@ static void do_ipo_editmenu(void *arg, int event) case 3: mainqenter(IKEY, 1); break; + case 4 : + add_blockhandler(curarea, IPO_HANDLER_PROPERTIES, UI_PNL_UNSTOW); + break; } } @@ -299,6 +302,9 @@ static uiBlock *ipo_editmenu(void *arg_unused) block= uiNewBlock(&curarea->uiblocks, "ipo_editmenu", UI_EMBOSSP, UI_HELV, curarea->headwin); uiBlockSetButmFunc(block, do_ipo_editmenu, NULL); + uiDefIconTextBut(block, BUTM, 1, ICON_MENU_PANEL, "Transform Properties|N", 0, yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 0, 4, ""); + uiDefBut(block, SEPR, 0, "", 0, yco-=6, menuwidth, 6, NULL, 0.0, 0.0, 0, 0, ""); + if (!G.sipo->showkey){ uiDefIconTextBlockBut(block, ipo_editmenu_extendmenu, NULL, ICON_RIGHTARROW_THIN, "Extend Mode", 0, yco-=20, 120, 19, ""); uiDefIconTextBlockBut(block, ipo_editmenu_intpolmenu, NULL, ICON_RIGHTARROW_THIN, "Interpolation Mode", 0, yco-=20, 120, 20, ""); |