Use a shared_ptr for SessionPlaylists so that it can be explicitly destroyed in ...
[ardour.git] / gtk2_ardour / processor_box.h
index 8509d4282535eaeae4e3f3541fdfb2a8142f9050..daff50dfe7b57ffa9d2233bf0ce9864142725183 100644 (file)
@@ -76,7 +76,8 @@ public:
        Gtk::Widget& widget ();
        std::string drag_text () const;
        boost::shared_ptr<ARDOUR::Processor> processor () const;
-       void set_width (Width);
+       void set_enum_width (Width);
+       virtual void set_pixel_width (int) {}
 
 protected:
        
@@ -104,6 +105,9 @@ public:
 
        static void setup_slider_pix ();
 
+       void set_enum_width (Width, int);
+       void set_pixel_width (int);
+
 private:
        void show_gain ();
        void gain_adjusted ();
@@ -184,7 +188,6 @@ class ProcessorBox : public Gtk::HBox, public PluginInterestedObject
        void choose_aux (boost::weak_ptr<ARDOUR::Route>);
        void choose_send ();
        void send_io_finished (IOSelector::Result, boost::weak_ptr<ARDOUR::Processor>, IOSelectorWindow*);
-       void choose_return ();
        void return_io_finished (IOSelector::Result, boost::weak_ptr<ARDOUR::Processor>, IOSelectorWindow*);
        void choose_insert ();
        void choose_plugin ();
@@ -201,6 +204,7 @@ class ProcessorBox : public Gtk::HBox, public PluginInterestedObject
        void redisplay_processors ();
        void add_processor_to_display (boost::weak_ptr<ARDOUR::Processor>);
        void reordered ();
+       void route_processors_changed (ARDOUR::RouteProcessorChange);
 
        void remove_processor_gui (boost::shared_ptr<ARDOUR::Processor>);
 
@@ -242,6 +246,7 @@ class ProcessorBox : public Gtk::HBox, public PluginInterestedObject
        gint idle_delete_processor (boost::weak_ptr<ARDOUR::Processor>);
 
        void weird_plugin_dialog (ARDOUR::Plugin& p, ARDOUR::Route::ProcessorStreams streams);
+       void on_size_allocate (Gtk::Allocation &);
 
        static ProcessorBox* _current_processor_box;
 
@@ -249,7 +254,6 @@ class ProcessorBox : public Gtk::HBox, public PluginInterestedObject
        static void rb_choose_plugin ();
        static void rb_choose_insert ();
        static void rb_choose_send ();
-       static void rb_choose_return ();
        static void rb_clear ();
        static void rb_clear_pre ();
        static void rb_clear_post ();
@@ -261,8 +265,6 @@ class ProcessorBox : public Gtk::HBox, public PluginInterestedObject
        static void rb_select_all ();
        static void rb_deselect_all ();
        static void rb_activate_all ();
-       static void rb_deactivate ();
-       static void rb_activate ();
        static void rb_deactivate_all ();
        static void rb_ab_plugins ();
        static void rb_edit ();