X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fvst_plugin_ui.h;h=ac35a1768824080f72e0bef1eb17e713127fa32b;hb=b06713bd8e57a33bdb4544a3de249933e984f1be;hp=73391869756407270821a173e72bc6a72000467a;hpb=23e7cf10191270d70357ccf0ed9294f020c7b7ab;p=ardour.git diff --git a/gtk2_ardour/vst_plugin_ui.h b/gtk2_ardour/vst_plugin_ui.h index 7339186975..ac35a17688 100644 --- a/gtk2_ardour/vst_plugin_ui.h +++ b/gtk2_ardour/vst_plugin_ui.h @@ -41,18 +41,21 @@ public: virtual int package (Gtk::Window &); bool non_gtk_gui () const { return true; } - + protected: virtual int get_XID () = 0; - + boost::shared_ptr _vst; Gtk::Socket _socket; + virtual void top_box_allocated (Gtk::Allocation&) {} + + bool dispatch_effeditkey (GdkEventKey*); private: bool configure_handler (GdkEventConfigure *); - void preset_selected (); + void preset_selected (ARDOUR::Plugin::PresetRecord preset); }; #endif