Add lock to _colours since it can be manipulated by a Job thread.
[dcpomatic.git] / src / wx / film_viewer.h
index b0dbf56a33fc319e41338d47dbe03661945d768c..123172ad24de0e18f60fcb7ff041a1a864999e4b 100644 (file)
@@ -92,8 +92,8 @@ public:
        boost::signals2::signal<void ()> PositionChanged;
        boost::signals2::signal<void (DCPTime)> Started;
        boost::signals2::signal<void (DCPTime)> Stopped;
-       boost::signals2::signal<void (DCPTime)> Seeked;
-       boost::signals2::signal<void ()> FilmChanged;
+       /** While playing back we reached the end of the film (emitted from GUI thread) */
+       boost::signals2::signal<void ()> Finished;
 
        boost::signals2::signal<bool ()> PlaybackPermitted;
 
@@ -108,6 +108,7 @@ private:
        void film_change (ChangeType, Film::Property);
        void recreate_butler ();
        void config_changed (Config::Property);
+       bool maybe_draw_background_image (wxPaintDC& dc);
 
        DCPTime time () const;
        DCPTime uncorrected_time () const;