X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fwx%2Fcontent_advanced_dialog.h;h=517ad04e538426a73eac4068ef98a0b1b495e028;hb=eb3301dbdf655a36c98f50eb9b4adcfe4d1dad0c;hp=5fec35412cecd26403427421b4088e9d5e2d0016;hpb=d3dbe752a3098328d5763f3fc0fd589bac0d5047;p=dcpomatic.git diff --git a/src/wx/content_advanced_dialog.h b/src/wx/content_advanced_dialog.h index 5fec35412..517ad04e5 100644 --- a/src/wx/content_advanced_dialog.h +++ b/src/wx/content_advanced_dialog.h @@ -19,21 +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 (); + + std::shared_ptr _content; + bool _filters_allowed = false; + std::vector _filters_list; - boost::shared_ptr _content; + wxStaticText* _filters; + wxButton* _filters_button; + wxTextCtrl* _video_frame_rate; + wxButton* _set_video_frame_rate; + CheckBox* _burnt_subtitle; + LanguageTagWidget* _burnt_subtitle_language; + CheckBox* _ignore_video; };