Hm, last method was not so good across various colour

themes. Now the line uses a blend of the outliner theme
colours instead of being hard coded.
This commit is contained in:
Matt Ebb
2005-10-28 15:45:32 +00:00
parent 7ddf38a8b9
commit 3957b3428e

View File

@@ -2365,6 +2365,7 @@ static void outliner_draw_tree(SpaceOops *soops)
// grey hierarchy lines
glColor3ub(110,110,110);
BIF_ThemeColorBlend(TH_BACK, TH_TEXT, 0.5);
starty= soops->v2d.tot.ymax-OL_H/2;
startx= 6;
outliner_draw_hierarchy(soops, &soops->tree, startx, &starty);