X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fsubtitle_appearance_dialog.h;h=6c7e468178dc638c2fd0e742e4a4fedef5530dbf;hb=ab0e8cdcafdcb83096012380f674b8280474e851;hp=d02e283d90a8d80e06eba09e6ee1ac1919fa42e7;hpb=254b3044d72de6b033d7c584f5abd2b9aa70aad5;p=dcpomatic.git diff --git a/src/wx/subtitle_appearance_dialog.h b/src/wx/subtitle_appearance_dialog.h index d02e283d9..6c7e46817 100644 --- a/src/wx/subtitle_appearance_dialog.h +++ b/src/wx/subtitle_appearance_dialog.h @@ -33,6 +33,7 @@ class FFmpegSubtitleStream; class wxCheckBox; class wxWidget; class Film; +class Job; class SubtitleAppearanceDialog : public wxDialog { @@ -46,6 +47,8 @@ private: void restore (); wxCheckBox* set_to (wxWindow* w, int& r); void content_change (ChangeType type); + void active_jobs_changed (boost::optional last); + void add_colours (); boost::weak_ptr _film; wxCheckBox* _force_colour; @@ -55,18 +58,26 @@ private: wxCheckBox* _force_effect_colour; wxColourPickerCtrl* _effect_colour; wxCheckBox* _force_fade_in; - Timecode* _fade_in; + Timecode* _fade_in; wxCheckBox* _force_fade_out; - Timecode* _fade_out; + Timecode* _fade_out; wxSpinCtrl* _outline_width; wxGridBagSizer* _table; std::map _pickers; + wxBoxSizer* _overall_sizer; + wxScrolled* _colours_panel; + wxStaticText* _finding; + wxFlexGridSizer* _colour_table; + boost::shared_ptr _content; boost::shared_ptr _caption; boost::shared_ptr _stream; boost::signals2::scoped_connection _content_connection; + boost::signals2::scoped_connection _job_manager_connection; + + boost::weak_ptr _job; static int const NONE; static int const OUTLINE;