public:
AUPluginUI (boost::shared_ptr<ARDOUR::PluginInsert>);
~AUPluginUI ();
-
+
gint get_preferred_height () { return prefheight; }
gint get_preferred_width () { return prefwidth; }
bool start_updating(GdkEventAny*);
bool stop_updating(GdkEventAny*);
-
- virtual void activate ();
- virtual void deactivate ();
-
+
+ void activate ();
+ void deactivate ();
+
void lower_box_realized ();
void on_realize ();
void on_show ();
boost::shared_ptr<ARDOUR::AUPlugin> au;
int prefheight;
int prefwidth;
-
+
Gtk::HBox top_box;
Gtk::EventBox low_box;
Gtk::VBox vpacker;
/* Cocoa */
NSWindow* cocoa_window;
- NSScrollView* scroll_view;
NSView* au_view;
/* Carbon */
NSWindow* cocoa_parent;
ComponentDescription carbon_descriptor;
AudioUnitCarbonView editView;
- WindowRef carbon_window;
+ WindowRef carbon_window;
EventHandlerRef carbon_event_handler;
bool _activating_from_app;
+ NSView* packView;
bool test_cocoa_view_support ();
bool test_carbon_view_support ();