-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::ScopedConnectionList _send_connections;
- ARDOUR::DataType _data_type;
-
- static Glib::RefPtr<Gdk::Pixbuf> _slider;
+ std::string name () const {
+ return _name;
+ }
+
+ Gtk::VBox box;
+
+ private:
+ void slider_adjusted ();
+ void button_clicked ();
+ void control_changed ();
+ std::string state_id () const;
+ void set_tooltip ();
+
+ boost::weak_ptr<ARDOUR::AutomationControl> _control;
+ /* things for a slider */
+ Gtk::Adjustment _adjustment;
+ Gtkmm2ext::HSliderController _slider;
+ Gtk::Label _label;
+ Gtkmm2ext::PersistentTooltip _slider_persistant_tooltip;
+ /* things for a button */
+ ArdourButton _button;
+ bool _ignore_ui_adjustment;
+ PBD::ScopedConnection _connection;
+ bool _visible;
+ std::string _name;
+ };
+
+ std::list<Control*> _controls;
+
+ void toggle_control_visibility (Control *);
+};
+
+class BlankProcessorEntry : public ProcessorEntry
+{
+ public:
+ BlankProcessorEntry (ProcessorBox *, Width w);