summaryrefslogtreecommitdiff
path: root/src/wx/subtitle_appearance_dialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx/subtitle_appearance_dialog.h')
-rw-r--r--src/wx/subtitle_appearance_dialog.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/wx/subtitle_appearance_dialog.h b/src/wx/subtitle_appearance_dialog.h
index 80ef58470..d02e283d9 100644
--- a/src/wx/subtitle_appearance_dialog.h
+++ b/src/wx/subtitle_appearance_dialog.h
@@ -32,11 +32,12 @@ class RGBAColourPicker;
class FFmpegSubtitleStream;
class wxCheckBox;
class wxWidget;
+class Film;
class SubtitleAppearanceDialog : public wxDialog
{
public:
- SubtitleAppearanceDialog (wxWindow* parent, boost::shared_ptr<Content> content, boost::shared_ptr<TextContent> caption);
+ SubtitleAppearanceDialog (wxWindow* parent, boost::shared_ptr<const Film> film, boost::shared_ptr<Content> content, boost::shared_ptr<TextContent> caption);
void apply ();
@@ -46,6 +47,7 @@ private:
wxCheckBox* set_to (wxWindow* w, int& r);
void content_change (ChangeType type);
+ boost::weak_ptr<const Film> _film;
wxCheckBox* _force_colour;
wxColourPickerCtrl* _colour;
wxCheckBox* _force_effect;