summaryrefslogtreecommitdiff
path: root/src/wx/subtitle_appearance_dialog.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-11-21 01:59:04 +0000
committerCarl Hetherington <cth@carlh.net>2018-11-21 01:59:04 +0000
commit254b3044d72de6b033d7c584f5abd2b9aa70aad5 (patch)
tree8a5c83c1b2dea690672663dedb2f3aa50f4473dc /src/wx/subtitle_appearance_dialog.h
parentc31b9542c58ae1cbfae7ec3ba4911359fd010ba2 (diff)
Take Film pointer out of Content.
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;