X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fwindows_vst_plugin_ui.h;h=8b366b7da68cf6057eda79b0c752297e0f4e2676;hb=04c484089c5f1ff064b111ce3e4f1e2ff7e7ec83;hp=93b531f9ddd95653ef704de41376dfbd1acc4d5e;hpb=d9a3c6b89fde94b3632d1af57dd85ef9fc32f630;p=ardour.git diff --git a/gtk2_ardour/windows_vst_plugin_ui.h b/gtk2_ardour/windows_vst_plugin_ui.h index 93b531f9dd..8b366b7da6 100644 --- a/gtk2_ardour/windows_vst_plugin_ui.h +++ b/gtk2_ardour/windows_vst_plugin_ui.h @@ -17,31 +17,23 @@ */ -#include "plugin_ui.h" +#include "vst_plugin_ui.h" -class WindowsVSTPluginUI : public PlugUIBase, public Gtk::VBox +class WindowsVSTPluginUI : public VSTPluginUI { - public: - WindowsVSTPluginUI (boost::shared_ptr, boost::shared_ptr); +public: + WindowsVSTPluginUI (boost::shared_ptr, boost::shared_ptr, GtkWidget *parent); ~WindowsVSTPluginUI (); - gint get_preferred_height (); - gint get_preferred_width (); - bool start_updating(GdkEventAny*) {return false;} - bool stop_updating(GdkEventAny*) {return false;} + bool start_updating (GdkEventAny*) { return false; } + bool stop_updating (GdkEventAny*) { return false; } - int package (Gtk::Window&); + int package (Gtk::Window &); void forward_key_event (GdkEventKey *); - bool non_gtk_gui () const { return true; } - private: - boost::shared_ptr vst; - Gtk::Socket socket; - Gtk::HBox preset_box; - Gtk::VBox vpacker; +private: + + int get_XID (); - bool configure_handler (GdkEventConfigure*, Gtk::Socket*); - void save_plugin_setting (); - void preset_selected (); };