diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2018-04-22 23:55:05 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2018-04-22 23:55:18 +0300 |
commit | 387bf726ac0fa47149d72ccaaa0df6fadf90df0f (patch) | |
tree | 340aeed6e49f0845d0f21d1837d2681a1f1f17f0 /source/blender/editors/interface | |
parent | 62cd5e0b7bf151c757c5607b5081ba677b5240a4 (diff) |
UI: Editor outline color themable
Note: Not bothering with doversion, re-using 280, 10 bump.
Diffstat (limited to 'source/blender/editors/interface')
-rw-r--r-- | source/blender/editors/interface/resources.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/editors/interface/resources.c b/source/blender/editors/interface/resources.c index 31d9f08fdd8..1bc834a121c 100644 --- a/source/blender/editors/interface/resources.c +++ b/source/blender/editors/interface/resources.c @@ -658,6 +658,9 @@ const unsigned char *UI_ThemeGetColorPtr(bTheme *btheme, int spacetype, int colo case TH_WIDGET_EMBOSS: cp = btheme->tui.widget_emboss; break; + case TH_EDITOR_OUTLINE: + cp = btheme->tui.editor_outline; + break; case TH_AXIS_X: cp = btheme->tui.xaxis; break; case TH_AXIS_Y: @@ -881,6 +884,7 @@ void ui_theme_init_default(void) btheme->tui.iconfile[0] = 0; rgba_char_args_set(btheme->tui.wcol_tooltip.text, 255, 255, 255, 255); rgba_char_args_set_fl(btheme->tui.widget_emboss, 1.0f, 1.0f, 1.0f, 0.02f); + rgba_char_args_set_fl(btheme->tui.editor_outline, 0.25f, 0.25f, 0.25f, 1.0f); rgba_char_args_set(btheme->tui.xaxis, 220, 0, 0, 255); rgba_char_args_set(btheme->tui.yaxis, 0, 220, 0, 255); @@ -2977,6 +2981,7 @@ void init_userdef_do_versions(void) btheme->tui.wcol_progress.roundness = 0.25f; btheme->tui.wcol_list_item.roundness = 0.2f; btheme->tui.wcol_pie_menu.roundness = 0.5f; + rgba_char_args_set_fl(btheme->tui.editor_outline, 0.25f, 0.25f, 0.25f, 1.0f); } } |