diff options
author | Robin Gareus <robin@gareus.org> | 2017-02-24 13:03:24 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-02-24 16:10:14 +0100 |
commit | 9e543beb569f40edb3312c3c213d21b763b30d5a (patch) | |
tree | f8b0948675dd383a02254ace29669fd3c962ec1f /gtk2_ardour/public_editor.h | |
parent | 89c02f4fd7718935391b8fb292bb1b4f3034635e (diff) |
Add some convenient public editor methods (for lua-bindings)
and s/get// in the old API for consistency.
Diffstat (limited to 'gtk2_ardour/public_editor.h')
-rw-r--r-- | gtk2_ardour/public_editor.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk2_ardour/public_editor.h b/gtk2_ardour/public_editor.h index 62cb9f2bcb..a9c4f53169 100644 --- a/gtk2_ardour/public_editor.h +++ b/gtk2_ardour/public_editor.h @@ -286,6 +286,7 @@ class PublicEditor : public Gtkmm2ext::Tabbable { virtual void set_selected_track (TimeAxisView&, Selection::Operation op = Selection::Set, bool no_remove = false) = 0; virtual void set_selected_mixer_strip (TimeAxisView&) = 0; virtual void hide_track_in_display (TimeAxisView* tv, bool apply_to_selection = false) = 0; + virtual void show_track_in_display (TimeAxisView* tv, bool move_into_view = false) = 0; virtual void set_stationary_playhead (bool yn) = 0; virtual void toggle_stationary_playhead () = 0; @@ -352,7 +353,8 @@ class PublicEditor : public Gtkmm2ext::Tabbable { virtual RouteTimeAxisView* get_route_view_by_route_id (const PBD::ID& id) const = 0; virtual void get_equivalent_regions (RegionView* rv, std::vector<RegionView*>&, PBD::PropertyID) const = 0; - virtual RegionView* get_regionview_from_region (boost::shared_ptr<ARDOUR::Region>) const = 0; + virtual RegionView* regionview_from_region (boost::shared_ptr<ARDOUR::Region>) const = 0; + virtual RouteTimeAxisView* rtav_from_route (boost::shared_ptr<ARDOUR::Route>) const = 0; sigc::signal<void> ZoomChanged; sigc::signal<void> Realized; |