- boost::signals2::signal<void (boost::weak_ptr<PlayerVideo>)> ImageChanged;
- boost::signals2::signal<void ()> PositionChanged;
- boost::signals2::signal<void ()> Started;
- boost::signals2::signal<void ()> Stopped;
- boost::signals2::signal<void ()> FilmChanged;
+#ifdef DCPOMATIC_VARIANT_SWAROOP
+ void set_background_image (bool b) {
+ _background_image = b;
+ _video_view->update ();
+ }
+
+ bool background_image () const {
+ return _background_image;
+ }
+#endif
+
+ StateTimer const & state_timer () const {
+ return _video_view->state_timer ();
+ }
+
+ /* Some accessors and utility methods that VideoView classes need */
+ dcp::Size out_size () const {
+ return _out_size;
+ }
+ bool outline_content () const {
+ return _outline_content;
+ }
+ boost::optional<dcpomatic::Rect<double> > outline_subtitles () const {
+ return _outline_subtitles;
+ }
+ bool pad_black () const {
+ return _pad_black;
+ }
+ boost::shared_ptr<Butler> butler () const {
+ return _butler;
+ }
+ ClosedCaptionsDialog* closed_captions_dialog () const {
+ return _closed_captions_dialog;
+ }
+ void finished ();
+ void image_changed (boost::shared_ptr<PlayerVideo> video);
+
+ bool pending_idle_get () const {
+ return _idle_get;
+ }
+
+ boost::signals2::signal<void (boost::shared_ptr<PlayerVideo>)> ImageChanged;
+ boost::signals2::signal<void (dcpomatic::DCPTime)> Started;
+ boost::signals2::signal<void (dcpomatic::DCPTime)> Stopped;
+ /** While playing back we reached the end of the film (emitted from GUI thread) */
+ boost::signals2::signal<void ()> Finished;