summaryrefslogtreecommitdiff
path: root/gtk2_ardour/route_time_axis.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/route_time_axis.h')
-rw-r--r--gtk2_ardour/route_time_axis.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/gtk2_ardour/route_time_axis.h b/gtk2_ardour/route_time_axis.h
index 03060c702f..008ed932de 100644
--- a/gtk2_ardour/route_time_axis.h
+++ b/gtk2_ardour/route_time_axis.h
@@ -304,6 +304,22 @@ protected:
bool _ignore_set_layer_display;
+protected:
+ void update_gain_track_visibility ();
+ void update_mute_track_visibility ();
+ void update_pan_track_visibility ();
+
+ /** Ensure that we have the appropriate automation lanes for panners.
+ *
+ * @param show true to show any new views that we create, otherwise false.
+ */
+ void ensure_pan_views (bool show = true);
+
+ Gtk::CheckMenuItem* gain_automation_item;
+ Gtk::CheckMenuItem* mute_automation_item;
+ std::list<boost::shared_ptr<AutomationTimeAxisView> > pan_tracks;
+ Gtk::CheckMenuItem* pan_automation_item;
+
private:
void remove_child (boost::shared_ptr<TimeAxisView>);