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:
authorJoshua Leung <aligorith@gmail.com>2009-02-09 13:33:05 +0300
committerJoshua Leung <aligorith@gmail.com>2009-02-09 13:33:05 +0300
commit2b818935fe708f5f386375d484faa35b9163b4c7 (patch)
tree094c11ab4f05b62005711732172aaf424bf53275 /source/blender/windowmanager
parent59736af8fc39246b82213ff0e9c8f917ed36a34c (diff)
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.
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r--source/blender/windowmanager/intern/wm_files.c11
1 files changed, 7 insertions, 4 deletions
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 */