47 bool operator() (std::shared_ptr<ARDOUR::Playlist> a, std::shared_ptr<ARDOUR::Playlist> b)
const {
48 if (a->pgroup_id().length() && b->pgroup_id().length()) {
49 return (a->id() < b->id());
50 }
else if (!a->pgroup_id().length() && !b->pgroup_id().length()) {
51 return (a->sort_id() < b->sort_id());
53 return (a->pgroup_id().length() < b->pgroup_id().length());
78 typedef std::map<PBD::ID, std::vector<std::shared_ptr<ARDOUR::Playlist> >*>
TrackPlaylistMap;
void add(TreeModelColumnBase &column)
Glib::RefPtr< Gtk::TreeStore > model
TrackPlaylistMap _trpl_map
void prepare(RouteUI *, plMode in)
void new_plist_button_clicked()
void copy_plist_button_clicked()
PBD::ScopedConnectionList _playlist_connections
ArdourWidgets::ArdourButton _btn_new_plist
Gtk::HBox _scope_container
bool on_key_press_event(GdkEventKey *)
This is a default handler for the signal signal_key_press_event().
PBD::ScopedConnectionList _track_connections
std::map< PBD::ID, std::vector< std::shared_ptr< ARDOUR::Playlist > > * > TrackPlaylistMap
void add_playlist_to_map(std::shared_ptr< ARDOUR::Playlist >)
Gtk::RadioButton * _scope_all_radio
Gtk::RadioButton * _scope_grp_radio
Gtk::RadioButton * _scope_rec_radio
void pl_property_changed(PBD::PropertyChange const &what_changed)
ArdourWidgets::ArdourButton _btn_copy_plist
Gtk::TreeModelColumn< std::string > text
Gtk::TreeModelColumn< std::string > pgrp
Gtk::TreeModelColumn< std::shared_ptr< ARDOUR::Playlist > > playlist
bool operator()(std::shared_ptr< ARDOUR::Playlist > a, std::shared_ptr< ARDOUR::Playlist > b) const