summaryrefslogtreecommitdiff
path: root/src/wx/export_subtitles_dialog.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-08-25 22:51:47 +0200
committerCarl Hetherington <cth@carlh.net>2020-08-25 22:51:47 +0200
commita0873f70fbc95cc45106c61e9b3c5dfda3b946f9 (patch)
tree288cccafbf71af879aa6963fc0e0729832d89749 /src/wx/export_subtitles_dialog.h
parent9f294327cb59fce307c3a439f044d79b081376b0 (diff)
Try to clean up the mess of exporting subtitles when there is
one file vs many files (multiple reels or fonts).
Diffstat (limited to 'src/wx/export_subtitles_dialog.h')
-rw-r--r--src/wx/export_subtitles_dialog.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/wx/export_subtitles_dialog.h b/src/wx/export_subtitles_dialog.h
index ee55729f7..173dd3462 100644
--- a/src/wx/export_subtitles_dialog.h
+++ b/src/wx/export_subtitles_dialog.h
@@ -18,6 +18,7 @@
*/
+#include "dir_picker_ctrl.h"
#include "table_dialog.h"
#include <wx/wx.h>
#include <boost/filesystem.hpp>
@@ -27,17 +28,20 @@ class FilePickerCtrl;
class ExportSubtitlesDialog : public TableDialog
{
public:
- ExportSubtitlesDialog (wxWindow* parent, std::string name, bool interop);
+ ExportSubtitlesDialog (wxWindow* parent, int reels, bool interop);
boost::filesystem::path path () const;
bool split_reels () const;
bool include_font () const;
private:
- void file_changed ();
+ void setup_sensitivity ();
- std::string _initial_name;
+ bool _interop;
wxCheckBox* _split_reels;
wxCheckBox* _include_font;
+ wxStaticText* _file_label;
FilePickerCtrl* _file;
+ DirPickerCtrl* _dir;
+ wxStaticText* _dir_label;
};