summaryrefslogtreecommitdiff
path: root/src/wx/cinema_dialog.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-04-24 01:49:09 +0200
committerCarl Hetherington <cth@carlh.net>2024-04-24 19:12:36 +0200
commit401da185ca664fc8d819fc842ffc08e14d4f6486 (patch)
tree5c2ea2d1a7b1b537c04e7e9b3d32c8a44080f168 /src/wx/cinema_dialog.h
parentdbcd1675732d59f6337f7f60d0a39aaa6a1aa3a6 (diff)
Restore time zone to Cinema and improve UI to use it (#2473).
Diffstat (limited to 'src/wx/cinema_dialog.h')
-rw-r--r--src/wx/cinema_dialog.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/wx/cinema_dialog.h b/src/wx/cinema_dialog.h
index cd90f6dea..873657772 100644
--- a/src/wx/cinema_dialog.h
+++ b/src/wx/cinema_dialog.h
@@ -30,6 +30,9 @@ LIBDCP_ENABLE_WARNINGS
#include <vector>
+class Choice;
+
+
class CinemaDialog : public wxDialog
{
public:
@@ -38,12 +41,14 @@ public:
wxString,
std::string name = "",
std::vector<std::string> emails = std::vector<std::string>(),
- std::string notes = ""
+ std::string notes = "",
+ dcp::UTCOffset = {}
);
std::string name () const;
std::string notes () const;
std::vector<std::string> emails () const;
+ dcp::UTCOffset utc_offset() const;
private:
void set_emails (std::vector<std::string>);
@@ -52,4 +57,6 @@ private:
wxTextCtrl* _notes;
EditableList<std::string, EmailDialog>* _email_list;
std::vector<std::string> _emails;
+ Choice* _utc_offset;
+ std::vector<Offset> _offsets;
};