diff options
author | Carl Hetherington <carl@carlh.net> | 2012-01-21 22:54:36 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2012-01-21 22:54:36 +0000 |
commit | c95b34642f100b966ccab5bc810d24b016dc1c6a (patch) | |
tree | 9c406e6889b51698eb3ce9227807519457f98204 /gtk2_ardour/processor_box.h | |
parent | 4bb517279c38102f57a22a9294b4d89b11f412d5 (diff) |
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
Diffstat (limited to 'gtk2_ardour/processor_box.h')
-rw-r--r-- | gtk2_ardour/processor_box.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gtk2_ardour/processor_box.h b/gtk2_ardour/processor_box.h index c183949e17..1d150bf27a 100644 --- a/gtk2_ardour/processor_box.h +++ b/gtk2_ardour/processor_box.h @@ -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; |