Don't show hidden controls inline in the mixer-strip
[ardour.git] / gtk2_ardour / option_editor.h
index 055ee9b8ebebf8e1f26ffaa2b5f3ecbe1fcf2d6a..132d260c05fbb4685decf2b593399593ca260bb1 100644 (file)
@@ -558,6 +558,21 @@ private:
        sigc::slot<bool, ARDOUR::gain_t> _set;
 };
 
+class WidgetOption : public Option
+{
+  public:
+       WidgetOption (std::string const & i, std::string const & n, Gtk::Widget& w);
+
+       void add_to_page (OptionEditorPage*);
+       void parameter_changed (std::string const &) {}
+       void set_state_from_config () {}
+
+       Gtk::Widget& tip_widget() { return *_widget; }
+
+  private:
+       Gtk::Widget* _widget;
+};
+
 class ClockOption : public Option
 {
 public: