diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-04-03 01:10:20 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-04-04 20:48:35 +0200 |
| commit | 8d9e73b753ed51067d93aa377bb24400ff22936e (patch) | |
| tree | c9db8a0ac290c9ed50c44f707f5a987dbcec64d6 /src/wx/isdcf_metadata_dialog.cc | |
| parent | ea51ac3483161343b7aefabe54420c6cb431c0fe (diff) | |
Move some ISDCF flags to the Interop/SMPTE metadata.
Diffstat (limited to 'src/wx/isdcf_metadata_dialog.cc')
| -rw-r--r-- | src/wx/isdcf_metadata_dialog.cc | 26 |
1 files changed, 1 insertions, 25 deletions
diff --git a/src/wx/isdcf_metadata_dialog.cc b/src/wx/isdcf_metadata_dialog.cc index 559047742..4faf88ee6 100644 --- a/src/wx/isdcf_metadata_dialog.cc +++ b/src/wx/isdcf_metadata_dialog.cc @@ -32,36 +32,16 @@ using std::shared_ptr; * @param dm Initial ISDCF metadata. * @param threed true if the film is in 3D. */ -ISDCFMetadataDialog::ISDCFMetadataDialog (wxWindow* parent, ISDCFMetadata dm, bool threed) +ISDCFMetadataDialog::ISDCFMetadataDialog (wxWindow* parent, ISDCFMetadata dm) : TableDialog (parent, _("ISDCF name"), 2, 1, true) { - _temp_version = add (new CheckBox(this, _("Temp version"))); - add_spacer (); - - _pre_release = add (new CheckBox(this, _("Pre-release"))); - add_spacer (); - - _red_band = add (new CheckBox(this, _("Red band"))); - add_spacer (); - add (_("Chain"), true); _chain = add (new wxTextCtrl (this, wxID_ANY)); - _two_d_version_of_three_d = add (new CheckBox(this, _("2D version of content available in 3D"))); - add_spacer (); - - if (threed) { - _two_d_version_of_three_d->Enable (false); - } - add (_("Mastered luminance (e.g. 14fl)"), true); _mastered_luminance = add (new wxTextCtrl (this, wxID_ANY)); - _temp_version->SetValue (dm.temp_version); - _pre_release->SetValue (dm.pre_release); - _red_band->SetValue (dm.red_band); _chain->SetValue (std_to_wx (dm.chain)); - _two_d_version_of_three_d->SetValue (dm.two_d_version_of_three_d); _mastered_luminance->SetValue (std_to_wx (dm.mastered_luminance)); layout (); @@ -73,11 +53,7 @@ ISDCFMetadataDialog::isdcf_metadata () const { ISDCFMetadata dm; - dm.temp_version = _temp_version->GetValue (); - dm.pre_release = _pre_release->GetValue (); - dm.red_band = _red_band->GetValue (); dm.chain = wx_to_std (_chain->GetValue ()); - dm.two_d_version_of_three_d = _two_d_version_of_three_d->GetValue (); dm.mastered_luminance = wx_to_std (_mastered_luminance->GetValue ()); return dm; |
