diff options
author | Tim Mayberry <mojofunk@gmail.com> | 2015-01-04 21:18:48 +0700 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2015-09-16 16:55:17 -0400 |
commit | fc1e7dbb55939c708ce572d3a5c2518ea926a682 (patch) | |
tree | dbd0cfc8a3a800cb5e30f6f9e2e5fa68442f79d1 /gtk2_ardour/meter_strip.cc | |
parent | 0fd1aa3808805425c3d91b620f1c590cb6065170 (diff) |
Move DPIReset and ColorsChanged signals into UIConfiguration
Diffstat (limited to 'gtk2_ardour/meter_strip.cc')
-rw-r--r-- | gtk2_ardour/meter_strip.cc | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/gtk2_ardour/meter_strip.cc b/gtk2_ardour/meter_strip.cc index f469aed600..cd33ba345b 100644 --- a/gtk2_ardour/meter_strip.cc +++ b/gtk2_ardour/meter_strip.cc @@ -35,7 +35,6 @@ #include <gtkmm2ext/rgb_macros.h> #include "ardour_ui.h" -#include "global_signals.h" #include "logmeter.h" #include "gui_thread.h" #include "ardour_window.h" @@ -112,8 +111,8 @@ MeterStrip::MeterStrip (int metricmode, MeterType mt) nfo_vbox.show(); UI::instance()->theme_changed.connect (sigc::mem_fun(*this, &MeterStrip::on_theme_changed)); - ColorsChanged.connect (sigc::mem_fun (*this, &MeterStrip::on_theme_changed)); - DPIReset.connect (sigc::mem_fun (*this, &MeterStrip::on_theme_changed)); + UIConfiguration::ColorsChanged.connect (sigc::mem_fun (*this, &MeterStrip::on_theme_changed)); + UIConfiguration::DPIReset.connect (sigc::mem_fun (*this, &MeterStrip::on_theme_changed)); } MeterStrip::MeterStrip (Session* sess, boost::shared_ptr<ARDOUR::Route> rt) @@ -300,8 +299,8 @@ MeterStrip::MeterStrip (Session* sess, boost::shared_ptr<ARDOUR::Route> rt) name_label.signal_button_release_event().connect (sigc::mem_fun(*this, &MeterStrip::name_label_button_release), false); UI::instance()->theme_changed.connect (sigc::mem_fun(*this, &MeterStrip::on_theme_changed)); - ColorsChanged.connect (sigc::mem_fun (*this, &MeterStrip::on_theme_changed)); - DPIReset.connect (sigc::mem_fun (*this, &MeterStrip::on_theme_changed)); + UIConfiguration::ColorsChanged.connect (sigc::mem_fun (*this, &MeterStrip::on_theme_changed)); + UIConfiguration::DPIReset.connect (sigc::mem_fun (*this, &MeterStrip::on_theme_changed)); Config->ParameterChanged.connect (*this, invalidator (*this), ui_bind (&MeterStrip::parameter_changed, this, _1), gui_context()); sess->config.ParameterChanged.connect (*this, invalidator (*this), ui_bind (&MeterStrip::parameter_changed, this, _1), gui_context()); |