class PluginInsert;
class Plugin;
class VSTPlugin;
+ class LXVSTPlugin;
class IOProcessor;
class AUPlugin;
}
Evoral::Parameter parameter() { return control->parameter(); }
/* input */
-
- Gtk::ComboBoxText* combo;
- std::map<std::string, float>* combo_map;
+
+ Gtk::ComboBoxText* combo;
+ boost::shared_ptr<ARDOUR::Plugin::ScalePoints> combo_map;
Gtk::ToggleButton* button;
boost::shared_ptr<AutomationController> controller;
Gtkmm2ext::ClickBox* clickbox;
bool update_pending;
char ignore_change;
Gtk::Button automate_button;
-
+
/* output */
-
+
Gtk::EventBox* display;
Gtk::Label* display_label;
void build ();
ControlUI* build_control_ui (guint32 port_index, boost::shared_ptr<ARDOUR::AutomationControl>);
- std::vector<std::string> setup_scale_values(guint32 port_index, ControlUI* cui);
void ui_parameter_changed (ControlUI* cui);
void toggle_parameter_changed (ControlUI* cui);
void update_control_display (ControlUI* cui);
class PluginUIWindow : public Gtk::Window
{
public:
- PluginUIWindow (Gtk::Window*, boost::shared_ptr<ARDOUR::PluginInsert> insert, bool scrollable=false);
+ PluginUIWindow (Gtk::Window*,
+ boost::shared_ptr<ARDOUR::PluginInsert> insert,
+ bool scrollable=false,
+ bool editor=true);
~PluginUIWindow ();
PlugUIBase& pluginui() { return *_pluginui; }
void plugin_going_away ();
bool create_vst_editor (boost::shared_ptr<ARDOUR::PluginInsert>);
+ bool create_lxvst_editor(boost::shared_ptr<ARDOUR::PluginInsert>);
bool create_audiounit_editor (boost::shared_ptr<ARDOUR::PluginInsert>);
bool create_lv2_editor (boost::shared_ptr<ARDOUR::PluginInsert>);
};
-#ifdef AUDIOUNITS
+#ifdef AUDIOUNIT_SUPPORT
/* this function has to be in a .mm file */
extern PlugUIBase* create_au_gui (boost::shared_ptr<ARDOUR::PluginInsert>, Gtk::VBox**);
#endif