diff options
author | Robin Gareus <robin@gareus.org> | 2020-01-05 19:22:14 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2020-01-05 19:22:55 +0100 |
commit | dba7421153db19ae15b0d2829ddc4f10ea07ed20 (patch) | |
tree | d7c4bd4498a5f288b7fd8ef5e3cbb10ac58d17e8 /gtk2_ardour | |
parent | 45dd6a8ed327b561eb93399149c1c1b3a8e833d9 (diff) |
Allow public access to the editor-mixer-strip
This is currently used by Mixbus to sync visibility of switches on
the editor-mixer-strip with the main mixer.
Diffstat (limited to 'gtk2_ardour')
-rw-r--r-- | gtk2_ardour/editor.h | 4 | ||||
-rw-r--r-- | gtk2_ardour/public_editor.h | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/gtk2_ardour/editor.h b/gtk2_ardour/editor.h index 5dab984f38..39973eb9a3 100644 --- a/gtk2_ardour/editor.h +++ b/gtk2_ardour/editor.h @@ -489,6 +489,10 @@ public: void abort_reversible_command (); void commit_reversible_command (); + MixerStrip* get_current_mixer_strip () const { + return current_mixer_strip; + } + DragManager* drags () const { return _drags; } diff --git a/gtk2_ardour/public_editor.h b/gtk2_ardour/public_editor.h index 2723726850..bb546246b7 100644 --- a/gtk2_ardour/public_editor.h +++ b/gtk2_ardour/public_editor.h @@ -86,6 +86,7 @@ class DragManager; class Editor; class ArdourMarker; class MeterMarker; +class MixerStrip; class MouseCursors; class PlaylistSelector; class PluginSelector; @@ -446,6 +447,8 @@ public: virtual TrackViewList axis_views_from_routes (boost::shared_ptr<ARDOUR::RouteList>) const = 0; virtual TrackViewList const & get_track_views () const = 0; + virtual MixerStrip* get_current_mixer_strip () const = 0; + virtual DragManager* drags () const = 0; virtual bool drag_active () const = 0; virtual bool preview_video_drag_active () const = 0; |