X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fexport_channel_selector.h;h=d5607ef30b6567ac8904c8a2ac8e3b8258021f48;hb=dde13d288e22ba5dd8e23802c47fac288b089c57;hp=bc165273c73f1b66e81d32a6303253bae6348e68;hpb=302b08c0592a6b7c40dec8c04f52c346e14b17af;p=ardour.git diff --git a/gtk2_ardour/export_channel_selector.h b/gtk2_ardour/export_channel_selector.h index bc165273c7..d5607ef30b 100644 --- a/gtk2_ardour/export_channel_selector.h +++ b/gtk2_ardour/export_channel_selector.h @@ -126,7 +126,7 @@ class PortExportChannelSelector : public ExportChannelSelector typedef Gtk::TreeModelColumn > ComboCol; ComboCol port_list_col; - /* Channel struct, that represents the selected port and it's name */ + /* Channel struct, that represents the selected port and its name */ struct Channel { public: @@ -236,12 +236,13 @@ class TrackExportChannelSelector : public ExportChannelSelector virtual void sync_with_manager (); + bool track_output () const { return track_output_button.get_active(); } + private: void fill_list(); void add_track (boost::shared_ptr route); void update_config(); - ChannelConfigList configs; Gtk::VBox main_layout; @@ -252,8 +253,9 @@ class TrackExportChannelSelector : public ExportChannelSelector Gtk::TreeModelColumn > route; Gtk::TreeModelColumn label; Gtk::TreeModelColumn selected; + Gtk::TreeModelColumn order_key; - TrackCols () { add (route); add(label); add(selected); } + TrackCols () { add (route); add(label); add(selected); add(order_key); } }; TrackCols track_cols; @@ -263,9 +265,15 @@ class TrackExportChannelSelector : public ExportChannelSelector Gtk::ScrolledWindow track_scroller; Gtk::HBox options_box; - Gtk::RadioButton::Group source_group; - Gtk::RadioButton region_contents_button; - Gtk::RadioButton track_output_button; + Gtk::CheckButton track_output_button; + Gtk::Button select_tracks_button; + Gtk::Button select_busses_button; + Gtk::Button select_none_button; + void select_tracks (); + void select_busses (); + void select_none (); + + void track_outputs_selected (); }; #endif /* __export_channel_selector_h__ */