move metronome/click button into main transport section. icon needs some work to...
[ardour.git] / gtk2_ardour / export_dialog.h
index a720ec0b9c15d7a6d4a3613119a283dd80f6c0a4..9507d8b2d9ab11657f115c6b65670443b92848f0 100644 (file)
@@ -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<ExportPresetSelector>   preset_selector;
        boost::scoped_ptr<ExportTimespanSelector> timespan_selector;
        boost::scoped_ptr<ExportChannelSelector>  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<Gtk::SizeGroup> advanced_sizegroup;
+       Gtk::Expander * advanced;
+
        /* Warning area */
 
        Gtk::HBox           warn_hbox;
@@ -135,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;
 
 };
 
@@ -148,7 +154,7 @@ class ExportRangeDialog : public ExportDialog
   private:
        void init_components ();
 
-        std::string range_id;
+       std::string range_id;
 };
 
 class ExportSelectionDialog : public ExportDialog
@@ -165,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 ();