summaryrefslogtreecommitdiff
path: root/src/tools/dcpomatic_player.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-09-10 22:02:09 +0100
committerCarl Hetherington <cth@carlh.net>2018-09-11 11:58:15 +0100
commit23583dfb56181c76126e652042e9d1940367aa27 (patch)
treee4e0711ea1b132aacee524e54014497ece5e9916 /src/tools/dcpomatic_player.cc
parent2a0ad7979b208f84916b13f7a37998aa3701e371 (diff)
Partial split of film viewer.
Diffstat (limited to 'src/tools/dcpomatic_player.cc')
-rw-r--r--src/tools/dcpomatic_player.cc7
1 files changed, 4 insertions, 3 deletions
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> _film;
boost::signals2::scoped_connection _config_changed_connection;
wxMenuItem* _file_add_ov;