diff options
author | David Robillard <d@drobilla.net> | 2014-11-30 16:24:18 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2014-11-30 23:56:19 -0500 |
commit | 0f72ea4a349480cf1272571395f63c10b6152b4f (patch) | |
tree | 7e183668d193457481eb168bea0b886c48e6c61b /gtk2_ardour/route_time_axis.h | |
parent | a0deb7c3bffb7c95e6307ff295abf95fb1600492 (diff) |
Factor out duplicated track automation code.
Mute automation for MIDI tracks.
Diffstat (limited to 'gtk2_ardour/route_time_axis.h')
-rw-r--r-- | gtk2_ardour/route_time_axis.h | 16 |
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>); |