diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-05-31 22:26:42 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-05-31 22:26:42 +0100 |
| commit | 43b5ff1d2dc872f9029a7e59a85af59dbad8536f (patch) | |
| tree | 58756fb095c333a62d9863f3b72c10f46ea96e39 /src/wx/timeline_dialog.cc | |
| parent | 9b36e81dba949ba29a6cfb89f11072317a0dc7c5 (diff) | |
Add playhead line to timeline (#1563).
Diffstat (limited to 'src/wx/timeline_dialog.cc')
| -rw-r--r-- | src/wx/timeline_dialog.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/wx/timeline_dialog.cc b/src/wx/timeline_dialog.cc index 3af86b707..80686dc17 100644 --- a/src/wx/timeline_dialog.cc +++ b/src/wx/timeline_dialog.cc @@ -1,5 +1,5 @@ /* - Copyright (C) 2013-2018 Carl Hetherington <cth@carlh.net> + Copyright (C) 2013-2019 Carl Hetherington <cth@carlh.net> This file is part of DCP-o-matic. @@ -33,8 +33,9 @@ using std::list; using std::cout; using std::string; using boost::shared_ptr; +using boost::weak_ptr; -TimelineDialog::TimelineDialog (ContentPanel* cp, shared_ptr<Film> film) +TimelineDialog::TimelineDialog (ContentPanel* cp, shared_ptr<Film> film, weak_ptr<FilmViewer> viewer) : wxDialog ( cp->window(), wxID_ANY, @@ -51,7 +52,7 @@ TimelineDialog::TimelineDialog (ContentPanel* cp, shared_ptr<Film> film) #endif ) , _film (film) - , _timeline (this, cp, film) + , _timeline (this, cp, film, viewer) { wxBoxSizer* sizer = new wxBoxSizer (wxVERTICAL); |
