X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fexport_subtitles_dialog.h;h=db614f667b9df8241ffb240c41c2f97a8d3581e3;hb=cb216e27231bc618604ec041bab912191dcc668e;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..db614f667 100644 --- a/src/wx/export_subtitles_dialog.h +++ b/src/wx/export_subtitles_dialog.h @@ -18,26 +18,36 @@ */ + +#include "dir_picker_ctrl.h" #include "table_dialog.h" +#include +LIBDCP_DISABLE_WARNINGS #include +LIBDCP_ENABLE_WARNINGS #include + 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; };