summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2017-02-23 22:31:03 +0100
committerRobin Gareus <robin@gareus.org>2017-02-23 22:32:32 +0100
commit1e4e97019da3e90f89614da51ac537ed2041bb55 (patch)
tree0f8177b0fa20002f475a614e0d907634dbd71338 /gtk2_ardour/editor.h
parent71fd94b422574d1efbcce1ab85c6ce3da22ba450 (diff)
Lua bindings to access editor selection + region selection bindings
Diffstat (limited to 'gtk2_ardour/editor.h')
-rw-r--r--gtk2_ardour/editor.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk2_ardour/editor.h b/gtk2_ardour/editor.h
index 458753d638..01ef86874e 100644
--- a/gtk2_ardour/editor.h
+++ b/gtk2_ardour/editor.h
@@ -257,6 +257,8 @@ class Editor : public PublicEditor, public PBD::ScopedConnectionList, public ARD
bool get_selection_extents (framepos_t &start, framepos_t &end) const; // the time extents of the current selection, whether Range, Region(s), Control Points, or Notes
Selection& get_cut_buffer() const { return *cut_buffer; }
+ void set_selection (std::list<Selectable*>, Selection::Operation);
+
bool extend_selection_to_track (TimeAxisView&);
void play_selection ();
@@ -732,6 +734,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;
+
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;