summaryrefslogtreecommitdiff
path: root/src/wx/dcp_panel.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-03-15 00:52:56 +0000
committerCarl Hetherington <cth@carlh.net>2019-05-10 23:43:42 +0100
commit8c365af343a15bee11af53fc6bc16487b83260d1 (patch)
tree452bee816404f09a3bd0defa2e1a6564059240a2 /src/wx/dcp_panel.h
parenta9ce4f64658979bc15c301b53c76846072fda0ef (diff)
Basics of setting and storing SMPTE CPL markers.
Diffstat (limited to 'src/wx/dcp_panel.h')
-rw-r--r--src/wx/dcp_panel.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/wx/dcp_panel.h b/src/wx/dcp_panel.h
index c43311429..27049962c 100644
--- a/src/wx/dcp_panel.h
+++ b/src/wx/dcp_panel.h
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2012-2018 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2012-2019 Carl Hetherington <cth@carlh.net>
This file is part of DCP-o-matic.
@@ -35,13 +35,15 @@ class wxSizer;
class wxGridBagSizer;
class AudioDialog;
+class MarkersDialog;
class Film;
+class FilmViewer;
class Ratio;
class DCPPanel : public boost::noncopyable
{
public:
- DCPPanel (wxNotebook *, boost::shared_ptr<Film>);
+ DCPPanel (wxNotebook *, boost::shared_ptr<Film>, boost::weak_ptr<FilmViewer> viewer);
void set_film (boost::shared_ptr<Film>);
void set_general_sensitivity (bool);
@@ -77,6 +79,7 @@ private:
void reel_type_changed ();
void reel_length_changed ();
void upload_after_make_dcp_changed ();
+ void markers_clicked ();
void reencode_j2k_changed ();
void setup_frame_rate_widget ();
@@ -144,9 +147,12 @@ private:
wxStaticText* _reel_length_gb_label;
wxSpinCtrl* _reel_length;
wxCheckBox* _upload_after_make_dcp;
+ wxButton* _markers;
AudioDialog* _audio_dialog;
+ MarkersDialog* _markers_dialog;
boost::shared_ptr<Film> _film;
+ boost::weak_ptr<FilmViewer> _viewer;
bool _generally_sensitive;
};