changes to help strp silence
[ardour.git] / gtk2_ardour / au_pluginui.h
index 4f27cb10623023535197ac016ca2642b0f786beb..445ab27ec5097cb61fd03517f71f2b70a6c001ad 100644 (file)
@@ -33,15 +33,15 @@ class AUPluginUI : public PlugUIBase, public Gtk::VBox
   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 ();
@@ -57,7 +57,7 @@ class AUPluginUI : public PlugUIBase, public Gtk::VBox
        boost::shared_ptr<ARDOUR::AUPlugin> au;
        int prefheight;
        int prefwidth;
-       
+
        Gtk::HBox     top_box;
        Gtk::EventBox low_box;
        Gtk::VBox vpacker;
@@ -70,7 +70,6 @@ class AUPluginUI : public PlugUIBase, public Gtk::VBox
        /* Cocoa */
 
        NSWindow*           cocoa_window;
-       NSScrollView*       scroll_view;
        NSView*             au_view;
 
        /* Carbon */
@@ -78,9 +77,10 @@ class AUPluginUI : public PlugUIBase, public Gtk::VBox
        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 ();