X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Fwx%2Ffilm_viewer.h;h=0699b12ae787ec4e1f1f42443b60bf438bf972c7;hp=8cacf80d3f050bfb79f83865e5e2f81d7d75028b;hb=9001a63be211fd8e97431f8fc07c66af01554f5a;hpb=6a3d9962dc774becf50dd92f0cca90c536343eda diff --git a/src/wx/film_viewer.h b/src/wx/film_viewer.h index 8cacf80d3..0699b12ae 100644 --- a/src/wx/film_viewer.h +++ b/src/wx/film_viewer.h @@ -107,18 +107,14 @@ public: } #endif - StateTimer const & state_timer () const { - return _state_timer; - } - - StateTimer& state_timer () { - return _state_timer; - } - int gets () const { return _gets; } + 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; @@ -132,6 +128,9 @@ public: boost::shared_ptr butler () const { return _butler; } + ClosedCaptionsDialog* closed_captions_dialog () const { + return _closed_captions_dialog; + } boost::signals2::signal)> ImageChanged; boost::signals2::signal Started; @@ -204,7 +203,6 @@ private: bool _background_image; #endif - StateTimer _state_timer; int _gets; /** true if an get() is required next time we are idle */