25 #include <ytkmm/box.h>
26 #include <ytkmm/button.h>
27 #include <ytkmm/scrolledwindow.h>
28 #include <ytkmm/treestore.h>
29 #include <ytkmm/treeview.h>
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;
112 Gtk::TreeModelColumn<std::string>
text;
113 Gtk::TreeModelColumn<std::string>
pgrp;
114 Gtk::TreeModelColumn<std::shared_ptr<ARDOUR::Playlist> >
playlist;
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 *)
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