summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2017-02-24 13:03:24 +0100
committerRobin Gareus <robin@gareus.org>2017-02-24 16:10:14 +0100
commit9e543beb569f40edb3312c3c213d21b763b30d5a (patch)
treef8b0948675dd383a02254ace29669fd3c962ec1f /gtk2_ardour/editor.h
parent89c02f4fd7718935391b8fb292bb1b4f3034635e (diff)
Add some convenient public editor methods (for lua-bindings)
and s/get// in the old API for consistency.
Diffstat (limited to 'gtk2_ardour/editor.h')
-rw-r--r--gtk2_ardour/editor.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk2_ardour/editor.h b/gtk2_ardour/editor.h
index 01ef86874e..d21cc4e1b0 100644
--- a/gtk2_ardour/editor.h
+++ b/gtk2_ardour/editor.h
@@ -331,6 +331,7 @@ class Editor : public PublicEditor, public PBD::ScopedConnectionList, public ARD
void set_selected_mixer_strip (TimeAxisView&);
void mixer_strip_width_changed ();
void hide_track_in_display (TimeAxisView* tv, bool apply_to_selection = false);
+ void show_track_in_display (TimeAxisView* tv, bool move_into_view = false);
/* nudge is initiated by transport controls owned by ARDOUR_UI */
@@ -734,7 +735,8 @@ class Editor : public PublicEditor, public PBD::ScopedConnectionList, public ARD
void get_equivalent_regions (RegionView* rv, std::vector<RegionView*> &, PBD::PropertyID) const;
RegionSelection get_equivalent_regions (RegionSelection &, PBD::PropertyID) const;
- RegionView* get_regionview_from_region (boost::shared_ptr<ARDOUR::Region>) const;
+ RegionView* regionview_from_region (boost::shared_ptr<ARDOUR::Region>) const;
+ RouteTimeAxisView* rtav_from_route (boost::shared_ptr<ARDOUR::Route>) const;
void mapover_tracks (sigc::slot<void,RouteTimeAxisView&,uint32_t> sl, TimeAxisView*, PBD::PropertyID) const;
void mapover_tracks_with_unique_playlists (sigc::slot<void,RouteTimeAxisView&,uint32_t> sl, TimeAxisView*, PBD::PropertyID) const;