From 23583dfb56181c76126e652042e9d1940367aa27 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 10 Sep 2018 22:02:09 +0100 Subject: Partial split of film viewer. --- src/tools/dcpomatic_player.cc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/tools/dcpomatic_player.cc') diff --git a/src/tools/dcpomatic_player.cc b/src/tools/dcpomatic_player.cc index 513a5c4e7..03ace74c9 100644 --- a/src/tools/dcpomatic_player.cc +++ b/src/tools/dcpomatic_player.cc @@ -26,6 +26,7 @@ #include "lib/dcp_content.h" #include "lib/job_manager.h" #include "lib/job.h" +#include "lib/film.h" #include "lib/video_content.h" #include "lib/text_content.h" #include "lib/ratio.h" @@ -38,7 +39,7 @@ #include "wx/wx_util.h" #include "wx/about_dialog.h" #include "wx/report_problem_dialog.h" -#include "wx/film_viewer.h" +#include "wx/control_film_viewer.h" #include "wx/player_information.h" #include "wx/update_dialog.h" #include "wx/player_config_dialog.h" @@ -150,7 +151,7 @@ public: */ wxPanel* overall_panel = new wxPanel (this, wxID_ANY); - _viewer = new FilmViewer (overall_panel, false, false); + _viewer = new ControlFilmViewer (overall_panel, false, false); _viewer->set_dcp_decode_reduction (Config::instance()->decode_reduction ()); _info = new PlayerInformation (overall_panel, _viewer); wxSizer* main_sizer = new wxBoxSizer (wxVERTICAL); @@ -648,7 +649,7 @@ private: int _history_items; int _history_position; wxMenuItem* _history_separator; - FilmViewer* _viewer; + ControlFilmViewer* _viewer; boost::shared_ptr _film; boost::signals2::scoped_connection _config_changed_connection; wxMenuItem* _file_add_ov; -- cgit v1.2.3