class FFmpegSubtitleStream;
class wxCheckBox;
class wxWidget;
+class Film;
class SubtitleAppearanceDialog : public wxDialog
{
public:
- SubtitleAppearanceDialog (wxWindow* parent, boost::shared_ptr<Content> content);
+ SubtitleAppearanceDialog (wxWindow* parent, boost::shared_ptr<const Film> film, boost::shared_ptr<Content> content, boost::shared_ptr<TextContent> caption);
void apply ();
void setup_sensitivity ();
void restore ();
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;
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;