diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-03-23 00:50:11 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-03-31 22:48:53 +0200 |
| commit | e0a70cd5cfb11fc2de167f3146acdd437a6faa82 (patch) | |
| tree | 022ceef78d7daa12bccf519ebab0db5e23a3feb6 /src/wx/interop_metadata_dialog.h | |
| parent | 8640da877450479a85c73b2a921897d83b478c84 (diff) | |
Put subtitle language back into content from the film (#1930).
This also adds the main/additional language flag.
Of all the considerations about how to specify subtitle language,
the most important seems to be that the language specification happens
for the content where the language is; i.e. in the content text tab.
Diffstat (limited to 'src/wx/interop_metadata_dialog.h')
| -rw-r--r-- | src/wx/interop_metadata_dialog.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/wx/interop_metadata_dialog.h b/src/wx/interop_metadata_dialog.h index 6e4eea40e..b8a1a36e6 100644 --- a/src/wx/interop_metadata_dialog.h +++ b/src/wx/interop_metadata_dialog.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2020 Carl Hetherington <cth@carlh.net> + Copyright (C) 2020-2021 Carl Hetherington <cth@carlh.net> This file is part of DCP-o-matic. @@ -18,12 +18,14 @@ */ + #include "editable_list.h" #include <dcp/language_tag.h> #include <dcp/types.h> #include <wx/wx.h> #include <vector> + class Film; class LanguageTagWidget; class RatingDialog; @@ -38,12 +40,8 @@ private: std::vector<dcp::Rating> ratings () const; void set_ratings (std::vector<dcp::Rating> r); void content_version_changed (); - void setup_sensitivity (); - void subtitle_language_changed (dcp::LanguageTag tag); std::weak_ptr<Film> _film; - wxCheckBox* _enable_subtitle_language; - LanguageTagWidget* _subtitle_language; EditableList<dcp::Rating, RatingDialog>* _ratings; wxTextCtrl* _content_version; }; |
