X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Fwx%2Fsubtitle_appearance_dialog.h;h=b0dd8d30723775a852eb66234e7f25968c382e28;hp=d02e283d90a8d80e06eba09e6ee1ac1919fa42e7;hb=c622a06189181a3a6ad356094c9a3cf4e1f5a722;hpb=254b3044d72de6b033d7c584f5abd2b9aa70aad5 diff --git a/src/wx/subtitle_appearance_dialog.h b/src/wx/subtitle_appearance_dialog.h index d02e283d9..b0dd8d307 100644 --- a/src/wx/subtitle_appearance_dialog.h +++ b/src/wx/subtitle_appearance_dialog.h @@ -20,7 +20,10 @@ #include "timecode.h" #include "lib/rgba.h" +#include "lib/warnings.h" +DCPOMATIC_DISABLE_WARNINGS #include +DCPOMATIC_ENABLE_WARNINGS #include #include @@ -33,6 +36,7 @@ class FFmpegSubtitleStream; class wxCheckBox; class wxWidget; class Film; +class Job; class SubtitleAppearanceDialog : public wxDialog { @@ -46,6 +50,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 +61,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;