diff options
author | Len Ovens <len@ovenwerks.net> | 2019-09-03 21:16:42 -0700 |
---|---|---|
committer | Len Ovens <len@ovenwerks.net> | 2019-09-03 21:17:11 -0700 |
commit | c992a601aeec768d3d008fdbff412283b1e5d66b (patch) | |
tree | 8a79e5d28c7302bf0d858afc49f1f760726c7683 | |
parent | fdcddc736b8e3fec528b7414b6a2259bc880e4cf (diff) |
Change back ground color for foldback strip
-rw-r--r-- | gtk2_ardour/clearlooks.rc.in | 10 | ||||
-rw-r--r-- | gtk2_ardour/foldback_strip.cc | 10 | ||||
-rw-r--r-- | gtk2_ardour/foldback_strip.h | 1 | ||||
-rw-r--r-- | 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 <gtkmm/frame.h> #include <gtkmm/label.h> #include <gtkmm/menu.h> +#include <gtkmm/scrolledwindow.h> #include <gtkmm/sizegroup.h> #include <gtkmm/textview.h> #include <gtkmm/togglebutton.h> 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 @@ <Color name="color 101" value="0xa06000ff"/> <Color name="color 103" value="0x1e7727ff"/> <Color name="color 104" value="0x7f7f7fff"/> + <Color name="color 105" value="0x1d3020ff"/> <Color name="color 11" value="0x9496a3ff"/> <Color name="color 12" value="0x18ab27ff"/> <Color name="color 13" value="0xffffffff"/> @@ -200,6 +201,7 @@ <ColorAlias name="gtk_darkest" alias="color 67"/> <ColorAlias name="gtk_fg_selected" alias="color 67"/> <ColorAlias name="gtk_fg_tooltip" alias="color 29"/> + <ColorAlias name="gtk_foldback_bg" alias="color 105"/> <ColorAlias name="gtk_foreground" alias="color 50"/> <ColorAlias name="gtk_light_text_on_dark" alias="color 31"/> <ColorAlias name="gtk_lightest" alias="color 13"/> |