From c72b6fc9309379258a1af44b39a2beb3c845e1f3 Mon Sep 17 00:00:00 2001 From: Ben Loftis Date: Sun, 23 Jan 2022 17:53:45 -0600 Subject: [PATCH] trigger page: slightly differentiate the rows of cues by color --- gtk2_ardour/cuebox_ui.cc | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/gtk2_ardour/cuebox_ui.cc b/gtk2_ardour/cuebox_ui.cc index 68a520fa4a..0e74f96843 100644 --- a/gtk2_ardour/cuebox_ui.cc +++ b/gtk2_ardour/cuebox_ui.cc @@ -190,15 +190,20 @@ void CueEntry::set_default_colors () { color_t bg_col = UIConfiguration::instance ().color ("theme:bg"); - - //alternating darker bands if ((_cue_idx / 2) % 2 == 0) { bg_col = HSV (bg_col).darker (0.25).color (); } - set_fill_color (bg_col); - name_button->set_fill_color (UIConfiguration::instance ().color ("neutral:midground")); - name_text->set_color (UIConfiguration::instance ().color ("neutral:background")); + + color_t fg_col = UIConfiguration::instance ().color ("neutral:midground"); + if ((_cue_idx / 2) % 2 == 0) { + fg_col = HSV (fg_col).darker (0.20).color (); + } + name_button->set_fill_color (fg_col); + + name_text->set_fill_color (UIConfiguration::instance ().color ("neutral:background")); + + if (TriggerBox::cue_recording()) { } void