X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=gtk2_ardour%2Fprocessor_box.h;h=9622011654a7eee104812a452a63ff3d9aff795b;hb=603748d68af1009fac47b284bf6f8815745586c7;hp=021e557d364f90f6fb4c1b3d25c7993994327787;hpb=e45151b89c64912077c03fc979f1581780ac9e27;p=ardour.git diff --git a/gtk2_ardour/processor_box.h b/gtk2_ardour/processor_box.h index 021e557d36..9622011654 100644 --- a/gtk2_ardour/processor_box.h +++ b/gtk2_ardour/processor_box.h @@ -91,9 +91,6 @@ class ProcessorWindowProxy : public WM::ProxyBase void toggle(); void set_custom_ui_mode(bool use_custom) { want_custom = use_custom; } - bool marked; - bool valid () const; - void set_state (const XMLNode&); XMLNode& get_state () const; @@ -119,6 +116,9 @@ public: std::string drag_text () const; void set_visual_state (Gtkmm2ext::VisualState, bool); + bool is_selectable() const {return _selectable;} + void set_selectable(bool s) { _selectable = s; } + enum Position { PreFader, Fader, @@ -149,6 +149,7 @@ protected: virtual void setup_visuals (); private: + bool _selectable; void led_clicked(); void processor_active_changed (); void processor_property_changed (const PBD::PropertyChange&); @@ -159,7 +160,6 @@ private: ProcessorBox* _parent; boost::shared_ptr _processor; Width _width; - Gtk::StateType _visual_state; PBD::ScopedConnection active_connection; PBD::ScopedConnection name_connection; PBD::ScopedConnection config_connection; @@ -269,6 +269,7 @@ class ProcessorBox : public Gtk::HBox, public PluginInterestedObject, public ARD ProcessorsPaste, ProcessorsDelete, ProcessorsSelectAll, + ProcessorsSelectNone, ProcessorsToggleActive, ProcessorsAB, }; @@ -280,7 +281,7 @@ class ProcessorBox : public Gtk::HBox, public PluginInterestedObject, public ARD void set_route (boost::shared_ptr); void set_width (Width); - void processor_operation (ProcessorOperation); + bool processor_operation (ProcessorOperation); void select_all_processors (); void deselect_all_processors (); @@ -438,8 +439,8 @@ class ProcessorBox : public Gtk::HBox, public PluginInterestedObject, public ARD void route_property_changed (const PBD::PropertyChange&); std::string generate_processor_title (boost::shared_ptr pi); - typedef std::list ProcessorWindowProxies; - ProcessorWindowProxies _processor_window_info; + //typedef std::list ProcessorWindowProxies; + //ProcessorWindowProxies _processor_window_info; ProcessorWindowProxy* find_window_proxy (boost::shared_ptr) const;