Playlist UI tweaks: Add (select, share, copy, steal) operations to the playlist selector (under Advanced... menu)

Use the same sorting for the menu list and playlist_selector items
Implement Copy, Share and Steal playlist actions. Need a RouteTimeAxis for this.
Rename persistent dialog buttons to make it clear you can Revert
This commit is contained in:
Ben Loftis 2020-09-11 13:10:30 -05:00
parent a51e51b4f2
commit 892d641987
5 changed files with 180 additions and 87 deletions

View file

@ -161,6 +161,8 @@ public:
void use_new_playlist (bool prompt, std::vector<boost::shared_ptr<ARDOUR::Playlist> > const&, bool copy);
void clear_playlist ();
void use_playlist (Gtk::RadioMenuItem* item, boost::weak_ptr<ARDOUR::Playlist> wpl);
/* used by EditorRoutes */
static Gtkmm2ext::ActiveState solo_active_state (boost::shared_ptr<ARDOUR::Stripable>);
static Gtkmm2ext::ActiveState solo_isolate_active_state (boost::shared_ptr<ARDOUR::Stripable>);
@ -239,9 +241,13 @@ protected:
std::string playlist_tip () const;
void build_playlist_menu ();
void use_playlist (Gtk::RadioMenuItem* item, boost::weak_ptr<ARDOUR::Playlist> wpl);
Gtk::Menu* playlist_action_menu;
void show_playlist_selector ();
void show_playlist_copy_selector ();
void show_playlist_share_selector ();
void show_playlist_steal_selector ();
Gtk::CheckMenuItem* denormal_menu_item;
static void set_showing_sends_to (boost::shared_ptr<ARDOUR::Route>);
@ -285,7 +291,6 @@ private:
void set_sends_gain_to_zero ();
void set_sends_gain_to_unity ();
void show_playlist_selector ();
void rename_current_playlist ();
void parameter_changed (std::string const&);