mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
Unify Region Drag/Drop
Identify Regions using PDB::ID. This allows dragging regions from almost anywhere to anywhere, without special cases.
This commit is contained in:
parent
5427cec821
commit
0204ea1f24
13 changed files with 64 additions and 118 deletions
|
|
@ -226,8 +226,6 @@ public:
|
|||
void hide_a_region (boost::shared_ptr<ARDOUR::Region>);
|
||||
void show_a_region (boost::shared_ptr<ARDOUR::Region>);
|
||||
|
||||
boost::shared_ptr<ARDOUR::Region> get_dragged_region_from_sidebar ();
|
||||
|
||||
#ifdef USE_RUBBERBAND
|
||||
std::vector<std::string> rb_opt_strings;
|
||||
int rb_current_opt;
|
||||
|
|
@ -2123,16 +2121,7 @@ private:
|
|||
gint y,
|
||||
const Gtk::SelectionData& data,
|
||||
guint info,
|
||||
guint time,
|
||||
bool from_region_list);
|
||||
|
||||
void drop_routes (
|
||||
const Glib::RefPtr<Gdk::DragContext>& context,
|
||||
gint x,
|
||||
gint y,
|
||||
const Gtk::SelectionData& data,
|
||||
guint info,
|
||||
guint time);
|
||||
guint time);
|
||||
|
||||
/* audio export */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue