diff options
author | Ton Roosendaal <ton@blender.org> | 2005-12-29 00:50:06 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2005-12-29 00:50:06 +0300 |
commit | 98577f4e02ea50cd3daeb5900e30485de994942d (patch) | |
tree | 68f1ed23edccfb08d6825ac6e2a12d5c1b2cc90e /source/blender/src/interface_panel.c | |
parent | 59ef1bca6a1525b099fc92d0623b490c4dc63921 (diff) |
Review done with Matt; so here's a nicer version of the 'mini node'.
- nodes now have in header a triangle to minimize them or restore view
- mininodes have a scale dragger on right hand
Diffstat (limited to 'source/blender/src/interface_panel.c')
-rw-r--r-- | source/blender/src/interface_panel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/src/interface_panel.c b/source/blender/src/interface_panel.c index 09a50faeff9..333f60bff50 100644 --- a/source/blender/src/interface_panel.c +++ b/source/blender/src/interface_panel.c @@ -773,8 +773,6 @@ static void ui_draw_anti_tria(float x1, float y1, float x2, float y2, float x3, /* triangle 'icon' for panel header */ void ui_draw_tria_icon(float x, float y, float aspect, char dir) { - BIF_ThemeColor(TH_TEXT_HI); - if(dir=='h') { ui_draw_anti_tria( x, y+1, x, y+10.0, x+7, y+6.25); } @@ -1114,6 +1112,8 @@ void ui_draw_panel(uiBlock *block) /* draw collapse icon */ + BIF_ThemeColor(TH_TEXT_HI); + if(panel->flag & PNL_CLOSEDY) ui_draw_tria_icon(block->minx+6+ofsx, block->maxy+5, block->aspect, 'h'); else if(panel->flag & PNL_CLOSEDX) |