X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fexport_subtitles_dialog.h;h=173dd34625a2f566a090dd72353307dc6139a149;hb=d1213510dc70e579346e0c4c48a8bce9b5cd95b9;hp=ee55729f731eb9ab4787eee975c4292f8c8f249a;hpb=9f294327cb59fce307c3a439f044d79b081376b0;p=dcpomatic.git 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 #include @@ -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; };