From cc949232fe39c4c0a8a0775ab9fc9284df3fb39a Mon Sep 17 00:00:00 2001 From: Ben Loftis Date: Sat, 2 Nov 2019 14:57:44 -0500 Subject: Remove complicated panner theme logic. --- gtk2_ardour/stereo_panner.cc | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'gtk2_ardour') diff --git a/gtk2_ardour/stereo_panner.cc b/gtk2_ardour/stereo_panner.cc index 17c60699af..fdaa8400e8 100644 --- a/gtk2_ardour/stereo_panner.cc +++ b/gtk2_ardour/stereo_panner.cc @@ -675,9 +675,8 @@ StereoPanner::on_key_press_event (GdkEventKey* ev) void StereoPanner::set_colors () { - colors[Normal].fill = UIConfiguration::instance().color_mod ("stereo panner fill", "panner fill"); - // colors[Normal].outline = UIConfiguration::instance().color ("stereo panner outline"); - colors[Normal].outline = Gtkmm2ext::HSV (colors[Normal].fill).outline().color (); + colors[Normal].fill = UIConfiguration::instance().color ("stereo panner fill"); + colors[Normal].outline = UIConfiguration::instance().color ("stereo panner outline"); colors[Normal].text = UIConfiguration::instance().color ("stereo panner text"); colors[Normal].background = UIConfiguration::instance().color ("stereo panner bg"); colors[Normal].rule = UIConfiguration::instance().color ("stereo panner rule"); @@ -688,10 +687,10 @@ StereoPanner::set_colors () colors[Mono].background = UIConfiguration::instance().color ("stereo panner mono bg"); colors[Mono].rule = UIConfiguration::instance().color ("stereo panner rule"); - colors[Inverted].fill = UIConfiguration::instance().color_mod ("stereo panner inverted fill", "stereo panner inverted"); + colors[Inverted].fill = UIConfiguration::instance().color ("stereo panner inverted fill"); colors[Inverted].outline = UIConfiguration::instance().color ("stereo panner inverted outline"); colors[Inverted].text = UIConfiguration::instance().color ("stereo panner inverted text"); - colors[Inverted].background = UIConfiguration::instance().color_mod ("stereo panner inverted bg", "stereo panner inverted bg"); + colors[Inverted].background = UIConfiguration::instance().color ("stereo panner inverted bg"); colors[Inverted].rule = UIConfiguration::instance().color ("stereo panner rule"); } -- cgit v1.2.3