summaryrefslogtreecommitdiff
path: root/gtk2_ardour/stripable_time_axis.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2020-04-03 13:22:43 -0600
committerPaul Davis <paul@linuxaudiosystems.com>2020-04-03 13:28:58 -0600
commite954303fec5187ad5ed848782ff5105b692afbfd (patch)
tree30fe2bb19dd1f9934f79d0f758f3552c5f76a93f /gtk2_ardour/stripable_time_axis.h
parent71ab4614f8535a59bc860715303bc906558983eb (diff)
move automation show/hide methods into public access
Note that they are still intended to be called via a specific mechanism from Editor, not directly. Also remove unnecessary duplicate virtual decls
Diffstat (limited to 'gtk2_ardour/stripable_time_axis.h')
-rw-r--r--gtk2_ardour/stripable_time_axis.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk2_ardour/stripable_time_axis.h b/gtk2_ardour/stripable_time_axis.h
index 899259cf9f..df0715e921 100644
--- a/gtk2_ardour/stripable_time_axis.h
+++ b/gtk2_ardour/stripable_time_axis.h
@@ -40,6 +40,10 @@ public:
void request_redraw ();
+ virtual void show_all_automation (bool apply_to_selection = false);
+ virtual void show_existing_automation (bool apply_to_selection = false);
+ virtual void hide_all_automation (bool apply_to_selection = false);
+
protected:
void reset_samples_per_pixel ();
virtual void set_samples_per_pixel (double);
@@ -55,10 +59,6 @@ protected:
void update_trim_track_visibility ();
void update_mute_track_visibility ();
- virtual void show_all_automation (bool apply_to_selection = false);
- virtual void show_existing_automation (bool apply_to_selection = false);
- virtual void hide_all_automation (bool apply_to_selection = false);
-
boost::shared_ptr<ARDOUR::Stripable> _stripable;
boost::shared_ptr<AutomationTimeAxisView> gain_track;