diff options
author | Alexander Gavrilov <angavrilov@gmail.com> | 2018-10-18 23:48:06 +0300 |
---|---|---|
committer | Alexander Gavrilov <angavrilov@gmail.com> | 2018-10-19 18:30:24 +0300 |
commit | eaa527f6949e7eff77a3b5ecfa8897df126a7771 (patch) | |
tree | 4b0e1c10028abc1de41af84aaf4e82a7232b7f73 /release | |
parent | 891078b3bc5b675c47159fe8e5171d5bb7d86713 (diff) |
Dope Sheet: remove many hard-coded color and alpha constants.
Add the necessary colors and/or alpha components to the theme instead.
Also switch the background for ordinary channels to use the likely
intended theme option, instead of the window background color.
The general rule is that the channel color is drawn full strength in the
channel list on the left, and with alpha in the actual key frame area on
the right. This alpha is also reused with bone group colors.
Reviewers: brecht, billreynish
Differential Revision: https://developer.blender.org/D3813
Diffstat (limited to 'release')
-rw-r--r-- | release/datafiles/userdef/userdef_default_theme.c | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/release/datafiles/userdef/userdef_default_theme.c b/release/datafiles/userdef/userdef_default_theme.c index 0a5ac909c31..daf4b1eb1bc 100644 --- a/release/datafiles/userdef/userdef_default_theme.c +++ b/release/datafiles/userdef/userdef_default_theme.c @@ -502,24 +502,26 @@ const bTheme U_theme_default = { .sub_back = RGBA(0x0000003e), }, .shade1 = RGBA(0xc0c0c000), - .shade2 = RGBA(0x70707064), - .hilite = RGBA(0x60c040ff), + .shade2 = RGBA(0x7e7e7e10), + .hilite = RGBA(0x60c04044), .grid = RGBA(0x2a2a2aff), - .group = RGBA(0x44992eff), - .group_active = RGBA(0x5ccd3eff), + .group = RGBA(0x3b8c2837), + .group_active = RGBA(0x439e2d55), .strip = RGBA(0x1a151580), - .strip_select = RGBA(0xff8c00ff), + .strip_select = RGBA(0xff8c00cc), .cframe = RGBA(0x5680c2ff), - .ds_channel = RGBA(0x5a85b2ff), - .ds_subchannel = RGBA(0x7d98b3ff), + .ds_channel = RGBA(0x547ca624), + .ds_subchannel = RGBA(0x748da624), .keytype_keyframe = RGBA(0xe8e8e8ff), .keytype_extreme = RGBA(0xe8b3ccff), .keytype_breakdown = RGBA(0xb3dbe8ff), .keytype_jitter = RGBA(0x94e575ff), + .keytype_movehold = RGBA(0x5c5656ff), .keytype_keyframe_select = RGBA(0xffbe33ff), .keytype_extreme_select = RGBA(0xf28080ff), .keytype_breakdown_select = RGBA(0x54bfedff), .keytype_jitter_select = RGBA(0x61c042ff), + .keytype_movehold_select = RGBA(0xffaf23ff), .keyborder = RGBA(0x000000ff), .keyborder_select = RGBA(0x000000ff), .vertex_size = 3, |