22 #ifndef __ardour_lv2_plugin_ui_h__
23 #define __ardour_lv2_plugin_ui_h__
26 #include "gtk2ardour-config.h"
35 #include <sigc++/signal.h>
45 #ifdef HAVE_LV2_1_18_6
46 #include <lv2/ui/ui.h>
48 #include <lv2/lv2plug.in/ns/extensions/ui/ui.h>
59 std::shared_ptr<ARDOUR::LV2Plugin>);
81 std::shared_ptr<ARDOUR::PlugInsertBase>
_pib;
82 std::shared_ptr<ARDOUR::LV2Plugin>
_lv2;
94 #ifdef HAVE_LV2_1_17_2
95 LV2UI_Request_Value _lv2ui_request_value;
96 LV2_Feature _lv2ui_request_feature;
109 uint32_t buffer_size,
115 uint32_t buffer_size,
125 #ifdef HAVE_LV2_1_17_2
126 static LV2UI_Request_Value_Status
127 request_value(
void* handle,
130 const LV2_Feature*
const* features);
std::shared_ptr< ARDOUR::AutomationControl > ControllableRef
LV2_Feature _external_kxui_feature
std::shared_ptr< ARDOUR::LV2Plugin > _lv2
static void write_to_ui(void *controller, uint32_t port_index, uint32_t buffer_size, uint32_t format, const void *buffer)
virtual void on_window_hide()
float * _values_last_sent_to_ui
void set_path_property(int, const ARDOUR::ParameterDescriptor &, Gtk::FileChooserDialog *)
bool start_updating(GdkEventAny *)
static uint32_t port_index(void *controller, const char *symbol)
gint get_preferred_width()
static void write_from_ui(void *controller, uint32_t port_index, uint32_t buffer_size, uint32_t format, const void *buffer)
static void on_external_ui_closed(void *controller)
LV2PluginUI(std::shared_ptr< ARDOUR::PlugInsertBase >, std::shared_ptr< ARDOUR::LV2Plugin >)
bool is_external_visible() const
void parameter_update(uint32_t, float)
bool stop_updating(GdkEventAny *)
void control_changed(uint32_t)
int package(Gtk::Window &)
Gtk::HBox _ardour_buttons_box
struct lv2_external_ui_host _external_ui_host
static void touch(void *controller, uint32_t port_index, bool grabbed)
Gtk::Widget * _gui_widget
void lv2ui_instantiate(const std::string &title)
std::set< uint32_t > active_parameter_requests
sigc::connection _message_update_connection
std::vector< uint32_t > _output_ports
bool configure_handler(GdkEventConfigure *)
LV2_Feature _parent_feature
bool is_update_wanted(uint32_t index)
virtual bool on_window_show(const std::string &title)
gint get_preferred_height()
void save_plugin_setting()
std::set< uint32_t > Updates
struct lv2_external_ui * _external_ui_ptr
std::vector< ControllableRef > _controllables
sigc::connection _screen_update_connection
std::shared_ptr< ARDOUR::PlugInsertBase > _pib
LV2_Feature _external_ui_feature