diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-11-18 01:06:49 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-11-20 22:57:59 +0100 |
| commit | e519feaca11005d330e7b8403b948d4ad9cc3ae8 (patch) | |
| tree | 5c43aba1dd590d1abad189ac7f39b5d4ecbb1f5e /src/wx/interop_metadata_dialog.h | |
| parent | 556dd9cc254bf3ef18c41fcfe5948484c91cc440 (diff) | |
Store subtitle language(s) in Film, and allow setup of those
languages from the Interop/SMPTE metadata dialogues.
Diffstat (limited to 'src/wx/interop_metadata_dialog.h')
| -rw-r--r-- | src/wx/interop_metadata_dialog.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/wx/interop_metadata_dialog.h b/src/wx/interop_metadata_dialog.h index 43d028eab..189e28e2b 100644 --- a/src/wx/interop_metadata_dialog.h +++ b/src/wx/interop_metadata_dialog.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2019 Carl Hetherington <cth@carlh.net> + Copyright (C) 2020 Carl Hetherington <cth@carlh.net> This file is part of DCP-o-matic. @@ -19,6 +19,7 @@ */ #include "editable_list.h" +#include <dcp/language_tag.h> #include <dcp/types.h> #include <wx/wx.h> #include <boost/shared_ptr.hpp> @@ -26,8 +27,10 @@ #include <vector> class Film; +class LanguageTagWidget; class RatingDialog; + class InteropMetadataDialog : public wxDialog { public: @@ -37,8 +40,12 @@ 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); boost::weak_ptr<Film> _film; + wxCheckBox* _enable_subtitle_language; + LanguageTagWidget* _subtitle_language; EditableList<dcp::Rating, RatingDialog>* _ratings; wxTextCtrl* _content_version; }; |
