Only show user-presets in favorite sidebar
[ardour.git] / gtk2_ardour / processor_box.h
index cb13f42b436b0a3504b76e703db598e6a2d045f4..a723149c1a56fda60762b8e0b043842ee5703ea2 100644 (file)
@@ -120,7 +120,6 @@ class PluginPinWindowProxy : public WM::ProxyBase
        ARDOUR::SessionHandlePtr* session_handle();
 
   private:
-       ProcessorBox* _processor_box;
        boost::weak_ptr<ARDOUR::Processor> _processor;
 
        void processor_going_away ();
@@ -255,10 +254,11 @@ private:
                bool on_button_press_event (GdkEventButton *ev);
                void update_height_alloc (uint32_t inline_height);
 
-               void display_frame (cairo_t* cr, double w, double h);
+               void display_sample (cairo_t* cr, double w, double h);
 
                ProcessorEntry& _entry;
                bool _scroll;
+               const uint32_t _given_max_height;
        };
 
        class LuaPluginDisplay : public PluginInlineDisplay {
@@ -484,7 +484,6 @@ private:
        int _placement;
 
        ProcessorSelection& _p_selection;
-       static Gtkmm2ext::ActionMap myactions;
 
        static void load_bindings ();
 
@@ -511,8 +510,11 @@ private:
        Gtk::Menu * build_processor_menu ();
        void show_processor_menu (int);
        Gtk::Menu* build_possible_aux_menu();
+       Gtk::Menu* build_possible_listener_menu();
+       Gtk::Menu* build_possible_remove_listener_menu();
 
        void choose_aux (boost::weak_ptr<ARDOUR::Route>);
+       void remove_aux (boost::weak_ptr<ARDOUR::Route>);
        void choose_send ();
        void send_io_finished (IOSelector::Result, boost::weak_ptr<ARDOUR::Processor>, IOSelectorWindow*);
        void return_io_finished (IOSelector::Result, boost::weak_ptr<ARDOUR::Processor>, IOSelectorWindow*);
@@ -581,6 +583,7 @@ private:
        static ProcessorBox* _current_processor_box;
 
        static void rb_choose_aux (boost::weak_ptr<ARDOUR::Route>);
+       static void rb_remove_aux (boost::weak_ptr<ARDOUR::Route>);
        static void rb_choose_plugin ();
        static void rb_choose_insert ();
        static void rb_choose_send ();