first compiling, mostly working version of group controls changes
[ardour.git] / gtk2_ardour / mixer_ui.h
index 97126491308371b6101106e01426299481b93ee5..a909228b06894e0f77af2592a8f3a3014e6a7c4a 100644 (file)
@@ -199,6 +199,22 @@ class Mixer_UI : public Gtk::Window, public PBD::ScopedConnectionList, public AR
        void track_list_reorder (const Gtk::TreeModel::Path& path, const Gtk::TreeModel::iterator& iter, int* new_order);
 
        void plugin_row_activated (const Gtk::TreeModel::Path& path, Gtk::TreeViewColumn* column);
+       bool plugin_row_button_press (GdkEventButton*);
+       void popup_note_context_menu (GdkEventButton*);
+       void plugin_drop (const Glib::RefPtr<Gdk::DragContext>&, const Gtk::SelectionData& data);
+
+       enum ProcessorPosition {
+               AddTop,
+               AddPreFader,
+               AddPostFader,
+               AddBottom
+       };
+
+       void add_selected_processor (ProcessorPosition);
+       void add_favorite_processor (ARDOUR::PluginPresetPtr, ProcessorPosition);
+       void remove_selected_from_favorites ();
+       void delete_selected_preset ();
+       ARDOUR::PluginPresetPtr selected_plugin ();
 
        void initial_track_display ();
        void show_track_list_menu ();
@@ -338,6 +354,8 @@ class Mixer_UI : public Gtk::Window, public PBD::ScopedConnectionList, public AR
        void refiller (ARDOUR::PluginInfoList& result, const ARDOUR::PluginInfoList& plugs);
        void refill_favorite_plugins ();
        void sync_treeview_from_favorite_order ();
+       void sync_treeview_favorite_ui_state (const Gtk::TreeModel::Path&, const Gtk::TreeModel::iterator&);
+       void save_favorite_ui_state (const Gtk::TreeModel::iterator& iter, const Gtk::TreeModel::Path& path);
 
        /// true if we are in fullscreen mode
        bool _maximised;