X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fsubtitle_appearance_dialog.h;h=0b3c661326c95feb81b9800f643b6f9c8e35b508;hb=b7e546d9685c0a3304faa48e95516915d811ec5c;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..0b3c66132 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; @@ -62,11 +65,19 @@ private: 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;