X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fcontent_advanced_dialog.h;h=26c1a374afc2dab02ea7487faf0a0eb77bf30f78;hb=8df0d52eb09043ac9f156f2886123a4888911d57;hp=b8c12d7b2aa36615f14ac564f9d1311c391ddb5e;hpb=2da4caba7871455c097c0ed940dd6f2332dbda5d;p=dcpomatic.git diff --git a/src/wx/content_advanced_dialog.h b/src/wx/content_advanced_dialog.h index b8c12d7b2..26c1a374a 100644 --- a/src/wx/content_advanced_dialog.h +++ b/src/wx/content_advanced_dialog.h @@ -19,32 +19,49 @@ */ -#include "lib/warnings.h" -DCPOMATIC_DISABLE_WARNINGS +#include +LIBDCP_DISABLE_WARNINGS #include -DCPOMATIC_ENABLE_WARNINGS -#include +LIBDCP_ENABLE_WARNINGS +#include #include 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; + } 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 (); + void burnt_subtitle_language_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; + wxCheckBox* _burnt_subtitle; + LanguageTagWidget* _burnt_subtitle_language; + wxCheckBox* _ignore_video; };