diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-08-28 22:48:28 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-08-28 22:56:42 +0200 |
| commit | 0bbbe85d4a206900b19bc7849a45f63cd8858e89 (patch) | |
| tree | fb56856cf5104a2887b719af23fdc1979fe32006 /src/wx/metadata_dialog.h | |
| parent | 5c86ef0c95903d64cefe93940534c3672cdce68d (diff) | |
Use the same code for both Interop and SMPTE ratings controls.
Diffstat (limited to 'src/wx/metadata_dialog.h')
| -rw-r--r-- | src/wx/metadata_dialog.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/wx/metadata_dialog.h b/src/wx/metadata_dialog.h index 8a0ff9f44..591ef3db4 100644 --- a/src/wx/metadata_dialog.h +++ b/src/wx/metadata_dialog.h @@ -23,6 +23,7 @@ #define DCPOMATIC_METADATA_DIALOG_H +#include "editable_list.h" #include "lib/change_signaller.h" #include "lib/film.h" #include "lib/weak_film.h" @@ -33,6 +34,7 @@ LIBDCP_ENABLE_WARNINGS class Button; +class RatingDialog; class wxSpinCtrlDouble; class LanguageTagWidget; @@ -50,6 +52,8 @@ protected: virtual void film_changed (ChangeType type, Film::Property property); virtual void setup_sensitivity (); + EditableList<dcp::Rating, RatingDialog>* _ratings; + private: void sign_language_video_language_changed (); void edit_release_territory (); @@ -66,6 +70,8 @@ private: void enable_chain_changed (); void enable_luminance_changed (); void luminance_changed (); + std::vector<dcp::Rating> ratings () const; + void set_ratings (std::vector<dcp::Rating> r); wxCheckBox* _enable_release_territory; /** The current release territory displayed in the UI; since we can't easily convert |
