summaryrefslogtreecommitdiff
path: root/src/wx/subtitle_appearance_dialog.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-04-06 14:56:29 +0200
committerCarl Hetherington <cth@carlh.net>2021-04-06 19:21:57 +0200
commitbef58e97d8f3592dbe64c2b51325e0609ea09ec9 (patch)
treee0645935cfdb55582b4d1cdd5d33309b123c9fb7 /src/wx/subtitle_appearance_dialog.h
parentc1eaa1eaf2aeb5b90cdadb496129de19d3e10ccd (diff)
Tidy up and rename a tooltip to say subtitle instead of caption.
Diffstat (limited to 'src/wx/subtitle_appearance_dialog.h')
-rw-r--r--src/wx/subtitle_appearance_dialog.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/wx/subtitle_appearance_dialog.h b/src/wx/subtitle_appearance_dialog.h
index daaccf08f..2a5b98430 100644
--- a/src/wx/subtitle_appearance_dialog.h
+++ b/src/wx/subtitle_appearance_dialog.h
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2015-2018 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2015-2021 Carl Hetherington <cth@carlh.net>
This file is part of DCP-o-matic.
@@ -18,6 +18,7 @@
*/
+
#include "timecode.h"
#include "lib/change_signaller.h"
#include "lib/rgba.h"
@@ -27,6 +28,7 @@ DCPOMATIC_DISABLE_WARNINGS
DCPOMATIC_ENABLE_WARNINGS
#include <boost/signals2.hpp>
+
class wxRadioButton;
class wxColourPickerCtrl;
class wxGridBagSizer;
@@ -38,6 +40,7 @@ class wxWidget;
class Film;
class Job;
+
class SubtitleAppearanceDialog : public wxDialog
{
public:
@@ -70,11 +73,11 @@ private:
wxBoxSizer* _overall_sizer;
wxScrolled<wxPanel>* _colours_panel;
- wxStaticText* _finding;
+ wxStaticText* _finding = nullptr;
wxFlexGridSizer* _colour_table;
std::shared_ptr<Content> _content;
- std::shared_ptr<TextContent> _caption;
+ std::shared_ptr<TextContent> _text;
std::shared_ptr<FFmpegSubtitleStream> _stream;
boost::signals2::scoped_connection _content_connection;