#include "plugin_ui.h"
#ifdef LV2_SUPPORT
+#include "ardour/plugin_insert.h"
#include "lv2_external_ui.h"
gint get_preferred_height ();
gint get_preferred_width ();
+ bool resizable ();
+
bool start_updating(GdkEventAny*);
bool stop_updating(GdkEventAny*);
typedef boost::shared_ptr<ARDOUR::AutomationControl> ControllableRef;
+ boost::shared_ptr<ARDOUR::PluginInsert> _pi;
boost::shared_ptr<ARDOUR::LV2Plugin> _lv2;
std::vector<int> _output_ports;
sigc::connection _screen_update_connection;
+ sigc::connection _message_update_connection;
Gtk::Widget* _gui_widget;
+ /** a box containing the focus, bypass, delete, save / add preset buttons etc. */
+ Gtk::HBox _ardour_buttons_box;
float* _values;
std::vector<ControllableRef> _controllables;
struct lv2_external_ui_host _external_ui_host;
LV2_Feature _external_ui_feature;
+ LV2_Feature _external_kxui_feature;
struct lv2_external_ui* _external_ui_ptr;
+ LV2_Feature _parent_feature;
Gtk::Window* _win_ptr;
void* _inst;
uint32_t format,
const void* buffer);
- bool update_timeout();
+ static uint32_t port_index(void* controller, const char* symbol);
+
+ static void touch(void* controller,
+ uint32_t port_index,
+ bool grabbed);
+
+ void update_timeout();
void lv2ui_instantiate(const std::string& title);
void lv2ui_free();