diff options
author | Len Ovens <len@ovenwerks.net> | 2019-01-25 12:22:49 -0800 |
---|---|---|
committer | Len Ovens <len@ovenwerks.net> | 2019-08-26 17:48:22 -0700 |
commit | 5414728c18e577740817f84ecbd014cbd8c73559 (patch) | |
tree | 4aea0cb323fac5aec5594e2bd3f4657d3f546f27 /gtk2_ardour/foldback_strip.h | |
parent | 5bdfe4dc4c879080bab70f3947dab9e4ec55d9a5 (diff) |
Start adding processor box
Diffstat (limited to 'gtk2_ardour/foldback_strip.h')
-rw-r--r-- | gtk2_ardour/foldback_strip.h | 35 |
1 files changed, 28 insertions, 7 deletions
diff --git a/gtk2_ardour/foldback_strip.h b/gtk2_ardour/foldback_strip.h index 22a772a967..085e46a812 100644 --- a/gtk2_ardour/foldback_strip.h +++ b/gtk2_ardour/foldback_strip.h @@ -30,9 +30,7 @@ #include <gtkmm/frame.h> #include <gtkmm/label.h> #include <gtkmm/menu.h> -//#include <gtkmm/scrolledwindow.h> // test #include <gtkmm/sizegroup.h> -#include <gtkmm/table.h> #include <gtkmm/textview.h> #include <gtkmm/togglebutton.h> @@ -51,6 +49,10 @@ #include "route_ui.h" #include "panner_ui.h" #include "enums.h" +#include "processor_box.h" +//#include "visibility_group.h" +#include "processor_selection.h" + namespace ARDOUR { class Route; class Send; @@ -81,15 +83,18 @@ public: boost::shared_ptr<ARDOUR::Stripable> stripable() const { return RouteUI::stripable(); } +// Width get_width_enum () const { return _width; } void* width_owner () const { return _width_owner; } PannerUI& panner_ui() { return panners; } + PluginSelector* plugin_selector(); void fast_update (); void set_embedded (bool); void set_route (boost::shared_ptr<ARDOUR::Route>); void set_button_names (); +// void show_send (boost::shared_ptr<ARDOUR::Send>); void revert_to_default_display (); /** @return the delivery that is being edited using our fader; it will be the @@ -110,8 +115,20 @@ public: std::string state_id() const; +// void parameter_changed (std::string); void route_active_changed (); + void copy_processors (); + void cut_processors (); + void paste_processors (); + void select_all_processors (); + void deselect_all_processors (); + bool delete_processors (); //note: returns false if nothing was deleted + void toggle_processors (); + void ab_plugins (); + + void set_selected (bool yn); + static FoldbackStrip* entered_foldback_strip() { return _entered_foldback_strip; } protected: @@ -132,12 +149,14 @@ private: Width _width; void* _width_owner; - Gtk::EventBox spacer; + Gtk::EventBox spacer; Gtk::VBox send_display; Gtk::Frame global_frame; Gtk::VBox global_vpacker; + ProcessorBox* insert_box; + ProcessorSelection _pr_selection; PannerUI panners; Glib::RefPtr<Gtk::SizeGroup> button_size_group; @@ -147,13 +166,13 @@ private: ArdourWidgets::ArdourButton output_button; - void output_button_resized (Gtk::Allocation&); - void comment_button_resized (Gtk::Allocation&); - Gtk::HBox show_sends_box; std::string longest_label; + void help_count_plugins (boost::weak_ptr<ARDOUR::Processor>); + uint32_t _plugin_insert_cnt; + gint mark_update_safe (); guint32 mode_switch_in_progress; @@ -207,10 +226,10 @@ private: void show_passthru_color (); void route_property_changed (const PBD::PropertyChange&); - void name_button_resized (Gtk::Allocation&); void name_changed (); void update_speed_display (); void map_frozen (); + void hide_processor_editor (boost::weak_ptr<ARDOUR::Processor> processor); void hide_redirect_editors (); bool ignore_speed_adjustment; @@ -220,6 +239,8 @@ private: void engine_running(); void engine_stopped(); +// virtual void bus_send_display_changed (boost::shared_ptr<ARDOUR::Route>); + void set_current_delivery (boost::shared_ptr<ARDOUR::Delivery>); void drop_send (); |