From 2b818935fe708f5f386375d484faa35b9163b4c7 Mon Sep 17 00:00:00 2001 From: Joshua Leung Date: Mon, 9 Feb 2009 10:33:05 +0000 Subject: Graph Editor: Drawing tweaks for previous commit * Group channels are drawn with better indention now * Colors for group channels in Graph Editor are now initialised properly * When selecting individual keyframes in Graph Editor, it is now possible to see which curve it belonged to, as the 'active' and 'selected' flags are set on that curve only. --- source/blender/windowmanager/intern/wm_files.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'source/blender/windowmanager') diff --git a/source/blender/windowmanager/intern/wm_files.c b/source/blender/windowmanager/intern/wm_files.c index 04583c45ec0..484d97e7b71 100644 --- a/source/blender/windowmanager/intern/wm_files.c +++ b/source/blender/windowmanager/intern/wm_files.c @@ -331,12 +331,15 @@ static void init_userdef_themes(void) /* adjust themes */ for (btheme= U.themes.first; btheme; btheme= btheme->next) { /* DopeSheet - (Object) Channel color */ - SETCOL(btheme->tact.ds_channel, 0x36, 0x13, 0xca, 255); - SETCOL(btheme->tact.ds_subchannel, 0x60, 0x43, 0xd2, 255); + SETCOL(btheme->tact.ds_channel, 82, 96, 110, 255); + SETCOL(btheme->tact.ds_subchannel, 124, 137, 150, 255); /* Graph Editor - (Object) Channel color */ - SETCOL(btheme->tipo.ds_channel, 0x36, 0x13, 0xca, 255); - SETCOL(btheme->tipo.ds_subchannel, 0x60, 0x43, 0xd2, 255); + SETCOL(btheme->tipo.ds_channel, 82, 96, 110, 255); + SETCOL(btheme->tipo.ds_subchannel, 124, 137, 150, 255); + /* Graph Editor - Group Channel color */ + SETCOL(btheme->tipo.group, 22, 112, 0, 255); + SETCOL(btheme->tipo.group_active, 125, 233, 96, 255); } /* adjust grease-pencil distances */ -- cgit v1.2.3