From c992a601aeec768d3d008fdbff412283b1e5d66b Mon Sep 17 00:00:00 2001 From: Len Ovens Date: Tue, 3 Sep 2019 21:16:42 -0700 Subject: Change back ground color for foldback strip --- gtk2_ardour/clearlooks.rc.in | 10 +++++++++- gtk2_ardour/foldback_strip.cc | 10 ++++++---- gtk2_ardour/foldback_strip.h | 1 + gtk2_ardour/themes/dark-ardour.colors | 2 ++ 4 files changed, 18 insertions(+), 5 deletions(-) diff --git a/gtk2_ardour/clearlooks.rc.in b/gtk2_ardour/clearlooks.rc.in index a732496569..cc8c7cd9ab 100644 --- a/gtk2_ardour/clearlooks.rc.in +++ b/gtk2_ardour/clearlooks.rc.in @@ -104,7 +104,7 @@ style "default" = "medium_text" GtkEntry::cursor_color = @entry_cursor GtkEntry::state-hint = 0 - + bg[NORMAL] = @background bg[PRELIGHT] = shade(1.1, @background) bg[ACTIVE] = shade(0.9, @background) @@ -739,6 +739,13 @@ style "audio_bus_base" = "very_small_text" bg[ACTIVE] = @background } +style "foldback_bus_base" = "very_small_text" +{ + fg[NORMAL] = @foreground + bg[NORMAL] = @foldback_bg + bg[ACTIVE] = @background +} + style "send_strip_base" = "default" { font_name = " 8" @@ -1116,6 +1123,7 @@ widget "*EditorWindow" style:highest "editor_window" widget "*SendStripBase" style:highest "send_strip_base" widget "*AudioTrackStripBase" style:highest "audio_track_base" widget "*AudioBusStripBase" style:highest "audio_bus_base" +widget "*FoldbackBusStripBase" style:highest "foldback_bus_base" widget "*MidiTrackStripBase" style:highest "midi_track_base" widget "*AudioTrackStripBaseInactive" style:highest "track_header_inactive" widget "*AudioBusStripBaseInactive" style:highest "track_header_inactive" diff --git a/gtk2_ardour/foldback_strip.cc b/gtk2_ardour/foldback_strip.cc index 233126658c..5803068a3a 100644 --- a/gtk2_ardour/foldback_strip.cc +++ b/gtk2_ardour/foldback_strip.cc @@ -242,12 +242,13 @@ FoldbackStrip::init () output_button.set_text (_("Output")); output_button.set_name ("mixer strip button"); - send_scroller.set_policy (Gtk::POLICY_NEVER, Gtk::POLICY_AUTOMATIC); - send_scroller.add (send_display); - send_display.set_flags (CAN_FOCUS); send_display.set_spacing (4); + send_scroller.set_policy (Gtk::POLICY_NEVER, Gtk::POLICY_AUTOMATIC); + send_scroller.add (send_display); + send_scroller.get_child()->set_name ("FoldbackBusStripBase"); + insert_box = new ProcessorBox (0, boost::bind (&FoldbackStrip::plugin_selector, this), _pr_selection, 0); insert_box->set_no_show_all (); insert_box->show (); @@ -266,6 +267,7 @@ FoldbackStrip::init () level_table.set_spacings (20); level_table.set_row_spacings (20); level_table.set_homogeneous (true); + level_table.set_name ("FoldbackBusStripBase"); mute_solo_table.set_homogeneous (true); mute_solo_table.set_spacings (2); @@ -1349,7 +1351,7 @@ void FoldbackStrip::reset_strip_style () { if (_route->active()) { - set_name ("AudioBusStripBase"); + set_name ("FoldbackBusStripBase"); } else { set_name ("AudioBusStripBaseInactive"); } diff --git a/gtk2_ardour/foldback_strip.h b/gtk2_ardour/foldback_strip.h index 9e4920d2a9..d2d3e46e4a 100644 --- a/gtk2_ardour/foldback_strip.h +++ b/gtk2_ardour/foldback_strip.h @@ -30,6 +30,7 @@ #include #include #include +#include #include #include #include diff --git a/gtk2_ardour/themes/dark-ardour.colors b/gtk2_ardour/themes/dark-ardour.colors index e69976ea97..f593f46017 100644 --- a/gtk2_ardour/themes/dark-ardour.colors +++ b/gtk2_ardour/themes/dark-ardour.colors @@ -7,6 +7,7 @@ + @@ -200,6 +201,7 @@ + -- cgit v1.2.3