Replace May/Done/NotDone signal sets with one signal and extend
[dcpomatic.git] / src / wx / subtitle_appearance_dialog.h
index a1a3128fef11ccc495e5f177956e0e4658fce38e..80ef584704a17e2f3453aedc3ccca6ec90e55a25 100644 (file)
@@ -36,7 +36,7 @@ class wxWidget;
 class SubtitleAppearanceDialog : public wxDialog
 {
 public:
-       SubtitleAppearanceDialog (wxWindow* parent, boost::shared_ptr<Content> content);
+       SubtitleAppearanceDialog (wxWindow* parent, boost::shared_ptr<Content> content, boost::shared_ptr<TextContent> caption);
 
        void apply ();
 
@@ -44,6 +44,7 @@ private:
        void setup_sensitivity ();
        void restore ();
        wxCheckBox* set_to (wxWindow* w, int& r);
+       void content_change (ChangeType type);
 
        wxCheckBox* _force_colour;
        wxColourPickerCtrl* _colour;
@@ -60,6 +61,7 @@ private:
        std::map<RGBA, RGBAColourPicker*> _pickers;
 
        boost::shared_ptr<Content> _content;
+       boost::shared_ptr<TextContent> _caption;
        boost::shared_ptr<FFmpegSubtitleStream> _stream;
 
        boost::signals2::scoped_connection _content_connection;