Preserve export video settings in the config (#2259).
[dcpomatic.git] / src / wx / metadata_dialog.h
index 3ac5d10a3935bd721eb3ce87b8a93b79df330404..8a0ff9f440583dc134a581f511117c981d1e5af1 100644 (file)
 
 #include "lib/change_signaller.h"
 #include "lib/film.h"
-#include "lib/warnings.h"
 #include "lib/weak_film.h"
-DCPOMATIC_DISABLE_WARNINGS
+#include <dcp/warnings.h>
+LIBDCP_DISABLE_WARNINGS
 #include <wx/wx.h>
-DCPOMATIC_ENABLE_WARNINGS
+LIBDCP_ENABLE_WARNINGS
 
 
 class Button;
+class wxSpinCtrlDouble;
+class LanguageTagWidget;
 
 
 class MetadataDialog : public wxDialog, public WeakFilm
@@ -49,6 +51,7 @@ protected:
        virtual void setup_sensitivity ();
 
 private:
+       void sign_language_video_language_changed ();
        void edit_release_territory ();
        void enable_release_territory_changed ();
        void facility_changed ();
@@ -61,6 +64,8 @@ private:
        void two_d_version_of_three_d_changed ();
        void chain_changed ();
        void enable_chain_changed ();
+       void enable_luminance_changed ();
+       void luminance_changed ();
 
        wxCheckBox* _enable_release_territory;
        /** The current release territory displayed in the UI; since we can't easily convert
@@ -70,6 +75,7 @@ private:
        boost::optional<dcp::LanguageTag::RegionSubtag> _release_territory;
        wxStaticText* _release_territory_text;
        Button* _edit_release_territory;
+       LanguageTagWidget* _sign_language_video_language = nullptr;
        wxCheckBox* _enable_facility;
        wxTextCtrl* _facility;
        wxCheckBox* _enable_chain;
@@ -80,6 +86,9 @@ private:
        wxCheckBox* _pre_release;
        wxCheckBox* _red_band;
        wxCheckBox* _two_d_version_of_three_d;
+       wxCheckBox* _enable_luminance;
+       wxSpinCtrlDouble* _luminance_value;
+       wxChoice* _luminance_unit;
 
        boost::signals2::scoped_connection _film_changed_connection;
 };