X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fexport_subtitles_dialog.h;h=db614f667b9df8241ffb240c41c2f97a8d3581e3;hb=HEAD;hp=d4405cb29957ec5683822a88dce8857c5c70d0cf;hpb=451ab9374cc32483489cdde27a9382b546cdecf5;p=dcpomatic.git diff --git a/src/wx/export_subtitles_dialog.h b/src/wx/export_subtitles_dialog.h index d4405cb29..0a3177cac 100644 --- a/src/wx/export_subtitles_dialog.h +++ b/src/wx/export_subtitles_dialog.h @@ -18,24 +18,37 @@ */ + +#include "dir_picker_ctrl.h" #include "table_dialog.h" +#include +LIBDCP_DISABLE_WARNINGS #include +LIBDCP_ENABLE_WARNINGS #include + +class CheckBox; class FilePickerCtrl; + class ExportSubtitlesDialog : public TableDialog { public: - ExportSubtitlesDialog (wxWindow* parent, std::string name); + 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; - wxCheckBox* _split_reels; + bool _interop; + CheckBox* _split_reels; + CheckBox* _include_font; + wxStaticText* _file_label; FilePickerCtrl* _file; + DirPickerCtrl* _dir; + wxStaticText* _dir_label; };