X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fcontent_advanced_dialog.h;h=517ad04e538426a73eac4068ef98a0b1b495e028;hb=e7d8a70a16f972de2861bb1464dec6df3d26c579;hp=ba5d0c6fd02fda64765d6badc85fae4dc39e0614;hpb=76fa6543691330bcbf911ab77b2e1133fb70ada7;p=dcpomatic.git diff --git a/src/wx/content_advanced_dialog.h b/src/wx/content_advanced_dialog.h index ba5d0c6fd..517ad04e5 100644 --- a/src/wx/content_advanced_dialog.h +++ b/src/wx/content_advanced_dialog.h @@ -19,29 +19,55 @@ */ +#include +#include +LIBDCP_DISABLE_WARNINGS #include -#include +LIBDCP_ENABLE_WARNINGS +#include +#include #include +class CheckBox; class Content; class Filter; +class LanguageTagWidget; class ContentAdvancedDialog : public wxDialog { public: - ContentAdvancedDialog (wxWindow* parent, boost::shared_ptr content); + ContentAdvancedDialog (wxWindow* parent, std::shared_ptr content); + + bool ignore_video() const; + + std::vector filters() { + return _filters_list; + } + + boost::optional video_frame_rate() const; + boost::optional burnt_subtitle_language() const; private: - void ignore_video_changed (wxCommandEvent& ev); void edit_filters (); void filters_changed (std::vector filters); void setup_filters (); + void set_video_frame_rate (); + void video_frame_rate_changed (); + void setup_sensitivity (); + void burnt_subtitle_changed (); - boost::shared_ptr _content; + std::shared_ptr _content; + bool _filters_allowed = false; + std::vector _filters_list; wxStaticText* _filters; wxButton* _filters_button; + wxTextCtrl* _video_frame_rate; + wxButton* _set_video_frame_rate; + CheckBox* _burnt_subtitle; + LanguageTagWidget* _burnt_subtitle_language; + CheckBox* _ignore_video; };