X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fexport_dialog.h;h=9507d8b2d9ab11657f115c6b65670443b92848f0;hb=f2009ea7771048a89463fea25f0bad9de1e17567;hp=412d030f964e4cfd3f4dff9fab51540e71ceaea2;hpb=db384a6f143ee878e70740c65e7c7f699e3fa076;p=ardour.git diff --git a/gtk2_ardour/export_dialog.h b/gtk2_ardour/export_dialog.h index 412d030f96..9507d8b2d9 100644 --- a/gtk2_ardour/export_dialog.h +++ b/gtk2_ardour/export_dialog.h @@ -75,6 +75,9 @@ class ExportDialog : public ArdourDialog { // Must initialize all the shared_ptrs below virtual void init_components (); + // Override if the channel selector should not be grown + virtual bool channel_selector_is_expandable() { return true; } + boost::scoped_ptr preset_selector; boost::scoped_ptr timespan_selector; boost::scoped_ptr channel_selector; @@ -90,15 +93,16 @@ class ExportDialog : public ArdourDialog { void init (); + void expanded_changed(); + void notify_errors (); void close_dialog (); void sync_with_manager (); - void update_warnings (); + void update_warnings_and_example_filename (); void show_conflicting_files (); - void export_rt (); - void export_fw (); + void do_export (); void show_progress (); gint progress_timeout (); @@ -111,6 +115,9 @@ class ExportDialog : public ArdourDialog { /*** GUI components ***/ + Glib::RefPtr advanced_sizegroup; + Gtk::Expander * advanced; + /* Warning area */ Gtk::HBox warn_hbox; @@ -127,7 +134,6 @@ class ExportDialog : public ArdourDialog { /* Progress bar */ - Gtk::Label progress_label; Gtk::ProgressBar progress_bar; sigc::connection progress_connection; @@ -136,8 +142,7 @@ class ExportDialog : public ArdourDialog { /* Buttons */ Gtk::Button * cancel_button; - Gtk::Button * rt_export_button; - Gtk::Button * fast_export_button; + Gtk::Button * export_button; }; @@ -149,7 +154,7 @@ class ExportRangeDialog : public ExportDialog private: void init_components (); - std::string range_id; + std::string range_id; }; class ExportSelectionDialog : public ExportDialog @@ -166,6 +171,9 @@ class ExportRegionDialog : public ExportDialog public: ExportRegionDialog (PublicEditor & editor, ARDOUR::AudioRegion const & region, ARDOUR::AudioTrack & track); + protected: + virtual bool channel_selector_is_expandable() { return false; } + private: void init_gui (); void init_components ();