Use a button in the processor box for toggle parameters.

git-svn-id: svn://localhost/ardour2/branches/3.0@11297 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2012-01-21 22:54:36 +00:00
parent 4bb517279c
commit c95b34642f
5 changed files with 85 additions and 27 deletions

View file

@ -178,14 +178,18 @@ private:
private:
void slider_adjusted ();
void button_clicked ();
void control_changed ();
std::string state_id () const;
boost::weak_ptr<ARDOUR::AutomationControl> _control;
/* things for a slider */
Gtk::Adjustment _adjustment;
Gtkmm2ext::HSliderController _slider;
Gtk::Label _label;
bool _ignore_slider_adjustment;
/* things for a button */
ArdourButton _button;
bool _ignore_ui_adjustment;
PBD::ScopedConnection _connection;
bool _visible;
std::string _name;