Various timing hacks and development.
[dcpomatic.git] / src / wx / subtitle_appearance_dialog.h
index ed0360e4c281ba95c021cfbee731e1ef75b0fce1..6c7e468178dc638c2fd0e742e4a4fedef5530dbf 100644 (file)
@@ -33,6 +33,7 @@ class FFmpegSubtitleStream;
 class wxCheckBox;
 class wxWidget;
 class Film;
+class Job;
 
 class SubtitleAppearanceDialog : public wxDialog
 {
@@ -57,9 +58,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 +77,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;