projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Extract ublas_to_gl method.
[dcpomatic.git]
/
src
/
wx
/
metadata_dialog.h
diff --git
a/src/wx/metadata_dialog.h
b/src/wx/metadata_dialog.h
index a6f5cefda10d0449d0070450c1c052e841b433cd..29d8b39cce6f1250af7a84f6d5330c74380b8eae 100644
(file)
--- a/
src/wx/metadata_dialog.h
+++ b/
src/wx/metadata_dialog.h
@@
-23,18
+23,22
@@
#define DCPOMATIC_METADATA_DIALOG_H
#define DCPOMATIC_METADATA_DIALOG_H
+#include "editable_list.h"
#include "lib/change_signaller.h"
#include "lib/film.h"
#include "lib/change_signaller.h"
#include "lib/film.h"
-#include "lib/warnings.h"
#include "lib/weak_film.h"
#include "lib/weak_film.h"
-DCPOMATIC_DISABLE_WARNINGS
+#include <dcp/warnings.h>
+LIBDCP_DISABLE_WARNINGS
#include <wx/wx.h>
#include <wx/wx.h>
-DCPOMATIC_ENABLE_WARNINGS
+LIBDCP_ENABLE_WARNINGS
+#include <unordered_map>
class Button;
class Button;
-class
wxSpinCtrlDoubl
e;
+class
Choic
e;
class LanguageTagWidget;
class LanguageTagWidget;
+class RatingDialog;
+class wxSpinCtrlDouble;
class MetadataDialog : public wxDialog, public WeakFilm
class MetadataDialog : public wxDialog, public WeakFilm
@@
-50,6
+54,9
@@
protected:
virtual void film_changed (ChangeType type, Film::Property property);
virtual void setup_sensitivity ();
virtual void film_changed (ChangeType type, Film::Property property);
virtual void setup_sensitivity ();
+ EditableList<dcp::Rating, RatingDialog>* _ratings;
+ std::unordered_map<std::string, std::string> _rating_system_agency_to_name;
+
private:
void sign_language_video_language_changed ();
void edit_release_territory ();
private:
void sign_language_video_language_changed ();
void edit_release_territory ();
@@
-66,6
+73,8
@@
private:
void enable_chain_changed ();
void enable_luminance_changed ();
void luminance_changed ();
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
wxCheckBox* _enable_release_territory;
/** The current release territory displayed in the UI; since we can't easily convert
@@
-88,7
+97,7
@@
private:
wxCheckBox* _two_d_version_of_three_d;
wxCheckBox* _enable_luminance;
wxSpinCtrlDouble* _luminance_value;
wxCheckBox* _two_d_version_of_three_d;
wxCheckBox* _enable_luminance;
wxSpinCtrlDouble* _luminance_value;
-
wx
Choice* _luminance_unit;
+ Choice* _luminance_unit;
boost::signals2::scoped_connection _film_changed_connection;
};
boost::signals2::scoped_connection _film_changed_connection;
};