diff options
author | Ton Roosendaal <ton@blender.org> | 2004-10-08 13:27:08 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2004-10-08 13:27:08 +0400 |
commit | c659758a38214af103f1a9955e9a336d50b1b098 (patch) | |
tree | 1d777ee237b233a368990475d1f41d84616d437d /source/blender/src/header_oops.c | |
parent | 74603782f650e00988fd8bb947de8b017cf01cfc (diff) |
Outliner options;
- Added in pulldown the current view commands, including the 'show
hierachy' option, which shows only the full object tree
- You now can activate data by clicking on the hidden icons (displayed in
a row of a collapsed item)
- Added selection and display of active NLA strips
- Cleanup; white text in outliner only for active object
- Made hierachy helplines 1 pixel wide and black, looks nicer
Diffstat (limited to 'source/blender/src/header_oops.c')
-rw-r--r-- | source/blender/src/header_oops.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/source/blender/src/header_oops.c b/source/blender/src/header_oops.c index f9cc5baf0f1..c38534f471a 100644 --- a/source/blender/src/header_oops.c +++ b/source/blender/src/header_oops.c @@ -67,6 +67,7 @@ #include "BIF_screen.h" #include "BIF_editoops.h" #include "BIF_oops.h" +#include "BIF_outliner.h" #include "BIF_space.h" #include "BSE_drawipo.h" @@ -130,6 +131,15 @@ static void do_oops_viewmenu(void *arg, int event) scrarea_queue_winredraw(curarea); } break; + case 5: + outliner_toggle_visible(curarea); + break; + case 6: + outliner_show_hierarchy(curarea); + break; + case 7: + outliner_show_active(curarea); + break; } } @@ -158,8 +168,13 @@ static uiBlock *oops_viewmenu(void *arg_unused) uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1, "Show Oops Schematic", 0, yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 1, 4, ""); uiDefBut(block, SEPR, 0, "", 0, yco-=6, menuwidth, 6, NULL, 0.0, 0.0, 0, 0, ""); + + uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1, "Show/Hide All|A", 0, yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 1, 5, ""); + uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1, "Show Hierarchy|Home", 0, yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 1, 6, ""); + uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1, "Show Active|NumPad .", 0, yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 1, 7, ""); } + uiDefBut(block, SEPR, 0, "", 0, yco-=6, menuwidth, 6, NULL, 0.0, 0.0, 0, 0, ""); if(!curarea->full) uiDefIconTextBut(block, BUTM, B_FULL, ICON_BLANK1, "Maximize Window|Ctrl UpArrow", 0, yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 0, 3, ""); else uiDefIconTextBut(block, BUTM, B_FULL, ICON_BLANK1, "Tile Window|Ctrl DownArrow", 0, yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 0, 3, ""); |