Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2005-12-29 00:50:06 +0300
committerTon Roosendaal <ton@blender.org>2005-12-29 00:50:06 +0300
commit98577f4e02ea50cd3daeb5900e30485de994942d (patch)
tree68f1ed23edccfb08d6825ac6e2a12d5c1b2cc90e /source/blender/src/interface_panel.c
parent59ef1bca6a1525b099fc92d0623b490c4dc63921 (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.c4
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)