Make ignore video option respect OK/Cancel.
[dcpomatic.git] / src / wx / content_advanced_dialog.h
index 6eaaa2e2da0dc7efc2fd5e83b9b09bf79681ff25..b765fa9fbef3d524b0d6c9145d67e6c9ceaca4c9 100644 (file)
 */
 
 
-#include "lib/warnings.h"
-DCPOMATIC_DISABLE_WARNINGS
+#include <dcp/warnings.h>
+LIBDCP_DISABLE_WARNINGS
 #include <wx/wx.h>
-DCPOMATIC_ENABLE_WARNINGS
+LIBDCP_ENABLE_WARNINGS
 #include <memory>
 #include <vector>
 
 
 class Content;
 class Filter;
+class LanguageTagWidget;
 
 
 class ContentAdvancedDialog : public wxDialog
@@ -36,13 +37,17 @@ class ContentAdvancedDialog : public wxDialog
 public:
        ContentAdvancedDialog (wxWindow* parent, std::shared_ptr<Content> content);
 
+       bool ignore_video() const;
+
 private:
-       void ignore_video_changed (wxCommandEvent& ev);
        void edit_filters ();
        void filters_changed (std::vector<Filter const *> filters);
        void setup_filters ();
        void set_video_frame_rate ();
        void video_frame_rate_changed ();
+       void setup_sensitivity ();
+       void burnt_subtitle_changed ();
+       void burnt_subtitle_language_changed ();
 
        std::shared_ptr<Content> _content;
 
@@ -50,5 +55,8 @@ private:
        wxButton* _filters_button;
        wxTextCtrl* _video_frame_rate;
        wxButton* _set_video_frame_rate;
+       wxCheckBox* _burnt_subtitle;
+       LanguageTagWidget* _burnt_subtitle_language;
+       wxCheckBox* _ignore_video;
 };