Store subtitle language(s) in Film, and allow setup of those
[dcpomatic.git] / src / wx / subtitle_appearance_dialog.h
index ed0360e4c281ba95c021cfbee731e1ef75b0fce1..b0dd8d30723775a852eb66234e7f25968c382e28 100644 (file)
 
 #include "timecode.h"
 #include "lib/rgba.h"
+#include "lib/warnings.h"
+DCPOMATIC_DISABLE_WARNINGS
 #include <wx/wx.h>
+DCPOMATIC_ENABLE_WARNINGS
 #include <boost/shared_ptr.hpp>
 #include <boost/signals2.hpp>
 
@@ -33,6 +36,7 @@ class FFmpegSubtitleStream;
 class wxCheckBox;
 class wxWidget;
 class Film;
+class Job;
 
 class SubtitleAppearanceDialog : public wxDialog
 {
@@ -57,9 +61,9 @@ private:
        wxCheckBox* _force_effect_colour;
        wxColourPickerCtrl* _effect_colour;
        wxCheckBox* _force_fade_in;
-       Timecode<ContentTime>* _fade_in;
+       Timecode<dcpomatic::ContentTime>* _fade_in;
        wxCheckBox* _force_fade_out;
-       Timecode<ContentTime>* _fade_out;
+       Timecode<dcpomatic::ContentTime>* _fade_out;
        wxSpinCtrl* _outline_width;
        wxGridBagSizer* _table;
        std::map<RGBA, RGBAColourPicker*> _pickers;
@@ -76,6 +80,8 @@ private:
        boost::signals2::scoped_connection _content_connection;
        boost::signals2::scoped_connection _job_manager_connection;
 
+       boost::weak_ptr<Job> _job;
+
        static int const NONE;
        static int const OUTLINE;
        static int const SHADOW;