X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Faudio_time_axis.h;h=8a5b6ab0ac297bbb8d680c943c9802ecdb3ec536;hb=f2009ea7771048a89463fea25f0bad9de1e17567;hp=4841fcda818da0a77783a359dad375d8aad72a04;hpb=ed93d47e7cbf467161d89c84297e19c26039a6ff;p=ardour.git diff --git a/gtk2_ardour/audio_time_axis.h b/gtk2_ardour/audio_time_axis.h index 4841fcda81..8a5b6ab0ac 100644 --- a/gtk2_ardour/audio_time_axis.h +++ b/gtk2_ardour/audio_time_axis.h @@ -65,20 +65,20 @@ class AutomationTimeAxisView; class AudioTimeAxisView : public RouteTimeAxisView { public: - AudioTimeAxisView (PublicEditor&, ARDOUR::Session*, boost::shared_ptr, ArdourCanvas::Canvas& canvas); + AudioTimeAxisView (PublicEditor&, ARDOUR::Session*, ArdourCanvas::Canvas& canvas); virtual ~AudioTimeAxisView (); + void set_route (boost::shared_ptr); + AudioStreamView* audio_view(); void set_show_waveforms_recording (bool yn); - void show_all_xfades (bool apply_to_selection = false); - void hide_all_xfades (bool apply_to_selection = false); - void hide_dependent_views (TimeAxisViewItem&); - void reveal_dependent_views (TimeAxisViewItem&); /* Overridden from parent to store display state */ guint32 show_at (double y, int& nth, Gtk::VBox *parent); - void hide (); + + void enter_internal_edit_mode (); + void leave_internal_edit_mode (); void create_automation_child (const Evoral::Parameter& param, bool show); @@ -90,13 +90,14 @@ class AudioTimeAxisView : public RouteTimeAxisView void route_active_changed (); - void append_extra_display_menu_items (); Gtk::Menu* build_mode_menu(); - void build_automation_action_menu (); + void build_automation_action_menu (bool); - void show_all_automation (); - void show_existing_automation (); - void hide_all_automation (); + void show_all_automation (bool apply_to_selection = false); + void show_existing_automation (bool apply_to_selection = false); + void hide_all_automation (bool apply_to_selection = false); + + void hide (); void gain_hidden (); void pan_hidden (); @@ -107,8 +108,6 @@ class AudioTimeAxisView : public RouteTimeAxisView void update_gain_track_visibility (); void update_pan_track_visibility (); - void add_processor_to_subplugin_menu (boost::weak_ptr); - Gtk::CheckMenuItem* gain_automation_item; std::list > pan_tracks; Gtk::CheckMenuItem* pan_automation_item;