summaryrefslogtreecommitdiff
path: root/gtk2_ardour/processor_box.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-10-19 10:01:37 +0000
committerCarl Hetherington <carl@carlh.net>2011-10-19 10:01:37 +0000
commit8232d4ab6f7ea3eb1df1cb73b77573cc64921a15 (patch)
treee0781f4a389f8466d26243ddbb965614d20a6d76 /gtk2_ardour/processor_box.h
parentfd39c1740069bc86fea91b9470f374e233210889 (diff)
Adjust send faders depending on what signal type they are passing (part of #4352).
git-svn-id: svn://localhost/ardour2/branches/3.0@10230 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/processor_box.h')
-rw-r--r--gtk2_ardour/processor_box.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk2_ardour/processor_box.h b/gtk2_ardour/processor_box.h
index c595ded4bb..17fb494268 100644
--- a/gtk2_ardour/processor_box.h
+++ b/gtk2_ardour/processor_box.h
@@ -161,12 +161,14 @@ public:
private:
void show_gain ();
void gain_adjusted ();
+ void setup_gain_adjustment ();
boost::shared_ptr<ARDOUR::Send> _send;
Gtk::Adjustment _adjustment;
Gtkmm2ext::HSliderController _fader;
bool _ignore_gain_change;
- PBD::ScopedConnection send_gain_connection;
+ PBD::ScopedConnectionList _send_connections;
+ ARDOUR::DataType _data_type;
static Glib::RefPtr<Gdk::Pixbuf> _slider;
};