diff options
author | Ben Loftis <ben@harrisonconsoles.com> | 2019-11-02 14:57:44 -0500 |
---|---|---|
committer | Ben Loftis <ben@harrisonconsoles.com> | 2019-11-02 14:57:53 -0500 |
commit | cc949232fe39c4c0a8a0775ab9fc9284df3fb39a (patch) | |
tree | 6cfc5bee5441ba885b21ef92c23de93d56c54bdf | |
parent | 9b7998e74703259bef9fd69600594754ab5b2c54 (diff) |
Remove complicated panner theme logic.
-rw-r--r-- | gtk2_ardour/stereo_panner.cc | 9 |
1 files changed, 4 insertions, 5 deletions
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"); } |