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
This commit is contained in:
Carl Hetherington 2011-10-19 10:01:37 +00:00
parent fd39c17400
commit 8232d4ab6f
3 changed files with 78 additions and 19 deletions

View file

@ -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;
};