class MotionController;
class PluginSelector;
class PluginUIWindow;
-class RouteRedirectSelection;
+class RouteProcessorSelection;
class MixerStrip;
namespace ARDOUR {
Gtk::EventBox& action_widget ();
Gtk::Widget& widget ();
std::string drag_text () const;
- void set_visual_state (Gtk::StateType);
+ void set_visual_state (Gtkmm2ext::VisualState, bool);
enum Position {
PreFader,
void led_clicked();
void processor_active_changed ();
void processor_property_changed (const PBD::PropertyChange&);
- std::string name () const;
+ std::string name (Width) const;
+ void setup_tooltip ();
boost::shared_ptr<ARDOUR::Processor> _processor;
Width _width;
class ProcessorBox : public Gtk::HBox, public PluginInterestedObject, public ARDOUR::SessionHandlePtr
{
public:
+ enum ProcessorOperation {
+ ProcessorsCut,
+ ProcessorsCopy,
+ ProcessorsPaste,
+ ProcessorsDelete,
+ ProcessorsSelectAll,
+ ProcessorsToggleActive,
+ ProcessorsAB,
+ };
+
ProcessorBox (ARDOUR::Session*, boost::function<PluginSelector*()> get_plugin_selector,
- RouteRedirectSelection&, MixerStrip* parent, bool owner_is_mixer = false);
+ RouteProcessorSelection&, MixerStrip* parent, bool owner_is_mixer = false);
~ProcessorBox ();
void set_route (boost::shared_ptr<ARDOUR::Route>);
void update();
+ void processor_operation (ProcessorOperation);
+
void select_all_processors ();
void deselect_all_processors ();
void select_all_plugins ();
*/
int _placement;
- RouteRedirectSelection& _rr_selection;
+ RouteProcessorSelection& _rr_selection;
void route_going_away ();
- void selection_changed ();
-
Gtkmm2ext::DnDVBox<ProcessorEntry> processor_display;
Gtk::ScrolledWindow processor_scroller;
Width _width;
- Gtk::Menu *send_action_menu;
- void build_send_action_menu ();
-
void new_send ();
void show_send_controls ();
bool enter_notify (GdkEventCrossing *ev);
bool leave_notify (GdkEventCrossing *ev);
- bool processor_key_press_event (GdkEventKey *);
- bool processor_key_release_event (GdkEventKey *);
bool processor_button_press_event (GdkEventButton *, ProcessorEntry *);
bool processor_button_release_event (GdkEventButton *, ProcessorEntry *);
void redisplay_processors ();
void processors_reordered (const Gtk::TreeModel::Path&, const Gtk::TreeModel::iterator&, int*);
void compute_processor_sort_keys ();
- void all_processors_active(bool state);
- void all_plugins_active(bool state);
+ void all_visible_processors_active(bool state);
void ab_plugins ();
typedef std::vector<boost::shared_ptr<ARDOUR::Processor> > ProcSelection;
void cut_processors (const ProcSelection&);
- void cut_processors ();
void copy_processors (const ProcSelection&);
- void copy_processors ();
void delete_processors (const ProcSelection&);
- void delete_processors ();
void paste_processors ();
void paste_processors (boost::shared_ptr<ARDOUR::Processor> before);
+ void processors_up ();
+ void processors_down ();
void delete_dragged_processors (const std::list<boost::shared_ptr<ARDOUR::Processor> >&);
void clear_processors ();