From 820298f4dd83a2a6bed09115b447f326984456e9 Mon Sep 17 00:00:00 2001 From: Jonathan Moore Liles Date: Tue, 22 Sep 2020 18:14:13 -0700 Subject: [PATCH] Timeline: Make clocks look more contrasty with light color scheme. --- timeline/src/Clock.H | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/timeline/src/Clock.H b/timeline/src/Clock.H index 948b4c9..6761173 100644 --- a/timeline/src/Clock.H +++ b/timeline/src/Clock.H @@ -164,7 +164,7 @@ public: fl_font( FL_COURIER_BOLD, 24 ); - Fl_Color c = fl_color_average( FL_WHITE, FL_GRAY, 0.60 ); + Fl_Color c = fl_color_average( fl_contrast(FL_WHITE, FL_BACKGROUND_COLOR) , FL_GRAY, 0.60 ); fl_color( c );