19 #ifndef __ardour_vst3_nsview_plugin_ui_h__
20 #define __ardour_vst3_nsview_plugin_ui_h__
24 #include <AppKit/AppKit.h>
38 #include <ytkmm/widget.h>
39 #include <ytkmm/eventbox.h>
43 class VST3NSViewPluginUI :
public VST3PluginUI
46 VST3NSViewPluginUI (std::shared_ptr<ARDOUR::PlugInsertBase>, std::shared_ptr<ARDOUR::VST3Plugin>);
47 ~VST3NSViewPluginUI ();
49 bool on_window_show(
const std::string&);
50 void on_window_hide ();
51 void forward_key_event (GdkEventKey*);
53 bool non_gtk_gui()
const {
return true; }
56 void view_realized ();
57 void view_size_request (GtkRequisition*);
58 void view_size_allocate (Gtk::Allocation&);
59 void resize_callback (
int,
int);
61 bool view_visibility_notify (GdkEventVisibility*);
65 NSWindow* get_nswindow();
67 Gtk::EventBox _gui_widget;