summaryrefslogtreecommitdiff
path: root/src/wx/subtitle_appearance_dialog.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-01-25 00:09:25 +0000
committerCarl Hetherington <cth@carlh.net>2019-01-25 00:09:25 +0000
commit4fb4b414b70cb38d405b6c3dd6c12b6a4d918d40 (patch)
tree67271034245c729c04a26d0c22d51a979af3259c /src/wx/subtitle_appearance_dialog.h
parent314cd5060da9f5a8c6894ffcde40386dfa5b0ad6 (diff)
Basic implementation of extra subtitle-scan job to run when the
subtitle appearance dialogue is opened. Fixes #1393.
Diffstat (limited to 'src/wx/subtitle_appearance_dialog.h')
-rw-r--r--src/wx/subtitle_appearance_dialog.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/wx/subtitle_appearance_dialog.h b/src/wx/subtitle_appearance_dialog.h
index d02e283d9..ed0360e4c 100644
--- a/src/wx/subtitle_appearance_dialog.h
+++ b/src/wx/subtitle_appearance_dialog.h
@@ -46,6 +46,8 @@ private:
void restore ();
wxCheckBox* set_to (wxWindow* w, int& r);
void content_change (ChangeType type);
+ void active_jobs_changed (boost::optional<std::string> last);
+ void add_colours ();
boost::weak_ptr<const Film> _film;
wxCheckBox* _force_colour;
@@ -62,11 +64,17 @@ private:
wxGridBagSizer* _table;
std::map<RGBA, RGBAColourPicker*> _pickers;
+ wxBoxSizer* _overall_sizer;
+ wxScrolled<wxPanel>* _colours_panel;
+ wxStaticText* _finding;
+ wxFlexGridSizer* _colour_table;
+
boost::shared_ptr<Content> _content;
boost::shared_ptr<TextContent> _caption;
boost::shared_ptr<FFmpegSubtitleStream> _stream;
boost::signals2::scoped_connection _content_connection;
+ boost::signals2::scoped_connection _job_manager_connection;
static int const NONE;
static int const OUTLINE;