From a4a1074f3d2411a562c5cd4d5ebee6d92a1f0a27 Mon Sep 17 00:00:00 2001 From: Michael Soluyanov Date: Tue, 25 Feb 2020 15:09:30 +0100 Subject: UI: Add theme option for time markers line This patch adds the ability to set colors and alpha of dashed line of Time Markers. That way themes can avoid contrast issues and communicate selection better. See screenshots in D6877. Bumps subversion. Reviewed By: William Reynish, Julian Eisel Differential Revision: https://developer.blender.org/D6877 --- source/blender/editors/interface/resources.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'source/blender/editors/interface/resources.c') diff --git a/source/blender/editors/interface/resources.c b/source/blender/editors/interface/resources.c index 4a6ce59de9b..cdbd049346e 100644 --- a/source/blender/editors/interface/resources.c +++ b/source/blender/editors/interface/resources.c @@ -311,6 +311,12 @@ const uchar *UI_ThemeGetColorPtr(bTheme *btheme, int spacetype, int colorid) case TH_TIME_SCRUB_BACKGROUND: cp = ts->time_scrub_background; break; + case TH_TIME_MARKER_LINE: + cp = ts->time_marker_line; + break; + case TH_TIME_MARKER_LINE_SELECTED: + cp = ts->time_marker_line_selected; + break; case TH_VIEW_OVERLAY: cp = ts->view_overlay; break; -- cgit v1.2.3