summaryrefslogtreecommitdiff
path: root/gtk2_ardour/export_dialog.h
diff options
context:
space:
mode:
authorSakari Bergen <sakari.bergen@beatwaves.net>2012-01-31 20:42:08 +0000
committerSakari Bergen <sakari.bergen@beatwaves.net>2012-01-31 20:42:08 +0000
commit8b1e5eca1d5a63baddec3abd38740aefecfaf419 (patch)
tree230f5c90ece82015c10fdc692b4b85f2e96aa6f7 /gtk2_ardour/export_dialog.h
parent3b5787c4617107cd7e5854877408f229e06dce25 (diff)
Improve usage of expanded window space in the export dialog + put the "advanced" stuff in a Gtk::VPaned
git-svn-id: svn://localhost/ardour2/branches/3.0@11400 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/export_dialog.h')
-rw-r--r--gtk2_ardour/export_dialog.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/gtk2_ardour/export_dialog.h b/gtk2_ardour/export_dialog.h
index ee0f7ce269..73d11ecffd 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<ExportPresetSelector> preset_selector;
boost::scoped_ptr<ExportTimespanSelector> timespan_selector;
boost::scoped_ptr<ExportChannelSelector> channel_selector;
@@ -148,7 +151,7 @@ class ExportRangeDialog : public ExportDialog
private:
void init_components ();
- std::string range_id;
+ std::string range_id;
};
class ExportSelectionDialog : public ExportDialog
@@ -165,6 +168,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 ();