Fix alignment.
[dcpomatic.git] / src / wx / content_advanced_dialog.h
index 79b4be85c8e53452bfcec1e201af35dcdfadb93f..84ad4afac196b896e78151a4ecbe45a033ac53fc 100644 (file)
 */
 
 
-#include "table_dialog.h"
-#include <boost/shared_ptr.hpp>
+#include "lib/warnings.h"
+DCPOMATIC_DISABLE_WARNINGS
+#include <wx/wx.h>
+DCPOMATIC_ENABLE_WARNINGS
+#include <memory>
+#include <vector>
 
 
 class Content;
+class Filter;
+class LanguageTagWidget;
 
 
-class ContentAdvancedDialog : public TableDialog
+class ContentAdvancedDialog : public wxDialog
 {
 public:
-       ContentAdvancedDialog (wxWindow* parent, boost::shared_ptr<Content> content);
+       ContentAdvancedDialog (wxWindow* parent, std::shared_ptr<Content> content);
 
 private:
        void ignore_video_changed (wxCommandEvent& ev);
-
-       boost::shared_ptr<Content> _content;
+       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;
+
+       wxStaticText* _filters;
+       wxButton* _filters_button;
+       wxTextCtrl* _video_frame_rate;
+       wxButton* _set_video_frame_rate;
+       wxCheckBox* _burnt_subtitle;
+       LanguageTagWidget* _burnt_subtitle_language;
 };