summaryrefslogtreecommitdiff
path: root/src/wx
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-09-10 02:39:34 +0100
committerCarl Hetherington <cth@carlh.net>2018-09-10 02:39:34 +0100
commit14f5424e2bd0f933965901f18b5b1673993e0045 (patch)
treec842c467325ed542c343257265671a964e49dfa1 /src/wx
parent895f945a6bababdf1964b0522d591db96368db22 (diff)
Basics of export of multiple reels to multiple files.
Diffstat (limited to 'src/wx')
-rw-r--r--src/wx/export_dialog.cc9
-rw-r--r--src/wx/export_dialog.h2
2 files changed, 11 insertions, 0 deletions
diff --git a/src/wx/export_dialog.cc b/src/wx/export_dialog.cc
index f75150e45..3c08da1b7 100644
--- a/src/wx/export_dialog.cc
+++ b/src/wx/export_dialog.cc
@@ -57,6 +57,9 @@ ExportDialog::ExportDialog (wxWindow* parent)
add_spacer ();
_mixdown = new wxCheckBox (this, wxID_ANY, _("Mix audio down to stereo"));
add (_mixdown, false);
+ add_spacer ();
+ _split_reels = new wxCheckBox (this, wxID_ANY, _("Write reels into separate files"));
+ add (_split_reels, false);
_x264_crf_label[0] = add (_("Quality"), true);
_x264_crf = new wxSlider (this, wxID_ANY, 23, 0, 51, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL | wxSL_LABELS);
add (_x264_crf, false);
@@ -123,6 +126,12 @@ ExportDialog::mixdown_to_stereo () const
return _mixdown->GetValue ();
}
+bool
+ExportDialog::split_reels () const
+{
+ return _split_reels->GetValue ();
+}
+
int
ExportDialog::x264_crf () const
{
diff --git a/src/wx/export_dialog.h b/src/wx/export_dialog.h
index d6e3bdbb6..509cd60e9 100644
--- a/src/wx/export_dialog.h
+++ b/src/wx/export_dialog.h
@@ -33,6 +33,7 @@ public:
boost::filesystem::path path () const;
ExportFormat format () const;
bool mixdown_to_stereo () const;
+ bool split_reels () const;
int x264_crf () const;
private:
@@ -41,6 +42,7 @@ private:
wxChoice* _format;
wxCheckBox* _mixdown;
+ wxCheckBox* _split_reels;
wxSlider* _x264_crf;
wxStaticText* _x264_crf_label[2];
FilePickerCtrl* _file;